Skip to content

Commit 2162275

Browse files
committed
fall back to sans-serif if Montserrat isn't available.
1 parent 6bf4b8b commit 2162275

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
--light-pink: #ffe5ea;
44
--dark-pink: #ec245e;
55
--blueish: #30b8e6;
6+
--ui-font: Montserrat, sans-serif;
67
--code-font: "Monaco", "Menlo", "Ubuntu Mono", "Consolas",
78
"source-code-pro", monospace;
89
}
@@ -20,7 +21,7 @@ body {
2021

2122
button {
2223
font-size: 14px;
23-
font-family: Montserrat;
24+
font-family: var(--ui-font);
2425
font-weight: normal;
2526
color: black;
2627
border: 1px solid var(--dark-pink);
@@ -72,7 +73,7 @@ a.p5-logo img {
7273
}
7374

7475
.error-message .error-message-line {
75-
font-family: Montserrat;
76+
font-family: var(--ui-font);
7677
font-weight: normal;
7778
color: red;
7879
}

0 commit comments

Comments
 (0)