From 81176fade2aeb9e111d611061f43720213596735 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 24 Apr 2024 15:15:41 +0200 Subject: [PATCH] feat: update links; some styles --- templates/threads.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/templates/threads.html b/templates/threads.html index a2d8d88..63263ea 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -11,14 +11,13 @@ max-width: 570px; margin: 0 auto; color: #232323; + padding: 5px; } header, footer { background: linear-gradient(45deg, #3054bf, #416fff); - color: white; padding: 1em; + color: white; border-radius: 5px; - margin: 1em 0; - & a { color: white; } @@ -34,14 +33,14 @@ ul { list-style: none; } + .card.descendant { + padding-bottom: 1em; + } .card { + border-bottom: 1px solid rgba(34, 34, 34, 0.15); margin-left: -40px; margin-top: 1em; - border: 1px solid rgba(34, 34, 34, 0.35); - border-radius: 5px; - padding:1em; background-color: #fff; - box-shadow: 5px 25px 10px -25px rgba(34, 34, 34, 0.15); display: grid; grid-template-columns: 55px auto; gap: 5px; @@ -57,7 +56,7 @@ content: '...' } - & *:not(.meta, .descendant *) { + & *:not(.meta, details, .descendant *) { margin-bottom: 1em; } @@ -73,7 +72,7 @@ & a { font-size: small; - color: #888; + color: #555; } & a:hover { color: blue; @@ -94,7 +93,7 @@

Ayo's Threads

-

Some of my favorite threads. See the source code.

+

See the source code. Or go home.