Skip to content

Commit 44e7b0f

Browse files
author
Nuno Alexandre
committed
Fix and improve font settings
The "normal" kerning option was not working for us, resulting in shorter spaces after commas than normal spaces. Same for ligatures, which made for example "fi" to close and hard to read. I also add a super tiny letter-spacing to open it up a bit more.
1 parent c39d865 commit 44e7b0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

datafiles/static/hackage.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ body {
1616
min-height: 100vh;
1717
position: relative;
1818
-webkit-text-size-adjust: 100%;
19-
-webkit-font-feature-settings: "kern" 1;
20-
-moz-font-feature-settings: "kern" 1;
21-
-o-font-feature-settings: "kern" 1;
22-
font-feature-settings: "kern" 1;
23-
font-kerning: normal;
19+
-webkit-font-feature-settings: "kern" 1, "liga" 0;
20+
-moz-font-feature-settings: "kern" 1, "liga" 0;
21+
-o-font-feature-settings: "kern" 1, "liga" 0;
22+
font-feature-settings: "kern" 1, "liga" 0;
23+
letter-spacing: 0.0015rem;
2424
}
2525

2626
table, ul {

0 commit comments

Comments
 (0)