MediaWiki:Common.css

Aus WIPs-De Datenwiki
Version vom 20. Juni 2024, 08:55 Uhr von AndreasPlank (Diskussion | Beiträge) (.Literaturverzeichnis p:target background-color:aliceblue;)

Hinweis: Leeren Sie nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.

  • Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
  • Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
  • Internet Explorer / Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
  • Opera: Gehen Sie zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* 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: 0.2em;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;
}
table.steckbrief-verantwortungsart-wips-de th.Literaturangaben {
    page-break-before:always;
}
.Literaturverzeichnis p:target,
.Literaturverzeichnis div:target {
    background-color:aliceblue;
}

/* mittige Bilder siehe [[MediaWiki:Print.css]] */

.zweispaltig { column-count: 2; }
.dreispaltig { column-count: 3; }

.bildhoehe-hoechstens-30px img, img.bildhoehe-hoechstens-30px
  { height:30px; width:auto; }
.bildhoehe-hoechstens-40px img, img.bildhoehe-hoechstens-40px
  { height:40px; width:auto; }
.bildhoehe-hoechstens-50px img, img.bildhoehe-hoechstens-50px
  { height:50px; width:auto; }
.bildhoehe-hoechstens-60px img, img.bildhoehe-hoechstens-60px
  { height:60px; width:auto; }
.bildhoehe-hoechstens-70px img, img.bildhoehe-hoechstens-70px
  { height:70px; width:auto; }
.bildhoehe-hoechstens-80px img, img.bildhoehe-hoechstens-80px
  { height:80px; width:auto; }
.bildhoehe-hoechstens-90px img, img.bildhoehe-hoechstens-90px
  { height:90px; width:auto; }
.bildhoehe-hoechstens-100px img, img.bildhoehe-hoechstens-100px
  { height:100px; width:auto; }
.bildhoehe-hoechstens-110px img, img.bildhoehe-hoechstens-110px
  { height:110px; width:auto; }
.bildhoehe-hoechstens-120px img, img.bildhoehe-hoechstens-120px
  { height:120px; width:auto; }
.bildhoehe-hoechstens-130px img, img.bildhoehe-hoechstens-130px
  { height:130px; width:auto; }
.bildhoehe-hoechstens-140px img, img.bildhoehe-hoechstens-140px
  { height:140px; width:auto; }
.bildhoehe-hoechstens-150px img, img.bildhoehe-hoechstens-150px
  { height:150px; width:auto; }
.bildhoehe-hoechstens-160px img, img.bildhoehe-hoechstens-160px
  { height:160px; width:auto; }
.bildhoehe-hoechstens-170px img, img.bildhoehe-hoechstens-170px
  { height:170px; width:auto; }
.bildhoehe-hoechstens-180px img, img.bildhoehe-hoechstens-180px
  { height:180px; width:auto; }
.bildhoehe-hoechstens-190px img, img.bildhoehe-hoechstens-190px
  { height:190px; width:auto; }
.bildhoehe-hoechstens-200px img, img.bildhoehe-hoechstens-200px
  { height:200px; width:auto; }
.bildhoehe-hoechstens-210px img, img.bildhoehe-hoechstens-210px
  { height:210px; width:auto; }
.bildhoehe-hoechstens-220px img, img.bildhoehe-hoechstens-220px
  { height:220px; width:auto; }
.bildhoehe-hoechstens-230px img, img.bildhoehe-hoechstens-230px
  { height:230px; width:auto; }
.bildhoehe-hoechstens-240px img, img.bildhoehe-hoechstens-240px
  { height:240px; width:auto; }
.bildhoehe-hoechstens-250px img, img.bildhoehe-hoechstens-250px
  { height:250px; width:auto; }
.bildhoehe-hoechstens-260px img, img.bildhoehe-hoechstens-260px
  { height:260px; width:auto; }
.bildhoehe-hoechstens-270px img, img.bildhoehe-hoechstens-270px
  { height:270px; width:auto; }
.bildhoehe-hoechstens-280px img, img.bildhoehe-hoechstens-280px
  { height:280px; width:auto; }
.bildhoehe-hoechstens-290px img, img.bildhoehe-hoechstens-290px
  { height:290px; width:auto; }
.bildhoehe-hoechstens-300px img, img.bildhoehe-hoechstens-300px
  { height:300px; width:auto; }
.bildhoehe-hoechstens-310px img, img.bildhoehe-hoechstens-310px
  { height:310px; width:auto; }
.bildhoehe-hoechstens-320px img, img.bildhoehe-hoechstens-320px
  { height:320px; width:auto; }
.bildhoehe-hoechstens-330px img, img.bildhoehe-hoechstens-330px
  { height:330px; width:auto; }
.bildhoehe-hoechstens-340px img, img.bildhoehe-hoechstens-340px
  { height:340px; width:auto; }
.bildhoehe-hoechstens-350px img, img.bildhoehe-hoechstens-350px
  { height:350px; width:auto; }
.bildhoehe-hoechstens-360px img, img.bildhoehe-hoechstens-360px
  { height:360px; width:auto; }
