site/static/style.css

107 lines
1.5 KiB
CSS
Raw Permalink Normal View History

2024-11-14 17:35:47 +01:00
@font-face {
font-family: "Berkeley Mono";
src:
local("Berkeley Mono"),
url("/font/BerkeleyMono/BerkeleyMono-Regular.woff2") format("woff2");
}
@font-face {
font-family: "Berkeley Mono";
src:
local("Berkeley Mono:style=Bold"),
url("/font/BerkeleyMono/BerkeleyMono-Bold.woff2") format("woff2");
font-weight: bold;
}
@font-face {
font-family: "Berkeley Mono";
src:
local("Berkeley Mono:style=Italic"),
url("/font/BerkeleyMono/BerkeleyMono-Italic.woff2") format("woff2");
font-style: italic;
}
@font-face {
font-family: "Berkeley Mono";
src:
local("Berkeley Mono:style=Bold Italic"),
url("/font/BerkeleyMono/BerkeleyMono-BoldItalic.woff2") format("woff2");
font-style: italic;
font-weight: bold;
}
body {
padding: 1rem;
margin: 0;
width: calc(100% - 2rem);
margin: auto;
max-width: 80ch;
font-family: sans-serif;
line-height: 1.5;
}
img {
display: block;
margin: auto;
max-width: 100%;
}
code {
font-family: "Berkeley Mono", monospace;
}
pre {
font-family: "Berkeley Mono", monospace;
padding: 1rem;
overflow: auto;
scrollbar-width: thin;
color: white;
background-color: #191724;
}
blockquote {
color: green;
}
nav a {
text-decoration: none;
}
footer a {
text-decoration: none;
}
ul {
list-style: inside square;
margin: 0;
padding: 0;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1c1b22;
color: white;
}
a:link {
color: #875fff;
}
a:visited {
color: magenta;
}
}
.date {
color: gray;
}