diff options
author | mms <michal@sapka.me> | 2023-12-24 23:35:44 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2023-12-24 23:35:51 +0100 |
commit | e4e8c804f54f3e909e698f67598bb00e436b1e53 (patch) | |
tree | fdd261b7e4efcac9ebb9121a8433fdac40fdd61d /static | |
parent | 10bf749a75bb711d960dcce7e8e40078c9ce5eb3 (diff) |
feat: hier menu
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 25 |
1 files changed, 24 insertions, 1 deletions
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 */ |