Änderungen

Wechseln zu: Navigation, Suche

MediaWiki:Centralnotice-template-Leichte Sprache Banner iPad

6.001 Bytes entfernt, 16:13, 10. Sep. 2018
keine Bearbeitungszusammenfassung
<style type="text/css"> #centralNotice.collapsed #{{{.cn-banner}}} {
display: none;
} div#{{{.cn-banner}}} { background: transparent; display: none; font-familyposition: Arial, Helvetica, Verdana, sans-serifrelative;
overflow: hidden;
positionmargin-bottom: absolute1em; leftborder: solid 1px #aaaaaa;} /* Mobile skin */body.skin-minerva .cn-banner { margin-bottom: 0;} .cn-banner a.cn-full-banner-click { display: block; topheight: 0100%;
width: 100%;
z-index: 9999;
}
div#{{{banner}}}-outerWrapper {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
div#{{{banner}}} div#{{{banner}}}-wrapper {
background: #133B06;
cursor: pointer;
position: relative;
}
div#{{{banner}}} span#{{{banner}}}-tab {
display: block;
z-index: 100;
position: relative;
margin: 0 auto;
cursor: pointer;
}
.cn-banner a:hover {
text-decoration: none;
}
 
.cn-banner-content {
display: table;
box-sizing: border-box;
padding: 8px 30px 8px 8px;
width: 100%;
}
body.rtl .cn-banner-content {
padding: 8px 8px 8px 30px;
}
 
