MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Salzburger Kulturlexikon 3.0
Wechseln zu: Navigation, Suche
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 29: Zeile 29:
 
}
 
}
  
/* Collapsible elements. Toggle-link moved to left.
+
/* To make images responsive */
/* Margin around it adjusted. */
+
.res-img img {
 
+
max-width:80%;
.mw-collapsible span.mw-collapsible-toggle {
+
height:auto;
    float:left;
+
}
    margin-left:0;
+
.res-img-95 img {
    margin-right:1em;
+
max-width:95%;
 +
height:auto;
 
}
 
}

Aktuelle Version vom 25. Oktober 2021, 02:51 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
body.page-Hauptseite.action-view h1.firstHeading, body.page-Hauptseite.action-submit h1.firstHeading { display: none; }

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 85%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    margin-bottom: 0;          /* Avoid double margin when nested in dev.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}

/* To make images responsive */
.res-img img {
	max-width:80%;
	height:auto;
}
.res-img-95 img {
	max-width:95%;
	height:auto;
}