mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
pack JS, add widgets to code blocks
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
html{background:#fff;color:#000}
|
||||
body{font:normal medium 'Gill Sans','Gill Sans MT','Ikarius ADF',Candara,Jara,sans-serif;margin:1.75em;line-height:1.75;word-spacing:0.1em}
|
||||
body{margin:1.75em}
|
||||
body,.widgets a{font:normal medium 'Gill Sans','Gill Sans MT','Ikarius ADF',Candara,Jara,sans-serif;line-height:1.75;word-spacing:0.1em}
|
||||
a{background:transparent;text-decoration:none;border-bottom:1px dotted}
|
||||
a:hover{border-bottom:1px solid}
|
||||
a:link{color:#1b67c9}
|
||||
@@ -13,8 +14,10 @@ h1,h2,h3{font-size:medium;clear:both}
|
||||
h1{background:papayawhip;color:#000;width:100%;margin:0}
|
||||
pre{white-space:pre-wrap;margin:2.154em 0;padding:0 0 0 2.154em;border-left:1px dotted}
|
||||
pre,kbd,code,samp{font-family:Consolas,Inconsolata,Monaco,monospace;font-size:medium;line-height:2.154;word-spacing:0}
|
||||
pre a{display:inline;padding:0.4375em 0;border:0}
|
||||
pre a{padding:0.4375em 0;border:0}
|
||||
pre a:hover{border:0}
|
||||
.widgets,.widgets a{font-size:small}
|
||||
.widgets a{color:#1b67c9;text-decoration:underline;padding:0}
|
||||
kbd{font-weight:bold}
|
||||
.prompt{color:#667}/*the neighbor of the beast*/
|
||||
td pre{margin:0;padding:0;border:0}
|
||||
@@ -35,7 +38,7 @@ span,tr + tr th:first-child{font-family:'Arial Unicode MS',sans-serif;font-style
|
||||
table.simple th{font-family:inherit !important}
|
||||
.fr{width:100%;margin:2.154em 0;border:1px dotted}
|
||||
.fr h4{margin-top:-1.2em;margin-left:-1em;width:8.5em;border:1px dotted;padding: 3px 3px 3px 13px;background:#fff;color:inherit;position:relative}
|
||||
.hover{background:#eee;color:inherit;cursor:default}
|
||||
.hover{background:#eee !important;color:inherit !important;cursor:default !important}
|
||||
body{counter-reset:h1}
|
||||
h1:before{counter-increment:h1;content:counter(h1) ". "}
|
||||
h1{counter-reset:h2}
|
||||
|
||||
Reference in New Issue
Block a user