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
75 lines
1.5 KiB
SCSS
75 lines
1.5 KiB
SCSS
// Footer
|
|
.site-footer {
|
|
padding-top: 0;
|
|
padding-bottom: calc(1.7 * var(--global--spacing-vertical));
|
|
@extend %responsive-alignwide-width;
|
|
|
|
// Increase the top vertical spacing when there is no widget area.
|
|
.no-widgets & {
|
|
margin-top: calc(6 * var(--global--spacing-vertical));
|
|
}
|
|
|
|
@include media(mobile-only) {
|
|
|
|
.no-widgets & {
|
|
margin-top: calc(3 * var(--global--spacing-vertical));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Footer Branding
|
|
.site-footer > .site-info {
|
|
padding-top: var(--global--spacing-vertical);
|
|
color: var(--footer--color-text);
|
|
font-family: var(--footer--font-family);
|
|
font-size: var(--footer--font-size);
|
|
line-height: var(--global--line-height-body);
|
|
border-top: 3px solid var(--global--color-border);
|
|
|
|
.site-name {
|
|
text-transform: var(--branding--title--text-transform);
|
|
font-size: var(--branding--title--font-size);
|
|
}
|
|
|
|
.powered-by {
|
|
margin-top: calc(0.5 * var(--global--spacing-vertical));
|
|
}
|
|
|
|
@include media(desktop) {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.powered-by {
|
|
margin-top: initial;
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--footer--color-link);
|
|
|
|
&:link,
|
|
&:visited,
|
|
&:active {
|
|
color: var(--footer--color-link);
|
|
}
|
|
|
|
&:hover {
|
|
color: var(--footer--color-link-hover);
|
|
}
|
|
|
|
&:focus {
|
|
color: var(--footer--color-link-hover);
|
|
|
|
.is-dark-theme & {
|
|
color: var(--wp--style--color--link, var(--global--color-background));
|
|
}
|
|
|
|
// Change colors when the body background is white.
|
|
.has-background-white & {
|
|
color: var(--wp--style--color--link, var(--global--color-white));
|
|
}
|
|
}
|
|
}
|
|
}
|