From 96aab8042e4163be446dc216a1a06929a1701f5d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 25 Jun 2020 12:41:31 +0200 Subject: [PATCH] Change buffer list style --- style.css | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/style.css b/style.css index 919b6a1..d70c41a 100644 --- a/style.css +++ b/style.css @@ -26,12 +26,24 @@ body { #sidebar ul { list-style-type: none; margin: 0; - padding: 10px; + padding: 0; } -#sidebar ul a { +#sidebar li { + padding: 2px 10px; +} +#sidebar li.active { + background-color: #4a4a4a; +} +#sidebar li a { display: inline-block; width: 100%; } +#sidebar li.active a { + color: white; +} +#sidebar li.unread-message a { + color: #b37400; +} #composer { grid-column: 2; @@ -76,12 +88,6 @@ a { color: #4a4a4a; text-decoration: none; } -#sidebar .active a { - color: black; -} -#sidebar .unread-message a { - font-weight: bold; -} #sidebar a:hover, #sidebar a:active, a.timestamp:hover, a.timestamp:active, a.nick:hover, a.nick:active {