Moderator, Bürokraten, Checkuser-Berechtigte, developer, emailconfirmed, Oberflächenadministratoren, Oversighter, Administratoren
11.008
Bearbeitungen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 2: | Zeile 2: | ||
$(function() { | $(function() { | ||
var el = $( '#cn-translation-link-a' ); | var el = $( '#cn-translation-link-a' ); | ||
if ( mw.config.get( 'wgNamespaceNumber' ) == 0 | if ( mw.config.get( 'wgNamespaceNumber' )=== 0 | ||
&& mw.config.get( 'wgArticleId' ) > 0 | && mw.config.get( 'wgArticleId' ) > 0 | ||
&& ( mw.config.get( 'wgAction' ) == 'view' || mw.config.get( 'wgAction' ) == 'purge' ) | && ( 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" ); | el.prop( "href", "//www.droidwiki.de/index.php?title=" + mw.config.get( 'wgTitle' ) + "&action=edit" ); | ||
el.style.display = 'block'; | el.style.display = 'block'; | ||
} | } | ||
}); | }); | ||
</script> | </script> | ||
<style> | <style> | ||
# | #Wikimania2014Multi { | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
Zeile 23: | Zeile 22: | ||
} | } | ||
# | #Wikimania2014Multi a.cn-full-banner-click { | ||
display:block; | display:block; | ||
height:100%; | height:100%; | ||
Zeile 30: | Zeile 29: | ||
} | } | ||
# | #Wikimania2014Multi-logo { | ||
# | position: absolute; | ||
top: 0; | |||
left: 0; | |||
height: 100%; | |||
max-height: 120px; | |||
width: auto; | |||
background-repeat: no-repeat; | |||
} | |||
#Wikimania2014Multi #banner-text-1, | |||
#Wikimania2014Multi #banner-text-2 { | |||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.3em; | line-height: 1.3em; | ||
Zeile 39: | Zeile 48: | ||
} | } | ||
# | #Wikimania2014Multi #banner-text-1 { | ||
margin-top: 8px; | margin-top: 8px; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
# | #Wikimania2014Multi #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; | |||
} | |||
#Wikimania2014Multi div#cn-toggle-box { | |||
position: absolute; | position: absolute; | ||
z-index: 98; | z-index: 98; | ||
Zeile 51: | Zeile 71: | ||
} | } | ||
# | #Wikimania2014Multi #cn-translation-link { | ||
display: none; | display: none; | ||
z-index:50; | z-index:50; | ||
Zeile 58: | Zeile 78: | ||
@media all and (min-width: 880px) { | @media all and (min-width: 880px) { | ||
# | #Wikimania2014Multi { | ||
background: url(//www.droidwiki.de/ | background: url(//www.droidwiki.de/androide.png) no-repeat top right; | ||
padding: 16px 100px; | padding: 16px 100px; | ||
} | } | ||
# | #Wikimania2014Multi #banner-text-1, | ||
# | #Wikimania2014Multi #banner-text-2 { | ||
font-size: 18px; | font-size: 18px; | ||
} | } | ||
# | #Wikimania2014Multi #banner-text-1 { | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
# | #Wikimania2014Multi #cn-translation-link { | ||
display: block; | display: block; | ||
} | } | ||
html[lang="en"] # | html[lang="en"] #Wikimania2014Multi #cn-translation-link { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
</style> | </style> | ||
<div id=" | <div id="Wikimania2014Multi" style="" > | ||
<a class="cn-full-banner-click" href="// | <a class="cn-full-banner-click" href="//wikimania2014.wikimedia.org" title=""> | ||
<div id="banner-text-1"> | <div id="banner-text-1"> | ||
<span>DroidWiki | <span>DroidWiki von Leuten wie dir</span> | ||
</div> | </div> | ||
<div id="banner-text-2"> | <div id="banner-text-2"> | ||
Zeile 88: | Zeile 107: | ||
</a> | </a> | ||
<div id="cn-translation-link"> | <div id="cn-translation-link"> | ||
<a href=" | <a href="#" id="cn-translation-link-a" style="display:none;"> | ||
[ Bearbeiten! ] | [ Bearbeiten! ] | ||
</a> | </a> |
Bearbeitungen