mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-20 12:54:00 +02:00
This will be the final sync from GitHub before placing that repository into read-only mode. All further changes should now flow entirely through Trac.
For a full list of changes since [49633], see 1d5a895...53acd9b
.
Props poena, luminuu, kjellr, ryelle, allancole, melchoyce, felipeelia, aljullu, kebbet, chaton666, Clorith, mkaz, ingereck, paaljoachim.
See #51526.
Built from https://develop.svn.wordpress.org/trunk@49726
git-svn-id: http://core.svn.wordpress.org/trunk@49449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
45 lines
1.1 KiB
SCSS
45 lines
1.1 KiB
SCSS
html {
|
|
font-family: var(--global--font-secondary);
|
|
line-height: var(--global--line-height-body);
|
|
}
|
|
|
|
body {
|
|
--wp--typography--line-height: var(--global--line-height-body);
|
|
color: var(--global--color-primary);
|
|
background-color: var(--global--color-background);
|
|
font-family: var(--global--font-secondary);
|
|
font-size: var(--global--font-size-base);
|
|
font-weight: normal;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
// Links styles
|
|
.wp-block a {
|
|
color: var(--wp--style--color--link, var(--global--color-primary));
|
|
|
|
&:hover {
|
|
text-decoration-style: dotted;
|
|
}
|
|
|
|
&:focus {
|
|
outline: 2px solid var(--wp--style--color--link, var(--global--color-primary));
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
// Enforce the custom link color even if a custom background color has been set.
|
|
// The extra specificity here is required to override the background color styles.
|
|
.has-background {
|
|
// Target both current level and nested block.
|
|
.has-link-color a,
|
|
&.has-link-color a {
|
|
color: var(--wp--style--color--link, var(--global--color-primary));
|
|
}
|
|
}
|
|
|
|
button,
|
|
a {
|
|
cursor: pointer;
|
|
}
|