mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-21 01:52:49 +00:00
97aed1ad86
Add CSS to support new HTML markup for headings with section edit links, which will soon be used by Parsoid page views (T269630) and by the old parser (T13555). Keep the old rules to provide temporary support for cached page HTML and emergency opt-outs, as well as permanent support for plain headings on special pages and in Parsoid edit mode HTML. See documentation page for further explanation: https://www.mediawiki.org/wiki/Heading_HTML_changes Depends-On: I44587461582d648b56ef0c9c7ae0c322895c69c2 Bug: T13555 Bug: T269630 Change-Id: Ib97d034ab533124f06441e788c8608fb274dccf0
129 lines
1.9 KiB
Plaintext
129 lines
1.9 KiB
Plaintext
/* stylelint-disable selector-max-id */
|
|
@import '../../../minerva.less/minerva.variables.less';
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
|
|
|
@dividerHeight: 2px;
|
|
@dividerSpacing: 28px;
|
|
|
|
.hatnote,
|
|
.pre-content #p-views {
|
|
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;
|
|
}
|
|
|
|
.mw-heading,
|
|
h1, h2, h3, h4, h5, h6 {
|
|
border-bottom: 0;
|
|
padding-bottom: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mw-heading2,
|
|
h2 {
|
|
font-size: 48px;
|
|
}
|
|
|
|
.mw-heading3,
|
|
h3 {
|
|
font-size: 40px;
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
.mw-heading4,
|
|
.mw-heading5,
|
|
.mw-heading6,
|
|
h4, h5, h6 {
|
|
font-size: 36px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wikitable {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.infobox {
|
|
font-size: 30px;
|
|
}
|
|
}
|