Files
davideisinger.com/themes/v2/assets/css/style.scss
David Eisinger aef737e10b Style music page
2023-10-30 10:51:54 -04:00

187 lines
2.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;
}
@media only screen and (max-width: 600px) {
body {
-webkit-text-size-adjust: 100%;
padding: 10px;
}
}
h1, h2, h3 {
font-size: 1em;
margin: 1em 0;
span {
color: #aaa;
}
}
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;
&:first-child {
text-indent: -2ch;
}
}
blockquote {
p:first-child {
text-indent: 0;
}
pre {
text-indent: 0;
}
}
}
}
ol {
margin-left: 3ch;
padding: 0;
}
blockquote {
border-left: 1ch solid #ddd;
font-style: italic;
margin: 0;
padding-left: 1ch;
}
header, #content, footer {
max-width: 800px;
}
footer {
text-align: center;
hr {
margin-bottom: 12px;
}
}
sup {
line-height: 0;
font-size: 0.8em;
}
figure {
margin: 0;
}
code {
background-color: #ddd;
padding: 1px 1ch;
border-radius: 3px;
}
.nowrap {
white-space: nowrap;
}
img {
width: 100%;
height: auto;
&.inline {
width: auto;
vertical-align: middle;
}
}
.image-set {
display: flex;
gap: 1em;
margin-block-start: 1em;
margin-block-end: 1em;
figure {
line-height: 0;
}
}
.references, .footnotes {
font-size: 0.8em;
h3 {
margin-bottom: 0;
}
ul {
margin-top: 0.5em;
}
}
.highlight, pre {
overflow: auto;
code {
background: none;
padding: 0;
border-radius: 0;
}
}
pre {
background-color: #2e3440;
color: #d8dee9;
margin: 0;
padding: 1ch 1ch;
border-radius: 3px;
}
.music-track {
align-items: center;
display: flex;
gap: 2ch;
padding: 2ch 0;
}
@media only screen and (max-width: 600px) {
.music-track {
display: block;
audio {
padding-bottom: 1ch;
}
}
}
audio::-webkit-media-controls-panel {
background-color: rgba(0, 0, 0, 0.05);
}