mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Thu 20 Oct 18:47:07 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
cf0eb1956e
commit
c44f1c6235
2 changed files with 36 additions and 4 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue