MediaWiki:Centralnotice-template-Leichte Sprache Banner iPad: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 4: Zeile 4:
<br>
<br>


-----
<!-- For guidance or help with this banner, contact Seddon (WMF) -->
<!-- This banners is set up to run to loggedin users only -->
<style>


@font-face {
----------
  font-family: 'Montserrat';
 
  font-style: normal;
  src: local('Montserrat'), local('Montserrat'), url(https://upload.wikimedia.org/wikipedia/donate/c/cd/Montserrat.woff2) format('woff2');}
 
/* Main banner container. Banner: background, border colour and width and adding a margin between banner and article header*/
.wlm-banner {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #9E0101;
    border-radius: 2px;
    margin-bottom: 1em;
    cursor: pointer;
    color: #222;
    font-weight: 500;
}
 
/* Sets the minimum banner height. If img + logo-container margins > height. Banner will be larger*/
#cnotice-main {
    display: table;
    width: 100%;
    height: 80px; /* need to set height for height 100% to work on elements within it */
}
 
/*MOBILE - Adjust mobile height of banner*/
body.skin-minerva #cnotice-main {
    height: 100px;
}
 
/*IMPORTANT - don't touch*/
.cnotice-message-container,
.cnotice-logo-container,
.cnotice-misc-container {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}
 
/* --- Main message --- */
.cnotice-message {
    position: relative;
    margin: 0;
    line-height: 1.2;
    padding: 5px 5px 5px 5px;
}
 
@media (min-width: 1200px) {
    .cnotice-message {
        padding: 15px 0px 11px 30px;
    }
}
 
body.rtl .cnotice-message {
    padding: 5px 5px 5px 5px;
}
 
.cnotice-message p {
    margin: 0;
    color: #222;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 100%;
    opacity: 1;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
 
@media (min-width: 1200px) {
    .cnotice-message p { font-size: 120%; }
}
 
 
/* --- Logo Image text --- *
5.661

Bearbeitungen