MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Salzburger Kulturlexikon 3.0
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 31: | Zeile 31: | ||
/* To make images responsive */ | /* To make images responsive */ | ||
.res-img img { | .res-img img { | ||
− | max-width: | + | max-width:80%; |
+ | height:auto; | ||
+ | } | ||
+ | .res-img-95 img { | ||
+ | max-width:95%; | ||
height:auto; | 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; }