From 4b913ff67dee69b06224a77249baaef030565c8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sun, 7 Mar 2021 00:02:51 +0100 Subject: [PATCH] set foreground color where background color is set --- common.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 { -- 2.39.2