File tree Expand file tree Collapse file tree 5 files changed +14
-22
lines changed Expand file tree Collapse file tree 5 files changed +14
-22
lines changed Original file line number Diff line number Diff line change 27
27
}
28
28
29
29
body {
30
- font : 1.2em "Roboto VF" , Georgia , serif;
30
+ font : 1.2em "Roboto VF" , Helvetica , sans- serif;
31
31
margin : 20px ;
32
32
padding : 0 ;
33
33
}
Original file line number Diff line number Diff line change 8
8
< style >
9
9
@font-face {
10
10
font-family : 'Amstelvar VF' ;
11
- src : url ('fonts/Amstelvar-Roman -VF.woff2' ) format ('woff2-variations' );
11
+ src : url ('fonts/AmstelvarAlpha -VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 300 900 ;
13
- font-stretch : 75 150 ;
13
+ font-stretch : 35 % 100 % ;
14
14
font-style : normal;
15
15
font-display : swap;
16
16
}
17
- @font-face {
18
- font-family : 'Amstelvar VF' ;
19
- src : url ('fonts/Amstelvar-Italic-VF.woff2' ) format ('woff2-variations' );
20
- font-weight : normal;
21
- font-stretch : normal;
22
- font-style : italic;
23
- font-display : swap;
24
- }
25
17
26
18
html {
27
19
box-sizing : border-box;
101
93
}
102
94
103
95
.container * {
104
- font-size : 3 rem ;
96
+ font-size : 4 rem ;
105
97
margin : 1.5rem 0 ;
106
98
}
107
99
111
103
112
104
</ style >
113
105
< style class ="editable1 ">
114
- /* weight range is 300 to 900 */
106
+ /* weight range is 100 to 900 */
115
107
.container1 * {
116
108
font-weight : 625 ;
117
109
}
118
110
</ style >
119
111
< style class ="editable2 ">
120
- /* weight range is 300 to 900 */
112
+ /* weight range is 100 to 900 */
121
113
.container2 * {
122
114
font-variation-settings : 'wght' 625 ;
123
115
}
Original file line number Diff line number Diff line change 8
8
< style >
9
9
@font-face {
10
10
font-family : 'Amstelvar VF' ;
11
- src : url ('fonts/Amstelvar-Roman -VF.woff2' ) format ('woff2-variations' );
11
+ src : url ('fonts/AmstelvarAlpha -VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 300 900 ;
13
- font-stretch : 75 150 ;
13
+ font-stretch : 35 % 100 % ;
14
14
font-style : normal;
15
15
font-display : swap;
16
16
}
111
111
112
112
</ style >
113
113
< style class ="editable1 ">
114
- /* width range is 75 to 150 */
114
+ /* width range is 55% to 100% */
115
115
.container1 * {
116
- font-stretch : 100 ;
116
+ font-stretch : 100% ;
117
117
}
118
118
</ style >
119
119
< style class ="editable2 ">
120
- /* width range is an integer from 75 to 150 */
120
+ /* width range is an integer from 55 to 100 */
121
121
.container2 * {
122
122
font-variation-settings : 'wdth' 100 ;
123
123
}
139
139
</ div >
140
140
</ section >
141
141
< textarea class ="playable-css1 ">
142
- /* width range is from 75 % to 150 % */
142
+ /* width range is from 55 % to 100 % */
143
143
.container1 * {
144
144
font-stretch: 100%;
145
145
}
157
157
</ div >
158
158
</ section >
159
159
< textarea class ="playable-css2 ">
160
- /* width range is an integer from 75 to 150 */
160
+ /* width range is an integer from 55 to 100 */
161
161
.container2 * {
162
162
font-variation-settings: 'wdth' 100;
163
163
}
186
186
</ div >
187
187
</ textarea >
188
188
< div class ="controls range-slider ">
189
- < label for ="controls__slider "> Adjust Width: </ label > < input type ="range " name ="range-slider " value ="100 " id ="text-axis " class ="controls--slider " min ="75 " max ="150 ">
189
+ < label for ="controls__slider "> Adjust Width: </ label > < input type ="range " name ="range-slider " value ="100 " id ="text-axis " class ="controls--slider " min ="55 " max ="100 ">
190
190
</ div >
191
191
</ div >
192
192
</ div >
You can’t perform that action at this time.
0 commit comments