From 07a3699df9498541febbd06a88bd44946801deb9 Mon Sep 17 00:00:00 2001 From: Roslot <50433685+Roslot@users.noreply.github.com> Date: Wed, 9 Sep 2026 02:17:30 -0400 Subject: [PATCH] Fixes to long-standing retro.css bugs --- client/schemes/retro.css | 49 ++++++++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/client/schemes/retro.css b/client/schemes/retro.css index 0beb49b..1953f3b 100644 --- a/client/schemes/retro.css +++ b/client/schemes/retro.css @@ -1,12 +1,11 @@ /** defaults **/ body { - background: #20201d; - color: #a6a28c; + color: #8e8e8e; } input, textarea { - color: #a6a28c; + color: #8e8e8e; } .message { border-left: 1px solid rgba(125, 122, 104, 0.5) !important; @@ -66,7 +65,7 @@ body, #footer, #sidebar { background: #050505; } article.container { - min-height: 100vh; + min-height: calc(100vh - 7.9em); width: 100%; max-width: calc(100% - 264px); margin: 36px 36px 0em 36px; @@ -84,10 +83,10 @@ article.container { background-color: initial; } 0.1% { - background-color: #0d1b62; + background-color: #062336; } 99.9% { - background-color: #0d1b62; + background-color: #062336; } } .message { @@ -116,18 +115,18 @@ label[for=pin-sidebar] { left: 36px; height: 14px; padding: 2px 3px; - content: "#programming [+ver 1.0] :: https://hack.chat - a minimal, distraction-free chat application"; + content: "#programming :: hack.chat"; border: 2px solid gray; border-bottom: 2px solid gray; background: linear-gradient(to right, #000080, #1084d0); - color: white; + color: #ddd; font-size: 12px; text-overflow:ellipsis; overflow: hidden; white-space: nowrap; } #messages > :first-child { - background: #1f71a4!important; + background: #7e414b !important; } #sidebar { width: 195px; @@ -152,11 +151,11 @@ label[for=pin-sidebar] { justify-content:start; align-items:start; } -#sidebar-content > :nth-child(21) { - display: none; +.expand { + height: 100%; } -#sidebar-content > :nth-child(1) { - display: none; +.expand #sidebar-content > :nth-child(19) { + margin-top: 2.5em; } #sidebar-content select, #sidebar-content button { border-radius: 0; @@ -176,9 +175,25 @@ label[for=pin-sidebar] { #sidebar-content > :nth-child(21) { display: none; } + #sidebar-content > :nth-child(17) { + display: none; + } + #sidebar-content > :nth-child(14) { + display: none; + } + #sidebar-content > :nth-child(22) { + display: none; + } + #sidebar-content > :nth-child(20) { + display: none; + } + #sidebar-content > :nth-child(10) { + display: none; + } } #sidebar-content > :nth-child(-n+22) { display:none; + margin-top: 0; } /* chat form */ @@ -241,7 +256,7 @@ pre { font-weight: normal; margin-left: -5.8em; position: absolute; - left: 0; + right: calc(100% - 10.7ch); } /* Missing trip */ .message .nick a:only-child { @@ -298,3 +313,9 @@ pre { margin-left: 320px; } +.moduser { + color: #1fad83; +} +.moduser::before { + content: "+"; +}