Files
Vesktop/static/views/common.css

63 lines
1.2 KiB
CSS

:root {
color-scheme: light dark;
--bg: light-dark(white, hsl(223 6.7% 20.6%));
--fg: light-dark(black, white);
--fg-secondary: light-dark(#313338, #b5bac1);
--fg-semi-trans: light-dark(rgb(0 0 0 / 0.2), rgb(255 255 255 / 0.2));
--link: light-dark(#006ce7, #00a8fc);
--link-hover: light-dark(#005bb5, #0086c3);
--green: oklab(0.525938 -0.120357 0.0608586);
--red: #d22d39;
}
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
"Open Sans", "Helvetica Neue", sans-serif;
background: var(--bg);
color: var(--fg);
}
a {
color: var(--link);
transition: color 0.2s linear;
}
a:hover {
color: var(--link-hover);
}
.button {
cursor: pointer;
padding: 0.5rem 1rem;
font-size: 1.2em;
color: var(--fg);
border: none;
border-radius: 3px;
font-weight: bold;
transition: filter 0.2 ease-in-out;
&:hover,
&:active {
filter: brightness(0.9);
}
&.green {
background-color: var(--green);
}
&.grey {
background-color: #97979f1f;
}
&.red {
background-color: var(--red);
}
}