Editing Module:Navbar/styles.css

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. Read the Privacy Policy to learn what information we collect about you and how we use it.

If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
/* {{pp|small=yes}} */
/* CSS below is common */
.navbar {
.navbar {
display: inline;
display: inline;
font-size: 88%;
font-size: 88%;
font-weight: normal;
font-weight: normal;
}
.navbar-collapse {
float: left;
text-align: left;
}
.navbar-boxtext {
word-spacing: 0;
}
}


Line 18: Line 9:
display: inline-block;
display: inline-block;
white-space: nowrap;
white-space: nowrap;
line-height: inherit;
}
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
}


.navbar-brackets::after {
body.skin-Minerva .navbar ul {
margin-left: -0.125em;
display: inline; /* why does mobile differ here? */
content: ' ]';
}
}


Line 34: Line 18:
word-spacing: -0.125em;
word-spacing: -0.125em;
}
}
/*
Space reserved for remaining common fixes.


.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}


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


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


/* Navbar styling when nested in infobox and navbox
/* Navbar styling when nested in infobox and navbox */
Should consider having a separate TemplateStyles for those specific places
/* 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 */
.infobox .navbar {
.infobox .navbar {
font-size: 100%;
font-size: 100%;
Line 71: Line 45:
/* @noflip */
/* @noflip */
margin-right: 0.5em;
margin-right: 0.5em;
}
body.skin-Minerva .navbox-title .navbar {
width: 6em; /* Why does mobile set this width? */
}
/* 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;
text-decoration: none;
cursor: inherit;
}
/* CSS below is from Mobile.css */
.navbar.mini li span {
font-variant: small-caps; /* This just looks like it missed the update to abbr */
}
}
Please note that all contributions to Nonbinary Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Nonbinary Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: