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 2727 }
2828
2929 body {
30- font : 1.2em "Roboto VF" , Georgia , serif;
30+ font : 1.2em "Roboto VF" , Helvetica , sans- serif;
3131 margin : 20px ;
3232 padding : 0 ;
3333 }
Original file line number Diff line number Diff line change 88 < style >
99 @font-face {
1010 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' );
1212 font-weight : 300 900 ;
13- font-stretch : 75 150 ;
13+ font-stretch : 35 % 100 % ;
1414 font-style : normal;
1515 font-display : swap;
1616 }
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- }
2517
2618 html {
2719 box-sizing : border-box;
10193 }
10294
10395 .container * {
104- font-size : 3 rem ;
96+ font-size : 4 rem ;
10597 margin : 1.5rem 0 ;
10698 }
10799
111103
112104 </ style >
113105 < style class ="editable1 ">
114- /* weight range is 300 to 900 */
106+ /* weight range is 100 to 900 */
115107 .container1 * {
116108 font-weight : 625 ;
117109 }
118110 </ style >
119111 < style class ="editable2 ">
120- /* weight range is 300 to 900 */
112+ /* weight range is 100 to 900 */
121113 .container2 * {
122114 font-variation-settings : 'wght' 625 ;
123115 }
Original file line number Diff line number Diff line change 88 < style >
99 @font-face {
1010 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' );
1212 font-weight : 300 900 ;
13- font-stretch : 75 150 ;
13+ font-stretch : 35 % 100 % ;
1414 font-style : normal;
1515 font-display : swap;
1616 }
111111
112112 </ style >
113113 < style class ="editable1 ">
114- /* width range is 75 to 150 */
114+ /* width range is 55% to 100% */
115115 .container1 * {
116- font-stretch : 100 ;
116+ font-stretch : 100% ;
117117 }
118118 </ style >
119119 < style class ="editable2 ">
120- /* width range is an integer from 75 to 150 */
120+ /* width range is an integer from 55 to 100 */
121121 .container2 * {
122122 font-variation-settings : 'wdth' 100 ;
123123 }
139139 </ div >
140140 </ section >
141141< textarea class ="playable-css1 ">
142- /* width range is from 75 % to 150 % */
142+ /* width range is from 55 % to 100 % */
143143 .container1 * {
144144 font-stretch: 100%;
145145 }
157157 </ div >
158158 </ section >
159159< textarea class ="playable-css2 ">
160- /* width range is an integer from 75 to 150 */
160+ /* width range is an integer from 55 to 100 */
161161 .container2 * {
162162 font-variation-settings: 'wdth' 100;
163163 }
186186 </ div >
187187</ textarea >
188188 < 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 ">
190190 </ div >
191191 </ div >
192192 </ div >
You can’t perform that action at this time.
0 commit comments