Skip to content

Commit c9a71ae

Browse files
committed
New fonts
1 parent c68cb36 commit c9a71ae

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

_layouts/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
<link rel="preconnect" href="https://fonts.googleapis.com">
2929
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
30-
<link href='https://fonts.googleapis.com/css?family=Inter' rel='stylesheet' type='text/css' />
31-
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rajdhani:wght@300;400;500;600;700&display=swap" rel="stylesheet">
30+
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Flex:opsz,[email protected],100..1000&display=swap" rel="stylesheet">
31+
3232
<link href="{{ '/css/fontawesome6/css/fontawesome.css' | relative_url }}" rel="stylesheet" />
3333
<link rel="stylesheet" href="{{ '/css/fontawesome6/css/brands.min.css' | relative_url }}"" />
3434
<link rel="stylesheet" href="{{ '/css/fontawesome6/css/solid.min.css' | relative_url }}" />

css/main.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
@theme {
77
--color-brand-dark: #378bba;
88
--color-brand-light: #30b9db;
9-
--font-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
10-
--font-heading: "Rajdhani", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
9+
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
10+
--font-heading: "Roboto Flex", sans-serif;
1111
}
1212

13+
14+
1315
button {
1416
@apply cursor-pointer
1517
}
@@ -104,6 +106,8 @@ a[href^="http"]::after {
104106
font-weight: normal;
105107
font-style: normal;
106108
font-size: .6em;
109+
vertical-align: 0.1rem;
110+
opacity: 0.6;
107111
display: inline-block;
108112
text-decoration: none;
109113
padding-left: 0.4em;

0 commit comments

Comments
 (0)