id/styles/colours.css

157 lines
2.7 KiB
CSS
Raw Normal View History

2023-06-07 19:40:38 +00:00
:root {
--black: #000000;
--white: #ffffff;
/* ByeCorps colour scheme. Use sparsely on this site. */
--byecorps-blue: #1b5652;
--byecorps-white: #e6feff;
/* ByeCorps ID colour scheme. Use on this site. */
--black-bean: #330f0a;
--dark-slate-gray: #394f49;
--fern-green: #65743a;
--flax: #efdd8d;
--mindaro: #f4fdaf;
2023-10-31 18:43:21 +00:00
2023-11-06 16:38:18 +00:00
/* open colors: used for debugging */
--red-5: #ff6b6b;
--red-5-transparent: #ff6b6b3a;
--red-8: #e03131;
--green-5: #51cf66;
--green-8: #2f9e44;
2023-11-19 12:24:38 +00:00
--grey-0: #f8f9fa;
--grey-2: #e9ecef;
--grey-8: #343a40;
--grey-9: #212529;
--background: white;
--background-dark: #121212;
2023-11-06 16:38:18 +00:00
2024-03-18 20:11:01 +00:00
--foreground: black;
--foreground-dark: white;
--chip-background: var(--grey-0);
2023-10-31 18:43:21 +00:00
color-scheme: light dark;
2023-06-07 19:40:38 +00:00
}
2023-11-19 12:24:38 +00:00
html {
background: var(--background, white);
}
2023-11-06 16:38:18 +00:00
button, .button {
background-color: #1f302b40;
color: var(--white);
}
2023-10-31 18:43:21 +00:00
button.primary, .button.primary {
2023-06-07 19:40:38 +00:00
color: var(--black-bean);
background-color: var(--flax);
}
2023-11-06 16:38:18 +00:00
button.danger, .button.danger {
color: var(--white);
background-color: var(--red-5);
}
2023-06-07 19:40:38 +00:00
header {
background-color: var(--flax);
color: var(--dark-slate-gray);
}
header a {
color: var(--dark-slate-gray);
}
2023-11-19 12:24:38 +00:00
input, textarea {
2023-11-06 16:38:18 +00:00
all: unset;
padding: 1em;
text-align: start;
border-radius: 1em;
background-color: #c0c0c077;
}
input[data-com-onepassword-filled="light"] {
background-color: var(--byecorps-white) !important;
}
input[data-com-onepassword-filled="dark"] {
background-color: var(--byecorps-blue) !important;
}
.icon-true {
color: var(--green-8);
}
.icon-false {
color: var(--red-8);
}
.dangerzone {
background-color: var(--red-5-transparent);
color: var(--white);
padding: 0.5rem 1em;
border-radius: 1em;
}
.dangerzone h2 {
margin: 0;
}
.dangerzone p {
margin: 0;
}
2024-02-17 12:04:47 +00:00
.flash {
background: var(--red-5);
color: black;
}
2023-06-07 19:40:38 +00:00
@media screen and (prefers-color-scheme: dark) {
2024-03-18 20:11:01 +00:00
:root {
--background: #121212;
--foreground: white;
--chip-background: var(--grey-9);
2024-03-18 20:11:01 +00:00
color-scheme: light dark;
}
2023-11-19 12:24:38 +00:00
html {
2024-03-18 20:11:01 +00:00
background: var(--background, #121212);
2023-11-19 12:24:38 +00:00
}
2023-10-31 18:43:21 +00:00
button.primary, .button.primary {
2023-06-07 19:40:38 +00:00
color: var(--flax);
background-color: var(--dark-slate-gray);
}
header {
background-color: var(--dark-slate-gray);
color: var(--flax);
}
header a {
color: var(--flax);
}
2023-11-06 16:38:18 +00:00
2023-11-19 12:24:38 +00:00
input, textarea {
2023-11-06 16:38:18 +00:00
background-color: #2c2c2c77;
}
.icon-true {
color: var(--green-5);
}
.icon-false {
color: var(--red-5);
}
a, a:visited, a:link {
color: var(--flax);
}
2023-06-07 19:40:38 +00:00
}