User:Jonathanischoice/common.css

From mediawiki.org

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
body {
  font-family: "EB Garamond", Garamond, serif;
  font-variant-numeric: oldstyle-nums;
  font-variant-ligatures: common-ligatures contextual;
  font-size: 120%;
}
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5 {
  font-family: "EB Garamond", Garamond, serif;
  font-variant-numeric: oldstyle-nums;
  font-variant-ligatures: common-ligatures contextual;
}
td {
  font-variant-numeric: tabular-nums;
}
h1#firstHeading {
  font-weight: bold;
}
.mw-body h2 {
  font-weight: normal;
  border-bottom: none;
}
.mw-body h3 {
  font-variant: small-caps;
  font-weight: normal;
  text-decoration: underline;
  font-size: 115%;
}
.mw-body h4 {
  font-weight: bold;
  text-decoration: underline;
  font-size: 100%;
  display: inline;
}
.mw-body h5 {
  font-weight: normal;
  font-style: italic;
  text-decoration: underline;
  font-size: 100%;
  display: inline;
}

.mw-body h3 + h4,
.mw-body h4 + h5,
.mw-body h4 + div + p,
.mw-body h5 + div + p,
.mw-body h4 + p,
.mw-body h5 + p
{
  display: inline;
}

h4:before,
h5:before {
    content: "";
    display: block;
}

.mw-body h4:after {
  content: ".";
}

.mw-body .mw-editsection {
  display: none; /* use right-click */
}

a:link, a:active {
  text-decoration: none;
  color: #000080;
}
a:visited {
  text-decoration: none;
  color: #200060;
}
a:hover {
  text-decoration: underline;
}

sup.reference {
  font-size: 60%;
  margin-right: 0.1em;
  padding-right: 0.1em;
}
sup.reference a span {
  display: none;
}