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