Änderungen

Wechseln zu: Navigation, Suche

MediaWiki:Centralnotice-template-Leichte Sprache Banner iPad

3.244 Bytes hinzugefügt, 16:13, 10. Sep. 2018
keine Bearbeitungszusammenfassung
<style>
#centralNotice.collapsed .cn{{{banner}}}-banner container { position: fixed; z-index: 101; width: 100%; background-color: #ffffff; text-align: center; overflow: hidden; height: 140px; min-width: 320px; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
display: none;
}
.cn{{{banner}}}-banner inner { positioncolor: relative#ff6706; overflowheight: hidden100%; margintext-bottomalign: 1em; border: solid 1px #aaaaaacenter;
}
/* Mobile skin */.{{{banner}}}-title {body font-size: 2.skin0em; display: inline-minerva .cnblock; text-align: left; vertical-banner {align: top; margin-bottomtop: 1em; font-weight: 0bold;
}
.cn{{{banner}}}-image { background-image: url( "//upload.wikimedia.org/wikipedia/commons/1/15/1200-WIKI-Banner-orange-banner aimage.cnpng" ); background-color: #ffffff; background-fullposition: center center; background-bannerrepeat: no-click {repeat; display: inline-block; heightvertical-align: 100%top; width: 100%199px; height: 140px; cursormargin: pointer0 2em;
}
 .cn{{{banner}}}-button { background-color: #ffffff; padding: 2px; display: inline-banner ablock; border: 1px solid #ff6706; border-radius: 5px; vertical-align: top; margin-top:hover {2.4em; text-decorationalign: noneleft;
}
.cn-{{{banner}}}-content button::before { displaycontent: table"→"; boxmargin-sizingleft: border-box0.65em; padding: 8px 30px 8px 8px; widthvertical-align: 100%;
}
body.rtl .cn{{{banner}}}-bannerbutton-content inner { font-weight: bold; background-color: #ffffff; color: #ff6706; padding: 8px 8px 8px 30px0.65em 0.65em 0.65em 0.1em; display: inline-block;
}
.cn-{{{banner}}}-logo img close { vertical-align position: middleabsolute; height right: 90px0.5em; width top: 728px0.5em;
}
@media (min-width: 541px) #{{{ .cnbanner}}}-bannerclose-logo img tracking { height display: 90pxnone; width: 728px; }
}
.cn{{{banner}}}-button-link,.{{{banner}}}-text { fontbutton-sizelink: hover,.9em; color: black; font{{{banner}}}-button-weightlink: bold;visited { line-heightcolor: 1.4em#ffffff; text-aligndecoration: centernone;
}
@media (minmax-width: 728px599px) { #{{{banner}}}-container { height: 102px; }  .cn-{{{banner}}}-text inner { fontpadding-sizetop: 1em.3em;
}
  .cn-{{{banner}}}-text span title { font-size: 1.1em; padding-top: 0;
display: block;
margin: 0 0 0.1em 1em;
}
 
.{{{banner}}}-image {
background: url("//upload.wikimedia.org/wikipedia/commons/7/71/320-WIKI-Banner-orange-image.png");
position: absolute;
width: 105px;
height: 99px;
top: 7px;
right: -32px;
z-index: -1;
}
 
.{{{banner}}}-button {
margin: 0 0 0 1.6em;
float: left;
font-size: .7em;
}
}
 @media (min-width: 737px600px) and (max-width: 699px) { #{{{banner}}}-container { height: 120px; }  .cn-{{{banner}}}-text title { font-size: 1.2em; margin-top: 2.2em; }  .{{{banner}}}-image { background-image: url( "//upload.wikimedia.org/wikipedia/commons/3/35/600-WIKI-Banner-orange-image.png" ); width: 174px; height: 120px; margin: 0 0.1em; }  .{{{banner}}}-button { font-size: 0.9em; margin-top: 2.6em;
}
 
}
.cn@media (min-banner .cn-bannerwidth: 700px) and (max-contentwidth:hover 899px) { text#{{{banner}}}-decorationcontainer { height: underline120px; }
#cn .{{{banner}}}-toggle-box title { position font-size: absolute1.3em; z margin-index: 98; top: 0; right: 0; opacity: 1.86em;}body.rtl #cn-toggle-box { left: 0; right: auto;}
#cn .{{{banner}}}-toggleimage { background-boximage:hover {url( "//upload.wikimedia.org/wikipedia/commons/3/35/600-WIKI-Banner-orange-image.png" ); width: 174px; opacity height: 1120px; }
#cn .{{{banner}}}-toggle-box img button { padding margin-top: 6px1.8em; }
}
#cn@media (max-banner-translate-link width: 1199px) { /* Change to display: none; if you don't need translations */ display: block; position: absolute; z.{{{banner}}}-index: 98; bottom: 6px; right: 6px;inner { font-size margin: 0.9emauto; white-space width: nowrap100%; text-align: right;}#cn-banner-translate-link:hover { text-decoration: underline;
}
body.rtl #cnskin-monobook .{{{banner}}}-translate-link inner { left: 6px; right: auto; textfont-alignsize: left140%;
}
/* Translate extension doesn't work well on mobile */
body.skin-minerva #cn-banner-translate-link {
display: none;
}
</style>
<div classid="cn{{{banner}}}-bannercontainer" id> <div class="{{{banner}}}-close"> <a href="#" title="Close" style><div class="display: none;cn-closeButton">Close</div></a> </div>  <a class="cn-full-{{{banner}}}-click cn-bannerbutton-link" href="https://de.wikipedia.org/wiki/WikipediaSpezial:WikiDACH/2017Benutzerkonto_anlegen?campaign=wmde_abc2017_gib_rg"> <div class="cn{{{banner}}}-inner"> <div class="{{{banner}}}-contenttitle">Du kannst dich an<br>Wikipedia beteiligen!</div> <div class="cn{{{banner}}}-image"></div> <div class="{{{banner}}}-logobutton"> <img srcdiv class="https:{{{banner}}}-button-inner"> Lege dir dein<br>Benutzerkonto an <//upload.wikimedia.org/wikipedia/commons/2/2e/BarCamp_WikiDACH_2017_Banner.png"div>
</div>
</div>
</a>
  <div img id="cn{{{banner}}}-toggleclose-boxtracking"> <a hrefsrc="#" titleborder="{{int:centralnotice-close-title}}0" onclick="mw.centralNotice.hideBanner(); return false;"><img srcwidth="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png0" altheight="{{int:centralnotice-close-title}}0" /></a> </div> 
