MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Kvm (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Kvm (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 101: | Zeile 101: | ||
background-color: #e0e0e0; | background-color: #e0e0e0; | ||
border-bottom: 1px solid #dddddd; | border-bottom: 1px solid #dddddd; | ||
} | |||
td p { | |||
margin: 0; | |||
} | } | ||
Version vom 17. November 2023, 23:35 Uhr
/* Stile für die rechtsbündige Infobox */
.infobox {
float: right;
margin-left: 20px;
border: 1px solid #aaa;
padding: 10px;
width: 400px; /* Passe die Breite nach Bedarf an */
}
/* Stil für die erste Spalte mit Grau hinterlegt */
.infobox th {
background-color: #f0f0f0; /* Leichtes Grau, ändere dies nach Bedarf */
text-align: left;
padding: 5px;
max-width: 200px; /* Beispielwert, ändere dies nach Bedarf oder entferne es für dynamische Breite */
overflow: hidden;
white-space: nowrap;
}
/* Stile für die rechtsbündige Infobox */
.infobox-abenteuer {
float: right;
margin-left: 20px;
border: 1px solid #aaa;
padding: 10px;
width: 400px; /* Passe die Breite nach Bedarf an */
}
/* Stil für die erste Spalte mit Grau hinterlegt */
.infobox-abenteuer th {
background-color: #f0f0f0; /* Leichtes Grau, ändere dies nach Bedarf */
text-align: left;
padding: 5px;
max-width: 200px; /* Beispielwert, ändere dies nach Bedarf oder entferne es für dynamische Breite */
overflow: hidden;
white-space: nowrap;
}
/* Stile für die rechtsbündige Infobox */
.infobox-nsc {
float: right;
margin-left: 20px;
border: 1px solid #aaa;
padding: 10px;
width: 400px; /* Passe die Breite nach Bedarf an */
}
/* Stil für die erste Spalte mit Grau hinterlegt */
.infobox-nsc th {
background-color: #f0f0f0; /* Leichtes Grau, ändere dies nach Bedarf */
text-align: left;
padding: 5px;
max-width: 100px; /* Beispielwert, ändere dies nach Bedarf oder entferne es für dynamische Breite */
overflow: hidden;
white-space: nowrap;
}
/* Stil für die Spielercharaktere, jeder Name in einer Zeile */
.infobox-abenteuer .sc {
white-space: pre-line;
}
/* Stil für die Spielercharaktere, jeder Name in einer Zeile */
.infobox-abenteuer .nsc {
white-space: pre-line;
}
/* Ändere die Größe von Bildern in Artikeln */
.mw-parser-output img {
max-width: 200px; /* Die maximale Breite ist 200px des Elternelements */
height: auto; /* Die Höhe wird automatisch beibehalten, um die Proportionen zu wahren */
}
/* Begrenze die Breite aller verlinkten Bilder auf 200px */
a img {
max-width: 200px;
}
/* Stil für alle Nav Boxen */
.navbox {
margin:auto;
width:100%;
text-align:center;
background-color:#f2f2f2;
}
.navbox th, .navbox td {
border: 1px solid #dddddd;
padding: 8px;
}
.navbox th {
background-color:#ffffff;
}
.navbox-title {
font-weight: bold;
font-size: 120%;
text-align: center;
padding: 10px;
background-color: #e0e0e0;
border-bottom: 1px solid #dddddd;
}
td p {
margin: 0;
}