mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
29 lines
479 B
CSS
29 lines
479 B
CSS
|
|
:root {
|
|
--accent: hsl(0 0% 70%);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--accent: hsl(0 0% 30%);
|
|
}
|
|
}
|
|
|
|
/* the code snippet frame, defaults to white which tends to get badly readable in combination with explaining text around */
|
|
div.fragment {
|
|
background-color: var(--accent);
|
|
border: 0;
|
|
padding: 1em;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
code {
|
|
background-color: var(--accent);
|
|
padding-left: .5em;
|
|
padding-right: .5em;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
li {
|
|
margin-bottom: .5em;
|
|
} |