@@ -11,6 +11,13 @@ main {
1111 display : block;
1212}
1313
14+ /**
15+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
16+ */
17+ progress {
18+ vertical-align : baseline;
19+ }
20+
1421/**
1522 * Add the correct display in all browsers.
1623 */
@@ -656,7 +663,7 @@ bdo[dir=rtl] {
656663 [dir = rtl ] menu ,
657664[dir = rtl ] ol ,
658665[dir = rtl ] ul {
659- padding : 0 1.75 em 0 0 ;
666+ padding : 0 2 em 0 0 ;
660667 }
661668
662669 [dir = rtl ] .site-navigation ul ,
@@ -668,7 +675,7 @@ bdo[dir=rtl] {
668675 * Swap definition description margin positions in RTL languages.
669676 */
670677 [dir = rtl ] dd {
671- margin : 0 1.75 em 0 0 ;
678+ margin : 0 2 em 0 0 ;
672679 }
673680
674681 /**
@@ -749,10 +756,10 @@ video {
749756 }
750757
751758 /**
752- * Address margin not present in Safari .
759+ * Consistent margins on `figure` .
753760 */
754761 figure {
755- margin : 0 ;
762+ margin : 1 em 0 ;
756763 }
757764
758765 /* Tables
@@ -828,7 +835,7 @@ tfoot td {
828835 menu ,
829836ol ,
830837ul {
831- padding : 0 0 0 1.75 em ;
838+ padding : 0 0 0 2 em ;
832839 }
833840
834841 /**
@@ -850,7 +857,7 @@ li > ol {
850857 * Address margins set differently.
851858 */
852859 dd {
853- margin : 0 0 0 1.75 em ;
860+ margin : 0 0 0 2 em ;
854861 }
855862
856863 /**
@@ -908,13 +915,6 @@ li > ol {
908915 white-space : normal;
909916 }
910917
911- /**
912- * Add the correct vertical alignment in Chrome, Firefox, and Opera.
913- */
914- progress {
915- vertical-align : baseline;
916- }
917-
918918 /**
919919 * Show the overflow in Edge.
920920 */
@@ -946,13 +946,6 @@ textarea {
946946 vertical-align : baseline;
947947 }
948948
949- /**
950- * Remove the inner padding in Chrome and Safari on macOS.
951- */
952- [type = search ]::-webkit-search-decoration {
953- -webkit-appearance : none;
954- }
955-
956949 /**
957950 * Styling of form input fields.
958951 *
@@ -1032,6 +1025,14 @@ textarea:focus {
10321025 height : auto;
10331026 }
10341027
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+
10351036 /**
10361037 * Use indicator icon to signify the drop-down ability of `select`.
10371038 */
@@ -1131,16 +1132,6 @@ span.disabled {
11311132 cursor : default !important ;
11321133 }
11331134
1134- /**
1135- * Styling for form field validation.
1136- */
1137- input : focus : invalid ,
1138- select : focus : invalid ,
1139- textarea : focus : invalid {
1140- border-color : # 9d261d ;
1141- box-shadow : none;
1142- }
1143-
11441135 /**
11451136 * Width display options for `input` fields. Height display options
11461137 * for textareas.
@@ -1166,6 +1157,26 @@ textarea:focus:invalid {
11661157 height : 9.75em ;
11671158 }
11681159
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+
11691180 /**
11701181 * Normalize form placeholder style across browsers.
11711182 *
@@ -1212,7 +1223,7 @@ textarea:focus:invalid {
12121223 ========================================================================== */
12131224 /**
12141225 * 1. Address `overflow` set to `hidden` in IE 11.
1215- * 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 .
12161227 */
12171228 button {
12181229 /* 1 */
@@ -1221,6 +1232,17 @@ textarea:focus:invalid {
12211232 text-transform : none;
12221233 }
12231234
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+
12241246 /**
12251247 * 1. Remove browser-specific default styling.
12261248 * 2. Improve usability and consistency of cursor style between image-type
@@ -1289,17 +1311,6 @@ textarea:focus:invalid {
12891311 top : 2px !important ;
12901312 }
12911313
1292- /**
1293- * Remove the inner border and padding in Firefox.
1294- */
1295- button ::-moz-focus-inner ,
1296- [type = button ]::-moz-focus-inner ,
1297- [type = reset ]::-moz-focus-inner ,
1298- [type = submit ]::-moz-focus-inner {
1299- padding : 0 ;
1300- border-style : none;
1301- }
1302-
13031314 /* Comments
13041315 ========================================================================== */
13051316 /**
@@ -1357,7 +1368,6 @@ textarea:focus:invalid {
13571368 */
13581369 .comments_error {
13591370 border-color : # 9d261d ;
1360- box-shadow : 0 0 4px 2px # 9d261d ;
13611371 }
13621372
13631373 /* Popup comments (can be removed if you don't use popups)
0 commit comments