public/assets/style.css
2024-05-22 04:03:59 -07:00

94 lines
1.2 KiB
CSS

:root {
--background: #222225;
--color: #dddddd;
}
body {
background: var(--background);
color: var(--color);
font: 16px/1.4 system-ui, "Segoe UI", "Cantarell", sans-serif;
padding: 2em;
margin: 0 auto;
max-width: 800px;
}
h1, h2, h3, h4 {
margin: 1em 0 4px;
}
h1, h2, h3, h4, h5, code, pre {
font-family: Consolas, monaco, monospace;
}
a {
color: #41ead4;
text-decoration: underline #318479;
}
a:hover {
background: #41ead422;
}
p {
margin-top: 1em;
}
ol, ul {
list-style-position: outside;
padding-left: calc(2rem);
}
body > ol, body > ul,
details > ol, details > ul {
margin: 1em 0 0;
}
code, pre {
background: #1a1a1a;
padding: 1px 2px;
border-radius: 2px;
}
pre {
padding: 4px;
overflow-x: auto;
}
blockquote {
margin: 0;
padding-left: 1em;
border-left: solid #444444 3px;
font-style: italic;
}
img {
display: block;
max-width: 100%;
max-height: 500px;
}
details {
border: solid #444444 1px;
padding: 8px;
background: #202021;
}
summary {
cursor: pointer;
}
.copytext {
cursor: pointer;
color: #cb72dc;
text-decoration: underline #8d5098;
}
.copytext:hover {
background: #cb72dc22;
}
.copytext a {
color: inherit;
text-decoration: inherit;
background: inherit;
}