MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus WIPs-De Datenwiki
K (nur dl:has(dt ~ dd) mit 3 Spalten) |
(CSS Entwurf für table.steckbrief-verantwortungsart-wips-de) |
||
| Zeile 101: | Zeile 101: | ||
margin-top:0px | margin-top:0px | ||
} | } | ||
/* Für Artensteckbriefe Anfang */ | |||
table.steckbrief-verantwortungsart-wips-de { | |||
border-collapse: collapse; | |||
border: 1px solid #D9D9D9; | |||
} | |||
table.steckbrief-verantwortungsart-wips-de th, | |||
table.steckbrief-verantwortungsart-wips-de td { | |||
padding-left:5px; | |||
padding-right:5px; | |||
} | |||
table.steckbrief-verantwortungsart-wips-de th { vertical-align:bottom; } | |||
table.steckbrief-verantwortungsart-wips-de td { | |||
vertical-align:top; | |||
border: 1px solid #D9D9D9;; | |||
} | |||
table.steckbrief-verantwortungsart-wips-de th { | |||
background-color: #C5E0B3; | |||
text-align:left; | |||
} | |||
table.steckbrief-verantwortungsart-wips-de th[colspan='3'], | |||
table.steckbrief-verantwortungsart-wips-de th[colspan='2']{ | |||
background-color: #A8D08D; | |||
font-size:larger; | |||
} | |||
table.steckbrief-verantwortungsart-wips-de .Literaturverzeichnis p { | |||
margin:0px 0px 0px 1.5em; | |||
text-indent:-1.5em; | |||
} | |||
.zweispaltig { column-count: 2; } | |||
.dreispaltig { column-count: 3; } | |||
/* Für Artensteckbriefe Ende */ | |||
Version vom 8. Mai 2024, 17:58 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* mindere die Höhe der Vorschau auf 300 Bildpunkte */
#wikiPreview {
overflow-y:auto;
max-height:300px !important;
border:1px dashed gray;
border-top-style: solid;
border-bottom-style: none;
padding:4px;
box-shadow: 0 0 10px gray;
}
/* inline definitions */
.definition-inline dt,
.definition-inline.italic dt
{ float:left; padding-right:0.5em; margin-bottom: 0px; line-height: 1.6em; margin-top:0em; /* Timeless has .mw-body dt { margin-top: 1em;} */ }
.definition-inline dd,
.definition-inline.italic
{ margin-bottom: 0px;line-height: 1.605em; } /* line-height a bit higher, because dt in bold pushes line-height */
.definition.italic dt,
.definition-inline.italic dt,
.definition-inline.code-bold-only dt
{ font-weight:normal; }
.definition-inline.code-bold-only dt code { font-weight:bold; }
.definition.italic dt,
.definition-inline.italic dt
{font-style: italic;}
.definition.plain dt,
.definition-inline.plain dt
{font-weight:normal;font-style: normal;}
.definition-inline dt,
.definition-inline.italic dt {
clear: left;
}
/* tables having vertical-align:top cells */
table.vertical-align-top td { vertical-align:top;}
/* booktable as in (scientific) books/journals (similar to LaTeX’s package booktable) */
table.booktable, table.booktabledotted {
margin: 1em 1em 1em 0;
background: #ffffff;
border-top: 2px #656463 solid;
border-bottom: 2px #656463 solid;
border-collapse: collapse;
}
.booktabledotted td {
border-bottom: 1px dotted gray;
padding:0.2em;
}
.booktable td {
border: 0px none !important;
padding:0.2em;
}
.booktable tr.line-t td, .booktable tr td.line-t{
border-top: 1px #656463 solid !important;
}
.booktable tr.line-b td, .booktable tr td.line-b{
border-bottom: 1px #656463 solid !important;
}
.booktable tr.line-tb td, .booktable tr td.line-tb{
border-bottom: 1px #656463 solid !important;
border-top: 1px #656463 solid !important;
}
.booktabledotted th, .booktable th {
vertical-align:bottom;
border-bottom:1px solid #656463;
border-top: 1px solid #656463;
border-left:0px;
border-right:0px;
padding: 0.2em;
}
.booktabledotted th, .booktable th {
background: #ffffff;
text-align: center;
}
.booktable caption, .booktabledotted caption {
font-weight: normal;
}
/* seitengenaue Gestaltung Definitionslisten dichter zusammen */
body.rootpage-Intern_Diskussion_Datenfelder_zu_Sammlungsdaten_insgesamt
.mw-parser-output > dl:has(dt ~ dd) {
columns: 3;
border-top:1px dotted gray;
border-bottom:1px dotted gray;
}
body.rootpage-Intern_Diskussion_Datenfelder_zu_Sammlungsdaten_insgesamt
.mw-parser-output > dl:has(dt ~ dd) dd {
break-before: avoid;
}
body.rootpage-Intern_Diskussion_Datenfelder_zu_Sammlungsdaten_insgesamt
.mw-parser-output > dl:has(dt ~ dd) dt:first-of-type {
margin-top:0px
}
/* Für Artensteckbriefe Anfang */
table.steckbrief-verantwortungsart-wips-de {
border-collapse: collapse;
border: 1px solid #D9D9D9;
}
table.steckbrief-verantwortungsart-wips-de th,
table.steckbrief-verantwortungsart-wips-de td {
padding-left:5px;
padding-right:5px;
}
table.steckbrief-verantwortungsart-wips-de th { vertical-align:bottom; }
table.steckbrief-verantwortungsart-wips-de td {
vertical-align:top;
border: 1px solid #D9D9D9;;
}
table.steckbrief-verantwortungsart-wips-de th {
background-color: #C5E0B3;
text-align:left;
}
table.steckbrief-verantwortungsart-wips-de th[colspan='3'],
table.steckbrief-verantwortungsart-wips-de th[colspan='2']{
background-color: #A8D08D;
font-size:larger;
}
table.steckbrief-verantwortungsart-wips-de .Literaturverzeichnis p {
margin:0px 0px 0px 1.5em;
text-indent:-1.5em;
}
.zweispaltig { column-count: 2; }
.dreispaltig { column-count: 3; }
/* Für Artensteckbriefe Ende */