Use Resource Builder (from JSX) for CSS
/trunk/styles/lcars22.css |
---|
1,15 → 1,15 |
<?php |
namespace de\pointedears\css\least; |
\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'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
@\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
/* 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('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'); |
require_once 'css/least/Mixins.php'; |
?>@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'); |
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */ |
header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
@header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate'); |
/* 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('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 */ |
/trunk/index.phtml |
---|
59,13 → 59,11 |
<!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> --> |
<!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> --> |
*/ ?> |
<link rel="stylesheet" type="text/css" href="styles/lcars-basic.css"> |
<?php |
<link rel="stylesheet" type="text/css" href="scripts/builder?type=text/css&prefix=../styles/&src=lcars-basic<?php |
$printable = (isset($_GET['printable']) && $_GET['printable'] === '1'); |
if (!$printable) |
{ |
?> |
<link rel="stylesheet" type="text/css" href="styles/lcars22.css<?php |
?>,lcars22<?php |
if (isset($_GET['ani']) && $_GET['ani'] !== '') |
{ |
echo '?ani=' . $_GET['ani']; |
/trunk/index.php |
---|
70,8 → 70,8 |
<?php /* |
<!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> --> |
*/ ?> |
<link rel="stylesheet" type="text/css" href="styles/lcars-basic.css"> |
<link rel="stylesheet" type="text/css" href="styles/lcars22.css"> |
<link rel="stylesheet" type="text/css" |
href="scripts/builder?type=text/css&prefix=../styles/&src=lcars-basic,lcars22"> |
<style type="text/css"> |
<!-- |
a { |