Jump to content

Module:Navbar/styles.css: Difference between revisions

m
(clean)
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* CSS below is common */
/* {{pp|small=yes}} */
.navbar {
.navbar {
display: inline;
display: inline;
font-size: 88%;
font-size: 88%;
font-weight: normal;
font-weight: normal;
}
.navbar ul {
display: inline-block;
white-space: nowrap;
}
}


Line 20: Line 15:
}
}


.navbar li {
.navbar ul {
word-spacing: -0.125em;
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
}


.navbar-lbracket {
.navbar-brackets::before {
margin-right: -0.125em;
margin-right: -0.125em;
content: '[ ';
}
}


.navbar-rbracket {
.navbar-brackets::after {
margin-left: -0.125em;
margin-left: -0.125em;
content: ' ]';
}
.navbar li {
word-spacing: -0.125em;
}
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
}


.navbar-c-title-full {
.navbar-ct-full {
font-size: 114%;
font-size: 114%;
margin: 0 7em;
margin: 0 7em;
}
}


.navbar-c-title-mini {
.navbar-ct-mini {
font-size: 114%;
font-size: 114%;
margin: 0 4em;
margin: 0 4em;
}
}


.navbar.mini li abbr,
/* Navbar styling when nested in infobox and navbox
.navbar.mini li span {
Should consider having a separate TemplateStyles for those specific places
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
 
/* Navbar styling when nested in infobox and navbox */
/* Should consider having a separate TemplateStyles for those specific places
using an infobox/navbox and a navbar, or possibly override from using template */
using an infobox/navbox and a navbar, or possibly override from using template */
.infobox .navbar {
.infobox .navbar {
Line 69: Line 71:
/* @noflip */
/* @noflip */
margin-right: 0.5em;
margin-right: 0.5em;
}
body.skin-Minerva .navbox-title .navbar {
width: 6em; /* Why does mobile set this width? */
}
/* body.everyoneelse */ .mw-body-content .navbar ul {
line-height: inherit;
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.