2020-11-12 19:36:15 +01:00
|
|
|
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.
|
Twenty Twenty-One: Sync the latest changes for 5.6 RC2.
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 https://github.com/WordPress/twentytwentyone/compare/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
2020-12-01 20:09:05 +01:00
|
|
|
.has-background {
|
2020-11-12 19:36:15 +01:00
|
|
|
// 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;
|
|
|
|
}
|