formats.exposed/public/common/global.css

66 lines
1.1 KiB
CSS

@import url("vendor/reset.css");
:root {
--foreground-color: #111;
--background-color: #fff;
--activated-color: #333;
--tree-border-color: #ccc;
--tree-activated-border-color: #000;
--button-color: #fff;
--button-background-color: #495;
--button-background-color-hover: limegreen;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-color: #f0f0f0;
--background-color: #222;
--activated-color: #ddd;
--tree-border-color: #444;
--tree-activated-border-color: #fff;
}
}
* {
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 18pt;
line-height: 1.5em;
color: var(--foreground-color);
background: var(--background-color);
}
h1,
p {
margin-bottom: 1rem;
}
h1 {
font-weight: bold;
font-size: 200%;
}
a {
color: inherit;
}
ul,
ol {
padding-left: 1rem;
}
ul {
list-style-type: disc;
}
ol {
list-style-type: decimal;
}
input,
textarea {
font: inherit;
}