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 120: | Zeile 120: | ||
background-color: #e0e0e0; | background-color: #e0e0e0; | ||
border-bottom: 1px solid #dddddd; | border-bottom: 1px solid #dddddd; | ||
} | |||
/* Navigationsleiste Kampagnen CSS */ | |||
/* Allgemeine Navigationsleiste-Stile */ | |||
div.NavFrame { | |||
font-size: 90%; | |||
border: 1px solid #aaa; | |||
width: 22em; | |||
margin: 0 auto; | |||
} | |||
div.NavHead { | |||
font-size: 120%; | |||
background: #ccc; | |||
padding: 2px; | |||
text-align: center; | |||
} | |||
div.NavContent { | |||
border-top: 1px solid #aaa; | |||
padding: 0px 4px; | |||
} | |||
div.NavContent div { | |||
margin: 0 0 0.4em 0; | |||
text-align: left; | |||
} | |||
/* Links in der Navigationsleiste */ | |||
.NavFrame a, | |||
.NavFrame a:visited { | |||
text-decoration: none; | |||
color: #0645ad; | |||
} | |||
.NavFrame a:hover { | |||
text-decoration: underline; | |||
} | |||
.NavFrame .NavContent a:hover { | |||
text-decoration: underline; | |||
} | |||
/* Farbschema für die Navigationsleiste */ | |||
.NavFrame { | |||
background-color: #f9f9f9; | |||
} | |||
div.NavHead, | |||
.NavFrame .NavContent div { | |||
background-color: #e0e0e0; | |||
} | |||
.NavFrame a, | |||
.NavFrame a:visited { | |||
color: #0645ad; | |||
} | |||
.NavFrame a:hover, | |||
.NavFrame .NavContent a:hover { | |||
color: #0645ad; | |||
} | } | ||
Version vom 19. November 2023, 12:34 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;
}
/* Navigationsleiste Kampagnen CSS */
/* Allgemeine Navigationsleiste-Stile */
div.NavFrame {
font-size: 90%;
border: 1px solid #aaa;
width: 22em;
margin: 0 auto;
}
div.NavHead {
font-size: 120%;
background: #ccc;
padding: 2px;
text-align: center;
}
div.NavContent {
border-top: 1px solid #aaa;
padding: 0px 4px;
}
div.NavContent div {
margin: 0 0 0.4em 0;
text-align: left;
}
/* Links in der Navigationsleiste */
.NavFrame a,
.NavFrame a:visited {
text-decoration: none;
color: #0645ad;
}
.NavFrame a:hover {
text-decoration: underline;
}
.NavFrame .NavContent a:hover {
text-decoration: underline;
}
/* Farbschema für die Navigationsleiste */
.NavFrame {
background-color: #f9f9f9;
}
div.NavHead,
.NavFrame .NavContent div {
background-color: #e0e0e0;
}
.NavFrame a,
.NavFrame a:visited {
color: #0645ad;
}
.NavFrame a:hover,
.NavFrame .NavContent a:hover {
color: #0645ad;
}