MediaWiki:Centralnotice-template-Editkampagne: Unterschied zwischen den Versionen

Aus Android Wiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(14 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<script language="text/javascript">
$(function() {
var el = $( '#cn-translation-link-a' ), el2 = $( '.cn-full-banner-click' );
if ( mw.config.get( 'wgNamespaceNumber' ) === 0
&& mw.config.get( 'wgArticleId' ) > 0
&& ( mw.config.get( 'wgAction' ) === 'view' || mw.config.get( 'wgAction' ) === 'purge' )
) {
el.prop( "href", "//www.droidwiki.de/index.php?title=" + mw.config.get( 'wgTitle' ) + "&action=edit" );
el2.prop( "href", "//www.droidwiki.de/index.php?title=" + mw.config.get( 'wgTitle' ) + "&action=edit" );
el.css('display', 'block');
} else {
$( '#siteNotice' ).remove();
}
});
</script>
<style>
<style>
#DroidWiki {
#DroidWiki {
Zeile 83: Zeile 68:
#DroidWiki {
#DroidWiki {
background: url(//www.droidwiki.de/images/7/7f/Hauptseite_DroidWiki_Schriftzug.png) no-repeat center right 50px;
background: url(//www.droidwiki.de/images/7/7f/Hauptseite_DroidWiki_Schriftzug.png) no-repeat center right 50px;
padding: 16px 100px;
padding: 16px 240px;
background-size: auto 80px;
background-size: auto 80px;
}
}
Zeile 114: Zeile 99:
</style>
</style>
<div id="DroidWiki" style="" >
<div id="DroidWiki" style="" >
<a class="cn-full-banner-click" href="//droidwiki.de" title="">
<a class="cn-full-banner-click" href="/Hilfe:Beitragen?utm_source=editkampagne&utm_medium=Banner&utm_campaign=DroidWiki%20kommt%20von%20dir!" title="">
<div id="banner-text-1">
<div id="banner-text-1">
<span>DroidWiki kommt von Leuten wie dir!</span>
<span>DroidWiki kommt von Leuten wie dir!</span>
</div>
</div>
<div id="banner-text-2">
<div id="banner-text-2">
Auch du kannst Artikel bearbeiten, kostenlos und unagemeldet
Teile dein Wissen mit tausenden Besuchern täglich und bearbeite oder erstelle Seiten jetzt kostenlos und ohne Anmeldung. Deine Bearbeitung wird sofort veröffentlicht. Für mehr Informationen hier klicken.
</div>
</div>
</a>
</a>
<div id="cn-translation-link">
<div id="cn-translation-link">
<a href="#" id="cn-translation-link-a" style="display:none;" onclick="alert(mw.config.get( 'wgTitle' ));return false;">
<a href="/Hilfe:Beitragen" id="cn-translation-link-a" style="display:none;">
[ Bearbeiten! ]
[ Bearbeiten! ]
</a>
</a>

Aktuelle Version vom 1. Mai 2016, 19:50 Uhr

<style> #DroidWiki { position: relative; overflow: hidden; margin-bottom: 0.5em !important; background-color:#FFFFFF; border: solid 1px #aaaaaa; padding: 0 16px 0 100px; text-align: center; }

#DroidWiki a.cn-full-banner-click { display:block; height:100%; width:100%; cursor: pointer; }

#DroidWiki-logo { position: absolute; top: 0; left: 0; height: 100%; max-height: 120px; width: auto; background-repeat: no-repeat; }

#DroidWiki #banner-text-1, #DroidWiki #banner-text-2 { font-size: 14px; line-height: 1.3em; font-family: Georgia, Times, "Times New Roman", serif;; font-style: italic; color: black; }

#DroidWiki #banner-text-1 { margin-top: 8px; font-weight: bold; }

#DroidWiki #banner-button { margin: 4px 0; display: inline-block; text-transform: uppercase; color: black; font-weight: bold; font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif; font-size: 13px; text-decoration: underline; }

#DroidWiki div#cn-toggle-box { position: absolute; z-index: 98; top: 4px; right: 4px; }

#DroidWiki #cn-translation-link { display: none; z-index:50; font-size: small; }

@media all and (min-width: 880px) { #DroidWiki { background: url(//www.droidwiki.de/images/7/7f/Hauptseite_DroidWiki_Schriftzug.png) no-repeat center right 50px; padding: 16px 240px; background-size: auto 80px; } #DroidWiki #banner-text-1, #DroidWiki #banner-text-2 { font-size: 18px; } #DroidWiki #banner-text-1 { margin-top: 0; } #DroidWiki #banner-button { position: absolute; right: 8px; bottom: 4px; border: 1px solid black; padding: 6px 12px; text-decoration: none; background: white; } #DroidWiki #banner-button:hover { background: #f6f6f6; } #DroidWiki #cn-translation-link { display: block; } html[lang="en"] #DroidWiki #cn-translation-link { display: none; } } </style>

<a class="cn-full-banner-click" href="/Hilfe:Beitragen?utm_source=editkampagne&utm_medium=Banner&utm_campaign=DroidWiki%20kommt%20von%20dir!" title="">

</a>

<a href="#" title="Schließen" onclick="mw.centralNotice.hideBanner();return false;"><img src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Close" border="0"></a>