Skip to content

Commit 527c8dd

Browse files
committed
Auto merge of #2141 - Calinou:use-modern-font-stack, r=jtgeibel
Use a modern font stack inspired by Bootstrap 4 This makes the frontend use a better-looking, more consistent font stack. ## Preview *Note: The font used depends on the OS (as before). Screenshots below were taken on Fedora 31 with Microsoft fonts installed.* ### Before ![Before](https://user-images.githubusercontent.com/180032/72636756-0a429200-3960-11ea-904d-66f7609eac57.png) ### After ![After](https://user-images.githubusercontent.com/180032/72636762-0d3d8280-3960-11ea-87f9-5243c0968153.png)
2 parents 556e2b7 + aaf62aa commit 527c8dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/styles/app.scss

+4-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ html {
3434
html, body { margin: 0; }
3535

3636
body {
37-
font-family: "Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;
37+
// Use the modern font stack inspired by Bootstrap 4
38+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
3839
font-size: 16px;
3940
display: flex;
4041
flex-direction: column;
@@ -102,7 +103,8 @@ pre {
102103
background: $main-color;
103104
color: white;
104105
padding: 20px;
105-
font-family: Consolas, Monaco, 'Andale Mono', monospace;
106+
// Use the modern font stack inspired by Bootstrap 4
107+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
106108
}
107109

108110
button.dropdown, a.dropdown {

0 commit comments

Comments
 (0)