</div>
<script>
$(document).ready(function() {
if ( wgPageName !== 'Wikipedia:Wikimedia_Deutschland/* Show banner *JetztMitmachen' && wgPageName !== 'Wikipedia:Wikimedia_Deutschland/Mach_mit' ) { addBannerSpace(); if $( 'body' ).prepend( $( '#centralNotice' ) ); $( '#{{{banner}}}-container' ).show(!); } else { mw.centralNotice.bannerDatasetBannerLoadedButHidden(); }  $( '.{{{banner}}}-close' ).hideResultclick( function () { if ( Math.random() < 0.01 ) { $('.cn#{{{banner}}}-close-bannertracking').showattr('src', 'https://tracking.wikimedia.de/piwik.php?idsite=1&url=https://spenden.wikimedia.de/banner-closed/{{{banner}}}&rec=1' );
}
$( '#{{{banner}}}-container' ).hide(); removeBannerSpace(); mw.centralNotice.hideBanner();  return false; });  $( '#ca-ve-edit, .mw-editsection-visualeditor' ).click( function () { $( '#{{{banner}}}-container' ).hide(); removeBannerSpace(); } );} ); function addBannerSpace() { var bannerHeight = $( '#{{{banner}}}-container' ).height() + 20; switch( mw.config.get( 'skin' ) ) { case 'vector': $( '#mw-panel' ).css( 'top', bannerHeight ); $( '#mw-head' ).css( 'top', bannerHeight ); $( '#mw-page-base' ).css( 'padding-top', bannerHeight ); break; case 'monobook': $( '#globalWrapper' ).css( 'position', 'relative' ); $( '#globalWrapper' ).css( 'top', bannerHeight ); $( '#{{{banner}}}' ).css( 'top', '-20px' ); $( '#{{{banner}}}' ).css( 'background', 'none' ); break; }} function removeBannerSpace() { switch ( mw.config.get( 'skin' ) ) { case 'vector': $( '#mw-panel' ).css( 'top', 0 ); $( '#mw-head' ).css( 'top', 0 ); $( '#mw-page-base' ).css( 'padding-top', 0 ); break; case 'monobook': $( '#globalWrapper' ).css( 'position', 'relative' ); $( '#globalWrapper' ).css( 'top', 0 ); break; }}
</script>
5.597
Bearbeitungen

Navigationsmenü