.cn-banner-logo img {
vertical-align: middle;
height: 90px;
width: 728px;
}
@media (min-width: 541px) { background: #133b06 url(//upload.wikimedia.org/wikipedia/foundation/d/d4/Expandablecn-toggle.png) nobanner-repeatlogo img { height: 90px; background-position width: 105px -31px728px; }}
width: 130px; height: 25px; color: white;.cn-banner-text { font-size: 12px.9em; line-heightcolor: 25pxblack;
font-weight: bold;
line-height: 1.4em;
text-align: center;
}
border@media (min-width: 1px solid #a7a7a7;728px) { border.cn-banner-top: none;text { border font-radiussize: 0 0 5px 5px1em; -moz-border-radius: 0 0 5px 5px;} .cn-webkitbanner-border-radiustext span { display: 0 0 5px 5pxblock; } div#{{{banner}}} span#{{@media (min-width: 737px) { .cn-banner}}}-tab.close text { background font-positionsize: 105px 4px1.1em; } div#{{{banner}}} span#{{{banner}}}-close { background: url(//upload.wikimediacn-banner .org/wikipedia/donate/2/27/Smallcn-whitebanner-close.png) no-repeat center center black;content:hover { cursortext-decoration: pointerunderline; display: block;}  height: 21px;#cn-toggle-box {
position: absolute;
textz-indentindex: -9999px98; top: 0;
right: 0;
topopacity: .8;}body.rtl #cn-toggle-box { left: 0; widthright: 21pxauto; } div#cn-toggle-box:hover { opacity: 1;} #cn-toggle-box img {{banner padding: 6px;}}} div #{{{cn-banner}}}-landing translate-link { background/* Change to display: #133b06none;if you don't need translations */ colordisplay: #FFFFFFblock; displayposition: noneabsolute; fontz-sizeindex: 11pt98; } div#{{{banner}}} div#{{{banner}}}-message { bottom: 6px; marginright: 10px 50px 20px 250px6px; } div#{{{banner}}} font-message h2 {size: 0.9em; colorwhite-space: #FFFFFFnowrap; bordertext-align: noneright; } div#{{{cn-banner}}}-message a, div#{{translate-link:hover {banner}}}_info a { color: #EEEEEE;
text-decoration: underline;
} div#{{{banner}}}-message a:hover, div#{{{banner}}}_info a:hover { color: #CCCCCC; text-decoration: underline; } div#{{{banner}}} div#{{{banner}}}-landing span.landing-close { color: #3f3f3f; cursor: pointer; font-size: 12px; position: absolute; right: 10px; top: 10px; } #{{{banner}}}_info { margin: 0; font-size: 13px; line-height: 16px; position: relative; padding: 10px; background-color: #133B06; color: white; } #{{{banner}}}_info div#binfo-sepa-info { position: absolute; top: 10px; background-color: #133b06; height: 20px; width: 580px; } div#{{{banner}}}_info span { margin-right: 10px; } div#{{{banner}}}_info span.binfo-ucase { text-transform: uppercase; } div#{{{banner}}}_info span.binfo-bold { font-weight: bold; } div#{{{banner}}}_info span.binfo-sepa-box { font-size: 10px; border-radius: 5px; background-color: white; padding: 2px 5px; cursor: pointer; color: #000000; }
body.rtl #{{{cn-banner}}}-photo { display: inline-block; }#{{{banner}}}translate-photo img link { height: 120px; }#{{{banner}}}-msg { position: absolute; top: 0; left: 250px6px; color: #FFFFFF; }#{{{banner}}}-msg h1 { color right: #FFFFFFauto; border: medium none; font text-weightalign: bold; font-size: 22pt; margin: 0px; padding: 28px 0px 6pxleft;
}
#{{{banner}}}-msg h1 span { border-bottom: 1px solid #FFFFFF; }
#{{{banner}}}-msg p { font-size: 11pt; margin-right: 100px; }
#{{{banner}}}-logo { position: absolute; bottom: 25px; right: 25px; height: 60px; overflow: hidden; }
#{{{banner}}}-logo img { opacity: 0.8; }
/* Translate extension doesn't work well on mobile */
body.skin-minerva #cn-banner-translate-link {
display: none;
}
</style>
<div idclass="{{{cn-banner}}}"> <div id="{{{banner}}}-outerWrapper"> <div idstyle="{{{banner}}}-wrapperdisplay: none;"> <div ida class="{{{cn-full-banner}}}-photo"> <img src="{{{urlclick cn-banner-photo}}}link" borderhref="0" alt="Foto von Pavel Richter" https://de.wikipedia.org/wiki/> <Wikipedia:WikiDACH/div2017"> <div idclass="{{{cn-banner}}}-msgcontent"> <h1>{{{msg-headline}}}</h1> <p>{{{msg-body}}}</p> </div> <div idclass="{{{cn-banner}}}-logo"> <img src="https://upload.wikimedia.org/wikipedia/commons/2/2d2e/Wmde-logo-grayscaleBarCamp_WikiDACH_2017_Banner.png" border="0" alt="Logo von Wikimedia Deutschland e. V." /> </div> </div> <div id="{{{banner}}}-landing"> <div id="{{{}}}-msg-wrapper" style="border-top: 1px solid #132006; border-bottom: 1px solid #132006;"> <div id="{{{banner}}}-message"> <h2>{{{appeal-header}}}</h2> <p>{{{appeal-p1}}}</p> <p>{{{appeal-p2}}}</p> <p>{{{appeal-p3}}}</p> <p>{{{appeal-p4}}}</p> <p>{{{appeal-p5}}}</p>
</div>
</diva> <div id="{{{banner}}}_infocn-toggle-box"> <div stylea href="float: right;#"><a hreftitle="http{{int://meta.wikimedia.org/wiki/Wikimedia_Deutschland/2014_annual_plan/decentralnotice-close-title}}">Jahresplan 2014</a> | <a hrefonclick="http://wwwmw.wikimediacentralNotice.de/hideBanner(); return false;">Wikimedia Deutschland e. V.</a> | <a hrefimg src="http://wikimediafoundationupload.wikimedia.org/wiki/Home">Wikimedia Foundation</a></div> <div id="binfo-bank-info"> <div style="display: inline-block"> <span class="binfo-ucase binfo-dblue">Spendenkonto<wikipedia/span> <span class="binfo-bold binfo-dblue">Wikimedia Fördergesellschaft<foundation/span> <span class="binfo-label binfo-dblue">Kto<2/span> <span class="binfo-bold binfo-dblue">1194700<20/span> <span class="binfo-label binfo-dblueCloseWindow19x19.png">BLZ</span> <span classalt="binfo-bold binfo-dblue">10020500</span> </div> <span class="binfo-sepa-box">SEPA</span> </div> <div id="binfo-sepa-info" style="display{{int: none;"> <div style="display: inlinecentralnotice-block"> <span class="binfoclose-ucase binfo-dbluetitle}}">Spendenkonto</span> <span class="binfo-label binfo-dblue">BIC</span> <span class="binfo-bold binfo-dblue">BFSWDE33BER</span> <span class="binfo-label binfo-dblue">IBAN</span> <span class="binfo-bold binfo-dblue">DE33 1002 0500 0001 1947 00</span> </div> <span class="binfo-sepa-box" style="margin-left: 21px;">&#x2716;</span> </div><!-- | Wikimedia Deutschland Jahresbericht 2013 | Wikimedia Deutschland e. V. | Wikimedia Foundation --> </diva>
</div>
</div> <span id="{{{banner}}}-tab">{{{btn-text-1}}}</span> <span id="{{{banner}}}-close">{{{btn-text-close}}}</span> <img src="" id="wmde-expand-track" border="0" height="0" width="0" />
</div>
<script type="text/javascript"> $(document).ready( function () { if ( wgAction === "view" && increaseBannerImpCount() <= parseInt( '{{{banner-max-imp}}}' ) ) { $('body').prepend($('#centralNotice')); addBannerSpace();
$('span#{{{ /* Show banner}}}-close').click(function() { hideBanner(); removeBannerSpace(); return false; });  $('span.binfo-sepa-box').click( function() { if ( $( 'div#binfo-sepa-info' ).is( ':visible' ) ) { $( 'div#binfo-sepa-info' ).slideUp(); } else { $( 'div#binfo-sepa-info' ).slideDown(); } });  $('div#{{{banner}}}-wrapper, span#{{{banner}}}-tab').click(function(e) { if ($('div#{{{banner}}} div#{{{banner}}}-landing').is(':visible')){ $('div#{{{banner}}}-landing').slideUp(150); $('#{{{banner}}}-tab').removeClass('close').html('{{{btn-text-1}}}'); } else {*/ if ($("#wmde-expand-track").attr("src") == "") { $("#wmde-expand-track").attr("src", encodeURI("https://spenden.wikimedia.de/piwik/piwik.php?idsite=1&url=https://spenden!mw.wikimedia.de/banner-expanded/{{{BannerName}}}&rec=1")); } $('div#{{{banner}}}-landing')centralNotice.slideDown(150); $('#{{{banner}}}-tab')bannerData.addClass('close'hideResult).html('{{{btn-text-close}}}'); } });  $('div#{{{banner}}} div#{{{banner}}}-landing span.landingcn-close').click(function() { $('div#{{{banner}}}-landing').slideUpshow(150); return false; });
}
});
function addBannerSpace() { var expandableBannerHeight = $( 'div#{{{banner}}}' ).height(); $('#mw-panel').css( 'top', expandableBannerHeight + 160 ); $('#mw-head').css( 'top', expandableBannerHeight ); $('#mw-page-base').css( 'paddingTop', expandableBannerHeight ); $('#{{{banner}}}').css('display', 'block');} function removeBannerSpace() { $('#mw-panel').css('top', 160); $('#mw-head').css('top', 0); $('#mw-page-base').css('padding-top', 0);function increaseBannerImpCount() { var impCount = 0 if( $.cookie('centralnotice_single_banner_impression_count') && !window.location.search.match( /bReset=1/ ) ) { var impCountCookie = $.cookie('centralnotice_single_banner_impression_count'); var bannerImpCount = impCountCookie.split("|"); if(bannerImpCount[0] === '{{{banner}}}') { impCount = parseInt(bannerImpCount[1]); } } $.cookie('centralnotice_single_banner_impression_count', '{{{banner}}}|' + (impCount + 1), { expires: 7, path: '/' }); return (impCount + 1);}
</script>
5.598
Bearbeitungen

Navigationsmenü