From: Paul Hänsch Date: Sat, 6 Mar 2021 23:02:51 +0000 (+0100) Subject: set foreground color where background color is set X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=4b913ff67dee69b06224a77249baaef030565c8e;p=cgilite set foreground color where background color is set --- diff --git a/common.css b/common.css index 9e72c16..99855b9 100644 --- a/common.css +++ b/common.css @@ -60,7 +60,7 @@ h2 { font-size: 1.125em; } select, input, button, textarea, a.button { display: inline-block; - background-color: #FFF; + color: #000; background-color: #FFF; border: .5pt solid; padding: .25em .75em; vertical-align: text-bottom; @@ -97,8 +97,7 @@ input + label { bottom: -100%; left: 50%; transform: translate(-50%, 0); content: attr(tooltip); padding: .5em; - background-color: #FFC; - color: #000; + color: #000; background-color: #FFC; border: .5pt solid; z-index: 1; } @@ -107,7 +106,7 @@ input[type=radio].tab { display: none; } input[type=radio].tab + label { display: table-cell; padding: .5em 1em; - background-color: #EEE; + color: #000; background-color: #EEE; border: .5pt solid; } input[type=radio].tab:checked + label {