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.
110 lines
1.7 KiB
CSS
110 lines
1.7 KiB
CSS
@import "tabs.css";
|
|
@import "cards.css";
|
|
@import "form.css";
|
|
|
|
:root {
|
|
/* 5px auto Highlight */
|
|
--focus-border-color: rgb(0, 122, 255);
|
|
--focus-border-radius: 2px;
|
|
--focus-outline-color: rgb(127, 189, 247);
|
|
--focus-outline-style: solid;
|
|
--focus-outline-width: 2px;
|
|
--focus-outline: var(--focus-outline-width) var(--focus-outline-style) var(--focus-outline-color);
|
|
--font-small: 1.2rem;
|
|
}
|
|
|
|
::selection {
|
|
background: #ff79f9;
|
|
color: #fff;
|
|
}
|
|
|
|
:where([hidden]) {
|
|
display: none !important;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
html {
|
|
--bgcolor: #fdfefa;
|
|
--bgcolor-accent: #37ff1d;
|
|
--bgcolor-inactive: #bababa;
|
|
--bgcolor-textinput: #fff;
|
|
--color: rgb(68 68 68);
|
|
--color-accent: #ff731d;
|
|
--bgcolor-danger: rgb(255, 80, 80);
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
html {
|
|
--bgcolor: #191919;
|
|
--bgcolor-accent: #1e437d;
|
|
--bgcolor-inactive: #333333;
|
|
--bgcolor-textinput: #0e0e0e;
|
|
--color: #fff;
|
|
--color-accent: #bbb;;
|
|
--bgcolor-danger: rgb(169, 0, 0);
|
|
}
|
|
|
|
img {
|
|
opacity: .75;
|
|
transition: opacity .5s ease-in-out;
|
|
}
|
|
img:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
html {
|
|
font-size: 62.5%;
|
|
line-height: 1;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bgcolor);
|
|
color: var(--color);
|
|
font-size: 1.6rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
body,
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font-family: monospace;
|
|
}
|
|
|
|
small,
|
|
time {
|
|
font-size: var(--font-small);
|
|
}
|
|
|
|
.danger {
|
|
background-color: var(--bgcolor-danger);
|
|
}
|
|
|
|
a {
|
|
color: var(--color-accent);
|
|
}
|
|
|
|
a:focus {
|
|
border-radius: var(--focus-border-radius);
|
|
outline: var(--focus-outline);
|
|
outline-offset: 0;
|
|
}
|
|
|
|
a:visited {
|
|
color: darkmagenta;
|
|
}
|
|
|
|
img[alt] {
|
|
font-size: .9rem;
|
|
text-align: center;
|
|
word-break: break-all;
|
|
}
|
|
|
|
pre {
|
|
margin: 0;
|
|
padding: .5rem 0;
|
|
}
|