MediaWiki:Common.css
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
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* =========================
DOSSIER / AKTE – Layout
========================= */
.dossier {
max-width: 980px;
margin: 1em 0;
border: 1px solid rgba(0,0,0,0.18);
border-radius: 12px;
overflow: hidden;
background: rgba(255,255,255,0.55);
}
/* Header */
.dossier-header {
display: grid;
grid-template-columns: 1fr auto;
gap: 1em;
align-items: center;
padding: 1em 1.1em;
background: rgba(0,0,0,0.03);
border-bottom: 1px solid rgba(0,0,0,0.12);
}
.dossier-kicker {
font-size: 0.85em;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
opacity: 0.65;
margin-bottom: 0.25em;
}
.dossier-name {
font-size: 1.9em;
font-weight: 900;
line-height: 1.05;
}
/* Stempel (Status) */
.dossier-stamp {
padding: 0.45em 0.8em;
border: 2px solid rgba(0,0,0,0.35);
border-radius: 8px;
font-weight: 900;
letter-spacing: 0.06em;
text-transform: uppercase;
opacity: 0.75;
transform: rotate(-3deg);
background: rgba(255,255,255,0.35);
white-space: nowrap;
}
/* Body Layout */
.dossier-body {
display: grid;
grid-template-columns: 320px 1fr;
gap: 1em;
padding: 1em 1.1em;
}
/* Linke Spalte (Bild & Tags) */
.dossier-photo img {
width: 100%;
height: auto;
border-radius: 10px;
border: 1px solid rgba(0,0,0,0.12);
display: block;
background: rgba(0,0,0,0.02);
}
.dossier-tags {
margin-top: 0.9em;
display: flex;
flex-wrap: wrap;
gap: 0.45em;
}
/* Tag-Design */
.tag {
display: inline-flex;
align-items: center;
gap: 0.35em;
padding: 0.28em 0.65em;
border-radius: 999px;
font-size: 0.92em;
white-space: nowrap;
background: rgba(0,0,0,0.04);
border: 1px solid rgba(0,0,0,0.12);
}
.tag a, .tag a:visited {
color: inherit;
text-decoration: none;
}
.tag a:hover {
text-decoration: underline;
}
/* Tag-Farben */
.tag-guild { background-color: rgba(70, 130, 180, 0.12); }
.tag-class { background-color: rgba(178, 34, 34, 0.12); }
.tag-species { background-color: rgba(46, 139, 87, 0.12); }
.tag-location { background-color: rgba(138, 43, 226, 0.10); }
/* Rechte Spalte (Boxen) */
.dossier-section {
border: 1px solid rgba(0,0,0,0.12);
border-radius: 12px;
padding: 0.95em 1em;
background: rgba(255,255,255,0.45);
margin-bottom: 0.9em;
}
.dossier-section-title {
font-weight: 900;
opacity: 0.75;
letter-spacing: 0.06em;
text-transform: uppercase;
margin-bottom: 0.7em;
}
/* Daten-Gitter */
.dossier-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75em;
}
.field {
border: 1px dashed rgba(0,0,0,0.18);
border-radius: 10px;
padding: 0.7em 0.8em;
background: rgba(0,0,0,0.02);
}
.field-label {
font-size: 0.85em;
font-weight: 800;
opacity: 0.7;
margin-bottom: 0.25em;
}
.field-value {
font-size: 1.05em;
font-weight: 800;
}
/* Notiz-Box */
.dossier-note {
border-left: 4px solid rgba(0,0,0,0.18);
padding-left: 0.8em;
line-height: 1.5;
opacity: 0.95;
}
/* Mobile Ansicht */
@media (max-width: 760px) {
.dossier-body {
grid-template-columns: 1fr;
}
.dossier-name {
text-align: center;
}
.dossier-stamp {
justify-self: center;
}
.dossier-tags {
justify-content: center;
}
.dossier-grid {
grid-template-columns: 1fr;
}
}