fonts and colors
This commit is contained in:
+46
-3
@@ -1,5 +1,48 @@
|
||||
:root{
|
||||
--color-background: #faf9f7;
|
||||
--font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
font-style: normal;
|
||||
font-weight: 400; /* 400 = Regular */
|
||||
font-display: swap; /* show the fallback first, swap in later */
|
||||
src: url("../fonts/montserrat-latin-400-aspect.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
|
||||
U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url("../fonts/montserrat-latin-700-aspect.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
|
||||
U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
|
||||
U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
:root{
|
||||
--color-canvas: #faf9f7;
|
||||
--color-banner-background: #435245;
|
||||
--color-banner-text: orange;
|
||||
--font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--color-canvas);
|
||||
font-family: var(--font-body);
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
header {
|
||||
color: var(--color-banner-text);
|
||||
background-color: var(--color-banner-background);
|
||||
padding-left: 32px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 42rem;
|
||||
margin-inline: auto;
|
||||
padding-inline: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user