Skip to content

Commit 0142cd2

Browse files
committed
more styling yet again
1 parent 7a48359 commit 0142cd2

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<meta charset="UTF-8">
88
<meta http-equiv="X-UA-Compatible" content="IE=edge">
99
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10+
<link rel="preload" href="./assets/fonts/iosevka-regular.woff2" as="font" crossorigin>
1011
<link rel="stylesheet" href="./assets/styles/style.css">
11-
<title>Document</title>
1212
</head>
1313
<body>
1414
<div class="wrapper">

assets/fonts/iosevka-regular.ttf

-4.95 MB
Binary file not shown.

assets/fonts/iosevka-regular.woff2

794 KB
Binary file not shown.

assets/styles/style.sass

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
---
33

4-
@font-face
5-
font-family: Iosevka
6-
src: url(../fonts/iosevka-regular.ttf)
4+
// @font-face
5+
// font-family: Iosevka
6+
// font-display: swap
7+
// src: url(../fonts/iosevka-regular.ttf)
78
89
@keyframes fadein
910
from
@@ -14,6 +15,9 @@
1415
opacity: 100%
1516
transform: translateX(0px)
1617

18+
$font: Iosevka
19+
$backup-font: Arial
20+
1721
$accent: #4fb8ff
1822
$text: #92a1ae
1923
$mid: #424c57
@@ -22,7 +26,7 @@ $very-dark: #1b2129
2226

2327
h1, a, p
2428
color: $text
25-
font-family: 'Iosevka'
29+
font-family: $font, $backup-font
2630

2731
nav
2832
padding-top: 0.25rem
@@ -69,8 +73,8 @@ body
6973
margin: auto
7074
width: 80vw
7175
min-height: 100vh
72-
animation: fadein 0.3s 0s
76+
// animation: fadein 0.3s 0s
7377
74-
>
75-
*
76-
animation: fadein 0.35s
78+
// >
79+
// *
80+
// animation: fadein 0.35s

0 commit comments

Comments
 (0)