More information: https://systemfontstack.com/
CSS variables are very usefull to avoid long list of fonts each time.
Also, it's easier to read and maintain.
Signed-off-by: Max Charrier <max@puffer.fish>
+:root {
+ --system-ui: 'comic_monobold', ui-monospace, Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
+}
body {
background-color: #f1e9df;
color: #89a06b;
flex-direction: column;
align-items: center;
gap: 30px;
- font-family: 'comic_monobold', ui-monospace, monospace;
+ font-family: var(--system-ui);
font-size: 1.4em;
}
header {
}
nav aside a {
text-align: center;
- font-family: 'comic_monobold', ui-monospace, monospace;
+ font-family: var(--system-ui);
font-size: 1.2rem;
display: inline-block;
padding: 10px 20px;