| 1 |
@import '../../minerva.less/minerva.variables.less'; |
| 2 |
@import '../../minerva.less/minerva.mixins.less'; |
| 3 |
|
| 4 |
// style that applies only to minerva footer |
| 5 |
.minerva-footer { |
| 6 |
border-top: @border-subtle; |
| 7 |
overflow: auto; |
| 8 |
padding-bottom: 6px; |
| 9 |
} |
| 10 |
|
| 11 |
// styles that apply to nested footer components |
| 12 |
.mw-footer { |
| 13 |
.indicator { |
| 14 |
.client-nojs & { |
| 15 |
// Certain browsers e.g. Opera Mini do not support css transforms |
| 16 |
// We assume that we do not run JS on these browsers so hide the chevron |
| 17 |
display: none; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
// links should be separated by same color |
| 22 |
.hlist { |
| 23 |
li::after { |
| 24 |
color: @color-progressive; |
| 25 |
} |
| 26 |
} |
| 27 |
|
| 28 |
> .post-content { |
| 29 |
overflow: auto; |
| 30 |
margin-top: 42px; |
| 31 |
|
| 32 |
> * { |
| 33 |
margin-bottom: 9px; |
| 34 |
} |
| 35 |
|
| 36 |
.minerva-footer-logo { |
| 37 |
border-bottom: @border-subtle; |
| 38 |
padding-bottom: 10px; |
| 39 |
margin-top: 42px; |
| 40 |
font-size: 1em; |
| 41 |
font-weight: bold; |
| 42 |
} |
| 43 |
|
| 44 |
// No margin top on logo needed if it follows the #p-lang element and nothing has been loaded |
| 45 |
// above languages e.g. RelatedArticles. |
| 46 |
/* stylelint-disable selector-max-id */ |
| 47 |
#p-lang:not( :target ):first-child + .minerva-footer-logo { |
| 48 |
margin-top: 0; |
| 49 |
} |
| 50 |
|
| 51 |
.hlist, |
| 52 |
.license { |
| 53 |
font-size: 0.875em; |
| 54 |
} |
| 55 |
} |
| 56 |
} |
| 57 |
|
| 58 |
// Night mode |
| 59 |
@media screen { |
| 60 |
html.skin-theme-clientpref-night { |
| 61 |
.minerva-footer-logo img { |
| 62 |
.night-mode-invert-image(); |
| 63 |
} |
| 64 |
} |
| 65 |
} |
| 66 |
|
| 67 |
@media screen and ( prefers-color-scheme: dark ) { |
| 68 |
html.skin-theme-clientpref-os { |
| 69 |
.minerva-footer-logo img { |
| 70 |
.night-mode-invert-image(); |
| 71 |
} |
| 72 |
} |
| 73 |
} |
| 74 |
|
| 75 |
@import 'LastModifiedBar.less'; |