MediaWiki:Common.css

From Raychev Wiki
Revision as of 01:10, 29 November 2026 by RaychevAdmin (talk | contribs) (Set up article templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
.rw-callout {
  margin: 1.25em 0;
  padding: 1em 1.25em;
  border: 1px solid #e0c866;
  border-inline-start: 5px solid #c79713;
  border-radius: 3px;
  background: #fff4b5;
  color: #202122;
}
.rw-callout > :first-child { margin-top: 0; }
.rw-callout > :last-child { margin-bottom: 0; }
.rw-callout--note {
  border-color: #a8c9db;
  border-inline-start-color: #36758e;
  background: #eaf6fc;
}
.rw-quotation {
  margin: 1.25em 0;
  padding: .9em 1.2em;
  border-inline-start: 4px solid #568f82;
  background: #edf7f3;
  color: #203b38;
}
.skin-vector-legacy #p-logo {
  height: 125px;
}
.skin-vector-legacy #p-logo .mw-wiki-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-image: none !important;
  text-align: center;
  color: #243449;
  text-decoration: none;
}
.skin-vector-legacy #p-logo .mw-wiki-logo::before {
  content: "Raychev Wiki";
  font: 600 1.65em/1.15 Georgia, serif;
  width: 5em;
  padding-bottom: .45em;
  border-bottom: 2px solid #d6b649;
}
/* Article templates */
.rw-ai, .rw-method {
  background: #eee8fa;
  border-color: #d1c1e6;
  border-inline-start-color: #7854a2;
}
.rw-archive {
  background: #f1f2f3;
  border-color: #cdd1d5;
  border-inline-start-color: #72777d;
}
.rw-anecdote, .rw-metaphor {
  background: #e9f5e9;
  border-color: #bfd6bf;
  border-inline-start-color: #477853;
}
.rw-personal, .rw-reference {
  background: #fbe8ef;
  border: 1px solid #e3b7c9;
  border-inline-start: 5px solid #aa4a71;
}
.rw-reference, .rw-motto, .rw-fact, .rw-myth, .rw-figure, .rw-mail {
  margin: 1.1em 0;
  padding: .8em 1.1em;
}
.rw-motto {
  background: #fff5c7;
  border-inline-start: 4px solid #c79713;
  font-family: Georgia, serif;
  font-size: 1.1em;
}
.rw-fact, .rw-figure {
  background: #edf5fa;
  border-inline-start: 4px solid #438298;
}
.rw-myth {
  background: #25252b;
  color: #fff;
  border-inline-start: 4px solid #ef9fa5;
}
.rw-myth a { color: #a8d7ff; }
.rw-myth strong { color: #ffb0b6; }
.rw-mail {
  background: #fff8d5;
  border: 1px solid #dcd0a1;
}
.rw-answer { padding-inline: 1.1em; }
.rw-hatnote { font-style: italic; margin-bottom: .5em; }
.rw-glossary dt { margin-top: .7em; }
.rw-glossary-link a { border-bottom: 1px dashed #6b8dbd; }
.rw-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  min-height: 1.35em;
  vertical-align: middle;
}
.rw-tocright { float: right; max-width: 100%; margin: 0 0 1em 1em; }
@media (max-width: 700px) {
  .rw-tocright { float: none; margin-inline: 0; }
}.rw-tocright.toclimit-1 .toclevel-2 { display: none; }
.rw-tocright.toclimit-2 .toclevel-3 { display: none; }
.rw-tocright.toclimit-3 .toclevel-4 { display: none; }
.rw-tocright.toclimit-4 .toclevel-5 { display: none; }
.rw-tocright.toclimit-5 .toclevel-6 { display: none; }