|
@@ -41,6 +41,7 @@ body {
|
|
|
background: var(--wp--preset--color--foreground);
|
|
|
border-color: var(--wp--preset--color--foreground);
|
|
|
color: var(--wp--preset--color--background);
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
|
.wp-block-button__link.wp-block-button__link:active {
|
|
|
color: var(--wp--preset--color--primary);
|
|
@@ -84,20 +85,12 @@ body {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
- * Search and File Block button styles.
|
|
|
- * Necessary until the following issues are resolved in Gutenberg:
|
|
|
- * https://github.com/WordPress/gutenberg/issues/36444
|
|
|
- * https://github.com/WordPress/gutenberg/issues/27760
|
|
|
- */
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
/*
|
|
|
* Search input styles
|
|
|
* Needed until this is resolved in Gutenberg:
|
|
|
* https://github.com/WordPress/gutenberg/issues/34198
|
|
|
*/
|
|
|
+
|
|
|
.wp-block-search__input {
|
|
|
border-color: var(--wp--preset--color--foreground);
|
|
|
}
|
|
@@ -106,19 +99,17 @@ body {
|
|
|
* Link Styles
|
|
|
*/
|
|
|
|
|
|
-.wp-block-site-title a {
|
|
|
- padding: .4rem 0;
|
|
|
- text-decoration: inherit; /* Needed so the link styles will be inherited correctly from theme.json */
|
|
|
- text-underline-offset: .1rem;
|
|
|
-}
|
|
|
-
|
|
|
a:not(
|
|
|
.wp-block-search__button,
|
|
|
.wp-block-button__link
|
|
|
-):hover,
|
|
|
+) {
|
|
|
+ text-underline-offset: .1rem;
|
|
|
+}
|
|
|
|
|
|
-.wp-block-site-title a:hover {
|
|
|
- text-decoration: underline;
|
|
|
+.wp-block-site-title a {
|
|
|
+ padding: .4rem 0;
|
|
|
+ text-decoration: inherit; /* Needed so the link styles will be inherited correctly from theme.json */
|
|
|
+ text-underline-offset: .1rem;
|
|
|
}
|
|
|
|
|
|
a:not(
|
|
@@ -129,11 +120,6 @@ a:not(
|
|
|
text-decoration-style: dotted;
|
|
|
}
|
|
|
|
|
|
-.wp-block-site-title a:active {
|
|
|
- text-decoration: none;
|
|
|
- background-color: var(--wp--preset--color--tertiary);
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* Navigation and Other Link Styles
|
|
|
*/
|
|
@@ -144,11 +130,6 @@ a:not(
|
|
|
|
|
|
:is(
|
|
|
.wp-block-pages-list__item .wp-block-pages-list__item__link,
|
|
|
- .wp-block-navigation-link__content,
|
|
|
- .wp-block-navigation-item__content,
|
|
|
- .wp-block-site-title a,
|
|
|
- .wp-block-post-navigation-link a,
|
|
|
- .wp-block-post-terms a
|
|
|
):hover {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
@@ -166,20 +147,12 @@ a:not(
|
|
|
}
|
|
|
|
|
|
:is(
|
|
|
- .wp-block-pages-list__item .wp-block-pages-list__item__link,
|
|
|
- .wp-block-navigation-link__content,
|
|
|
- .wp-block-navigation-item__content,
|
|
|
- .wp-block-site-title a,
|
|
|
- .wp-block-post-navigation-link a,
|
|
|
- .wp-block-post-terms a
|
|
|
+ .wp-block-pages-list__item .wp-block-pages-list__item__link
|
|
|
):active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.wp-block-post-title a:hover {
|
|
|
- color: var(--wp--preset--color--primary);
|
|
|
- text-decoration-line: underline;
|
|
|
- text-decoration-thickness: 0.25rem;
|
|
|
text-underline-offset: 0.25rem;
|
|
|
}
|
|
|
|