update @ Thu 20 Oct 18:47:07 EEST 2022

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-10-20 18:47:07 +03:00
parent cf0eb1956e
commit c44f1c6235
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2
2 changed files with 36 additions and 4 deletions

View file

@ -6,6 +6,11 @@
--clr-bg: #262220;
--clr-fg: #f9f6e8;
--clr-blockquote-fg: #e6e0c8;
--clr-blockquote-bg: #ede9d3;
--blockquote-width: 2px;
--clr-code-bg: #1f1b1a;
--clr-code-fg: #f0f3e6;
--clr-code-bg-dark: #181414;
@ -153,6 +158,28 @@ time {
padding: 0.3em;
}
blockquote {
margin: 10px 0;
overflow: hidden;
padding: 0 0 0 20px;
font-weight: 100;
position: relative;
}
blockquote:before {
content: "";
border-left: var(--blockquote-width) solid var(--clr-blockquote-bg); /* Thx cel */
position: absolute;
bottom: 14px;
top: 13px;
left: 0;
}
blockquote,
blockquote * {
color: var(--clr-blockquote-fg);
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
@ -176,9 +203,14 @@ time {
--clr-bg: black;
--clr-fg: white;
--clr-blockquote-fg: whitesmoke;
--clr-blockquote-bg: gray;
--clr-code-bg: #181818;
--clr-code-fg: whitesmoke;
--blockquote-width: 4px;
--scrollbar-height: 12px; /* TODO: Firefox */
}

View file

@ -81,16 +81,16 @@ BLOG_MARKDOWN_TEMPLATE: str = """<header role="group">
<nav id="info-bar" role="menubar">
<a role="menuitem" aria-label="jump to the main content" href="#main">\
main</a>
skip</a>
<span role="seperator" aria-hidden="true">|</span>
<span role="menuitem"><time>%s</time> GMT</span>
<span role="seperator" aria-hidden="true">|</span>
<a role="menuitem" aria-hidden="true" href="%s">back</a>
<a role="menuitem" href="/">home</a>
<span role="seperator" aria-hidden="true">|</span>
<a role="menuitem" href="/">home</a>
<a role="menuitem" aria-hidden="true" href="%s">website</a>
<span role="seperator" aria-hidden="true">|</span>
<a role="menuitem" href="%s">git</a>
@ -174,7 +174,7 @@ HOME_PAGE_HTML_TEMPLATE: str = f"""<!DOCTYPE html>
role="menuitem"
aria-label="jump to the main content"
href="#main"
>main</a>
>skip</a>
<span aria-hidden="true" role="seperator">|</span>