1414 font-family : " PT Serif" ;
1515 font-style : normal ;
1616 font-weight : normal ;
17- src : url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-regular.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-regular.woff" ) format (" woff" );
17+ src : url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-regular.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-regular.woff" ) format (" woff" );
1818}
1919
2020// Regular Italic
2121@font-face {
2222 font-family : " PT Serif" ;
2323 font-style : italic ;
2424 font-weight : normal ;
25- src : url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-italic.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-italic.woff" ) format (" woff" );
25+ src : url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-italic.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-italic.woff" ) format (" woff" );
2626}
2727
2828// Bold
2929@font-face {
3030 font-family : " PT Serif" ;
3131 font-style : normal ;
3232 font-weight : bold ;
33- src : url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-700.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-700.woff" ) format (" woff" );
33+ src : url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-700.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-700.woff" ) format (" woff" );
3434}
3535
3636// Bold Italic
3737@font-face {
3838 font-family : " PT Serif" ;
3939 font-style : italic ;
4040 font-weight : bold ;
41- src : url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-700italic.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v9 -latin-ext-700italic.woff" ) format (" woff" );
41+ src : url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-700italic.woff2" ) format (" woff2" ), url (" https://textpattern.com/assets/fonts/pt-serif-v11 -latin-ext-700italic.woff" ) format (" woff" );
4242}
4343
4444html {
@@ -122,33 +122,33 @@ samp {
122122
123123pre {
124124 padding : 0.5714286em 1.1428571em ; // 8px / 14px + 16px / 14px
125- word-wrap : normal ;
126125 overflow-x : auto ;
126+ word-wrap : normal ;
127127 tab-size : 4 ;
128128
129129 code {
130130 padding : 0 ;
131131 border : 0 ;
132132 background-color : transparent ;
133+ direction : ltr ;
133134 font-size : 1em ; // 14px
135+ hyphens : none ;
134136 text-align : left ;
135- white-space : pre ;
136- word-spacing : normal ;
137- word-break : normal ;
138137 word-wrap : normal ;
139- direction : ltr ;
140- hyphens : none ;
138+ word-break : normal ;
139+ word-spacing : normal ;
140+ white-space : pre ;
141141 }
142142}
143143
144144hr {
145+ box-sizing : content-box ;
145146 height : 24px ;
146147 margin : 1em 0 ;
148+ overflow : visible ;
147149 border : 0 ; // remove the default `hr` border
148150 background : url (" data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 24'%3E%3Cpath fill='%23333' d='M0,0c1.742,13.61,54.74,20.912,119.995,15.279C184.922,9.679,238.594,13.024,240,24c-1.744-13.613-54.742-20.913-120.005-15.284C55.078,14.32,1.405,10.973,0,0z'/%3E%3C/svg%3E" ) 50% 50% no-repeat ;
149151 background-size : 240px 24px ;
150- overflow : visible ;
151- box-sizing : content-box ;
152152}
153153
154154.container {
@@ -161,12 +161,12 @@ hr {
161161
162162.site-header {
163163 position : fixed ;
164+ z-index : 10 ;
164165 top : 0 ;
165166 right : 0 ;
166167 left : 0 ;
167168 border-bottom : 2px solid $color-text ;
168169 background-color : $color-background ;
169- z-index : 10 ;
170170}
171171
172172.open-sidebar ,
@@ -193,28 +193,28 @@ hr {
193193 @include gradient-linear ($color-button-primary-gradient-from , $color-button-primary-gradient-to );
194194
195195 display : inline-block ;
196+ box-sizing : border-box ;
196197 height : 2.5em ; // 40px / 16px
197198 margin : 0 ;
198199 padding : 0.5em 1em ; // 8px / 16px
199200 border : 1px solid $color-button-primary-border ;
200201 border-radius : 1.25em ;
201202 background-clip : padding-box ;
203+ box-shadow : 0 2px 0 $color-button-primary-shadow ;
202204 color : $color-text-button ;
203205 font-weight : bolder ;
204206 line-height : 1.375 ; // 22px / 16px
205- box-shadow : 0 2px 0 $color-button-primary-shadow ;
206- cursor : pointer ; /* 1 */
207207 vertical-align : baseline ;
208- appearance : none ; /* 2 */
209- box-sizing : border-box ;
208+ appearance : none ;
209+ cursor : pointer ;
210210
211211 & :active {
212212 position : relative ;
213213 top : 2px ;
214214 border-color : darken ($color-button-primary-border , 13% );
215+ box-shadow : none ;
215216 color : $color-text-button-active ;
216217 text-decoration : none ;
217- box-shadow : none ;
218218 }
219219}
220220
@@ -262,9 +262,9 @@ amp-sidebar {
262262 height : 1px ;
263263 margin : -1px ;
264264 padding : 0 ;
265- border : 0 ;
266- white-space : nowrap ;
267265 overflow : hidden ;
268266 clip : rect (0 0 0 0 ); // TODO: Deprecated - use `clip-path` when browser support is better.
269267 // clip-path: inset(50%); // TODO: Currently causes severe performance issues in Chrome.
268+ border : 0 ;
269+ white-space : nowrap ;
270270}
0 commit comments