Skip to content

Commit 85206f5

Browse files
Use inter font
1 parent 7836d2c commit 85206f5

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

src/css/custom.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@
44
* work well for content-centric websites.
55
*/
66

7+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
8+
9+
710
/* You can override the default Infima variables here. */
811
:root {
912
--ifm-color-primary: #407950;
10-
--ifm-color-primary-dark: rgb(33, 175, 85);
13+
--ifm-color-primary-dark: rgb(32, 202, 95);
1114
--ifm-color-primary-darker: rgb(31, 165, 136);
1215
--ifm-color-primary-darkest: rgb(26, 136, 63);
1316
--ifm-color-primary-light: rgb(70, 203, 174);
1417
--ifm-color-primary-lighter: rgb(102, 212, 189);
1518
--ifm-color-primary-lightest: rgb(146, 224, 208);
1619
--ifm-code-font-size: 95%;
20+
--ifm-font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
21+
--ifm-font-family-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
1722
}
1823

1924

@@ -74,3 +79,15 @@ h2.title_f1Hy{
7479
.markdown .clear-float {
7580
clear:both;
7681
}
82+
83+
84+
.menu {
85+
font-weight: normal;
86+
font-size:smaller;
87+
}
88+
body{
89+
90+
}
91+
.navbar{
92+
margin-bottom: 1rem;
93+
}

src/pages/styles.module.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
/**
23
* CSS files with the .module.css suffix will be treated as CSS modules
34
* and scoped locally.
@@ -34,8 +35,3 @@
3435
width: 200px;
3536
}
3637

37-
38-
h1 {
39-
font-weight: 400;
40-
font-size: 2rem ! important;
41-
}

0 commit comments

Comments
 (0)