blob: 826268e1333b1b886423df9a56fee35afa9099f1 (
plain) (
tree)
|
|
@import '_webfonts';
@import '_responsive_fonts';
@import '_vars';
a {
color: var(--fg-href);
}
a:visited {
color: var(--fg-href-visited);
}
body {
background-color: var(--bg-color);
color: var(--fg-color);
line-height: 1.3;
max-width: 1024px;
margin: 1rem auto;
padding: 0 1rem;
font-family: var(--font-sans);
font-size: 1.3rem;
}
body.frontpage {
header { font-size: larger; }
nav ul {
list-style: none;
padding: 0;
}
hr {
border: none;
border-top: 3px double var(--border-color-dark);
}
}
h1 {
font-size: 3.5rem;
font-weight: normal;
margin: 0;
}
code {
font-family: var(--font-mono);
font-size: var(--font-size-pre);
}
pre {
background-color: var(--bg-color-canary);
color: var(--fg-color-canary);
overflow: auto;
padding: .7rem;
}
pre.clear {
background-color: var(--bg-color);
}
pre.indent {
font-size: var(--font-size-pre);
border-left: 4px solid var(--border-color-light);
margin-left: 1.5rem;
padding-left: 1.5rem;
}
blockquote {
background-color: var(--bg-color-canary);
color: var(--fg-color-canary);
padding: .7rem;
}
blockquote > p {
margin: 0;
}
nav li > article {
display: flex;
flex-direction: column;
margin-bottom: 1.5rem;
font-size: 2.7rem;
line-height: 1.2;
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
time {
display: flex;
font-size: 60%;
color: var(--fg-color-mute);
}
h1 { font-size: 2.7rem; }
}
header.post {
font-size: 1.5rem;
border-bottom: 1px solid var(--border-color-dark);
a {
font-weight: bold;
text-decoration: none;
}
time { font-size: smaller; }
address { display: none; }
}
section.post {
line-height: 1.6;
img {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
hr {
border: none;
border-top: 3px double var(--border-color-dark);
}
ul { list-style: square; }
.footnotes {
font-size: smaller;
}
.footnotes :target {
font-weight: bold;
}
sup > a {
text-decoration: none;
}
figure {
figcaption {
color: var(--fg-color-mute);
text-align: center;
font-size: smaller;
padding-top: .5em;
}
> img.round { border-radius: 5px; }
}
}
|