2022-09-11 10:40:25 -07:00
|
|
|
:root {
|
|
|
|
--post-item-highlight-color: #efefef;
|
2022-09-25 07:52:22 -07:00
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
--tag-foreground-color: rgb(var(--super-dk-gray));
|
|
|
|
--tag-background-color: rgb(var(--super-lt-gray));
|
|
|
|
--tag-spacer-foreground-color: rgb(var(--super-dk-gray));
|
|
|
|
--tag-hover-background-color: rgb(var(--sub-lt-gray));
|
2022-09-11 10:40:25 -07:00
|
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--post-item-highlight-color: #121212;
|
2022-09-25 07:52:22 -07:00
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
--tag-foreground-color: rgb(var(--sub-lt-gray));
|
|
|
|
--tag-background-color: rgb(var(--dk-gray));
|
|
|
|
--tag-spacer-foreground-color: rgb(var(--super-dk-gray));
|
|
|
|
--tag-hover-background-color: rgb(var(--super-dk-gray));
|
|
|
|
--tag-hover-foreground-color: rgb(var(--mid-gray));
|
2022-09-11 10:40:25 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-10-01 10:28:27 -07:00
|
|
|
.post-content > .highlight { margin-block-end: var(--body-item-spacing); }
|
2022-09-25 08:33:25 -07:00
|
|
|
|
2022-10-09 12:12:44 -07:00
|
|
|
.post-nav {
|
|
|
|
align-items: baseline;
|
|
|
|
display: flex;
|
|
|
|
margin-top: 3.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-nav .next {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-single footer {
|
2022-10-25 17:34:23 -04:00
|
|
|
margin-block-start: var(--body-item-spacing);
|
2022-10-09 12:12:44 -07:00
|
|
|
}
|
|
|
|
|
2022-10-30 11:30:30 -07:00
|
|
|
.blog.list > ul {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.blog.list > ul > li {
|
|
|
|
align-items: baseline;
|
|
|
|
border-radius: 6px;
|
|
|
|
display: grid;
|
|
|
|
gap: 1rem;
|
|
|
|
grid-template-columns: minmax(min-content, 10vh) minmax(min-content, 3vh) auto max-content;
|
|
|
|
margin-block-end: 0.25rem;
|
|
|
|
transition: background-color 0.25s;
|
|
|
|
}
|
|
|
|
.blog.list > ul > li:hover {
|
|
|
|
background-color: var(--post-item-highlight-color);
|
|
|
|
}
|
|
|
|
.blog.list > ul > li > a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.blog.list > ul > li > a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.blog.list > ul > li > .draft {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@supports (grid-template-columns: subgrid) {
|
|
|
|
.blog.list {
|
|
|
|
display: grid;
|
|
|
|
gap: 1rem;
|
|
|
|
grid-template-columns: minmax(min-content, 10vh) minmax(min-content, 3vh) auto max-content;
|
|
|
|
}
|
|
|
|
.blog.list > ul {
|
|
|
|
display: grid;
|
|
|
|
row-gap: 0.25rem;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
grid-template-columns: subgrid;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
.blog.list > ul > li {
|
|
|
|
display: grid;
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
grid-template-columns: subgrid;
|
|
|
|
margin-block-end: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blog.list > h5 {
|
|
|
|
grid-column: 1 / -1;
|
|
|
|
margin-block: 1rem 0;
|
|
|
|
}
|
|
|
|
.blog.list > h5:first-child {
|
|
|
|
margin-block-start: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.blog.list > ul > li > :first-child {
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags {
|
2022-09-25 07:52:22 -07:00
|
|
|
display: flex;
|
|
|
|
padding-inline-start: 0;
|
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags li {
|
2022-09-25 07:52:22 -07:00
|
|
|
background-color: var(--tag-background-color);
|
2022-10-14 14:30:35 -07:00
|
|
|
color: var(--tag-foreground-color);
|
2022-09-25 07:52:22 -07:00
|
|
|
border-radius: 4px;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 75%;
|
2022-10-14 14:30:35 -07:00
|
|
|
letter-spacing: 1px;
|
2022-09-25 07:52:22 -07:00
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags li:hover {
|
2022-09-25 07:52:22 -07:00
|
|
|
background-color: var(--tag-hover-background-color);
|
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags li a {
|
|
|
|
color: inherit;
|
2022-09-25 07:52:22 -07:00
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2022-10-14 14:30:35 -07:00
|
|
|
padding: 0.6rem 1rem;
|
2022-09-25 07:52:22 -07:00
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags li a:hover {
|
2022-09-25 07:52:22 -07:00
|
|
|
color: var(--tag-hover-foreground-color);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-10-14 14:30:35 -07:00
|
|
|
.blog .tags li + li { margin-inline-start: 1rem; }
|
|
|
|
.blog .tags li.chevron + li { margin-inline-start: 0 }
|
|
|
|
|
|
|
|
.blog .tags .chevron {
|
|
|
|
align-items: center;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
color: var(--tag-spacer-foreground-color);
|
|
|
|
background-color: inherit;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-inline-start: 0;
|
|
|
|
padding-inline-start: 1px;
|
|
|
|
width: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.blog .tags .chevron:hover {
|
|
|
|
color: var(--tag-background-color);
|
|
|
|
background-color: inherit;
|
2022-09-25 07:52:22 -07:00
|
|
|
}
|