Skip to content

Commit ea078c2

Browse files
author
Felipe Contreras
committed
css: 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 <[email protected]>
1 parent d12d592 commit ea078c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ body {
2323
line-height: 1;
2424
font-size: 14px;
2525
line-height: 22px;
26-
font-family: Adelle, Georgia, Times New Roman, serif;
26+
font-family: Adelle, Roboto Slab, DejaVu Serif, Georgia, Times New Roman, sans-serif;
2727
color: #4e443c;
2828
background: #f0efe7;
2929
}
@@ -998,7 +998,7 @@ input.active {
998998

999999

10001000
input, textarea {
1001-
font-family: Adelle, Georgia, Times New Roman, serif;
1001+
font-family: Adelle, Roboto Slab, DejaVu Serif, Georgia, Times New Roman, sans-serif;
10021002
font-size: 14px;
10031003
outline: none;
10041004
}

0 commit comments

Comments
 (0)