mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-14 09:54:45 +00:00
7f590aba17
Change-Id: Iff85d1e424e18902df58988167ae6668ce034aa2
87 lines
1.8 KiB
Plaintext
87 lines
1.8 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
// style that applies only to minerva footer
|
|
.minerva-footer {
|
|
border-top: solid 1px @footerBorderColor;
|
|
overflow: auto;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
// styles that apply to nested footer components
|
|
// FIXME: Remove `footer` after cache has expired (~14d) after I6b9caa42c1907 has been deployed.
|
|
footer,
|
|
.mw-footer {
|
|
.indicator {
|
|
.client-nojs & {
|
|
// Certain browsers e.g. Opera Mini do not support css transforms
|
|
// We assume that we do not run JS on these browsers so hide the chevron
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// links should be separated by same color
|
|
.hlist {
|
|
li:after {
|
|
color: @color-link;
|
|
}
|
|
}
|
|
|
|
> .post-content {
|
|
overflow: auto;
|
|
margin-top: 42px;
|
|
|
|
> * {
|
|
margin-bottom: 9px;
|
|
}
|
|
|
|
> h2 {
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
padding-bottom: 10px;
|
|
margin-top: 42px;
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.hlist,
|
|
.license {
|
|
font-size: 0.875em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.last-modified-bar {
|
|
border-bottom: solid 1px @footerBorderColor;
|
|
background-color: @lastModifiedBarBgColor;
|
|
color: @lastModifiedBarTextColor;
|
|
padding-top: @icon-padding-md;
|
|
padding-bottom: @icon-padding-md;
|
|
font-size: @font-size-minerva-small;
|
|
.transition( background-color @transition-duration-medium, color @transition-duration-medium; );
|
|
}
|
|
|
|
.last-modified-bar__content {
|
|
align-items: center;
|
|
.flex-display();
|
|
}
|
|
|
|
.last-modified-bar__text {
|
|
@end-padding: @iconGutterWidth + @iconGutterWidth + @iconSize;
|
|
padding-right: @end-padding;
|
|
padding-left: @icon-padding-md;
|
|
line-height: @line-height-content;
|
|
vertical-align: middle;
|
|
flex-grow: 1;
|
|
.text-overflow( @visible: false );
|
|
}
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
.last-modified-bar__text {
|
|
padding-right: 1em;
|
|
}
|
|
}
|