MediaWiki:Common.css

Aus Mythenlabor.de
Version vom 25. April 2026, 06:02 Uhr von BrunoBatzen (Diskussion | Beiträge) (WorkspaceUpload: Common.css: Ausklappen-Links lesbarer gesetzt)

Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
:root {
  --ml-bg: #f6f1e8;
  --ml-bg-top: #f3ede3;
  --ml-surface: #fffaf4;
  --ml-surface-alt: #f4eee4;
  --ml-surface-cool: #f4f7f6;
  --ml-ink: #22201c;
  --ml-muted: #5c564d;
  --ml-line: #d7ccbd;
  --ml-line-strong: #bfae99;

  --ml-accent: #7a4b2f;
  --ml-accent-cool: #4f6b64;

  --ml-myth: #7f5539;
  --ml-occult: #4f6b64;
  --ml-paranormal: #5f7784;
  --ml-ufo: #7b6a43;
  --ml-modern: #8a5a4c;
  --ml-history: #7a4a38;

  --ml-shadow: 0 8px 24px rgba(40, 26, 14, 0.08);
  --ml-radius: 10px;
  --ml-radius-lg: 16px;
}

body {
  background: linear-gradient(to bottom, var(--ml-bg-top) 0%, #f8f4ee 260px, var(--ml-bg) 100%);
  color: var(--ml-ink);
}

#mw-content-container,
#mw-header-container,
#mw-footer-container {
  background: transparent;
}

#mw-content-block {
  background: var(--ml-surface);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius-lg);
  box-shadow: var(--ml-shadow);
}

#p-banner {
  color: #2a241d;
  font-weight: 700;
  letter-spacing: 0.02em;
}

#p-logo a.mw-wiki-logo,
#p-logo a.timeless-logo,
#p-logo .timeless-logo {
  display: block !important;
  width: 170px !important;
  height: 170px !important;
  border-radius: 10px;
  background-image: url("/images/0/0f/Mythenlabor-Logo-2026.png") !important;
  background-position: center center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

#p-logo a.mw-wiki-logo img,
#p-logo a.timeless-logo img,
#p-logo .timeless-logo img {
  width: 170px !important;
  height: 170px !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.mw-logo .mw-logo-icon {
  content: url("/images/0/0f/Mythenlabor-Logo-2026.png") !important;
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

.branding-box a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.branding-box a::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 6px;
  background: url("/images/0/0f/Mythenlabor-Logo-2026.png") center / contain no-repeat;
}

#searchInput {
  border: 1px solid #cdbfaa;
  border-radius: 999px;
  background: #fffdf9;
}

#searchInput:focus {
  border-color: var(--ml-accent);
  box-shadow: 0 0 0 3px rgba(122, 75, 47, 0.12);
}

.mw-body,
.mw-body-content,
#content {
  font-size: 17px;
  line-height: 1.72;
}

.mw-parser-output p,
.mw-parser-output ul,
.mw-parser-output ol,
.mw-parser-output blockquote {
  max-width: 44rem;
}

.firstHeading,
.mw-first-heading {
  color: #1f1b16;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mw-parser-output h2,
.mw-parser-output h3,
.mw-parser-output h4 {
  color: #2b241d;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.mw-parser-output h2 {
  margin-top: 1.9em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--ml-line);
}

.mw-parser-output h3 {
  margin-top: 1.4em;
}

.mw-parser-output a {
  color: #6f2f1d;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: rgba(111, 47, 29, 0.38);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.mw-parser-output a:visited {
  color: #63476f;
  text-decoration-color: rgba(99, 71, 111, 0.38);
}

.mw-parser-output a:hover,
.mw-parser-output a:focus {
  color: #9a3f22;
  text-decoration-color: currentColor;
}

.mw-parser-output a.new {
  color: #9a2f2f;
  text-decoration-style: dashed;
  text-decoration-color: rgba(154, 47, 47, 0.5);
}

.mw-parser-output a.external {
  color: #3f675f;
  text-decoration-color: rgba(63, 103, 95, 0.42);
}

.mw-parser-output figure {
  margin-top: 0.6em;
  margin-bottom: 1.1em;
}

.mw-parser-output figcaption {
  color: var(--ml-muted);
  font-size: 0.92em;
  line-height: 1.45;
}

.toc {
  background: #fcf8f2;
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  padding: 0.8em 1em;
  font-size: 0.95em;
}

