|
|
| (39 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| /*----------------------------------------- Card Design START --------------------------------------*/
| |
|
| |
|
| /* ===============================
| |
| Dark / Elegant Card Style
| |
| =============================== */
| |
| .wiki-card {
| |
| background-color: #1f1f1f; /* dunkles Grau-Schwarz */
| |
| border-radius: 12px;
| |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* tiefer Schatten */
| |
| padding: 1.2em 1em;
| |
| margin: 1em 0;
| |
| border: 1px solid #333; /* dezente Umrandung */
| |
| font-family: "Inter", "Segoe UI", sans-serif;
| |
| color: #eee; /* heller Text */
| |
| transition: transform 0.2s, box-shadow 0.2s;
| |
| }
| |
|
| |
|
| .wiki-card:hover {
| |
| transform: translateY(-3px);
| |
| box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
| |
| }
| |
|
| |
|
| /* Titel */
| |
| .wiki-card h3 {
| |
| margin-top: 0;
| |
| font-size: 1.25em;
| |
| font-weight: 600;
| |
| color: #ffd966; /* dezenter goldener Akzent für Titel */
| |
| }
| |
|
| |
|
| /* Beschreibung */
| |
| .wiki-card p {
| |
| margin: 0.5em 0 1em 0;
| |
| color: #ccc;
| |
| font-size: 0.95em;
| |
| }
| |
|
| |
|
| /* Content (Liste etc.) */
| |
| .wiki-card div {
| |
| color: #ddd;
| |
| font-size: 0.9em;
| |
| }
| |
|
| |
|
| /* Optional: Links in Card */
| |
| .wiki-card a {
| |
| color: #ffd966;
| |
| text-decoration: none;
| |
| transition: color 0.2s;
| |
| }
| |
|
| |
| .wiki-card a:hover {
| |
| color: #ffcc00;
| |
| text-decoration: underline;
| |
| }
| |
|
| |
|
|
| |
|
| /*----------------------------------------- Container ENDE --------------------------------------*/
| |
| /*----------------------------------------- Item Weapon Template START --------------------------------------*/
| |
|
| |
|
| .upgrade-table {
| | /*----------------------------------------- MediaWiki Base Change --------------------------------------*/ |
| display: flex;
| | /* Aggressiveres Override für alle Container */ |
| flex-direction: column;
| | .mw-parser-output, |
| gap: 0.3em;
| | .mw-body, |
| font-family: "Inter", sans-serif;
| | .mw-body-content, |
| color: #eee;
| | #bodyContent { |
| background: #1e1e1e; | | background-color: #0a0a0a !important; |
| padding: 0.5em;
| |
| border-radius: 8px;
| |
| border: 1px solid #333;
| |
| } | | } |
|
| |
|
| .upgrade-row { | | /* Entferne alle weißen Hintergründe */ |
| display: flex; | | .mainpage-container * { |
| gap: 0.3em;
| | background-color: transparent; |
| } | | } |
|
| |
|
| .upgrade-cell {
| | /* Entferne alle Borders von Container-Elementen */ |
| flex: 1;
| | .mainpage-container, |
| text-align: center;
| | .mainpage-content, |
| padding: 0.3em;
| | .mainpage-sidebar, |
| border: 1px solid #444;
| | .content-section { |
| border-radius: 6px;
| |
| background: #2a2a2a;
| |
| font-size: 0.85em;
| |
| }
| |
| | |
| .upgrade-row.upgrade-header .upgrade-cell {
| |
| font-weight: bold;
| |
| background: #1b1b1b;
| |
| }
| |
| | |
| .upgrade-cell img { | |
| width: 32px;
| |
| height: 32px;
| |
| image-rendering: pixelated; /* Pixel-Art bleibt scharf */
| |
| margin: 0 auto;
| |
| }
| |
| | |
| | |
| /*----------------------------------------- Item Weapon Template ENDE --------------------------------------*/
| |
| /*----------------------------------------- Grid Container START --------------------------------------*/
| |
| .gridbox pre {
| |
| background: none !important;
| |
| border: none !important; | | border: none !important; |
| padding: 0 !important;
| |
| margin: 0 auto 0.5em auto !important;
| |
| overflow: visible; /* kein Scroll */
| |
| }
| |
|
| |
| .grid-container {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: 1.2em;
| |
| justify-content: center;
| |
| margin: 1em 0;
| |
| } | | } |
|
| |
|
| /* Einzelne Box */
| | .sidebar-panel, |
| .gridbox { | | .landing-container, |
| width: 220px;
| | .npc-grid-container { |
| background-color: #1e1e1e; /* Box-Hintergrund */ | | background-color: #0a0a0a; |
| border: 1px solid #444; /* Box-Rand */ | | border: none !important; /* Keine Borders mehr */ |
| border-radius: 10px;
| |
| padding: 1em; | | padding: 1em; |
| text-align: center;
| |
| color: #eee;
| |
| transition: transform 0.2s ease, box-shadow 0.2s ease;
| |
| }
| |
|
| |
| /* Hover Effekt */
| |
| .gridbox:hover {
| |
| transform: translateY(-4px);
| |
| box-shadow: 0 6px 16px rgba(0,0,0,0.6);
| |
| } | | } |
|
| |
| /* Alle MediaWiki-Thumbnails innerhalb von GridBox „clean“ */
| |
| .gridbox .thumb {
| |
| background: none !important;
| |
| border: none !important;
| |
| padding: 0 !important;
| |
| box-shadow: none !important;
| |
| width: auto !important; /* damit die Box nicht den Hintergrund zieht */
| |
| }
| |
|
| |
| .gridbox .thumbinner {
| |
| background: none !important;
| |
| border: none !important;
| |
| padding: 0 !important;
| |
| box-shadow: none !important;
| |
| }
| |
|
| |
| /* Bilder in GridBox scharf für Pixel-Art */
| |
| .gridbox img {
| |
| width: 120px; /* gewünschte Box-Größe */
| |
| height: 120px;
| |
| image-rendering: pixelated; /* Pixel-Art wird scharf skaliert */
| |
| image-rendering: crisp-edges; /* alternative für manche Browser */
| |
| display: block;
| |
| margin: 0 auto 0.5em auto; /* zentrieren */
| |
| border: none;
| |
| background: none;
| |
| box-shadow: none;
| |
| }
| |
|
| |
|
| |
| /* Titel */
| |
| .gridbox-title {
| |
| font-size: 1.1em;
| |
| font-weight: bold;
| |
| margin-top: 0.6em;
| |
| }
| |
|
| |
| /* Beschreibung */
| |
| .gridbox-desc {
| |
| font-size: 0.9em;
| |
| color: #bbb;
| |
| margin-top: 0.4em;
| |
| }
| |
|
| |
|
| |
| /*----------------------------------------- Grid Container END --------------------------------------*/
| |
/*----------------------------------------- MediaWiki Base Change --------------------------------------*/
/* Aggressiveres Override für alle Container */
.mw-parser-output,
.mw-body,
.mw-body-content,
#bodyContent {
background-color: #0a0a0a !important;
}
/* Entferne alle weißen Hintergründe */
.mainpage-container * {
background-color: transparent;
}
/* Entferne alle Borders von Container-Elementen */
.mainpage-container,
.mainpage-content,
.mainpage-sidebar,
.content-section {
border: none !important;
}
.sidebar-panel,
.landing-container,
.npc-grid-container {
background-color: #0a0a0a;
border: none !important; /* Keine Borders mehr */
padding: 1em;
}