parent
c4f3627999
commit
c33d6f7fa7
1 changed files with 3 additions and 2 deletions
|
|
@ -208,10 +208,11 @@ class SafariBooks:
|
||||||
"<head>\n" \
|
"<head>\n" \
|
||||||
"{0}\n" \
|
"{0}\n" \
|
||||||
"<style type=\"text/css\">" \
|
"<style type=\"text/css\">" \
|
||||||
"body{{background-color:#fbfbfb!important;margin:1em;}}" \
|
"body{{margin:1em;}}" \
|
||||||
"#sbo-rt-content *{{text-indent:0pt!important;}}#sbo-rt-content .bq{{margin-right:1em!important;}}"
|
"#sbo-rt-content *{{text-indent:0pt!important;}}#sbo-rt-content .bq{{margin-right:1em!important;}}"
|
||||||
|
|
||||||
KINDLE_HTML = "#sbo-rt-content *{{word-wrap:break-word!important;" \
|
KINDLE_HTML = "body{{background-color:transparent!important;}}" \
|
||||||
|
"#sbo-rt-content *{{word-wrap:break-word!important;" \
|
||||||
"word-break:break-word!important;}}#sbo-rt-content table,#sbo-rt-content pre" \
|
"word-break:break-word!important;}}#sbo-rt-content table,#sbo-rt-content pre" \
|
||||||
"{{overflow-x:unset!important;overflow:unset!important;" \
|
"{{overflow-x:unset!important;overflow:unset!important;" \
|
||||||
"overflow-y:unset!important;white-space:pre-wrap!important;}}"
|
"overflow-y:unset!important;white-space:pre-wrap!important;}}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue