Module:Navbar/styles.css: Difference between revisions
(Migrate Navbar styles from Mobile.css) |
(be safe and limit these to minerva for time being (but I think we can consolidate these with MediaWiki:Common.css)) |
||
Line 4: | Line 4: | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
.navbar ul { | body.skin-minerva .navbar ul { | ||
display: inline; | display: inline; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||
.navbar li { | body.skin-minerva .navbar li { | ||
word-spacing: -0.125em; | word-spacing: -0.125em; | ||
} | } | ||
.navbar.mini li span { | .body.skin-minerva navbar.mini li span { | ||
font-variant: small-caps; | font-variant: small-caps; | ||
} | } | ||
/* Navbar styling when nested in infobox and navbox */ | /* Navbar styling when nested in infobox and navbox */ | ||
.navbox .navbar, | body.skin-minerva .navbox .navbar, | ||
.infobox .navbar { | body.skin-minerva .infobox .navbar { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.navbox .navbar { | body.skin-minerva .navbox .navbar { | ||
display: block; | display: block; | ||
} | } | ||
.navbox-title .navbar { | body.skin-minerva .navbox-title .navbar { | ||
/* @noflip */ | /* @noflip */ | ||
float: left; | float: left; |
Revision as of 23:16, 30 October 2018
body.skin-minerva .navbar { display: inline; font-size: 88%; font-weight: normal; } body.skin-minerva .navbar ul { display: inline; white-space: nowrap; } body.skin-minerva .navbar li { word-spacing: -0.125em; } .body.skin-minerva navbar.mini li span { font-variant: small-caps; } /* Navbar styling when nested in infobox and navbox */ body.skin-minerva .navbox .navbar, body.skin-minerva .infobox .navbar { font-size: 100%; } body.skin-minerva .navbox .navbar { display: block; } body.skin-minerva .navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; }