.toc .toctitle h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 1.05em;
}

#catlinks,
.catlinks {
  margin-top: 2em;
  padding-top: 0.8em;
  border-top: 1px solid var(--ml-line);
  background: transparent;
}

.ml-note,
.ml-author-note,
.ml-external-note {
  margin: 1.4em 0;
  padding: 0.9em 1.1em;
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
}

.ml-note {
  background: #fbf8f3;
}

.ml-author-note {
  background: #f8f3ec;
  border-left: 4px solid var(--ml-accent);
}

.ml-external-note {
  background: var(--ml-surface-cool);
  border-left: 4px solid var(--ml-accent-cool);
  font-size: 0.96em;
}

.ml-note > :first-child,
.ml-author-note > :first-child,
.ml-external-note > :first-child {
  margin-top: 0;
}

.ml-note > :last-child,
.ml-author-note > :last-child,
.ml-external-note > :last-child {
  margin-bottom: 0;
}

table.ml-infobox {
  width: min(320px, 100%);
  background: #fffdf9;
  border: 1px solid var(--ml-line-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(52, 36, 22, 0.1);
  font-size: 0.92em;
}

table.ml-infobox th,
table.ml-infobox td {
  padding: 0.6em 0.7em;
  border-color: #d9cdbd;
}

table.ml-infobox > tbody > tr:first-child > th {
  font-size: 1.15em;
  letter-spacing: 0.01em;
}

.ml-infobox--wesen > tbody > tr:first-child > th {
  background: #3b1917;
  color: #f6d8d2;
}

.ml-infobox--kryptid > tbody > tr:first-child > th {
  background: #1f2430;
  color: #eef0f7;
}

.ml-infobox--ufo > tbody > tr:first-child > th {
  background: #23313a;
  color: #e2edf3;
}

.ml-portal-hero {
  max-width: 1180px;
  margin: 0 auto 1rem auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #2c2419;
  border-radius: var(--ml-radius-lg);
  background: #050607;
  box-shadow: var(--ml-shadow);
}

.ml-portal-hero__inner {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  padding: 1.35rem 1.5rem 1.2rem 1.5rem;
  color: #f7f1e6;
  background:
    radial-gradient(circle at 78% 20%, rgba(216, 177, 95, 0.22), transparent 32%),
    linear-gradient(135deg, #050607 0%, #11100d 52%, #201810 100%);
}

.ml-portal-hero__logo {
  flex: 0 0 260px;
  text-align: center;
}

.ml-portal-hero__copy {
  flex: 1 1 auto;
  min-width: 260px;
}

.ml-portal-hero__kicker {
  margin-bottom: 0.45rem;
  color: #d8b15f;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ml-portal-hero h2 {
  margin: 0 0 0.2em 0;
  padding: 0;
  border: 0;
  color: #fffaf0;
  font-size: 2.45rem;
  line-height: 1.08;
}

.ml-portal-hero__lede {
  max-width: 760px;
  color: #e9dfcf;
  font-size: 1.07rem;
  line-height: 1.58;
}

.ml-portal-hero__actions {
  margin-top: 1rem;
  line-height: 2.2;
}

.ml-portal-action {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.28rem 0.75rem;
  border: 1px solid #d8b15f;
  color: #f8e6b5;
  background: rgba(216, 177, 95, 0.08);
}

.ml-quicklinks,
.ml-topic-grid,
.ml-entry-grid,
.ml-index-block {
  max-width: 1180px;
  margin: 0 auto 1rem auto;
}

.ml-section-title {
  max-width: 1180px;
  margin: 0 auto 0.55rem auto;
  color: #1f2c2c;
  font-size: 1.35rem;
  font-weight: 700;
}

.ml-quicklinks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.ml-quicklink {
  padding: 0.85rem 0.95rem;
  border: 1px solid #cdb893;
  border-left: 5px solid #9a5a24;
  background: linear-gradient(135deg, #fff7e6 0%, #f8efe0 100%);
  box-shadow: 0 8px 18px rgba(55, 37, 18, 0.07);
}

.ml-quicklink:nth-child(2) {
  border-left-color: #27665d;
  background: linear-gradient(135deg, #eef8f5 0%, #f8fbf8 100%);
}

.ml-quicklink:nth-child(3) {
  border-left-color: #2f6884;
  background: linear-gradient(135deg, #edf6fb 0%, #f8fbfd 100%);
}

.ml-quicklink:nth-child(4) {
  border-left-color: #8b6a1d;
  background: linear-gradient(135deg, #fff5d8 0%, #f9f3e7 100%);
}

.ml-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.85rem;
}

.ml-topic-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--ml-card-line, var(--ml-line));
  border-top: 7px solid var(--ml-card-accent, var(--ml-accent));
  border-radius: 0 0 var(--ml-radius) var(--ml-radius);
  background:
    linear-gradient(160deg, var(--ml-card-bg, #fffaf4) 0%, var(--ml-card-bg-2, #f8f2e8) 100%);
  box-shadow: 0 14px 30px rgba(43, 30, 18, 0.1);
  line-height: 1.55;
}

.ml-topic-card h3 {
  margin: 0 0 0.35rem 0;
  padding: 0;
  border: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.ml-topic-card h3 a {
  color: var(--ml-card-heading, #733b24);
}

.ml-topic-card--wesen {
  --ml-card-accent: #9a4f24;
  --ml-card-heading: #7a351f;
  --ml-card-line: #d1aa83;
  --ml-card-bg: #fff2df;
  --ml-card-bg-2: #f8e8d1;
}

.ml-topic-card--okkult {
  --ml-card-accent: #246a60;
  --ml-card-heading: #1e574e;
  --ml-card-line: #96beb6;
  --ml-card-bg: #edf9f5;
  --ml-card-bg-2: #dff0eb;
}

.ml-topic-card--paranormal {
  --ml-card-accent: #2e6f8d;
  --ml-card-heading: #245a74;
  --ml-card-line: #9fc3d1;
  --ml-card-bg: #eef8fd;
  --ml-card-bg-2: #dfeff6;
}

.ml-topic-card--ufo {
  --ml-card-accent: #9a761f;
  --ml-card-heading: #745714;
  --ml-card-line: #d1bd77;
  --ml-card-bg: #fff6d7;
  --ml-card-bg-2: #f4e7b6;
}

.ml-topic-card--modern {
  --ml-card-accent: #9b3f43;
  --ml-card-heading: #783036;
  --ml-card-line: #d3a0a1;
  --ml-card-bg: #fff0ef;
  --ml-card-bg-2: #f6dfdd;
}

.ml-topic-card--history {
  --ml-card-accent: #8b4b2f;
  --ml-card-heading: #6f3725;
  --ml-card-line: #c9a08b;
  --ml-card-bg: #fff1e8;
  --ml-card-bg-2: #f4dfd2;
}

.ml-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.ml-entry-card {
  padding: 0.9rem 1rem;
  border: 1px solid #d2b88e;
  border-left: 5px solid #965322;
  background: linear-gradient(135deg, #fff8ec 0%, #f7ecd9 100%);
  box-shadow: 0 10px 22px rgba(44, 38, 30, 0.08);
  line-height: 1.55;
}

.ml-entry-card:nth-child(2n) {
  border-left-color: #2c6b62;
  background: linear-gradient(135deg, #eff9f6 0%, #e5f1ed 100%);
}

.ml-entry-card:nth-child(3n) {
  border-left-color: #326f89;
  background: linear-gradient(135deg, #edf7fc 0%, #e2eef5 100%);
}

.ml-entry-card:nth-child(4n) {
  border-left-color: #8c6b1d;
  background: linear-gradient(135deg, #fff5d6 0%, #f3e5b5 100%);
}

.ml-entry-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #273332;
}

.ml-entry-card em {
  display: block;
  margin-bottom: 0.35rem;
  color: #4f5966;
  font-size: 0.92rem;
  font-style: normal;
}

.ml-redaction-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  border: 1px solid #d7dbe3;
  background: #fbfcfd;
  line-height: 1.55;
}

table.ml-category-panel {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 0.65rem auto;
  border: 1px solid var(--ml-category-line, #d5d8da);
  border-collapse: collapse;
  background: var(--ml-category-body-bg, #fbfcfd);
  box-shadow: 0 8px 18px rgba(41, 33, 24, 0.05);
}

table.ml-category-panel--final {
  margin-bottom: 1rem;
}

table.ml-category-panel th {
  padding: 0.8rem 1rem;
  background:
    linear-gradient(135deg, var(--ml-category-head-bg, #f2eadf) 0%, var(--ml-category-head-bg-2, #e4d7c6) 100%);
  box-shadow: inset 7px 0 0 var(--ml-category-accent, #7b5631);
  color: var(--ml-category-head-ink, #2f2a24);
  font-size: 1.04rem;
  text-align: left;
}

table.ml-category-panel th a {
  color: var(--ml-category-head-ink, #2f2a24) !important;
  text-decoration-color: rgba(47, 42, 36, 0.36);
}

table.ml-category-panel .mw-collapsible-toggle,
table.ml-category-panel .mw-collapsible-toggle a {
  color: var(--ml-category-head-ink, #2f2a24) !important;
  text-decoration-color: rgba(47, 42, 36, 0.42);
}

.mw-parser-output .mw-collapsible-toggle,
.mw-parser-output .mw-collapsible-toggle a,
.mw-parser-output .mw-collapsible-toggle a:link,
.mw-parser-output .mw-collapsible-toggle a:visited,
.mw-parser-output .mw-collapsible-toggle .mw-collapsible-text {
  color: #3b3026 !important;
  font-weight: 700;
  text-decoration-color: rgba(59, 48, 38, 0.38);
}

table.ml-category-panel td {
  padding: 0.85rem 1rem;
  line-height: 1.65;
}

table.ml-category-panel--myth {
  --ml-category-accent: #7b5631;
  --ml-category-head-bg: #f4eadc;
  --ml-category-head-bg-2: #e5d5bd;
  --ml-category-head-ink: #3c2a1c;
  --ml-category-line: #c9aa83;
  --ml-category-body-bg: #fff7e9;
}

table.ml-category-panel--wesen {
  --ml-category-accent: #8f4c24;
  --ml-category-head-bg: #f8ead9;
  --ml-category-head-bg-2: #ebd0b5;
  --ml-category-head-ink: #4b2a18;
  --ml-category-line: #d2aa7f;
  --ml-category-body-bg: #fff3df;
}

table.ml-category-panel--okkult {
  --ml-category-accent: #2b6b61;
  --ml-category-head-bg: #e6f4f0;
  --ml-category-head-bg-2: #cfe5df;
  --ml-category-head-ink: #1f463f;
  --ml-category-line: #8fb9b1;
  --ml-category-body-bg: #eff9f5;
}

table.ml-category-panel--paranormal {
  --ml-category-accent: #2e718d;
  --ml-category-head-bg: #e5f2f8;
  --ml-category-head-bg-2: #cde3ee;
  --ml-category-head-ink: #244d61;
  --ml-category-line: #96c0d0;
  --ml-category-body-bg: #edf8fd;
}

table.ml-category-panel--ufo {
  --ml-category-accent: #9a761f;
  --ml-category-head-bg: #f8efd0;
  --ml-category-head-bg-2: #eadba6;
  --ml-category-head-ink: #4f3f15;
  --ml-category-line: #d1bd77;
  --ml-category-body-bg: #fff6d8;
}

table.ml-category-panel--modern {
  --ml-category-accent: #944247;
  --ml-category-head-bg: #f8e4e3;
  --ml-category-head-bg-2: #ebcccd;
  --ml-category-head-ink: #5a2930;
  --ml-category-line: #d0a0a3;
  --ml-category-body-bg: #fff0ef;
}

table.ml-category-panel--history {
  --ml-category-accent: #8b4b2f;
  --ml-category-head-bg: #f6e7dc;
  --ml-category-head-bg-2: #e7cdbd;
  --ml-category-head-ink: #4b2b1f;
  --ml-category-line: #c9a08b;
  --ml-category-body-bg: #fff1e8;
}

@media (max-width: 900px) {
  .mw-parser-output p,
  .mw-parser-output ul,
  .mw-parser-output ol,
  .mw-parser-output blockquote {
    max-width: none;
  }

  table.ml-infobox {
    float: none !important;
    margin: 1em auto !important;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .toc {
    font-size: 0.92em;
  }

  .ml-portal-hero__inner {
    display: block;
    padding: 1.1rem;
  }

  .ml-portal-hero__logo {
    margin-bottom: 0.8rem;
  }

  .ml-portal-hero h2 {
    font-size: 1.9rem;
  }

  .ml-topic-card {
    padding: 0.9rem 0.95rem;
  }

  .ml-entry-card {
    padding: 0.85rem 0.9rem;
  }

  .firstHeading,
  .mw-first-heading {
    font-size: 1.8rem;
  }
}