projects
/
rust-101.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd871fe
)
add CSS for printing
author
Ralf Jung
<post@ralfj.de>
Sat, 27 Jun 2015 08:31:06 +0000
(10:31 +0200)
committer
Ralf Jung
<post@ralfj.de>
Sat, 27 Jun 2015 08:31:06 +0000
(10:31 +0200)
docs/pycco_custom.css
patch
|
blob
|
history
diff --git
a/docs/pycco_custom.css
b/docs/pycco_custom.css
index 4fe26387e71f924274236df068524aae6d87595a..28333e530d2ecd8469f428ce4337bc4168d27a13 100644
(file)
--- a/
docs/pycco_custom.css
+++ b/
docs/pycco_custom.css
@@
-19,6
+19,30
@@
h1, h2, h3, h4, h5, h6 {
line-height: 1.1em;
}
line-height: 1.1em;
}
+@media print {
+ #background {
+ background: none;
+ border: none;
+ }
+ h1, h2, h3, h4, h5, h6 {
+ margin-top: 20px;
+ }
+ div.docs {
+ max-width: 99%;
+ padding-left: 0px;
+ padding-right: 0px;
+ }
+ div.docs p {
+ margin-bottom: 5px;
+ }
+ div.code {
+ margin: 0px;
+ padding-top: 2px;
+ padding-bottom: 5px;
+ clear: both;
+ }
+}
+
/*---------------------- Syntax Highlighting -----------------------------*/
body .k { font-weight: bold } /* Keyword */
body .kd { font-weight: normal } /* Keyword.Declaration */
/*---------------------- Syntax Highlighting -----------------------------*/
body .k { font-weight: bold } /* Keyword */
body .kd { font-weight: normal } /* Keyword.Declaration */