mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 11:13:34 +00:00
80 lines
1.6 KiB
Plaintext
80 lines
1.6 KiB
Plaintext
|
@import '../../minerva.less/minerva.variables.less';
|
||
|
|
||
|
@divider-line-color: @colorGray14;
|
||
|
|
||
|
.minerva-talk-add-button {
|
||
|
display: block;
|
||
|
width: 100%;
|
||
|
max-width: none;
|
||
|
margin-top: 15px;
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
|
||
|
.minerva-talk-content-explained {
|
||
|
// When .skin-minerva--talk-simplified class is not applied to body, we don't
|
||
|
// want this to show (e.g. on pages without any topics, redundant no content
|
||
|
// messages could show)
|
||
|
display: none;
|
||
|
margin-top: 15px; // setting margin-top in case .minerva-talk-add-button is not present to provide a margin (i.e. when anon user)
|
||
|
padding-bottom: 15px;
|
||
|
border-bottom: 1px solid @divider-line-color;
|
||
|
font-size: @font-size-minerva-small;
|
||
|
font-weight: bold;
|
||
|
color: @colorGray5;
|
||
|
}
|
||
|
|
||
|
.minerva-talk-full-page-button {
|
||
|
display: block;
|
||
|
position: sticky;
|
||
|
position: -webkit-sticky;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
padding: 1em;
|
||
|
color: @colorProgressive;
|
||
|
background: @colorGray15;
|
||
|
border-top: 1px solid @divider-line-color;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
// Only run on talk pages
|
||
|
.client-js .skin-minerva--talk-simplified {
|
||
|
#toc,
|
||
|
#mf-section-0,
|
||
|
.section-heading + div {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.minerva-talk-content-explained {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.section-heading {
|
||
|
position: relative;
|
||
|
border-bottom: 1px solid @divider-line-color;
|
||
|
font-size: 1em;
|
||
|
font-family: @fontFamilyBase;
|
||
|
line-height: 1;
|
||
|
cursor: pointer;
|
||
|
display: block;
|
||
|
margin: 0;
|
||
|
padding: 0.8em 0;
|
||
|
|
||
|
.mw-ui-icon {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.return-link {
|
||
|
margin-bottom: 20px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and ( min-width: @width-breakpoint-tablet ) {
|
||
|
.minerva-talk-full-page-button {
|
||
|
margin-left: auto;
|
||
|
margin-right: auto;
|
||
|
max-width: @contentMaxWidthTablet;
|
||
|
}
|
||
|
}
|