MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Mythenlabor.de
WorkspaceUpload: Linkdarstellung und Startseitenklassen verbessert
WorkspaceUpload: Themenkarten-Klassen fuer Hauptseite ergaenzt
Zeile 303: Zeile 303:
   max-width: 1180px;
   max-width: 1180px;
   margin: 0 auto 1rem auto;
   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;
}
}


Zeile 315: Zeile 323:
   border: 1px solid var(--ml-line);
   border: 1px solid var(--ml-line);
   background: var(--ml-surface);
   background: var(--ml-surface);
}
.ml-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.85rem;
}
}


Zeile 324: Zeile 338:
   background: var(--ml-surface);
   background: var(--ml-surface);
   box-shadow: var(--ml-shadow);
   box-shadow: var(--ml-shadow);
  line-height: 1.55;
}
}


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



Version vom 25. April 2026, 05:27 Uhr

: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: 1.35rem 1.5rem;
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius-lg);
  background: linear-gradient(135deg, #f7efdf 0%, #edf3f3 58%, #f9faf8 100%);
  box-shadow: var(--ml-shadow);
}

.ml-portal-hero h2 {
  margin: 0 0 0.2em 0;
  padding: 0;
  border: 0;
  font-size: 2.1rem;
}

.ml-quicklinks,
.ml-topic-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 var(--ml-line);
  background: var(--ml-surface);
}

.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-line);
  border-top: 5px solid var(--ml-accent);
  border-radius: 0 0 var(--ml-radius) var(--ml-radius);
  background: var(--ml-surface);
  box-shadow: var(--ml-shadow);
  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--wesen {
  border-top-color: var(--ml-myth);
}

.ml-topic-card--okkult {
  border-top-color: var(--ml-occult);
}

.ml-topic-card--paranormal {
  border-top-color: var(--ml-paranormal);
}

.ml-topic-card--ufo {
  border-top-color: var(--ml-ufo);
}

.ml-topic-card--modern {
  border-top-color: var(--ml-modern);
}

.ml-topic-card--history {
  border-top-color: var(--ml-history);
}

@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-topic-card {
    padding: 0.9rem 0.95rem;
  }

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