From 461e0eecb6c1b51545f6e3b95ae8158b6cec65a6 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 Apr 2020 17:59:04 +1000 Subject: Apply CSS colours and fonts to all the widget types. Coz only setting it for body isn't good enough. --- src/sledjchisl/sledjchisl.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 2bc6719..998c679 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c @@ -2270,12 +2270,13 @@ static void HTMLheader(qgrow_t *reply, char *title) " a:visited {color: fuchsia;}\n" " a:hover {color: blue;}\n" " a:active {color: red;}\n" - " button {background-color: darkgreen;}\n" + " button {background-color: darkgreen; color: white; font-family: 'sans-serif';}\n" " button:hover {color: blue;}\n" " button:active {color: red;}\n" - " label {background-color:darkgreen; font-size: 160%;}\n" - " input {background-color:darkblue; font-size: 80%;}\n" - " textarea {background-color:darkblue; font-size: 80%; vertical-align: top;}\n" // What idiot thought aligning the label with the bottom of textareas was a good default? + " label {background-color:darkgreen; color: white; font-family: 'sans-serif'; font-size: 160%;}\n" + " input {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%;}\n" + // What idiot thought aligning the label with the bottom of textareas was a good default? + " textarea {background-color:darkblue; color: white; font-family: 'sans-serif'; font-size: 80%; vertical-align: top;}\n" " \n" " \n" " \n" -- cgit v1.1