Skip to content

Commit bb6e3a9

Browse files
committed
text-underline-offset
1 parent 73f1360 commit bb6e3a9

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

_sass/content.scss

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
/**
22
* Content Styles
3-
*
43
*/
54

65
@import 'variables';
76

87
/**
98
* @section Mixins
10-
*
11-
*/
9+
*/
1210

1311
@import 'accessible-hide';
1412
@import 'dark-scheme';
1513

1614
/**
1715
* @section Box model fix
18-
*
1916
*/
2017

2118
*,
@@ -26,7 +23,6 @@
2623

2724
/**
2825
* @section Text selection
29-
*
3026
*/
3127

3228
::selection {
@@ -36,7 +32,6 @@
3632

3733
/**
3834
* @section Root element
39-
*
4035
*/
4136

4237
html {
@@ -45,7 +40,6 @@ html {
4540
font-family: $base-font;
4641
text-rendering: optimizeLegibility;
4742
font-variant-ligatures: common-ligatures;
48-
text-decoration-skip-ink: auto;
4943

5044
@include dark-scheme {
5145
background-color: $background-color-inverted;
@@ -55,7 +49,6 @@ html {
5549

5650
/**
5751
* @section Base styles for new HTML5 elements, for old browsers
58-
*
5952
*/
6053

6154
main,
@@ -70,7 +63,6 @@ html {
7063

7164
/**
7265
* @section Headings
73-
*
7466
*/
7567

7668
h1,
@@ -124,7 +116,6 @@ h6 {
124116

125117
/**
126118
* @section All copy text elements
127-
*
128119
*/
129120

130121
p,
@@ -142,7 +133,6 @@ blockquote {
142133

143134
/**
144135
* @section Lists
145-
*
146136
*/
147137

148138
ul,
@@ -166,7 +156,6 @@ li p {
166156

167157
/**
168158
* @section Preformatted text and code
169-
*
170159
*/
171160

172161
pre,
@@ -219,7 +208,6 @@ td {
219208

220209
/**
221210
* @section Block quotations
222-
*
223211
*/
224212

225213
blockquote {
@@ -251,7 +239,6 @@ blockquote {
251239

252240
/**
253241
* @section Links
254-
*
255242
*/
256243

257244
a {
@@ -261,6 +248,7 @@ a {
261248
color: $link-color;
262249
text-decoration: underline;
263250
text-decoration-color: $link-border-color;
251+
text-underline-offset: 0.14rem;
264252
transition: text-decoration-color 250ms ease;
265253

266254
@include dark-scheme {
@@ -307,7 +295,6 @@ a {
307295

308296
/**
309297
* @section Inline quotations
310-
*
311298
*/
312299

313300
q {
@@ -320,7 +307,6 @@ q {
320307

321308
/**
322309
* @section Data tables
323-
*
324310
*/
325311

326312
table {
@@ -358,7 +344,6 @@ td p:last-child {
358344

359345
/**
360346
* @section Accessible hide utility class
361-
*
362347
*/
363348

364349
.accessible-hide {
@@ -367,7 +352,6 @@ td p:last-child {
367352

368353
/**
369354
* @section Images
370-
*
371355
*/
372356

373357
.image-full {
@@ -383,7 +367,6 @@ td p:last-child {
383367

384368
/**
385369
* @section Responsive Media (img, picture, video, iframe)
386-
*
387370
*/
388371

389372
.responsive-media-container {

0 commit comments

Comments
 (0)