common: match version suffix for indirect stylesheet includes
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 4 Jun 2017 21:49:21 +0000 (23:49 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 17 Jul 2017 15:13:42 +0000 (17:13 +0200)
Avoid rerequests due to different filenames.

circus.css
common.inc.plp
dark.css
darklite.css
lite.css
mono.css
red.css

index 7be6f30..aed61fc 100644 (file)
@@ -1,4 +1,4 @@
-@import url(light.css);
+@import url(light.css?1.10);
 
 .l1       {background: #F77}
 .l1:hover a, .l1:hover a:visited,
index cd0626a..8fc60ef 100644 (file)
@@ -118,7 +118,7 @@ sub Html {
        unshift @{ $meta->{raw} }, stylesheet($meta->{stylesheet});
 
        push @{ $meta->{raw} }, (
-               '<link rel="stylesheet" type="text/css" media="monochrome" href="/mono.css" title="light">',
+               '<link rel="stylesheet" type="text/css" media="monochrome" href="/mono.css?1.10" title="light">',
        );
 
        # optional amends
index ae0ca43..e47db56 100644 (file)
--- a/dark.css
+++ b/dark.css
@@ -1,4 +1,4 @@
-@import url(light.css);
+@import url(light.css?1.10);
 
 body {
        background: #000;
index deaa0cf..b704627 100644 (file)
@@ -1,4 +1,4 @@
-@import url(dark.css);
+@import url(dark.css?1.10);
 
 th, td {
        border-color: #333;
index 9074b75..269b0d6 100644 (file)
--- a/lite.css
+++ b/lite.css
@@ -1,4 +1,4 @@
-@import url(light.css);
+@import url(light.css?1.10);
 
 .pm, td.c-na       {background: #DFD}
 .po                {background: #EFC}
index 66c4855..5879a4c 100644 (file)
--- a/mono.css
+++ b/mono.css
@@ -1,4 +1,4 @@
-@import url(light.css);
+@import url(light.css?1.10);
 
 a:active, a:visited:active,
 a:hover,  a:visited:hover {color: inherit}
diff --git a/red.css b/red.css
index 18ca495..f5763a1 100644 (file)
--- a/red.css
+++ b/red.css
@@ -1,4 +1,4 @@
-@import url(light.css);
+@import url(light.css?1.10);
 
 body {
        background: #000;