mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-16 04:59:35 +00:00
60 lines
1.3 KiB
CSS
60 lines
1.3 KiB
CSS
@charset "UTF-8";
|
|
|
|
/*--------Put Your Custom CSS Rules Below--------*/
|
|
/*--- This oneoff overrides the code in https://github.com/oreillymedia/<name_of_theme>/blob/master/pdf/pdf.css---*/
|
|
|
|
|
|
pre[data-type="programlisting"] {
|
|
text-align: left;
|
|
}
|
|
|
|
/*----Uncomment to temporarily turn on code-eyballer highlighting (make sure to recomment after you build)
|
|
|
|
pre {
|
|
background-color: yellow;
|
|
}
|
|
---*/
|
|
|
|
/*----Uncomment to turn on automatic code wrapping----*/
|
|
|
|
pre {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
/*----Uncomment to change the TOC start page (set
|
|
the number to one page _after_ the one you want;
|
|
so 6 to start on v, 8 to start on vii, etc.)
|
|
|
|
@page toc:first {
|
|
counter-reset: page 6;
|
|
}
|
|
----*/
|
|
|
|
/*----Uncomment to fix a bad break in the title
|
|
(increase padding value to push down, decrease
|
|
value to pull up)
|
|
|
|
section[data-type="titlepage"] h1 {
|
|
padding-left: 1.5in;
|
|
}
|
|
----*/
|
|
|
|
/*----Uncomment to fix a bad break in the subtitle
|
|
(increase padding value to push down, decrease
|
|
value to pull up)
|
|
|
|
section[data-type="titlepage"] h2 {
|
|
padding-left: 1in;
|
|
}
|
|
----*/
|
|
|
|
/*----Uncomment to fix a bad break in the author names
|
|
(increase padding value to push down, decrease
|
|
value to pull up)
|
|
|
|
section[data-type="titlepage"] p.author {
|
|
padding-left: 3in;
|
|
}
|
|
----*/
|