From 3e2fc449d6d6e562ab6a4ddce37d9f782b2df47e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 30 Jun 2019 10:51:23 +0300 Subject: [PATCH] Formatting --- content/high_contrast_extended_style.css | 25 ++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/content/high_contrast_extended_style.css b/content/high_contrast_extended_style.css index 2eb9f40..843c33c 100644 --- a/content/high_contrast_extended_style.css +++ b/content/high_contrast_extended_style.css @@ -1,5 +1,6 @@ /* Intended to use with Firefox high contrast mode - forcing pages to use selected colors */ /* This applies few additional colors for selected page elements trying to "fix" common layout patterns without being specific to any page */ +@-moz-document url-prefix("http"),url-prefix("about:"){ body > div, table, @@ -37,14 +38,30 @@ nav a{ color: #bbb } table table{ background-color: transparent } -input[type="submit"],button,.button,.btn{ background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.15)); color: rgb(40,50,40) } -input[type="submit"]:hover,button:hover,.button:hover,.btn:hover{ background-image: linear-gradient(rgba(255,255,255,0.15),rgba(255,255,255,0.2)); text-shadow: 0 0 2px black; color: rgb(150,250,200) } +input[type="submit"], +button, +.button, +.btn{ + background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.15)); + color: rgb(40,50,40) +} +input[type="submit"]:hover, +button:hover, +.button:hover, +.btn:hover{ + background-image: linear-gradient(rgba(255,255,255,0.15),rgba(255,255,255,0.2)); + text-shadow: 0 0 2px black; + color: rgb(150,250,200) +} input, nav ul > li:hover, div[role="menu"] > *:hover{ background-color: rgba(0,0,0,0.1); color: inherit } -input[type="search"],input[type="text"],input[type="password"]{ background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)); } +input[type="search"], +input[type="text"], +input[type="password"]{ background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1)); } -textarea{ background-color: rgb(40,40,40); color: inherit } \ No newline at end of file +textarea{ background-color: rgb(40,40,40); color: inherit } +} \ No newline at end of file