From 4c66d5de351cd6265bc6a1b9135f4e5cf4af6c15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 9 Jun 2023 04:42:57 +0200 Subject: [PATCH] Continued: - removed some redundant CSS - also made both :hover color the same - td's text alignment is now left --- templates/base.html | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/templates/base.html b/templates/base.html index 6648dbd..8648c02 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,6 +32,7 @@ width: 100%; border: 2px solid #f0f0f0; border-spacing: 0px; + border-radius: 5px; } th { @@ -45,6 +46,7 @@ table td { padding: 4px; + text-align: left; } .block_level { @@ -52,10 +54,6 @@ margin: auto; margin-top: 10px; } - .block_level table td:nth-of-type(1), .block_level table td:nth-of-type(2), - .block_level table td:nth-of-type(4), .block_level table td:nth-of-type(5) { - white-space: nowrap; - } .block { padding: 5px; margin: 5px; @@ -72,20 +70,17 @@ color: #f00000; } + input:hover { + border-color: #f00000; + } input[type="text"], input[type="submit"] { padding: 5px; border-radius: 5px; font-size: 16px; } - input[type="text"]:hover { - border-color: #f00000; - } input[type="submit"] { cursor: pointer; } - input[type="submit"]:hover { - border-color: #f08; - } span[title] { text-decoration: underline dotted; -- 2.39.5