Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #415 from sabernhardt/css-coding-standards
Browse files Browse the repository at this point in the history
Stylesheet: CSS coding standards fixes, comment editing
  • Loading branch information
luminuu authored Sep 19, 2023
2 parents f4ecf0b + 30d38a4 commit 8d51003
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, feature
*/

/*
* Control the hover stylings of outline block style.
* Control the hover stylings of Button block's Outline style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--contrast-2);
color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--contrast-2);
Expand All @@ -29,13 +30,14 @@ Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, feature
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/

a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
text-decoration-thickness: 0.0625em;
text-underline-offset: 0.15em;
}

/*
* Styles for the custom Faq arrow details block style
* Styles for the custom Arrow icon style of the Details block
* https://github.com/WordPress/twentytwentyfour/issues/46
*/

Expand All @@ -46,11 +48,11 @@ a {
}

.is-style-arrow-icon-details summary {
list-style-type: '\2193\00a0\00a0\00a0';
list-style-type: "\2193\00a0\00a0\00a0";
}

.is-style-arrow-icon-details[open] > summary {
list-style-type: '\2192\00a0\00a0\00a0';
list-style-type: "\2192\00a0\00a0\00a0";
}

/*
Expand All @@ -61,21 +63,22 @@ a {
.is-style-pill a,
.is-style-pill span:not([class], [data-rich-text-placeholder])
{
display:inline-block;
display: inline-block;
background-color: #f2f2f2;
padding: 6px 14px;
border-radius:16px;
border-radius: 16px;
margin: 0 10px 10px 0;
}

.is-style-pill a:hover {
background:#eee;
background-color: #eee;
}

/*
* Styles for the custom checkmark list block style
* https://github.com/WordPress/gutenberg/issues/51480
*/

ul.is-style-checkmark-list {
list-style-type: "\2713";
}
Expand Down

0 comments on commit 8d51003

Please sign in to comment.