servnest/public/css/main.css

98 lines
1.3 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 {
margin: 1rem;
padding: 0;
background-color: var(--background-color);
color: var(--foreground-color);
font-family: system-ui, sans-serif;
font-size: 1rem;
line-height: 1.5em;
}
nav ul {
list-style-type: none;
display: inline;
margin: 0;
padding: 0;
}
nav li {
display: inline;
}
nav ul li ul li::before {
content: ' > ';
}
h1 {
text-align: center;
font-size: 1.5rem;
display: inline;
}
h2 {
font-size: 1.3rem;
}
header, main > *:not(table, pre), footer {
max-width: 40rem;
}
header, main > *, footer {
margin-left: auto;
margin-right: auto;
}
code {
line-height: var(--font-size) + 6%;
font-size: var(--font-size);
}
nav {
display: inline-block;
}
header {
text-align: center;
margin-top: 0.8rem;
}
p {
margin-bottom: 1rem;
}
.breakable {
word-break: break-all;
}
::selection {
background-color: var(--foreground-color);
color: var(--background-color);
}
abbr {
text-decoration: underline 0.2em dotted;
}
a {
text-decoration: underline var(--svc-color) 0.2em;
color: var(--foreground-color);
}
a:hover {
text-decoration: underline var(--svc-color) 0.25em;
color: var(--foreground-color);
}
a:active {
text-decoration: underline var(--svc-color) 0.35em;
color: var(--foreground-color);
}
a[rel=help]:before {
content: ' ';
}
dt a {
font-size: 1.1rem;
}