Skip to content

Commit 0265129

Browse files
authored
Web Storage demo: Remove webfonts (mdn#232)
* style.css: Don't force Open Sans Condensed * index.html: Remove fixed webfonts Just use the browser's configured sans-serif, serif, and monospace. * event.html: Remove webfonts
1 parent f863973 commit 0265129

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

web-storage/event.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<title>Web Storage API storage event output</title>
99

10-
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Bitter|Ubuntu+Mono' rel='stylesheet' type='text/css'>
1110
<link rel="stylesheet" href="style.css">
1211
</head>
1312

web-storage/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
<title>Web Storage API example</title>
99

10-
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Bitter|Ubuntu+Mono' rel='stylesheet' type='text/css'>
1110
<link rel="stylesheet" href="style.css">
1211
</head>
1312

@@ -25,9 +24,9 @@ <h1>Web storage</h1>
2524
<div>
2625
<label for="font">Choose font style:</label>
2726
<select id="font">
28-
<option value="'Open Sans Condensed', sans-serif" selected>Sans-serif</option>
29-
<option value="'Bitter', serif">Serif</option>
30-
<option value="'Ubuntu Mono'">Monospace</option>
27+
<option value="sans-serif" selected>Sans-serif</option>
28+
<option value="serif">Serif</option>
29+
<option value="monospace">Monospace</option>
3130
</select>
3231
</div>
3332
<div>

web-storage/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ h1 {
2222
p,form,li {
2323
font-size: 1.6rem;
2424
line-height: 1.5;
25-
font-family: 'Open Sans Condensed', sans-serif;
25+
font-family: sans-serif;
2626
}
2727

2828
/* Layout and styles */
@@ -151,4 +151,4 @@ img {
151151
bottom: -4rem;
152152
}
153153

154-
}
154+
}

0 commit comments

Comments
 (0)