Files
2026-07-06 22:45:10 +02:00

160 lines
2.0 KiB
CSS
Executable File

/* ===== Root & Body ===== */
html {
height: 100%;
}
body {
background-color: #222222;
color: #aaa;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
font-size: 1.2rem;
line-height: 1.5;
margin: 0;
min-height: 100%;
}
/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6 {
color: #bbb;
}
h2, h3, h4, h5, h6 {
margin-top: 1.5rem;
}
h1 {
font-size: 2em;
}
/* ===== Links ===== */
a {
color: #57cc8a;
text-decoration: none;
}
a:visited {
color: #57cc8a;
}
.posts {
list-style: none;
padding-left: 0
}
.top-nav a:hover,
ul a:hover,
li a:hover,
a:hover {
text-decoration: underline;
}
/* ===== Code ===== */
code {
font-family: Courier, monospace;
font-size: 80%;
}
pre {
background: #191919;
color: #57cc8a;
padding: 1em;
overflow: auto;
}
code:not(pre > code) {
background-color: #aaa;
color: #0f0e0e;
padding: 0.1em 0.2em;
font-size: 90%;
}
code.has-jax {
background: inherit !important;
border: none !important;
font-size: 100%;
}
li span {
font-family: monospace;
}
/* ===== Text & Blocks ===== */
p {
margin: 1rem 0;
}
li {
margin: 0.4rem 0;
}
blockquote {
border: thin solid #aaa;
padding: 1rem;
}
blockquote p {
margin: 0;
}
hr {
border: 1.5px dashed #aaa;
}
*:target {
background: #2f3849;
color: #aaa;
}
/* ===== Tables ===== */
table, th, td {
border: thin solid #666;
border-collapse: collapse;
padding: 0.4rem;
}
table {
width: 100%;
}
tr:nth-child(even) {
background-color: #333333;
}
/* ===== Images & Figures ===== */
img {
max-width: 100%;
display: block;
}
figcaption {
text-align: center;
color: #aaa;
font-style: italic;
}
/* ===== Layout & Containers ===== */
.w {
max-width: 1000px;
margin: 0 auto;
padding: 2rem;
}
/* ===== Navigation ===== */
.top-nav a {
text-decoration: none;
}
<style>
.anchor{
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
border: 0;
padding: 0;
margin: 0;
}
</style>