MediaWiki:Common.css

From rae.wiki
Revision as of 21:16, 18 November 2023 by Rae (talk | contribs)

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.
#ca-talk { display:none }
#ca-nstab-main { display:none }

/* 
body {
    padding: 0;
    word-wrap: break-word;
    font-family: "-font-sans-serif: system-ui, -apple-system, segoe ui, roboto, ubuntu, helvetica, cantarell, noto sans, sans-serif";
}
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    margin-top: 1em;
    font-weight: bold;
}

h1 {
    font-size: 3.052rem;
    line-height: 1;
    border-bottom: solid 3px #3666C8 !important;
}

h2 {
    font-size: 2.441rem;
    line-height: 1.2;
    border-bottom: solid 2px #3666C8 !important;
}

h3 {
    font-size: 1.953rem;
    line-height: 1.2;
}

h4 {
    font-size: 1.563rem;
    line-height: 1.3;
}

h5 {
    font-size: 1.25rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.5;
}

p {
    margin-bottom: 1.563rem;
}

p > *:last-child {
    margin-bottom: 0;
}

blockquote {
    border-left: 1px solid var(--light-gray);
    padding: 0 1rem;
    margin-bottom: 1.563rem;
}

@media (hover: hover) {
    a:hover {
        text-decoration: underline;
    }
}

small {
    font-size: 0.888rem;
}

hr {
    height: 2px;
    border: 0;
    background-color: #3666C8;
}