@@ -11,6 +11,13 @@ main {
11
11
display : block;
12
12
}
13
13
14
+ /**
15
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
16
+ */
17
+ progress {
18
+ vertical-align : baseline;
19
+ }
20
+
14
21
/**
15
22
* Add the correct display in all browsers.
16
23
*/
@@ -257,7 +264,7 @@ nav ol::after,
257
264
text-decoration : none;
258
265
/* 3 */
259
266
-webkit-text-decoration-skip : ink;
260
- text-decoration-skip : ink ;
267
+ text-decoration-skip-ink : auto ;
261
268
}
262
269
a : hover , a : active {
263
270
outline : 0 ;
@@ -276,15 +283,24 @@ nav ol::after,
276
283
*/
277
284
h1 a ,
278
285
h2 a ,
279
- h3 a {
280
- color : # 333333 ;
286
+ h3 a ,
287
+ h4 a ,
288
+ h5 a ,
289
+ h6 a {
290
+ color : # 000000 ;
281
291
}
282
292
h1 a : hover , h1 a : active ,
283
293
h2 a : hover ,
284
294
h2 a : active ,
285
295
h3 a : hover ,
286
- h3 a : active {
287
- color : # 333333 ;
296
+ h3 a : active ,
297
+ h4 a : hover ,
298
+ h4 a : active ,
299
+ h5 a : hover ,
300
+ h5 a : active ,
301
+ h6 a : hover ,
302
+ h6 a : active {
303
+ color : # 000000 ;
288
304
/* 1 */
289
305
-webkit-text-decoration-color : rgba (51 , 51 , 51 , 0.5 );
290
306
text-decoration-color : rgba (51 , 51 , 51 , 0.5 );
345
361
h5 ,
346
362
h6 {
347
363
clear : both;
364
+ color : # 000000 ;
348
365
font-family : system-ui, -apple-system, "Segoe UI" , Helvetica, Arial, sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" ;
349
366
}
350
367
@@ -646,7 +663,7 @@ bdo[dir=rtl] {
646
663
[dir = rtl ] menu ,
647
664
[dir = rtl ] ol ,
648
665
[dir = rtl ] ul {
649
- padding : 0 1.75 em 0 0 ;
666
+ padding : 0 2 em 0 0 ;
650
667
}
651
668
652
669
[dir = rtl ] .site-navigation ul ,
@@ -658,7 +675,7 @@ bdo[dir=rtl] {
658
675
* Swap definition description margin positions in RTL languages.
659
676
*/
660
677
[dir = rtl ] dd {
661
- margin : 0 1.75 em 0 0 ;
678
+ margin : 0 2 em 0 0 ;
662
679
}
663
680
664
681
/**
@@ -739,10 +756,10 @@ video {
739
756
}
740
757
741
758
/**
742
- * Address margin not present in Safari .
759
+ * Consistent margins on `figure` .
743
760
*/
744
761
figure {
745
- margin : 0 ;
762
+ margin : 1 em 0 ;
746
763
}
747
764
748
765
/* Tables
@@ -818,7 +835,7 @@ tfoot td {
818
835
menu ,
819
836
ol ,
820
837
ul {
821
- padding : 0 0 0 1.75 em ;
838
+ padding : 0 0 0 2 em ;
822
839
}
823
840
824
841
/**
@@ -829,11 +846,18 @@ li > ol {
829
846
margin : 0 ;
830
847
}
831
848
849
+ /**
850
+ * CSS Lists and Counters Module Level 3 list marker styling.
851
+ */
852
+ li ::marker {
853
+ color : color-text-heading;
854
+ }
855
+
832
856
/**
833
857
* Address margins set differently.
834
858
*/
835
859
dd {
836
- margin : 0 0 0 1.75 em ;
860
+ margin : 0 0 0 2 em ;
837
861
}
838
862
839
863
/**
@@ -892,10 +916,11 @@ li > ol {
892
916
}
893
917
894
918
/**
895
- * Add the correct vertical alignment in Chrome, Firefox, and Opera .
919
+ * Show the overflow in Edge .
896
920
*/
897
- progress {
898
- vertical-align : baseline;
921
+ button ,
922
+ input {
923
+ overflow : visible;
899
924
}
900
925
901
926
/**
@@ -921,13 +946,6 @@ textarea {
921
946
vertical-align : baseline;
922
947
}
923
948
924
- /**
925
- * Remove the inner padding in Chrome and Safari on macOS.
926
- */
927
- [type = search ]::-webkit-search-decoration {
928
- -webkit-appearance : none;
929
- }
930
-
931
949
/**
932
950
* Styling of form input fields.
933
951
*
@@ -1007,6 +1025,14 @@ textarea:focus {
1007
1025
height : auto;
1008
1026
}
1009
1027
1028
+ /**
1029
+ * Remove the inner padding in Chrome and Safari on macOS.
1030
+ */
1031
+ [type = search ]::-webkit-search-decoration {
1032
+ /* autoprefixer: off */
1033
+ appearance : none;
1034
+ }
1035
+
1010
1036
/**
1011
1037
* Use indicator icon to signify the drop-down ability of `select`.
1012
1038
*/
@@ -1106,16 +1132,6 @@ span.disabled {
1106
1132
cursor : default !important ;
1107
1133
}
1108
1134
1109
- /**
1110
- * Styling for form field validation.
1111
- */
1112
- input : focus : invalid ,
1113
- select : focus : invalid ,
1114
- textarea : focus : invalid {
1115
- border-color : # 9d261d ;
1116
- box-shadow : none;
1117
- }
1118
-
1119
1135
/**
1120
1136
* Width display options for `input` fields. Height display options
1121
1137
* for textareas.
@@ -1141,6 +1157,56 @@ textarea:focus:invalid {
1141
1157
height : 9.75em ;
1142
1158
}
1143
1159
1160
+ /**
1161
+ * Styling for form field validation.
1162
+ */
1163
+ input : focus : invalid ,
1164
+ select : focus : invalid ,
1165
+ textarea : focus : invalid {
1166
+ border-color : # 9d261d ;
1167
+ box-shadow : none;
1168
+ }
1169
+
1170
+ /**
1171
+ * Styling for Firefox-specfic form field validation.
1172
+ */
1173
+ input : -moz-ui-invalid ,
1174
+ select : -moz-ui-invalid ,
1175
+ textarea : -moz-ui-invalid {
1176
+ border-color : # 9d261d ;
1177
+ box-shadow : none;
1178
+ }
1179
+
1180
+ /**
1181
+ * Normalize form placeholder style across browsers.
1182
+ *
1183
+ * 1. Fix placeholder font properties inheritance.
1184
+ */
1185
+ ::-webkit-input-placeholder {
1186
+ opacity : 1 ;
1187
+ color : # 999999 ;
1188
+ /* 1 */
1189
+ font : inherit;
1190
+ }
1191
+ : -ms-input-placeholder {
1192
+ opacity : 1 ;
1193
+ color : # 999999 ;
1194
+ /* 1 */
1195
+ font : inherit;
1196
+ }
1197
+ ::-ms-input-placeholder {
1198
+ opacity : 1 ;
1199
+ color : # 999999 ;
1200
+ /* 1 */
1201
+ font : inherit;
1202
+ }
1203
+ ::placeholder {
1204
+ opacity : 1 ;
1205
+ color : # 999999 ;
1206
+ /* 1 */
1207
+ font : inherit;
1208
+ }
1209
+
1144
1210
/**
1145
1211
* Styling for required field indicators.
1146
1212
*
@@ -1157,7 +1223,7 @@ textarea:focus:invalid {
1157
1223
========================================================================== */
1158
1224
/**
1159
1225
* 1. Address `overflow` set to `hidden` in IE 11.
1160
- * 2. Correct `button` style inheritance in Firefox, IE 11 , and Opera .
1226
+ * 2. Remove the inheritance of text transform in Edge, Firefox , and IE 11 .
1161
1227
*/
1162
1228
button {
1163
1229
/* 1 */
@@ -1166,6 +1232,17 @@ textarea:focus:invalid {
1166
1232
text-transform : none;
1167
1233
}
1168
1234
1235
+ /**
1236
+ * Remove the inner border and padding in Firefox.
1237
+ */
1238
+ button ::-moz-focus-inner ,
1239
+ [type = button ]::-moz-focus-inner ,
1240
+ [type = reset ]::-moz-focus-inner ,
1241
+ [type = submit ]::-moz-focus-inner {
1242
+ padding : 0 ;
1243
+ border-style : none;
1244
+ }
1245
+
1169
1246
/**
1170
1247
* 1. Remove browser-specific default styling.
1171
1248
* 2. Improve usability and consistency of cursor style between image-type
@@ -1234,17 +1311,6 @@ textarea:focus:invalid {
1234
1311
top : 2px !important ;
1235
1312
}
1236
1313
1237
- /**
1238
- * Remove the inner border and padding in Firefox.
1239
- */
1240
- button ::-moz-focus-inner ,
1241
- [type = button ]::-moz-focus-inner ,
1242
- [type = reset ]::-moz-focus-inner ,
1243
- [type = submit ]::-moz-focus-inner {
1244
- padding : 0 ;
1245
- border-style : none;
1246
- }
1247
-
1248
1314
/* Comments
1249
1315
========================================================================== */
1250
1316
/**
@@ -1302,7 +1368,6 @@ textarea:focus:invalid {
1302
1368
*/
1303
1369
.comments_error {
1304
1370
border-color : # 9d261d ;
1305
- box-shadow : 0 0 4px 2px # 9d261d ;
1306
1371
}
1307
1372
1308
1373
/* Popup comments (can be removed if you don't use popups)
0 commit comments