MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus WikiToYes
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (24 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 28: | Zeile 28: | ||
opacity: 1; | opacity: 1; | ||
max-height: 400px; | max-height: 400px; | ||
} | |||
/* Spaltenbreite anpassen */ | |||
table.wikitable.lexikon-table > tbody > tr > td:first-child { | |||
width: 35% !important; | |||
min-width: 35% !important; | |||
} | } | ||
| Zeile 73: | Zeile 79: | ||
} | } | ||
/* | /* BOXEN für TEXT | ||
/*Hinweisbox */ | |||
.hinweisbox { | .hinweisbox { | ||
border: | border: 1px solid #ccc; | ||
background-color: # | background-color: #f9f9f9; | ||
padding: 1em; | padding: 2em 0 1em 1em; | ||
margin: 2em | margin:1em; /* margin: 2em 0 2em 2em; oben, rechts, unten, links */ | ||
width: | width: 100%; | ||
font-family: sans-serif !important; /* Stärker durchgesetzt */ | |||
font-size: 1.1em !important; | |||
align-items: center; /* Inhalt vertikal zentriert */ | |||
text-align: center; | |||
color: #000; | |||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 2px 5px rgba(0,0,0,0.1); | box-shadow: 0 2px 5px rgba(0,0,0,0.1); | ||
line-height: 1.6; | line-height: 1.6; | ||
} | |||
/*Lexikonbox */ | |||
.lexikonbox { | |||
display: inline-block; | |||
vertical-align: top; | |||
float: right !important; | |||
width: 300px !important; | |||
margin: 1em 0 0.5em 1em !important; | |||
padding: 1em !important; | |||
background: #f9f9f9 !important; | |||
border: 1px solid #ccc !important; | |||
font-size: 90% !important; | |||
} | |||
/* Schlagworte */ | |||
.tag-list { | |||
margin-top: 0.5em; | |||
margin-bottom: 1em; | |||
} | |||
.tag { | |||
display: inline-block; | |||
background-color: #e0f0ff; | |||
color: #003366; | |||
padding: 0.3em 0.6em; | |||
margin: 0.2em; | |||
font-size: 0.9em; | |||
border-radius: 12px; | |||
border: 1px solid #b3d7ff; | |||
text-decoration: none; | |||
} | } | ||
Aktuelle Version vom 21. Juli 2025, 09:46 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Obere dunkle Navbar bekommt höheren z-index */
nav.bg-dark.navbar-dark {
position: relative;
z-index: 1050;
}
/* Sticky navbar darunter: geringerer z-index */
.sticky-top {
z-index: 1030 !important;
}
/* Stelle sicher, dass Dropdowns der oberen Leiste drüber liegen */
nav.bg-dark.navbar-dark .dropdown-menu {
z-index: 1060 !important;
position: absolute !important;
}
/* Das folgende CSS versteckt den __TOC__ Befehl */
.toc-fade {
opacity: 0;
max-height: 0;
transition: opacity 0.6s ease, max-height 0.6s ease;
overflow: hidden;
}
.toc-fade.shown {
opacity: 1;
max-height: 400px;
}
/* Spaltenbreite anpassen */
table.wikitable.lexikon-table > tbody > tr > td:first-child {
width: 35% !important;
min-width: 35% !important;
}
/*BOOTSTRAP KOMPONENTEN: Accordeon */
.mw-custom-accordion {
border: 1px solid #a2a9b1;
margin-bottom: 15px;
border-radius: 3px;
}
.mw-custom-accordion-header {
background-color: #f8f9fa;
padding: 8px 15px;
cursor: pointer;
font-weight: bold;
}
.mw-custom-accordion-content {
padding: 15px;
display: none;
border-top: 1px solid #a2a9b1;
}
/*Klasse zur Erweiterung auf ganze Bildschirmzeile. class= */
.smw-fullwidth {
width: 100%;
}
/*BOOTSTRAP KOMPONENTEN: Alert */
.mw-custom-alert-info {
background-color: #e8f4fd;
border-color: #36c;
}
.mw-custom-alert-warning {
background-color: #fef6e7;
border-color: #fc3;
}
/*BUCHBOX FORMAT*/
@media (max-width: 768px) {
.col-md-4, .col-md-8 {
width: 100%;
padding-right: 0;
}
.toc-fade {
max-height: 200px !important;
}
}
/* BOXEN für TEXT
/*Hinweisbox */
.hinweisbox {
border: 1px solid #ccc;
background-color: #f9f9f9;
padding: 2em 0 1em 1em;
margin:1em; /* margin: 2em 0 2em 2em; oben, rechts, unten, links */
width: 100%;
font-family: sans-serif !important; /* Stärker durchgesetzt */
font-size: 1.1em !important;
align-items: center; /* Inhalt vertikal zentriert */
text-align: center;
color: #000;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
line-height: 1.6;
}
/*Lexikonbox */
.lexikonbox {
display: inline-block;
vertical-align: top;
float: right !important;
width: 300px !important;
margin: 1em 0 0.5em 1em !important;
padding: 1em !important;
background: #f9f9f9 !important;
border: 1px solid #ccc !important;
font-size: 90% !important;
}
/* Schlagworte */
.tag-list {
margin-top: 0.5em;
margin-bottom: 1em;
}
.tag {
display: inline-block;
background-color: #e0f0ff;
color: #003366;
padding: 0.3em 0.6em;
margin: 0.2em;
font-size: 0.9em;
border-radius: 12px;
border: 1px solid #b3d7ff;
text-decoration: none;
}