Module:Navbar/styles.css: Difference between revisions

m
22 revisions imported from wikipedia:Module:Navbar/styles.css
(integrate 2 sheets)
m (22 revisions imported from wikipedia:Module:Navbar/styles.css)
 
(22 intermediate revisions by 4 users not shown)
Line 1:
/* CSS below is common{{pp|small=yes}} */
.navbar {
display: inline;
Line 6:
}
 
.navbar ul-collapse {
float: left;
display: inline-block;
whitetext-spacealign: nowrapleft;
}
 
.navbar.mini li span-boxtext {
body.skin-Minerva .navbar ul {
word-spacing: -0.125em;
display: inline; /* why does mobile differ here? */
}
 
.navbar liul {
display: inline-block;
word-spacing: -0.125em;
white-space: nowrap;
line-height: inherit;
}
/*
Space reserved for remaining common fixes.
 
.navbar-brackets::before {
 
margin-right: -0.5em125em;
 
content: '[ ';
 
*/
 
/* 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 */
.infobox .navbar {
font-size: 100%;
}
 
.navbox .navbar-brackets::after {
margin-left: -0.125em;
display: block;
font-sizecontent: 100%' ]';
}
 
.navbox-title .navbar li {
word-spacing: -0.125em;
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
 
.navbar a > span,
body.skin-Minerva .navbox-title .navbar {
.navbar.mini lia > abbr[title] {
width: 6em; /* Why does mobile set this width? */
text-decoration: inherit;
}
 
.navbar-mini abbr {
/* CSS below is from Common.css */
.mw-body-content .navbar ul {
line-height: inherit; /* Why is this missing in Minerva? */
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
Line 62 ⟶ 47:
}
 
.navbar-ct-full {
/* CSS below is from Mobile.css */
font-size: 100114%;
.navbar.mini li span {
margin: 0 7em;
font-variant: small-caps; /* This just looks like it missed the update to abbr */
 
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}
verified
2,504

edits