mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/print/article.less
Jon Robson 05231bb254 Support extension of page actions via hook and addPortletLink
This adds support for:
mw.util.addPortletLink('p-views', '#', 'text', 'fooz',null,
  null,'#page-actions-overflow' )

and adding multiple edit icons via hooks.

Depends-On: I655097769620301143140ded1cde4c7a16879ef4
Depends-On: I401805224c0f387ac85b52b50c1f298b83c03a91
Bug: T346944
Change-Id: I3c9d59f49f1b939981a7b2b450448db6736d5958
2023-10-04 22:15:47 +00:00

125 lines
1.8 KiB
Plaintext

/* stylelint-disable selector-max-id */
@import '../../../minerva.less/minerva.variables.less';
@import '../../../minerva.less/minerva.mixins.less';
@dividerHeight: 2px;
@dividerSpacing: 28px;
// FIXME: Remove #page-actions when cache has cleared
.hatnote,
.pre-content #p-views,
.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;
}
}