improved css (based on recent improvement on osboot.org)
parent
ea7f524443
commit
74e3f9e4c2
|
@ -26,34 +26,28 @@ $if(keywords)$
|
|||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<style type="text/css">
|
||||
html{
|
||||
background:#111;
|
||||
color:#eee;
|
||||
html {
|
||||
background:#111; color:#eee;
|
||||
font-family:sans-serif; line-height:1.4;
|
||||
text-shadow:1px 1px #000
|
||||
}
|
||||
.date,.author,.h a{display:none}
|
||||
code,pre,#TOC,a:hover{background:#333}
|
||||
:not(p),a:hover {
|
||||
max-width:60em;
|
||||
margin:0 auto;
|
||||
font-family:sans-serif;
|
||||
line-height:1.4;
|
||||
text-shadow: 1px 1px #000
|
||||
}
|
||||
a{color:#fcc}
|
||||
code,pre, #TOC, a:hover {background:#333}
|
||||
a {color:#fcc}
|
||||
|
||||
:not(p),a:hover {max-width:60em; margin:0 auto}
|
||||
img,video,iframe,pre {max-width:100%; overflow:auto}
|
||||
|
||||
.title>*, header ul>li, .nav ul>li,
|
||||
#footer ul>li, .h:hover>*
|
||||
ul>li
|
||||
{
|
||||
display:inline;
|
||||
margin:.7%;
|
||||
text-align:center;
|
||||
}
|
||||
.title>*,span.date{display:block}
|
||||
img,video,iframe{max-width:100%}
|
||||
#TOC{
|
||||
float:left;
|
||||
margin:1em
|
||||
#footer ul>li, .h:hover>* {
|
||||
display:inline; margin:.7%; text-align:center
|
||||
}
|
||||
.title>*, span.date {display:block}
|
||||
|
||||
#TOC {float:left; margin:1em}
|
||||
html,ul,#TOC {padding:1em}
|
||||
|
||||
.date,.author,.h a {display:none}
|
||||
|
||||
@media (min-width:60em) {
|
||||
.title-logo{display:none}
|
||||
div.title,h1.title {
|
||||
|
@ -65,7 +59,6 @@ img,video,iframe{max-width:100%}
|
|||
h1.title {padding:0 4em}
|
||||
#TOC{min-width:25%}
|
||||
}
|
||||
html,ul,#TOC{padding:1em}
|
||||
</style>
|
||||
$if(quotes)$
|
||||
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
||||
|
|
Loading…
Reference in New Issue