MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Salzburger Kulturlexikon 3.0
Wechseln zu: Navigation, Suche
 
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 6: Zeile 6:
 
div.reflist,
 
div.reflist,
 
div.refbegin {
 
div.refbegin {
     font-size: 70%;            /* Default font-size */
+
     font-size: 85%;            /* Default font-size */
 
     margin-bottom: 0.5em;
 
     margin-bottom: 0.5em;
 
}
 
}
Zeile 27: Zeile 27:
 
span.brokenref {
 
span.brokenref {
 
     display: none;
 
     display: none;
 +
}
 +
 +
/* To make images responsive */
 +
.res-img img {
 +
max-width:80%;
 +
height:auto;
 +
}
 +
.res-img-95 img {
 +
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;
}