Revise custom stylesheet

This commit is contained in:
Gabriel Arazas 2022-11-22 22:36:44 +08:00
parent fe5cfe968c
commit fd20d2a7a4

View File

@ -1,5 +1,6 @@
:root {
--accented-border-style: var(--base0C) solid .1vw;
--accented-border-style: var(--content-color) solid .1vw;
--content-color: var(--base05);
--code-size: 50vh;
--body-family: "Source Serif Pro", "IBM Plex Serif", "Noto Serif", serif;
@ -8,6 +9,14 @@
color: var(--base05);
}
hr {
border-color: var(--content-color);
}
nav[aria-label="Primary navigation"] a {
color: var(--base05);
}
ul {
ul, ol {
padding-left: 1em;
@ -155,7 +164,7 @@ sup.footnote {
*:not(.listingblock) {
> *.attribution,
> *.title {
background: var(--base0C);
background: var(--content-color);
color: var(--base00);
font-size: 0.9em;
padding: 0.5em;
@ -173,9 +182,15 @@ sup.footnote {
.admonitionblock {
.icon {
background: var(--base0C);
background: var(--content-color);
border: var(--accented-border-style);
vertical-align: middle;
width: 12%;
> .title {
display: flex;
justify-content: center;
}
}
}