148 lines
2.1 KiB
CSS
148 lines
2.1 KiB
CSS
@import url("colors.css");
|
|
@import url("animations.css");
|
|
@import url("mode-bar.css");
|
|
@import url("code.css");
|
|
@import url("org.css");
|
|
@import url("media.css");
|
|
|
|
*::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
position: relative;
|
|
font-family: system-ui;
|
|
scroll-behavior: smooth;
|
|
scroll-padding: 1em;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--background);
|
|
color: var(--foreground);
|
|
}
|
|
|
|
article {
|
|
max-width: 80ch;
|
|
display: block;
|
|
margin: 1em auto;
|
|
padding: 10px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--link);
|
|
}
|
|
|
|
a:hover {
|
|
opacity: 80%;
|
|
}
|
|
|
|
hr {
|
|
border: var(--border);
|
|
border-bottom: none;
|
|
}
|
|
|
|
blockquote {
|
|
background-color: var(--background-alt);
|
|
color: var(--accent);
|
|
border-left: solid 5px var(--accent);
|
|
padding: 10px 20px;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
blockquote > p > code {
|
|
background-color: var(--link);
|
|
color: var(--background);
|
|
}
|
|
|
|
blockquote > pre {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
p, hr {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
ul, ol {
|
|
list-style-position: inside;
|
|
padding-inline-start: 1.5em;
|
|
}
|
|
|
|
ul > li {
|
|
list-style: "- ";
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
h1, h1::before {
|
|
content: "* ";
|
|
background-color: var(--level-1-bg);
|
|
color: var(--level-1-fg);
|
|
}
|
|
|
|
h2, h2::before {
|
|
content: "** ";
|
|
background-color: var(--level-2-bg);
|
|
color: var(--level-2-fg);
|
|
}
|
|
|
|
h3, h3::before {
|
|
content: "*** ";
|
|
background-color: var(--level-3-bg);
|
|
color: var(--level-3-fg);
|
|
}
|
|
|
|
img {
|
|
max-height: 300px;
|
|
max-width: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
margin: 1em auto;
|
|
}
|
|
|
|
table, th, td {
|
|
border: var(--border);
|
|
padding: 5px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table {
|
|
border: none;
|
|
overflow: scroll;
|
|
margin: 1em;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
th, td {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
tr:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
|
|
th {
|
|
font-weight: bold;
|
|
background-color: var(--background-alt);
|
|
}
|
|
|
|
tr:nth-of-type(even) {
|
|
background-color: var(--background-alt);
|
|
}
|
|
|
|
|