MediaWiki:Common.css: Difference between revisions

From Raychev Wiki
Jump to navigation Jump to search
Apply the light Leuven palette to the wiki logo
Use the straight underline for the sidebar logo
 
Line 43: Line 43:
   flex: 0 0 82px;
   flex: 0 0 82px;
   border-radius: 13px;
   border-radius: 13px;
   background: #fff url("/raychev-wiki-logo.png?v=leuven-1") center / cover no-repeat;
   background: #fff url("/raychev-wiki-logo.png?v=leuven-line") center / cover no-repeat;
   box-shadow: inset 0 0 0 1px #dce8f1;
   box-shadow: inset 0 0 0 1px #dce8f1;
}
}

Latest revision as of 04:18, 29 November 2026

.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;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55em;
  height: 100%;
  background-image: none !important;
  color: #243449;
  text-align: center;
  text-decoration: none;
}
.skin-vector-legacy #p-logo .mw-wiki-logo::before {
  content: "";
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 13px;
  background: #fff url("/raychev-wiki-logo.png?v=leuven-line") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px #dce8f1;
}
.skin-vector-legacy #p-logo .mw-wiki-logo::after {
  content: "Raychev Wiki";
  font: 600 1.2em/1.2 Georgia, serif;
}
/* 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; }