Optimized speed
/trunk/styles/lcars22.css |
---|
1,11 → 1,11 |
<?php |
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT'); |
/* Do not let resource be cached in HTTP/1.1 caches */ |
\header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
\header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate'); |
/* Do not let resource be cached in HTTP/1.0 caches */ |
\header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); |
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */ |
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT'); |
\header('Content-Type: text/css; charset=UTF-8'); |
?>@charset "UTF-8"; |
26,6 → 26,13 |
margin-bottom: 0.2em; |
} |
/* HTML5 elements */ |
nav |
{ |
display: block; |
} |
/* Bow (main) and elbo (multi-view) */ |
#LCARS { |
/trunk/styles/lcars-ani.css |
---|
3,11 → 3,11 |
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT'); |
/* Cached resource expires in HTTP/1.1 caches 0h after last retrieval */ |
\header('Cache-Control: max-age=86400, s-maxage=0'/*'86400*/.', must-revalidate, proxy-revalidate'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
/* Cached resource expires in HTTP/1.0 caches 0h after last retrieval */ |
\header('Expires: ' . gmdate('D, d M Y H:i:s', time()/* + 86400*/) . ' GMT'); |
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */ |
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT'); |
\header('Content-Type: text/css; charset=UTF-8'); |
/trunk/styles/lcars-basic.css |
---|
1,13 → 1,13 |
<?php |
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT'); |
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', @filemtime(__FILE__)) . ' GMT'); |
/* Do not let resource be cached in HTTP/1.1 caches */ |
\header('Cache-Control: max-age=0, s-maxage=0, must-revalidate, proxy-revalidate'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
header('Cache-Control: max-age=0, s-maxage=86400, must-revalidate, proxy-revalidate'); |
/* Do not let resource be cached in HTTP/1.0 caches */ |
\header('Expires: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT'); |
\header('Content-Type: text/css; charset=UTF-8'); |
header('Content-Type: text/css; charset=UTF-8'); |
?>@charset "UTF-8"; |
/* Basic fonts */ |
71,10 → 71,6 |
margin-bottom: 2.5em; |
} |
body.multi { |
/* TODO from lcars21.css, use `em' instead */ |
} |
#content { |
margin: 0; |
margin-right: 1em; |
167,11 → 163,4 |
font-family: "URW Chancery L", "Matura MT Script Capitals", |
Haettenschweiler, Haettens, "Zurich XCn BT", impact, Verdana, |
Geneva, Arial, Helvetica, sans-serif; |
} |
/* HTML5 elements */ |
nav |
{ |
display: block; |
} |