Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions spearhead/assets/sass/_text.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.has-link-color a, a {
border-bottom: 1px solid transparent;
border-bottom: 1px solid;
border-color: transparent;
transition: all 0.1s ease;

&:hover:not(.wp-block-button__link):not(.wp-block-file__button) {
&:hover {
color: var( --global--color-primary-hover );
border-bottom: 1px solid var( --global--color-primary-hover );
border-color: var( --global--color-primary-hover );
}
}

.wp-block a, // Target the editor link styles also.
.wp-block a,
.entry-content a {
font-weight: var(--global--link-font-weight);
border-color: var( --global--color-primary ); // Links inside the post content must be underlined.

&:hover:not(.wp-block-button__link) {
border-color: var( --global--color-primary );
&:hover {
border-color: transparent;
}
}
}
11 changes: 6 additions & 5 deletions spearhead/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,14 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
}

.has-link-color a, a {
border-bottom: 1px solid transparent;
border-bottom: 1px solid;
border-color: transparent;
transition: all 0.1s ease;
}

.has-link-color a:hover:not(.wp-block-button__link):not(.wp-block-file__button), a:hover:not(.wp-block-button__link):not(.wp-block-file__button) {
.has-link-color a:hover, a:hover {
color: var(--global--color-primary-hover);
border-bottom: 1px solid var(--global--color-primary-hover);
border-color: var(--global--color-primary-hover);
}

.wp-block a,
Expand All @@ -208,8 +209,8 @@ Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-me
border-color: var(--global--color-primary);
}

.wp-block a:hover:not(.wp-block-button__link),
.entry-content a:hover:not(.wp-block-button__link) {
.wp-block a:hover,
.entry-content a:hover {
border-color: transparent;
}

Expand Down
11 changes: 6 additions & 5 deletions spearhead/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading