commit 2bf97370da8e8f19ee9e4edf6f36e9491408ef51 parent 1a9af1bc5266a874f63f39f2e8b47f23a1a7cfdc Author: Natasha Kerensikova <natgh@instinctive.eu> Date: Sat, 14 Mar 2026 20:15:02 +0000 CSS improvements Diffstat:
| M | src/cgi.scm | | | 16 | +++++++++++----- |
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/cgi.scm b/src/cgi.scm @@ -24,18 +24,22 @@ (define css-style #<<END-OF-CSS h1 { text-align: center; } -.bad-post { background: #fcc; transition: all 0.5s ease-in; } -.marked-post { background: #ccf; transition: all 0.5s ease-in; } -.unmarked-post { transition: all 0.5s ease-in; } -.edit-post { transition: all 0.5s ease-in; } +.bad-post { background: #fcc; } +.marked-post { background: #ccf; } +.unmarked-post { } +.edit-post { } form { margin: 1rex 0; display: grid; gap: 0.5rex; + transition: all 0.5s ease-in; } .lsub { width: 4.5rem; } .rsub { width: 4.5rem; } -textarea { display: block; } +textarea { display: block; max-width: 100%; } +span.ptime { font-size: 80%; } +span.section { font-size: 80%; } +span.title { font-weight: bold; display: block; } @media (min-width: 60rem) { form { @@ -91,6 +95,8 @@ a:hover { background: #007FBF; color: #F0E8E0; } a:link { color: #4695f7; } a:visited { color: #af88eb; } a:hover { background: #4695f7; color: #103c48; } + .bad-post { background: #783946; } + .marked-post { background: #1849a6; } } END-OF-CSS )