Files
davideisinger.com/themes/v2/assets/css/style.scss
David Eisinger 3f48228fdc Fix UL styles
2023-06-01 12:00:53 -04:00

108 lines
1.1 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
body {
font-family: monospace;
font-size: 18px;
padding: 50px;
line-height: 1.5em;
background-color: #f6f6f6;
color: #333;
}
h1, h2, h3 {
font-size: 1em;
margin: 1em 0;
}
h3 {
color: #aaa;
}
a {
color: #00a;
}
hr {
border: 0;
border-top: 2px solid #ddd;
}
ul {
list-style: none;
margin-left: 2ch;
padding: 0;
text-indent: -2ch;
li {
&::before {
color: #aaa;
content: '';
float: left;
margin-right: 2ch;
}
p {
text-indent: 0;
}
p:first-child {
text-indent: -2ch;
}
}
}
blockquote {
margin: 0 2ch 0 0;
font-style: italic;
border-left: 1ch solid #ddd;
p {
width: 100%;
margin-left: 1ch;
}
}
header, #content, footer {
max-width: 800px;
}
footer {
text-align: center;
hr {
margin-bottom: 12px;
}
}
sup {
line-height: 0;
}
figure {
margin: 0;
}
.nowrap {
white-space: nowrap;
}
.image-set {
display: flex;
gap: 1em;
img {
width: 100%;
height: auto;
}
}
.references {
font-size: 0.8em;
h3 {
margin-bottom: 0;
}
ul {
margin-top: 0.5em;
}
}