From 84c9b60eb73b1727f2a40eb379fe39c5a8a9a228 Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Wed, 7 Aug 2019 19:49:36 +1200 Subject: [PATCH] feat: Ensure CSS supports all browsers not just latest 2 Signed-off-by: Richie Bendall --- server.js | 2 +- themes/afterdark.css | 4 ---- themes/cherry-white.css | 4 ---- themes/cherry.css | 4 ---- themes/default-dark.css | 4 ---- themes/default.css | 4 ---- themes/dusk.css | 5 ----- themes/hmt-blue.css | 2 -- themes/open-sans.css | 4 ---- themes/orange.css | 5 ----- themes/silver-style.css | 4 ---- themes/tryhtml.css | 5 ----- 12 files changed, 1 insertion(+), 46 deletions(-) diff --git a/server.js b/server.js index f8acdaae..25432b3b 100644 --- a/server.js +++ b/server.js @@ -34,7 +34,7 @@ app.use( postcssMiddleware({ plugins: [ require('postcss-preset-env')({ - overrideBrowserslist: 'last 2 versions', + overrideBrowserslist: '>= 0%', stage: 0, }), ], diff --git a/themes/afterdark.css b/themes/afterdark.css index 98726ade..a846cd3c 100644 --- a/themes/afterdark.css +++ b/themes/afterdark.css @@ -53,10 +53,6 @@ a img { background: #bc4a46; } -::-moz-selection { - background: #bc4a46; -} - #gravatar { position: relative; float: right; diff --git a/themes/cherry-white.css b/themes/cherry-white.css index f8170a92..6bf986d7 100644 --- a/themes/cherry-white.css +++ b/themes/cherry-white.css @@ -89,10 +89,6 @@ a img { color: #bc4a46; } -::-moz-selection { - color: #bc4a46; -} - footer { background-color: #FFFFFF; border-bottom: 3px solid #FF3366; diff --git a/themes/cherry.css b/themes/cherry.css index d88d26ec..335ed6a3 100644 --- a/themes/cherry.css +++ b/themes/cherry.css @@ -88,10 +88,6 @@ a img { color: #bc4a46; } -::-moz-selection { - color: #bc4a46; -} - footer { background-color: #FFFFFF; border-bottom: 3px solid #FF3366; diff --git a/themes/default-dark.css b/themes/default-dark.css index 4ddc193e..c2383e8c 100644 --- a/themes/default-dark.css +++ b/themes/default-dark.css @@ -87,10 +87,6 @@ a:active { background: #ccc; } -::-moz-selection { - background: #ccc; -} - #gravatar { position: relative; float: right; diff --git a/themes/default.css b/themes/default.css index 70282dd6..4fc2b013 100644 --- a/themes/default.css +++ b/themes/default.css @@ -86,10 +86,6 @@ a:active { background: #ccc; } -::-moz-selection { - background: #ccc; -} - #gravatar { position: relative; float: right; diff --git a/themes/dusk.css b/themes/dusk.css index 8a8c975c..5de2b8ee 100644 --- a/themes/dusk.css +++ b/themes/dusk.css @@ -6,11 +6,6 @@ color: #eff7ff; } -*::-moz-selection { - background: #de5833; - color: #eff7ff; -} - * { margin: 0; padding: 0; diff --git a/themes/hmt-blue.css b/themes/hmt-blue.css index 7c389c21..0be5eedf 100644 --- a/themes/hmt-blue.css +++ b/themes/hmt-blue.css @@ -116,8 +116,6 @@ optgroup { font-weight: 700 } -button, input {} - button, select { text-transform: none } diff --git a/themes/open-sans.css b/themes/open-sans.css index efd379d8..42655aa6 100644 --- a/themes/open-sans.css +++ b/themes/open-sans.css @@ -21,10 +21,6 @@ body { background: #ccc } -::-moz-selection { - background: #ccc -} - h1 { text-align: center; font: 36px 'Open Sans Bold' diff --git a/themes/orange.css b/themes/orange.css index 4d9388b2..133a2127 100644 --- a/themes/orange.css +++ b/themes/orange.css @@ -70,11 +70,6 @@ footer a:hover, footer a:active { color: white } -::-moz-selection { - background: #663300; - color: white -} - #gravatar { position: relative; float: right; diff --git a/themes/silver-style.css b/themes/silver-style.css index 68813409..b5fb2f79 100644 --- a/themes/silver-style.css +++ b/themes/silver-style.css @@ -71,10 +71,6 @@ a img { background: #bc4a46; } -::-moz-selection { - background: #bc4a46; -} - #gravatar { position: relative; float: right; diff --git a/themes/tryhtml.css b/themes/tryhtml.css index 634d380f..ed676428 100644 --- a/themes/tryhtml.css +++ b/themes/tryhtml.css @@ -13,11 +13,6 @@ color: #ffffff; } -*::-moz-selection { - background: #de5833; - color: #eff7ff; -} - * { margin: 0; padding: 0;