add site skeleton
This commit is contained in:
1 parent
7a7f0129b3
commit
7da743d15a
5 files changed
+152
No files matched your search
+45
@@ -0,0 +1,45 @@
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
src: url("assets/fonts/instrument-sans-variable.woff2") format("woff2");
|
||||
font-weight: 400 700;
|
||||
font-stretch: 75% 100%;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Instrument Sans";
|
||||
src: url("assets/fonts/instrument-sans-italic-variable.woff2") format("woff2");
|
||||
font-weight: 400 700;
|
||||
font-stretch: 75% 100%;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-sans: "Instrument Sans", system-ui, sans-serif;
|
||||
--color-paper: #f7f5f2;
|
||||
--color-ink: #1a1a18;
|
||||
--gutter: clamp(1.25rem, 5vw, 4rem);
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: var(--gutter);
|
||||
background-color: var(--color-paper);
|
||||
color: var(--color-ink);
|
||||
font-family: var(--font-sans);
|
||||
font-size: 1rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
Reference in new issue
Block a user