.bildhoehe-hoechstens-370px img, img.bildhoehe-hoechstens-370px
  { height:370px; width:auto; }
.bildhoehe-hoechstens-380px img, img.bildhoehe-hoechstens-380px
  { height:380px; width:auto; }
.bildhoehe-hoechstens-390px img, img.bildhoehe-hoechstens-390px
  { height:390px; width:auto; }
.bildhoehe-hoechstens-400px img, img.bildhoehe-hoechstens-400px
  { height:400px; width:auto; }
.bildhoehe-hoechstens-410px img, img.bildhoehe-hoechstens-410px
  { height:410px; width:auto; }
.bildhoehe-hoechstens-420px img, img.bildhoehe-hoechstens-420px
  { height:420px; width:auto; }
.bildhoehe-hoechstens-430px img, img.bildhoehe-hoechstens-430px
  { height:430px; width:auto; }
.bildhoehe-hoechstens-440px img, img.bildhoehe-hoechstens-440px
  { height:440px; width:auto; }
.bildhoehe-hoechstens-450px img, img.bildhoehe-hoechstens-450px
  { height:450px; width:auto; }
.bildhoehe-hoechstens-460px img, img.bildhoehe-hoechstens-460px
  { height:460px; width:auto; }
.bildhoehe-hoechstens-470px img, img.bildhoehe-hoechstens-470px
  { height:470px; width:auto; }
.bildhoehe-hoechstens-480px img, img.bildhoehe-hoechstens-480px
  { height:480px; width:auto; }
.bildhoehe-hoechstens-490px img, img.bildhoehe-hoechstens-490px
  { height:490px; width:auto; }
.bildhoehe-hoechstens-500px img, img.bildhoehe-hoechstens-500px
  { height:500px; width:auto; }

.mw-body-content a > img.bildhoehe-hoechstens-400px,
.mw-body-content .floatnone > img.bildhoehe-hoechstens-400px,
.mw-body-content table a > img.bildhoehe-hoechstens-400px,
.mw-body-content table .floatnone > img.bildhoehe-hoechstens-400px,
.mw-body-content .bildhoehe-hoechstens-400px a > img,
.mw-body-content .bildhoehe-hoechstens-400px .floatnone > img,
.mw-body-content table .bildhoehe-hoechstens-400px a > img,
.mw-body-content table .bildhoehe-hoechstens-400px .floatnone > img
  { height:400px !important; width: auto; }

.mw-body-content a > img.bildhoehe-hoechstens-450px,
.mw-body-content .floatnone > img.bildhoehe-hoechstens-450px,
.mw-body-content table a > img.bildhoehe-hoechstens-450px,
.mw-body-content table .floatnone > img.bildhoehe-hoechstens-450px,
.mw-body-content .bildhoehe-hoechstens-450px a > img,
.mw-body-content .bildhoehe-hoechstens-450px .floatnone > img,
.mw-body-content table .bildhoehe-hoechstens-450px a > img,
.mw-body-content table .bildhoehe-hoechstens-450px .floatnone > img
  { height:450px !important;width: auto; }

.mw-body-content a > img.bildhoehe-hoechstens-500px,
.mw-body-content .floatnone > img.bildhoehe-hoechstens-500px,
.mw-body-content table a > img.bildhoehe-hoechstens-500px,
.mw-body-content table .floatnone > img.bildhoehe-hoechstens-500px,
.mw-body-content .bildhoehe-hoechstens-500px a > img,
.mw-body-content .bildhoehe-hoechstens-500px .floatnone > img,
.mw-body-content table .bildhoehe-hoechstens-500px a > img,
.mw-body-content table .bildhoehe-hoechstens-500px .floatnone > img
  { height:500px !important; width: auto; }

.mw-body-content a > img.bildhoehe-hoechstens-550px,
.mw-body-content .floatnone > img.bildhoehe-hoechstens-550px,
.mw-body-content table a > img.bildhoehe-hoechstens-550px,
.mw-body-content table .floatnone > img.bildhoehe-hoechstens-550px,
.mw-body-content .bildhoehe-hoechstens-550px a > img,
.mw-body-content .bildhoehe-hoechstens-550px .floatnone > img,
.mw-body-content table .bildhoehe-hoechstens-550px a > img,
.mw-body-content table .bildhoehe-hoechstens-550px .floatnone > img
  { height:550px !important; width: auto; }

.mw-body-content a > img.bildhoehe-hoechstens-600px,
.mw-body-content .floatnone > img.bildhoehe-hoechstens-600px,
.mw-body-content table a > img.bildhoehe-hoechstens-600px,
.mw-body-content table .floatnone > img.bildhoehe-hoechstens-600px,
.mw-body-content .bildhoehe-hoechstens-600px a > img,
.mw-body-content .bildhoehe-hoechstens-600px .floatnone > img,
.mw-body-content table .bildhoehe-hoechstens-600px a > img,
.mw-body-content table .bildhoehe-hoechstens-600px .floatnone > img
  { height:600px !important; width: auto; }

/* Für Artensteckbriefe Ende */