mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 23:39:42 +01:00
11fdb19ae3
This changeset adds `text-decoration-thickness: 2px;` to all underlined link to ensure that underline thickness stay consistent across browsers. This fixes an issue where the underline style on links using the Hoefler Text font was too thin in Firefox. Props allancole, sabernhardt, danfarrow, audrasjb, neychok, multidots1896, maartenj. Fixes #45925. Built from https://develop.svn.wordpress.org/trunk@54171 git-svn-id: http://core.svn.wordpress.org/trunk@53730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
23 lines
301 B
SCSS
23 lines
301 B
SCSS
a {
|
|
|
|
@include link-transition;
|
|
color: $color__link;
|
|
|
|
&:visited {
|
|
color: $color__link-visited;
|
|
}
|
|
|
|
&:hover,
|
|
&:active {
|
|
color: $color__link-hover;
|
|
outline: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:focus {
|
|
outline: thin dotted;
|
|
text-decoration: underline;
|
|
text-decoration-thickness: 2px;
|
|
}
|
|
}
|