Skip to content

Commit 303ffff

Browse files
committed
Final 4.7.3 public theme build
1 parent 62e6e7c commit 303ffff

File tree

1 file changed

+109
-44
lines changed
  • textpattern/setup/themes/four-point-seven/styles

1 file changed

+109
-44
lines changed

textpattern/setup/themes/four-point-seven/styles/default.css

+109-44
Original file line numberDiff line numberDiff line change
@@ -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
*/
@@ -257,7 +264,7 @@ nav ol::after,
257264
text-decoration: none;
258265
/* 3 */
259266
-webkit-text-decoration-skip: ink;
260-
text-decoration-skip: ink;
267+
text-decoration-skip-ink: auto;
261268
}
262269
a:hover, a:active {
263270
outline: 0;
@@ -276,15 +283,24 @@ nav ol::after,
276283
*/
277284
h1 a,
278285
h2 a,
279-
h3 a {
280-
color: #333333;
286+
h3 a,
287+
h4 a,
288+
h5 a,
289+
h6 a {
290+
color: #000000;
281291
}
282292
h1 a:hover, h1 a:active,
283293
h2 a:hover,
284294
h2 a:active,
285295
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;
288304
/* 1 */
289305
-webkit-text-decoration-color: rgba(51, 51, 51, 0.5);
290306
text-decoration-color: rgba(51, 51, 51, 0.5);
@@ -345,6 +361,7 @@ h4,
345361
h5,
346362
h6 {
347363
clear: both;
364+
color: #000000;
348365
font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
349366
}
350367

@@ -646,7 +663,7 @@ bdo[dir=rtl] {
646663
[dir=rtl] menu,
647664
[dir=rtl] ol,
648665
[dir=rtl] ul {
649-
padding: 0 1.75em 0 0;
666+
padding: 0 2em 0 0;
650667
}
651668

652669
[dir=rtl] .site-navigation ul,
@@ -658,7 +675,7 @@ bdo[dir=rtl] {
658675
* Swap definition description margin positions in RTL languages.
659676
*/
660677
[dir=rtl] dd {
661-
margin: 0 1.75em 0 0;
678+
margin: 0 2em 0 0;
662679
}
663680

664681
/**
@@ -739,10 +756,10 @@ video {
739756
}
740757

741758
/**
742-
* Address margin not present in Safari.
759+
* Consistent margins on `figure`.
743760
*/
744761
figure {
745-
margin: 0;
762+
margin: 1em 0;
746763
}
747764

748765
/* Tables
@@ -818,7 +835,7 @@ tfoot td {
818835
menu,
819836
ol,
820837
ul {
821-
padding: 0 0 0 1.75em;
838+
padding: 0 0 0 2em;
822839
}
823840

824841
/**
@@ -829,11 +846,18 @@ li > ol {
829846
margin: 0;
830847
}
831848

849+
/**
850+
* CSS Lists and Counters Module Level 3 list marker styling.
851+
*/
852+
li::marker {
853+
color: color-text-heading;
854+
}
855+
832856
/**
833857
* Address margins set differently.
834858
*/
835859
dd {
836-
margin: 0 0 0 1.75em;
860+
margin: 0 0 0 2em;
837861
}
838862

839863
/**
@@ -892,10 +916,11 @@ li > ol {
892916
}
893917

894918
/**
895-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
919+
* Show the overflow in Edge.
896920
*/
897-
progress {
898-
vertical-align: baseline;
921+
button,
922+
input {
923+
overflow: visible;
899924
}
900925

901926
/**
@@ -921,13 +946,6 @@ textarea {
921946
vertical-align: baseline;
922947
}
923948

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-
931949
/**
932950
* Styling of form input fields.
933951
*
@@ -1007,6 +1025,14 @@ textarea:focus {
10071025
height: auto;
10081026
}
10091027

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+
10101036
/**
10111037
* Use indicator icon to signify the drop-down ability of `select`.
10121038
*/
@@ -1106,16 +1132,6 @@ span.disabled {
11061132
cursor: default !important;
11071133
}
11081134

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-
11191135
/**
11201136
* Width display options for `input` fields. Height display options
11211137
* for textareas.
@@ -1141,6 +1157,56 @@ textarea:focus:invalid {
11411157
height: 9.75em;
11421158
}
11431159

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+
11441210
/**
11451211
* Styling for required field indicators.
11461212
*
@@ -1157,7 +1223,7 @@ textarea:focus:invalid {
11571223
========================================================================== */
11581224
/**
11591225
* 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.
11611227
*/
11621228
button {
11631229
/* 1 */
@@ -1166,6 +1232,17 @@ textarea:focus:invalid {
11661232
text-transform: none;
11671233
}
11681234

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+
11691246
/**
11701247
* 1. Remove browser-specific default styling.
11711248
* 2. Improve usability and consistency of cursor style between image-type
@@ -1234,17 +1311,6 @@ textarea:focus:invalid {
12341311
top: 2px !important;
12351312
}
12361313

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-
12481314
/* Comments
12491315
========================================================================== */
12501316
/**
@@ -1302,7 +1368,6 @@ textarea:focus:invalid {
13021368
*/
13031369
.comments_error {
13041370
border-color: #9d261d;
1305-
box-shadow: 0 0 4px 2px #9d261d;
13061371
}
13071372

13081373
/* Popup comments (can be removed if you don't use popups)

0 commit comments

Comments
 (0)