mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/print/footer.less
Jan Drewniak 59fd0cd5dc Convert all color related Less variables to CSS custom properties
All colors used in Minerva are converted from Less variables
into CSS custom properties. A new file called CSSCustomProperties.less
is created in the skins.minerva.base.styles module to store
these custom properties and an ADR is provided on the rationale for
dropping support for browsers that don't support custom properties.

The new CSS custom properties follow Codex design token conventions
where possible (and noted when not).

Link colors are unique because their styles are defined in core,
so in that case the Less variables values are set to custom properties.
Those values are then fed back into MediaWiki core for core link
styling.

Also adds a temporary night-mode color palette under the
.skin-nightmode-1 class on the <html> element.

Bug: T356074
Change-Id: Ida1f14138f12bd3c600c264bde7b5100f9dbf4ff
2024-02-02 17:57:27 +00:00

48 lines
947 B
Plaintext

@import '../../../minerva.less/minerva.variables.less';
@import '../../../minerva.less/minerva.mixins.less';
.printfooter {
display: block;
padding-top: 108px;
font-size: 30px;
}
// stylelint-disable selector-max-id
.minerva-footer {
border-top: 4px @border-style-base #000;
// Un-hide the last-modified info and license text
display: block;
padding-top: 23px;
background: var( --background-color-base ) !important;
.footer-content {
display: block !important;
#footer-info,
#footer-info-lastmod,
#footer-info-copyright {
display: block !important;
font-size: 30px;
color: @color-print-subtle;
font-weight: normal;
}
.minerva-footer-logo {
margin: 0 !important;
border: 0 !important;
padding: 0 !important;
}
// Hide everything else once again
#mw-data-after-content,
#footer-places {
display: none;
}
}
.last-modified-bar {
display: none;
}
}
// stylelint-enable selector-max-id