MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Salzburger Kulturlexikon 3.0
Wechseln zu: Navigation, Suche
(+ res-img)
Zeile 29: Zeile 29:
 
}
 
}
  
/* Images should be responsive */
+
/* To make images responsive */
res-img {
+
.res-img img {
max-width:100%;
+
max-width:100%;
height:auto;
+
height:auto;
 
}
 
}

Version vom 24. Oktober 2021, 23:17 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:100%;
	height:auto;
}