2024-09-02 19:58:59 +02:00
|
|
|
// Overide pico variables
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--pico-font-family-monospace: "mylilex",
|
|
|
|
monospace,
|
|
|
|
var(--pico-font-family-emoji);
|
|
|
|
--pico-font-family: "mylilex", serif, var(--pico-font-family-emoji);
|
|
|
|
--pico-font-weight: 400;
|
|
|
|
--line-height-verse: 1.4;
|
2024-10-20 20:30:11 +02:00
|
|
|
--verse-p-bottom-space: 2em;
|
|
|
|
--verse-p-bottom-space-larger: 3em;
|
2024-09-02 19:58:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6,
|
|
|
|
thead th,
|
|
|
|
thead td,
|
|
|
|
tfoot th,
|
|
|
|
tfoot td {
|
|
|
|
--pico-font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Adapt the SVG logo color to the colorscheme
|
|
|
|
|
|
|
|
[data-theme=light],
|
2024-12-14 08:53:34 +01:00
|
|
|
:root:not([data-theme=dark]) {
|
|
|
|
--logo-color: var(--pico-h1-color);
|
2024-09-02 19:58:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (prefers-color-scheme: dark) {
|
|
|
|
:root:not([data-theme]) {
|
2024-12-14 08:53:34 +01:00
|
|
|
--logo-color: var(--pico-h1-color);
|
|
|
|
// Use the pico color of the light theme to improve contrast
|
|
|
|
// TODO: Explore if a variable could be used here
|
|
|
|
--pico-mark-color: #373c44;
|
2024-09-02 19:58:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-theme=dark] {
|
2024-12-14 08:53:34 +01:00
|
|
|
--logo-color: var(--pico-h1-color);
|
|
|
|
// Use the pico color of the light theme to improve contrast
|
|
|
|
// TODO: Explore if a variable could be used here
|
|
|
|
--pico-mark-color: #373c44;
|
2024-09-02 19:58:59 +02:00
|
|
|
}
|