Skip to content

Commit 407d3df

Browse files
author
Felipe Contreras
committed
stylesheets: improve fonts for Linux
In Linux systems typically the first options don't exist, so the page ends up with 'serif', which is how hello world pages look like. At the very least we should specify a readable option: serif. Also, DejaVu Serif is good alternative for Georgia. And Roboto Slab is very similar to Adelle. This makes it so the fonts are readable in Linux systems. Other systems should not be affected. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
1 parent dd093ad commit 407d3df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/stylesheets/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $link-focus-color: false;
1313
$link-active-color: false;
1414
$link-visited-color: false;
1515

16-
$base-font-family-fallback: Georgia, Times New Roman, serif;
16+
$base-font-family-fallback: Roboto Slab, DejaVu Serif, Georgia, Times New Roman, sans-serif;
1717
$base-font-family: Adelle, $base-font-family-fallback;
1818
$base-font-size: 14px;
1919
$base-line-height: 22px;

0 commit comments

Comments
 (0)