Files
tg-archive/static/theme.css
T
Elias Wendland 48408cba61
CI and release / Run tests (push) Failing after 33s
CI and release / Detect release commit (push) Successful in 36s
CI and release / Build and publish container (push) Successful in 6m30s
CI and release / Create release (push) Successful in 15s
Release 0.2.0
2026-08-25 21:58:43 +02:00

210 lines
2.7 KiB
CSS

:root {
color-scheme: light;
font-family: Arial, sans-serif;
}
html {
background: #f5f5f5;
color: #202020;
}
html.theme-black {
background: #181818;
color: #e6e6e6;
color-scheme: dark;
}
html.theme-oled {
background: #000;
color: #e6e6e6;
color-scheme: dark;
}
body {
box-sizing: border-box;
display: flex;
flex-direction: column;
line-height: 1.45;
margin: 0 auto;
max-width: 1100px;
min-height: 100vh;
padding: 0 18px;
}
a {
color: #245b91;
}
a:hover {
color: #123f6b;
}
.theme-black a,
.theme-oled a {
color: #8ebbea;
}
.theme-black a:hover,
.theme-oled a:hover {
color: #b8d8f5;
}
.site-header,
.site-footer {
padding: 18px 0;
}
.site-header {
align-items: center;
display: flex;
gap: 24px;
justify-content: space-between;
}
.site-brand {
font-size: 1.2rem;
white-space: nowrap;
}
.site-navigation {
align-items: center;
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.site-navigation form {
display: inline;
}
.page-content {
background: #fff;
border: 1px solid #d8d8d8;
flex: 1;
padding: 24px;
}
.theme-black .page-content {
background: #222;
border-color: #444;
}
.theme-oled .page-content {
background: #000;
border-color: #444;
}
button,
input,
select {
border: 1px solid #999;
border-radius: 3px;
box-sizing: border-box;
font: inherit;
padding: 7px;
}
button {
background: #f8f8f8;
color: #202020;
cursor: pointer;
}
button:hover {
background: #e9e9e9;
}
.theme-black button,
.theme-black input,
.theme-black select,
.theme-oled button,
.theme-oled input,
.theme-oled select {
background: #292929;
border-color: #666;
color: #eee;
}
.theme-black button:hover,
.theme-oled button:hover {
background: #3d3d3d;
}
form {
margin: 12px 0;
}
li {
margin: 8px 0;
}
dt {
font-weight: bold;
margin-top: 12px;
}
dd {
margin-left: 0;
}
pre {
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.site-footer {
display: flex;
gap: 24px;
justify-content: space-between;
}
.site-footer > * {
margin: 0;
}
.footer-legal {
text-align: left;
}
.footer-theme {
text-align: right;
}
@media (max-width: 700px) {
body {
padding: 0 10px;
}
.site-header,
.site-footer {
align-items: stretch;
flex-direction: column;
gap: 10px;
padding: 12px 0;
}
.page-content {
padding: 16px;
}
.site-navigation {
line-height: 1.8;
}
.footer-theme {
text-align: left;
}
input,
select {
max-width: 100%;
}
img,
video,
iframe {
height: auto;
max-width: 100%;
}
}