Skip to content

Commit 3e0cea2

Browse files
style: switch font to fbb
fbb is free and open Bembo. I prefer that font so I added it locally and switched away from Google fonts.
1 parent d2fc8e7 commit 3e0cea2

6 files changed

Lines changed: 4 additions & 2 deletions

File tree

static/css/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* General Styles */
22
:root {
3-
--font-body: 'Lora', serif;
3+
--font-body: 'fbb', serif;
44
--font-heading: 'Lato', sans-serif;
55
--font-mono: 'Courier New', Courier, monospace;
66

@@ -34,6 +34,7 @@
3434

3535
body {
3636
font-family: var(--font-body); /* Classic serif font for readability */
37+
font-size: 18px;
3738
line-height: 1.7;
3839
margin: 0;
3940
padding: 0;

static/fonts/fbb-Bold.woff2

58.2 KB
Binary file not shown.

static/fonts/fbb-BoldItalic.woff2

64.1 KB
Binary file not shown.

static/fonts/fbb-Italic.woff2

59.2 KB
Binary file not shown.

static/fonts/fbb-Regular.woff2

58.8 KB
Binary file not shown.

templates/base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
<link rel="preconnect" href="https://fonts.googleapis.com" />
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
99
<link
10-
href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Lora:ital,wght@0,400;0,700;1,400&display=swap"
10+
href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap"
1111
rel="stylesheet"
1212
/>
13+
<link rel="preload" href="/static/fonts/fbb-Regular.woff2" as="font" type="font/woff2" crossorigin>
1314
<link rel="stylesheet" href="/static/css/style.css?{{ build_id }}" />
1415
<link rel="icon" href="/static/imgs/favicon.ico?{{ build_id }}" />
1516
<link

0 commit comments

Comments
 (0)