mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
38ca243e39
Replacing 'mediawiki.ui/variables.less' @import with new skin-aware 'mediawiki.skin.variables.less' standard. Removing calls for 'mediawiki.skin.variables.less' in favor for 'minerva.variables.less' for consistency. Also - replacing several static values with new Codex design token featuring skin variables of `background-color`, `color`, `border-*` and `transition` categories - renaming several Less variables to variable naming standard - moving a small number of MinervaNeue specific variables into 'minderva.variables.less' file. Those should be replaced in mid-future by Codex design tokens Please note, that this patch is not replacing all values with possible Codex tokens. It's just applying them on selected categories for consistency for now to keep the patch easier reviewable. Further replacements will be done in follow-up patches. Bump MediaWiki core required version to >= v1.41.0. Bug: T319381 Bug: T332541 Depends-On: I98c8cc27527533e2efb3b987ee34bc403e988b75 Change-Id: I86c5a35377541a784552c29456e0b8b507b3ee9c
123 lines
1.8 KiB
Plaintext
123 lines
1.8 KiB
Plaintext
@import '../../../minerva.less/minerva.variables.less';
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
|
|
|
@dividerHeight: 2px;
|
|
@dividerSpacing: 28px;
|
|
|
|
// stylelint-disable-next-line selector-max-id
|
|
.hatnote,
|
|
.pre-content #page-actions {
|
|
display: none;
|
|
}
|
|
|
|
.pre-content {
|
|
display: block;
|
|
padding: 51px 0 35px;
|
|
|
|
h1 {
|
|
font-size: 70px;
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
font-stretch: normal;
|
|
line-height: normal;
|
|
letter-spacing: normal;
|
|
text-align: left;
|
|
color: @color-print;
|
|
}
|
|
|
|
.tagline {
|
|
font-size: 36px;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
padding-top: 55px;
|
|
position: relative;
|
|
|
|
&::before {
|
|
top: 0;
|
|
}
|
|
}
|
|
|
|
.thumbinner {
|
|
width: auto !important;
|
|
// Force image link to take up maximum available space so that
|
|
// the thumbnail inside can be aligned left rather than centered
|
|
> a {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.thumb {
|
|
position: relative;
|
|
padding: (@dividerSpacing*2) + @dividerHeight 0 !important;
|
|
text-align: left;
|
|
margin: 0 !important;
|
|
|
|
&::after {
|
|
bottom: @dividerHeight + @dividerSpacing;
|
|
}
|
|
}
|
|
|
|
.thumb::after,
|
|
.content::before {
|
|
position: absolute;
|
|
left: 0;
|
|
content: '';
|
|
display: block;
|
|
width: 55px;
|
|
height: @dividerHeight;
|
|
// `background` used as `border`.
|
|
background: @border-color-print;
|
|
}
|
|
|
|
.thumbcaption {
|
|
margin-top: 23px !important;
|
|
width: 100%;
|
|
font-style: italic;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.mw-body-content {
|
|
font-size: 36px;
|
|
|
|
a {
|
|
text-decoration: underline;
|
|
color: @color-print;
|
|
}
|
|
|
|
blockquote {
|
|
color: @color-print-subtle;
|
|
padding: 5px 39px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.section-heading {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 48px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 40px;
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
h4, h5, h6 {
|
|
font-size: 36px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wikitable {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.infobox {
|
|
font-size: 30px;
|
|
}
|
|
}
|