From: Mischa POSLAWSKY Date: Sun, 4 Jun 2017 21:40:18 +0000 (+0200) Subject: common: inline light stylesheet on page X-Git-Tag: v1.11~54 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d18b9fc8e58da26fe1d30b81f7b3549d9595e8cc common: inline light stylesheet on page Move import rules to html source to avoid deferral until initial css load. Keep light file as copy (link) of base to avoid renames for now. --- diff --git a/common.inc.plp b/common.inc.plp index 3a51600..cd0626a 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -117,6 +117,10 @@ sub Html { unless $PLP::sentheaders; unshift @{ $meta->{raw} }, stylesheet($meta->{stylesheet}); + push @{ $meta->{raw} }, ( + '', + ); + # optional amends push @{ $meta->{raw} }, ( '', diff --git a/light.css b/light.css deleted file mode 100644 index d7604d4..0000000 --- a/light.css +++ /dev/null @@ -1,2 +0,0 @@ -@import url(base.css); -@import url(mono.css) all and (monochrome); diff --git a/light.css b/light.css new file mode 120000 index 0000000..e734484 --- /dev/null +++ b/light.css @@ -0,0 +1 @@ +base.css \ No newline at end of file