mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
f92b117158
Even though on most pages the tagline is empty, it still has a bottom margin associated with it. This patch moves that bottom margin into a container element that wraps both the h1 and tagline. This approach allows us to remove the bottom-margin from the tagline as well as the top-margin from the AMC tabs in favour of just one bottom margin on the .page-heading element. Bug: T214195 Change-Id: I67d3938ab4a75f994acc28a8eefdf19e531c1f3d
24 lines
404 B
Plaintext
24 lines
404 B
Plaintext
.minerva__tab {
|
|
font-size: @taglineFontSize;
|
|
margin: 0 10px 1px 0;
|
|
color: @colorGray5;
|
|
font-weight: bold;
|
|
padding-bottom: 6px;
|
|
display: inline-block;
|
|
|
|
&:visited,
|
|
&:hover,
|
|
&:active,
|
|
&.new,
|
|
&.new:visited,
|
|
&.new:active,
|
|
&.new:hover {
|
|
color: @colorGray5;
|
|
text-decoration: none;
|
|
}
|
|
// note core doesn't use BEM.
|
|
&.selected {
|
|
border-bottom: (@pageActionBorder * 2) solid @colorGray5;
|
|
}
|
|
}
|