You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nostrweb/src/main.css

47 lines
765 B
CSS

2 years ago
@import "tabs.css";
@import "cards.css";
@import "form.css";
:root {
--color-danger: #e00;
}
2 years ago
@media (prefers-color-scheme: light) {
html {
--bgcolor: #fff7e9;
--bgcolor-accent: #ff731d;
--bgcolor-inactive: #737373;
2 years ago
--fgcolor: #1746a2;
--fgcolor-accent: #5f9df7;
}
}
@media (prefers-color-scheme: dark) {
html {
--bgcolor: #191919;
--bgcolor-accent: #2d4263;
--bgcolor-inactive: #535353;
2 years ago
--fgcolor: #c84b31;
--fgcolor-accent: #ecdbba;
}
img {
opacity: .75;
transition: opacity .5s ease-in-out;
}
img:hover {
opacity: 1;
}
}
*, ::after, ::before {
box-sizing: border-box;
}
body {
background-color: var(--bgcolor);
color: var(--fgcolor);
font-family: monospace;
font-size: 120%;
}