Skip to content

Instantly share code, notes, and snippets.

@eli-oat
Created January 16, 2023 02:58
Show Gist options
  • Save eli-oat/33678d4d6c2c3d624ab9ae2d1b19d17e to your computer and use it in GitHub Desktop.
Save eli-oat/33678d4d6c2c3d624ab9ae2d1b19d17e to your computer and use it in GitHub Desktop.
an abandoned stylesheet
*:focus {
outline: 4px solid #FFD700;
outline-offset: 4px;
}
html {
font-size: 118%;
}
body {
font-weight: 400;
line-height: 1.75;
color: #000000;
max-width: 42em;
padding: 0.25em 1em;
font-family: sans-serif;
background-color: deeppink;
background-image: url("https://eli.li/_assets/_images/bg.svg");
background-attachment: scroll;
}
main {
padding: 1em;
}
p {
margin-bottom: 1rem;
}
h1, h2, h3, h4, h5 {
margin: 3rem 0 1.38rem;
font-weight: bold;
line-height: 1.3;
}
h1, h2, h3, h4, h5, blockquote {
font-family: serif;
}
blockquote {
border-left: 4px solid deeppink;
padding-left: 1em;
}
a {
color: deeppink;
}
a:hover {
opacity: 0.5;
}
img {
max-width: 32em;
width: 100%;
}
pre {
font-size: 100%;
padding: 0 1.75em;
overflow: scroll;
}
code {
font-family: monospace;
}
@media (prefers-color-scheme: dark) {
body, pre {
background-color: rgba(29, 19, 25, 1);
color: #a8c6b4;
}
main {
background-color: rgba(29, 19, 25, 0.75);
color: #a8c6b4;
}
}
@media (prefers-color-scheme: light) {
body, pre {
background-color: rgba(168, 198, 180, 1);
color: #1d1319;
}
main {
background-color: rgba(168, 198, 180, 0.75);
color: #1d1319;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment