Change fonts to WOFF
This commit is contained in:
parent
3536841499
commit
64ad3adf06
8 changed files with 34 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
body {
|
||||
image-rendering: pixelated;
|
||||
line-height: 1.6;
|
||||
font-family: Atkinson sans;
|
||||
font-size: 18px;
|
||||
color: $foreground-color;
|
||||
background: $background-color;
|
||||
|
@ -21,8 +22,8 @@ body {
|
|||
justify-content: right;
|
||||
align-items: left;
|
||||
text-align: left;
|
||||
margin-left: 40em;
|
||||
margin-right: 40em;
|
||||
margin-left: $content-gap;
|
||||
margin-right: $content-gap;
|
||||
}
|
||||
|
||||
/* Smooth scrolling IF user doesn't have a preference due to motion sensitivities */
|
||||
|
@ -47,6 +48,10 @@ h3 {
|
|||
margin-top: 1cm;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
h4 {
|
||||
margin-top: 0.5cm;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
::selection {
|
||||
|
@ -114,3 +119,7 @@ code, pre {
|
|||
code {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.footnote-definition p {
|
||||
display: inline;
|
||||
}
|
||||
|
|
Binary file not shown.
BIN
assets/fonts/Atkinson-Hyperlegible-Bold-102.woff
Normal file
BIN
assets/fonts/Atkinson-Hyperlegible-Bold-102.woff
Normal file
Binary file not shown.
BIN
assets/fonts/Atkinson-Hyperlegible-BoldItalic-102.woff
Normal file
BIN
assets/fonts/Atkinson-Hyperlegible-BoldItalic-102.woff
Normal file
Binary file not shown.
BIN
assets/fonts/Atkinson-Hyperlegible-Italic-102.woff
Normal file
BIN
assets/fonts/Atkinson-Hyperlegible-Italic-102.woff
Normal file
Binary file not shown.
BIN
assets/fonts/Atkinson-Hyperlegible-Regular-102.woff
Normal file
BIN
assets/fonts/Atkinson-Hyperlegible-Regular-102.woff
Normal file
Binary file not shown.
BIN
assets/fonts/CozetteVector.woff2
Normal file
BIN
assets/fonts/CozetteVector.woff2
Normal file
Binary file not shown.
24
style.scss
24
style.scss
|
@ -4,10 +4,32 @@ $accent-color: #ca9ee6;
|
|||
$accent-color-light: #f4b8e4;
|
||||
$accent-color-dark: #ea999c;
|
||||
$radius: 10px;
|
||||
$content-gap: 30em;
|
||||
|
||||
@font-face {
|
||||
font-family: Cozette;
|
||||
src: url(/assets/CozetteVector.otf);
|
||||
src: url(/assets/fonts/CozetteVector.woff2);
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Atkinson;
|
||||
src: url(/assets/fonts/Atkinson-Hyperlegible-Regular-102.woff);
|
||||
}
|
||||
@font-face {
|
||||
font-family: Atkinson;
|
||||
src: url(/assets/fonts/Atkinson-Hyperlegible-Bold-102.woff);
|
||||
font-weight: bold;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Atkinson;
|
||||
src: url(/assets/fonts/Atkinson-Hyperlegible-Italic-102.woff);
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Atkinson;
|
||||
src: url(/assets/fonts/Atkinson-Hyperlegible-BoldItalic-102.woff);
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@import '_scss/base', '_scss/navigation';
|
||||
|
|
Loading…
Reference in a new issue