mirror of
https://github.com/kennethreitz/dive-into-python3.git
synced 2026-06-05 23:10:17 +00:00
43 lines
2.4 KiB
CSS
43 lines
2.4 KiB
CSS
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}
|
|
a{background:transparent;text-decoration:none;border-bottom:1px dotted}
|
|
a:hover{border-bottom:1px solid}
|
|
a:link{color:#1b67c9}
|
|
a:visited{color:darkorchid}
|
|
h1 a,h2 a,h3 a,#nav a{color:inherit !important}
|
|
abbr,acronym{letter-spacing:0.1em;text-transform:lowercase;font-variant:small-caps}
|
|
h1,h2,h3,p,ul,ol,#search{margin:1.75em 0}
|
|
#search div{float:right}
|
|
li ol{margin:0}
|
|
h1,h2,h3{font-size:medium}
|
|
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}
|
|
kbd{font-weight:bold}
|
|
samp.prompt{color:#667}/*the neighbor of the beast*/
|
|
td pre{margin:0;padding:0;border:0}
|
|
.c{text-align:center;font-size:small}
|
|
p.fancy:first-letter{float:left;background:transparent;color:gainsboro;padding:0.11em 4px 0 0;font:normal 4em/0.68 serif}
|
|
blockquote.q{margin:auto;text-align:right;font-style:oblique}
|
|
.skip a,.skip a:hover,.skip a:visited{position:absolute;left:0px;top:-500px;width:1px;height:1px;overflow:hidden}
|
|
.skip a:active,.skip a:focus{position:static;width:auto;height:auto}
|
|
table{width:100%;border-collapse:collapse}
|
|
th{text-align:left;padding:0 0.5em;vertical-align:baseline;border:1px dotted}
|
|
th,td{width:45%;vertical-align:top}
|
|
td{border:1px dotted;padding:0 0.5em}
|
|
th:first-child{width:10%;text-align:center}
|
|
span,tr + tr th:first-child{font-family:'Arial Unicode MS',sans-serif;font-style:normal}
|
|
.q span{font-size:large}
|
|
.note{margin-left:4.94em}
|
|
.note span{display:block;float:left;font-size:xx-large;line-height:0.875em;margin:0 0.22em 0 -1.22em}
|
|
table.simple th{font-family:inherit !important}
|
|
.fr{width:auto;margin-top:4.308em;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}
|
|
tr.hover,li.hover{background:#eee;color:inherit;cursor:default}
|
|
body{counter-reset:h1}
|
|
h1:before{counter-increment:h1;content:counter(h1) ". "}
|
|
h1{counter-reset:h2}
|
|
h2:before{counter-increment:h2;content:counter(h1) "." counter(h2) ". "}
|
|
h2{counter-reset:h3}
|
|
h3:before{counter-increment:h3;content:counter(h1) "." counter(h2) "." counter(h3) ". "}
|