mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
4d734942c5
Main pages do not have page actions, yet the header always adds bottom padding to compensate for the fact that page actions are absolutely positioned. a new class is added adopting BEM notation that informs the client that no page actions are going to be visible. In conjuction to this we strip the relevant HTML from the DOM. Bug: T212216 Change-Id: Ib69991e91160ba7e2ca3beca4475c2a06c4b9cd3
27 lines
376 B
Plaintext
27 lines
376 B
Plaintext
@import '../../minerva.less/minerva.variables';
|
|
@import '../../minerva.less/minerva.mixins';
|
|
|
|
.page-Main_Page {
|
|
#section_0 {
|
|
border: 0;
|
|
}
|
|
|
|
// Can be removed when cache has cleared (T212216)
|
|
#page-actions,
|
|
.pre-content {
|
|
display: none;
|
|
}
|
|
|
|
&.is-authenticated {
|
|
.pre-content {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
#page-secondary-actions {
|
|
a {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
}
|