From 3c6653a77b8951672ea169d175db154495a981fe Mon Sep 17 00:00:00 2001 From: r Date: Sun, 12 Jan 2020 17:16:57 +0000 Subject: Add dark mode --- static/main.css | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'static/main.css') diff --git a/static/main.css b/static/main.css index 553c9a2..acbca05 100644 --- a/static/main.css +++ b/static/main.css @@ -99,8 +99,8 @@ } .status-action a:hover, -.status-action a:hover i { - opacity: 0.8; +.status-action input:hover { + opacity: 0.6; } .status-action a.status-time { @@ -442,3 +442,29 @@ z-index: 3; margin: 0 8px 0 8px; } + +.dark { + background-color: #222222; + background-image: none; + color: #eaeaea; +} + +.dark a { + color: #81a2be; +} + +.dark .status-action a { + color: #999999; +} + +.dark #post-content { + background-color: #333333; + border: 1px solid #444444; + color: #eaeaea; +} + +.dark #reply-popup, +.dark #reply-to-popup { + background-color: #222222; + border-color: #444444; +} -- cgit v1.2.3