Skip to content

Commit bc06ea7

Browse files
MaggieCabreraclaude
andcommitted
Ipsum: Follow the WordPress CSS coding standards in style.css.
Each selector in a list goes on its own line, the link underline rule gets its missing semicolon, and the more block comment closes like the others. The header and footer `margin-block-start: 0` rule drops `!important`, because its selector already beats the root block gap rules on the front end and in the editor. Synced from WordPress/ipsum#162. See #66352. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent b7756e4 commit bc06ea7

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

‎src/wp-content/themes/ipsum/style.css‎

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,16 @@ body {
3838
* Progressive enhancement to reduce widows and orphans
3939
* https://github.com/WordPress/gutenberg/issues/55190
4040
*/
41-
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
41+
h1,
42+
h2,
43+
h3,
44+
h4,
45+
h5,
46+
h6,
47+
blockquote,
48+
caption,
49+
figcaption,
50+
p {
4251
text-wrap: pretty;
4352
}
4453

@@ -49,11 +58,13 @@ h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
4958
* by the text-decoration shorthand emitted in generated global styles.
5059
* The span selector catches the editor's inline underline format.
5160
*/
52-
a, u, ins,
61+
a,
62+
u,
63+
ins,
5364
span[style*="text-decoration"] {
5465
text-decoration-thickness: 1px !important;
5566
text-decoration-style: dotted !important;
56-
text-underline-offset: 0.1em
67+
text-underline-offset: 0.1em;
5768
}
5869

5970
/*
@@ -76,7 +87,7 @@ span[style*="text-decoration"] {
7687
/*
7788
* Change the position of the more block on the front, by making it a block level element.
7889
* https://github.com/WordPress/gutenberg/issues/65934
79-
*/
90+
*/
8091
.more-link {
8192
display: block;
8293
}
@@ -96,7 +107,7 @@ span[style*="text-decoration"] {
96107
*/
97108
header.wp-block-template-part,
98109
footer.wp-block-template-part {
99-
margin-block-start: 0 !important;
110+
margin-block-start: 0;
100111
}
101112

102113
/*

0 commit comments

Comments
 (0)