mediawiki-skins-MinervaNeue/resources/skins.minerva.amc.styles/tabs.less
Jan Drewniak f92b117158 Remove margin from tagline and add .page-heading element
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
2019-02-19 12:37:27 +01:00

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;
}
}