MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Kvm (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
Kvm (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 120: | Zeile 120: | ||
background-color: #e0e0e0; | background-color: #e0e0e0; | ||
border-bottom: 1px solid #dddddd; | border-bottom: 1px solid #dddddd; | ||
} | |||
/* CSS für die Dungeons & Dragons Navigationsleiste */ | |||
.dnd-navbox { | |||
background-color: #f9f9f9; | |||
border: 1px solid #aaa; | |||
padding: 10px; | |||
width: 300px; | |||
margin: 20px auto; | |||
} | |||
.dnd-navbox td { | |||
vertical-align: top; | |||
text-align: left; | |||
padding: 5px; | |||
} | |||
.dnd-navbox a { | |||
text-decoration: none; | |||
color: #0645ad; | |||
} | |||
.dnd-navbox a:hover { | |||
text-decoration: underline; | |||
color: #0645ad; | |||
} | } | ||
Version vom 19. November 2023, 12:49 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-kampagnen {
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-kampagnen 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;
}
/* CSS für die Dungeons & Dragons Navigationsleiste */
.dnd-navbox {
background-color: #f9f9f9;
border: 1px solid #aaa;
padding: 10px;
width: 300px;
margin: 20px auto;
}
.dnd-navbox td {
vertical-align: top;
text-align: left;
padding: 5px;
}
.dnd-navbox a {
text-decoration: none;
color: #0645ad;
}
.dnd-navbox a:hover {
text-decoration: underline;
color: #0645ad;
}