Skip to content

Commit 8aa99b7

Browse files
committed
update font
1 parent 00034f4 commit 8aa99b7

File tree

1 file changed

+74
-3
lines changed

1 file changed

+74
-3
lines changed

assets/css/custom.css

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,72 @@
1+
/* Outfit Font Family */
2+
@font-face {
3+
font-family: 'Outfit';
4+
src: url('/fonts/Outfit-Regular.ttf') format('truetype');
5+
font-weight: 400;
6+
font-style: normal;
7+
font-display: swap;
8+
}
9+
10+
@font-face {
11+
font-family: 'Outfit';
12+
src: url('/fonts/Outfit-Medium.ttf') format('truetype');
13+
font-weight: 500;
14+
font-style: normal;
15+
font-display: swap;
16+
}
17+
18+
@font-face {
19+
font-family: 'Outfit';
20+
src: url('/fonts/Outfit-SemiBold.ttf') format('truetype');
21+
font-weight: 600;
22+
font-style: normal;
23+
font-display: swap;
24+
}
25+
26+
@font-face {
27+
font-family: 'Outfit';
28+
src: url('/fonts/Outfit-Bold.ttf') format('truetype');
29+
font-weight: 700;
30+
font-style: normal;
31+
font-display: swap;
32+
}
33+
34+
@font-face {
35+
font-family: 'Outfit';
36+
src: url('/fonts/Outfit-Light.ttf') format('truetype');
37+
font-weight: 300;
38+
font-style: normal;
39+
font-display: swap;
40+
}
41+
42+
/* Set Outfit as the default font family with lighter weight */
43+
body {
44+
font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
45+
font-weight: 300;
46+
/* Use Light weight instead of Regular (400) */
47+
}
48+
49+
/* Adjust font weights for different elements */
50+
h1,
51+
h2,
52+
h3,
53+
h4,
54+
h5,
55+
h6 {
56+
font-weight: 500;
57+
/* Medium weight for headings */
58+
}
59+
60+
p {
61+
font-weight: 300;
62+
/* Light weight for paragraphs */
63+
}
64+
65+
.title h1 h2 {
66+
font-weight: 600;
67+
/* Semi-bold for main titles */
68+
}
69+
170
/* Custom styles for author information */
271
.authors {
372
font-style: italic;
@@ -35,11 +104,13 @@
35104

36105
/* Header text colors - keep navigation links black */
37106
header .nav a {
38-
color: #0d0e12; /* v-black */
107+
color: #0d0e12;
108+
/* v-black */
39109
}
40110

41111
header .nav a:hover {
42-
color: #ad9ce3; /* v-lilac for hover */
112+
color: #ad9ce3;
113+
/* v-lilac for hover */
43114
}
44115

45116
/* Featured image styling */
@@ -102,4 +173,4 @@ header .nav a:hover {
102173
.not-found-content a:hover {
103174
color: #fc9cac;
104175
text-decoration: underline;
105-
}
176+
}

0 commit comments

Comments
 (0)