mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-07-19 01:17:38 +02:00
Switch font to Encode Sans Variable
This commit is contained in:
parent
c3fae80606
commit
d865fc4896
5 changed files with 14 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
$layoutWidth: 1100px;
|
||||
$layoutPadding: 20px;
|
||||
|
||||
$mainFont: "Fira Code", monospace;
|
||||
$mainFont: "Encode SansVariable", sans-serif;
|
||||
|
||||
$theme: (
|
||||
"accent": #e52b3e,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
@import "~@fontsource/fira-code/index.css";
|
||||
@import "~@fontsource/fira-code/700.css";
|
||||
@use "@fontsource/encode-sans/scss/mixins" as EncodeSans;
|
||||
@import-normalize;
|
||||
@import "../globals";
|
||||
|
||||
@include EncodeSans.fontFaceVariable($type: "wghtOnly");
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
|
||||
|
|
|
@ -104,20 +104,20 @@
|
|||
transform: translate(-50%, 0%);
|
||||
|
||||
.hello {
|
||||
font-weight: 100;
|
||||
font-weight: 300;
|
||||
opacity: 0.75;
|
||||
display: block;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
|
||||
.name {
|
||||
font-weight: 100;
|
||||
font-weight: 400;
|
||||
font-size: 1.8em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-weight: 100;
|
||||
font-weight: 300;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue