Skip to content

Commit 24cb861

Browse files
committed
Change link hover state style
- Remove Inter 500 font - Change which fonts get preloaded
1 parent 5055b77 commit 24cb861

4 files changed

Lines changed: 2 additions & 23 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ My personal website, built with [Astro](https://astro.build) and deployed on [Gi
44

55
## Third-party assets and attributions
66

7-
- [Inter](https://rsms.me/inter) ([1](public/fonts/inter-v13-latin-400.woff2), [2](public/fonts/inter-v13-latin-500.woff2)) is licensed under the [SIL Open Font License (OFL)](https://github.com/rsms/inter/blob/master/LICENSE.txt).
7+
- [Inter](https://rsms.me/inter) ([1](public/fonts/inter-v13-latin-400.woff2)) is licensed under the [SIL Open Font License (OFL)](https://github.com/rsms/inter/blob/master/LICENSE.txt).
88
- [Raleway](https://github.com/impallari/Raleway) ([1](public/fonts/raleway-v29-latin-500.woff2), [2](public/fonts/raleway-v29-latin-600.woff2)) is licensed under the [SIL Open Font License (OFL)](https://github.com/impallari/Raleway/blob/master/OFL.txt).
99
- [Kode Mono](https://kodemono.com) ([1](public/fonts/kode-mono-v2-latin-400.woff2)) is licensed under the [SIL Open Font License (OFL)](https://github.com/isaozler/kode-mono/blob/main/OFL.txt).
1010
- [`avatar.png`](src/assets/avatar.png) was created by [Marga Hernandez](https://margahernandez.framer.website).
-22.2 KB
Binary file not shown.

src/components/page/fonts.astro

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
type="font/woff2"
66
crossorigin
77
/>
8-
<link
9-
rel="preload"
10-
href="/fonts/inter-v13-latin-500.woff2"
11-
as="font"
12-
type="font/woff2"
13-
crossorigin
14-
/>
15-
<link
16-
rel="preload"
17-
href="/fonts/raleway-v29-latin-500.woff2"
18-
as="font"
19-
type="font/woff2"
20-
crossorigin
21-
/>
228
<link
239
rel="preload"
2410
href="/fonts/raleway-v29-latin-600.woff2"
@@ -35,13 +21,6 @@
3521
font-display: swap;
3622
src: url("/fonts/inter-v13-latin-400.woff2") format("woff2");
3723
}
38-
@font-face {
39-
font-family: "Inter";
40-
font-style: normal;
41-
font-weight: 500;
42-
font-display: swap;
43-
src: url("/fonts/inter-v13-latin-500.woff2") format("woff2");
44-
}
4524
@font-face {
4625
font-family: "Raleway";
4726
font-style: normal;

src/styles/page.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ a {
6363
color: inherit;
6464

6565
&:hover {
66-
font-weight: 500;
66+
text-decoration-style: dotted;
6767
}
6868
}
6969
button {

0 commit comments

Comments
 (0)