id/styles/base.css

106 lines
1.2 KiB
CSS
Raw Normal View History

2024-06-27 21:30:56 +00:00
@import "colours.css";
:root {
color-scheme: light dark;
font-family: "Montserrat", system-ui, sans-serif;
}
body {
margin: 0;
2024-06-28 21:41:35 +00:00
display: flex;
flex-direction: column;
min-height: 100vh;
2024-06-27 21:30:56 +00:00
}
header {
display: flex;
align-items: center;
padding: 1rem;
gap: 1rem;
2024-06-28 21:41:35 +00:00
flex: 0;
2024-06-27 21:30:56 +00:00
justify-content: space-between;
background: var(--flax);
color: var(--dark-slate-gray);
}
2024-07-01 21:15:51 +00:00
header > .section {
display: flex;
gap: 1em;
}
.largeicon {
font-size: 48px;
}
2024-06-27 21:30:56 +00:00
main {
flex: 1;
2024-06-28 21:41:35 +00:00
margin: 16px;
}
footer {
flex: 0;
2024-06-29 21:52:46 +00:00
text-align: center;
margin: 16px;
2024-06-27 21:30:56 +00:00
}
#content {
margin: 1rem;
}
@media screen and (prefers-color-scheme: dark) {
header {
background: var(--dark-slate-gray);
color: var(--flax);
}
}
2024-06-28 21:41:35 +00:00
/* Error box */
.errorbox {
display: block;
text-align: center;
}
body > .errorbox {
flex: 1;
margin: auto;
align-content: center;
}
.errorbox > * {
margin: 5px;
}
.errorbox > .icon {
color: var(--error-fg, red);
font-size: 4em;
}
2024-06-27 21:30:56 +00:00
/* Font things */
.bc-1 {
font-weight: 700;
}
.bc-2 {
font-weight: 600;
}
.bc-3 {
font-weight: 400;
}
2024-07-01 21:15:51 +00:00
.center {
text-align: center;
}