From c14820f8431dd5ad2ba14de0ed70d40d148d7310 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Tue, 14 Oct 2025 19:32:28 +0200 Subject: Changes to css --- layouts/partials/head.html | 2 +- static/style.css | 35 ++++++++++++++--------------------- 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 47f4649..c2e3597 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,6 @@ - + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ .Title }}{{ end }} diff --git a/static/style.css b/static/style.css index 50b0066..5e64849 100644 --- a/static/style.css +++ b/static/style.css @@ -1,10 +1,7 @@ :root { --bg: #e1e2e7; - --sbg: #e9e663; --fg: #32344a; - --title: #7aa2f7; - --subtitle: #449dab; - --subsubtitle: #000; + --sbg: #e9e663; --link: #9b4ae0; --regularfont: system-ui; --titlecodefont: 'Courier New', Courier, monospace; @@ -15,10 +12,7 @@ --fg: #a9b1d6; --bg: #1a1b26; --sbg: #39405e; - --title: #ad8ee6; --link: #7aa2f7; - --subtitle: #0db9d7; - --subsubtitle: #ccf; } } @@ -35,7 +29,7 @@ pre { padding: 1em 1em; line-break: auto; text-align: left; - border: solid 1px var(--fg); + border: solid 1px var(--sbg); line-break: anywhere; white-space: pre-wrap !important; } @@ -48,10 +42,11 @@ code { } blockquote { - background: var(--sbg); + background: rgba(219, 75, 77, 0.2); padding: 0.3em 0.9em; margin: auto; - border-left: 4px solid var(--link); + border-left: 4px solid #db4b4d; + color: #fff; } .buttons { @@ -62,14 +57,6 @@ a { color: var(--link); } -h1 { - text-align: center; -} - -h3 { - color: var(--subsubtitle); -} - .finaline { display: flex; justify-content: space-between; @@ -96,13 +83,19 @@ pre { } h1 { + text-align: center; font-size: 2.3em; margin: 0.32em 0em 0em 0em; - color: var(--title); } -h2 { - color: var(--subtitle); +h1, +h2, +h3, +h4, +h5, +h6 { + color: #bb9af7; + line-height: 2em; } hr { -- cgit v1.2.3