/*
* This file is used for default html text content theming (headings, paragraphs, spacing)
*/
@import url('fonts.css');
body {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.markdown-body {
--sx: 1rem;
--lx: 3rem;
--lh: 1.5;
p {
color: #e6e6e6;
font-family: 'Gelasio', serif;
line-height: var(--lh);
font-size: 1.1rem;
margin: var(--sx) 0;
text-wrap: pretty;
}
sup {
font-size: 0.8em;
line-height: 0;
vertical-align: baseline;
position: relative;
top: -0.5em;
}
a {
color: #49f;
text-decoration: none;
&:hover {
text-decoration: underline;
}
&:focus-visible {
outline: 2px solid #49f;
outline-offset: 2px;
}
}
li {
color: #e6e6e6;
font-family: 'Gelasio', serif;
line-height: var(--lh);
font-size: 1.1rem;
&::marker {
color: #e6e6e6;
}
}
h1, h2, h3 {
color: #e6e6e6 !important;
margin-top: var(--lx);
margin-bottom: var(--sx);
font-family: 'Gelasio', serif;
line-height: var(--lh);
font-weight: 600;
text-wrap: balance;
border: none !important;
a { color: #e6e6e6 !important; }
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
.comment {
color: #888;
}
blockquote p {
color: #888;
}
hr {
display: block;
height: 2px;
border: 0;
border-top: 2px solid #888;
margin: var(--sx) 0;
padding: 0;
}
time {
display: block;
font-family: 'Gelasio', serif;
color: #888;
}
details {
font-family: 'Gelasio', serif;
color: #888;
summary::marker {
color: #888;
}
}
table {
--tsx_x: calc(var(--sx) / 3);
--tsx_y: calc(var(--sx) / 1.5);
font-family: 'Gelasio', serif;
margin: var(--sx) auto;
border-collapse: collapse;
th {
color: #e6e6e6;
text-align: center;
border: solid;
padding: var(--tsx_x) var(--tsx_y);
border-width: 0 0 1px 0;
&[scope="row"] {
border-width: 0 1px 0 0;
}
}
td {
color: #e6e6e6;
text-align: center;
padding: var(--tsx_x) var(--tsx_y);
font-variant-numeric: tabular-nums;
}
}
math {
color: #e6e6e6;
font-family: var(--fontMath);
font-size: 1em;
transform: translateZ(0);
msub > :nth-child(2) {
transform: translateY(-0.2em);
font-size: 0.8rem;
}
}
/* CODEBLOCKS */
code {
font-size: 0.95rem;
color: #e6e6e6;
white-space: pre;
font-family: var(--fontMono);
kw { color: #49f; }
ty { color: #4d9; }
fn { color: #7bf; }
mac { color: #d69; }
str { color: #6e7; }
num { color: #9c9; }
com { color: #888; }
prop { color: #8cf; }
mod { color: #bcd; }
id { color: inherit; }
}
pre {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
box-sizing: border-box;
margin: var(--sx) 0;
line-height: var(--lh);
}
img {
display: block;
max-width: 80%;
height: auto;
margin: var(--sx) auto;
}
}