From e4e8c804f54f3e909e698f67598bb00e436b1e53 Mon Sep 17 00:00:00 2001 From: mms Date: Sun, 24 Dec 2023 23:35:44 +0100 Subject: feat: hier menu --- static/style.css | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index ea5f47a..fc3e4cb 100644 --- a/static/style.css +++ b/static/style.css @@ -69,6 +69,14 @@ } /* blog_variables_end */ +/* emacs_variables_start */ +:root { + --emacs-highlight-color: #7F5AB6; + --emacs-logo-bg-color: var(--emacs-highlight-color); + --emacs-h1-color: var(--emacs-highlight-color); +} +/* blog_variables_end */ + /* dark_mode_variables_end */ @media (prefers-color-scheme: dark) { :root { @@ -243,6 +251,21 @@ body.blog h1 { } /* blog_header_end */ +/* emacs_header_end */ +body.emacs > header > .logo { + background-color: var(--emacs-logo-bg-color); +} +body.emacs > header > .logo > img { + position: absolute; + bottom: 0px; + right: -2px; + transform: scale(0.9); +} +body.emacs h1 { + color: var(--emacs-h1-color); +} +/* blog_header_end */ + /* blog_post_list_start */ article.blog-post-item > h2 > a { text-decoration: none; @@ -340,7 +363,7 @@ pre { } pre code { max-width: 100%; - word-break: break-all;x + /* word-break: break-all; */ } /* ----------- Articles images */ -- cgit v1.2.3