Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Club: removing text-decoration-thickness from theme.json #6384

Merged
merged 5 commits into from
Aug 12, 2022
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
7 changes: 7 additions & 0 deletions club/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ GNU General Public License for more details.

a {
text-underline-offset: .15em;
/* We add text-decoration- here instead in theme.json because webkit browsers as Safari are not compatible with text-decoration shorthand syntax */
text-decoration-thickness: 1px!important;
}

.wp-block-site-title a {
/* We add text-decoration- here instead in theme.json because webkit browsers as Safari are not compatible with text-decoration shorthand syntax */
text-decoration-thickness: 1.5px!important;
}

/*
Expand Down
6 changes: 3 additions & 3 deletions club/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontWeight": "700",
"textDecoration": "underline solid 1.5px",
"textDecoration": "underline solid",
"fontStyle": "italic",
"letterSpacing": "-0.04em"
},
Expand Down Expand Up @@ -590,7 +590,7 @@
"text": "var(--wp--preset--color--primary)"
},
"typography": {
"textDecoration": "underline solid 1px"
"textDecoration": "underline solid"
},
":hover": {
"typography": {
Expand All @@ -599,7 +599,7 @@
},
":active": {
"typography": {
"textDecoration": "underline dotted 1px"
"textDecoration": "underline dotted"
}
}
}
Expand Down