delete libreboot.css. embed it into template.include
The CSS is light enough now that, in terms of compression, it makes more sense to merge it in each HTML page. It's small enough to make virtually no difference, and this cuts down on HTTP requests. This change will save literally seconds of time, for those who are on high latency internet services (satellite based internet services, slow tor relays, etc).
This commit is contained in:
parent
001f35f9a3
commit
421d92fd24
1
site.cfg
1
site.cfg
|
@ -1,4 +1,3 @@
|
|||
TITLE="-T Libreboot"
|
||||
CSS="--css /libreboot.css"
|
||||
DOMAIN="https://libreboot.org/"
|
||||
BLOGDIR="news/" # leave as empty string if you want the blog to be the homepage
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
.date,.author,.h a{display:none}
|
||||
html{padding:1em}
|
||||
body{
|
||||
font:1em sans-serif;
|
||||
line-height:1.4
|
||||
}
|
||||
a{color:#22d}
|
||||
code,pre,#TOC,a:hover{background:#eee}
|
||||
:not(p) {
|
||||
max-width:60em;
|
||||
margin:0 auto
|
||||
}
|
||||
.title>*, header ul>li, .nav ul>li,
|
||||
#footer ul>li, .h:hover>*, pre, table
|
||||
{
|
||||
display:inline;
|
||||
margin:.7%;
|
||||
text-align:center
|
||||
}
|
||||
.title>*{display:block}
|
|
@ -14,6 +14,28 @@ $if(keywords)$
|
|||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
<style type="text/css">
|
||||
.date,.author,.h a{display:none}
|
||||
html{padding:1em}
|
||||
body{
|
||||
font:1em sans-serif;
|
||||
line-height:1.4
|
||||
}
|
||||
a{color:#22d}
|
||||
code,pre,#TOC,a:hover{background:#eee}
|
||||
:not(p) {
|
||||
max-width:60em;
|
||||
margin:0 auto
|
||||
}
|
||||
.title>*, header ul>li, .nav ul>li,
|
||||
#footer ul>li, .h:hover>*, pre, table
|
||||
{
|
||||
display:inline;
|
||||
margin:.7%;
|
||||
text-align:center
|
||||
}
|
||||
.title>*{display:block}
|
||||
</style>
|
||||
$if(quotes)$
|
||||
<style type="text/css">q { quotes: "“" "”" "‘" "’"; }</style>
|
||||
$endif$
|
||||
|
|
Loading…
Reference in New Issue