From 3d3feea3aa5a7c48a0577af40806c3bb03b818fb Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Sun, 31 Aug 2025 17:41:18 +0200 Subject: Implemented the website --- static/css/style.css | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) (limited to 'static/css') diff --git a/static/css/style.css b/static/css/style.css index e900c8c..f4c32fa 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,13 +1,3 @@ -@media (prefers-color-scheme: dark){ - body { - background:#000; - color: white; - } - - .content a { - color: black; - } -} body{ margin: 0; font:1.2em/1.62 sans-serif @@ -46,9 +36,38 @@ h1,h2,h3 { } .content a { - color: white; + color: black; } .content a:hover { color: #069; } + +@media (prefers-color-scheme: dark){ + body { + background:#000; + color: white; + } + + .content a { + color: white; + } +} + +article h1 { + margin-bottom: 0.1em; +} + +article p { + margin-top: 0; +} + +article h4 { + margin-bottom: 0.1em; +} + +.post { + max-width: 700px; + margin: 2rem auto; + padding: 1.5rem; +} -- cgit v1.2.3