模块:Navbar/styles.css

来自SJMC Wiki
/* Navbar styles
 * 导航栏样式
 *
 * @source https://en.wikipedia.org/wiki/Module:Navbar/styles.css
 * @revision 2022-01-03
*/

.navbar {
  display: inline;
  font-size: 0.875em;
  font-weight: normal;
}

.navbar-collapse {
  float: left;
  text-align: left;
}

.navbar-boxtext {
  word-spacing: 0;
}

.navbar-brackets::before {
  margin-right: -0.125em;
  content: "[ ";
}
.navbar-brackets::after {
  margin-left: -0.125em;
  content: " ]";
}

.navbar ul {
  display: inline-block;
  line-height: inherit;
  white-space: nowrap;
}
.navbar li {
  word-spacing: -0.125em;
}
.navbar a > span, .navbar a > abbr {
  text-decoration: inherit;
}

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

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

.navbar-ct-mini {
  margin: 0 4em;
  font-size: 1.143em;
}

/* 移除 Minerva Neue 皮肤中的边距 */
body.skin-minerva .navbar ul {
  padding: 0;
}