2022-04-30 07:47:35 +00:00
|
|
|
nav[aria-label="Site header"] {
|
2021-01-20 19:16:26 +00:00
|
|
|
@include header-link-hover-style;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--base06);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
footer[aria-label="Site footer"] {
|
|
|
|
> * {
|
|
|
|
margin-top: 1em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-21 01:08:29 +00:00
|
|
|
.icon {
|
|
|
|
height: 1rem;
|
|
|
|
width: 1rem;
|
|
|
|
fill: currentColor;
|
|
|
|
}
|
|
|
|
|
2020-11-02 08:53:37 +00:00
|
|
|
.list {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
& > *:not(:last-child) {
|
|
|
|
border-right: 1px solid var(--base02);
|
|
|
|
margin-right: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__title {
|
2021-01-20 19:16:26 +00:00
|
|
|
--size: 2rem;
|
2020-11-02 08:53:37 +00:00
|
|
|
display: inline-block;
|
2021-01-20 19:16:26 +00:00
|
|
|
font-size: var(--size);
|
|
|
|
margin-bottom: unset;
|
2020-11-02 08:53:37 +00:00
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__links {
|
|
|
|
@include header-link-hover-style;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__languages {
|
2021-01-20 19:16:26 +00:00
|
|
|
margin: 0 0.5em;
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site__socials {
|
|
|
|
@include header-link-hover-style;
|
|
|
|
font-style: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__social-icon {
|
|
|
|
svg {
|
|
|
|
--size: 1.25em;
|
|
|
|
height: var(--size);
|
|
|
|
width: var(--size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__theme-btn {
|
2022-05-01 12:38:07 +00:00
|
|
|
background: var(--background);
|
2020-11-02 08:53:37 +00:00
|
|
|
padding: 0.5em;
|
2022-04-29 17:42:08 +00:00
|
|
|
position: relative;
|
|
|
|
float: right;
|
2020-11-02 08:53:37 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
& .site__theme-dropdown {
|
|
|
|
display: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__theme-dropdown {
|
2022-05-01 12:38:07 +00:00
|
|
|
background: var(--background);
|
2022-04-29 17:42:08 +00:00
|
|
|
border: var(--border-style);
|
2020-11-02 08:53:37 +00:00
|
|
|
display: none;
|
2022-04-29 17:42:08 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2022-05-01 12:38:07 +00:00
|
|
|
top: 1.5em;
|
2022-04-29 17:42:08 +00:00
|
|
|
width: max-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site__theme-dropdown-list {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.site__theme-item {
|
|
|
|
padding: 0 0.5em;
|
|
|
|
|
2022-04-29 17:42:08 +00:00
|
|
|
&[data-theme-light] { order: -1; }
|
|
|
|
&[data-theme-dark] { order: -1; }
|
|
|
|
&[data-theme-system] { order: -2; }
|
|
|
|
|
2020-11-02 08:53:37 +00:00
|
|
|
.site__theme-dropdown &:hover {
|
2022-05-01 12:38:07 +00:00
|
|
|
background: var(--accent-color);
|
|
|
|
color: var(--background);
|
2020-11-02 08:53:37 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2022-06-13 09:06:29 +00:00
|
|
|
|
|
|
|
&--selected {
|
|
|
|
background: var(--base05);
|
|
|
|
color: var(--background);
|
|
|
|
};
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1rem;
|
|
|
|
list-style: none;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 1.2rem 0;
|
|
|
|
padding: 0.8rem;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin: 0 0.25em;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link {
|
|
|
|
background: var(--base01);
|
2022-05-01 12:38:07 +00:00
|
|
|
color: var(--accent-color);
|
2020-11-02 08:53:37 +00:00
|
|
|
text-decoration: none;
|
|
|
|
padding: 0.5em;
|
|
|
|
|
|
|
|
&:hover {
|
2020-11-06 10:20:16 +00:00
|
|
|
background: var(--base0B);
|
2022-05-01 12:38:07 +00:00
|
|
|
color: var(--background);
|
2020-11-02 08:53:37 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-link--active {
|
|
|
|
@extend .page-link;
|
2022-05-01 12:38:07 +00:00
|
|
|
background: var(--foreground);
|
|
|
|
color: var(--background);
|
2020-11-02 08:53:37 +00:00
|
|
|
font-weight: bolder;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post {
|
2021-01-20 19:16:26 +00:00
|
|
|
background: var(--base01);
|
2020-11-02 08:53:37 +00:00
|
|
|
margin-top: 1rem;
|
2021-01-20 19:16:26 +00:00
|
|
|
padding: 0.5em;
|
2020-11-02 08:53:37 +00:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--single .post__meta {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.post__meta {
|
2022-05-01 12:38:07 +00:00
|
|
|
color: var(--foreground);
|
2020-11-02 08:53:37 +00:00
|
|
|
font-size: 0.9em;
|
2021-01-20 19:16:26 +00:00
|
|
|
margin-top: 0.5em;
|
2020-11-02 08:53:37 +00:00
|
|
|
|
|
|
|
& > * {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2021-01-20 19:16:26 +00:00
|
|
|
|
|
|
|
.post--single & {
|
|
|
|
background: var(--base01);
|
2022-05-01 12:38:07 +00:00
|
|
|
color: var(--foreground);
|
2021-01-20 19:16:26 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
}
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.post__meta--single {
|
|
|
|
background: var(--base01);
|
2022-05-01 12:38:07 +00:00
|
|
|
color: var(--foreground);
|
2020-11-02 08:53:37 +00:00
|
|
|
font-size: 0.9em;
|
|
|
|
margin: 0.5em auto;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
margin: 0.5em auto;
|
|
|
|
}
|
|
|
|
}
|
2020-11-06 10:20:16 +00:00
|
|
|
|
2021-01-27 16:21:42 +00:00
|
|
|
.posts--list {
|
|
|
|
list-style: none;
|
|
|
|
padding-left: 1em;
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post--list {
|
2020-11-02 08:53:37 +00:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
& > * {
|
2021-01-27 16:21:42 +00:00
|
|
|
margin-right: 0.5em;
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-27 16:21:42 +00:00
|
|
|
.post--list__date {
|
|
|
|
white-space: nowrap;
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
|
2021-01-27 16:21:42 +00:00
|
|
|
.taxonomy__header {
|
2020-11-02 08:53:37 +00:00
|
|
|
display: flex;
|
2021-01-27 16:21:42 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: start;
|
2020-11-02 08:53:37 +00:00
|
|
|
|
|
|
|
& > * {
|
2021-01-27 16:21:42 +00:00
|
|
|
margin: 0;
|
|
|
|
margin-right: 0.25em;
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#TableOfContents {
|
|
|
|
background: var(--base01);
|
|
|
|
font-size: 0.9em;
|
|
|
|
padding: 1em;
|
2021-01-26 16:51:05 +00:00
|
|
|
|
|
|
|
// The styling is solely for consistency sake throughout the site.
|
|
|
|
> ul { padding-left: 1rem; }
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: disc;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
2020-11-02 08:53:37 +00:00
|
|
|
}
|
2021-01-27 16:21:42 +00:00
|
|
|
|