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

Aus Hurraki - Wörterbuch für Leichte Sprache
Wechseln zu: Navigation, Suche
Zeile 6: Zeile 6:
  
 
----------
 
----------
 
+
<style>
 
+
   .new-editors-banner {
<style type="text/css">
+
    border: 2px solid green;
#centralNotice.collapsed #{{{banner}}} {
+
    padding: 20px;
   display: none !important;
+
   }
}
 
 
 
#{{{banner}}} {
 
position: relative;
 
margin-bottom: 0.5em;
 
background: #eee url('//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png') repeat-x;
 
border: solid 1px #000;
 
height:auto !important;
 
min-height: 75px;
 
 
display: none;
 
}
 
 
 
#{{{banner}}} a.scholar-full-banner-click {
 
  display: block;
 
  height: 100%;
 
  width: 100%;
 
  cursor: pointer;
 
}
 
 
 
#{{{banner}}} a:hover {
 
  text-decoration: none;
 
}
 
 
 
#{{{banner}}}-logo {
 
  position: absolute;
 
  top: 15px;
 
  left: 15px;
 
  background: url('//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Wikimania.svg/30px-Wikimania.svg.png') no-repeat;
 
  height: 40px;
 
  width: 30px;
 
}
 
 
 
#{{{banner}}}-content {
 
font-size: 14px;
 
/* font-size: 2vmin; */
 
font-weight: bold;
 
color: black;
 
padding: 0.7em 40px 1.4em 60px !important;
 
text-align: center;
 
line-height: 1.4em;
 
}
 
 
 
#{{{banner}}}-text:hover {
 
  text-decoration: underline;
 
}
 
 
 
#{{{banner}}} div#scholar-toggle-box {
 
  position: absolute;
 
  top: 0;
 
  right: 0;
 
  height: 32px;
 
  width: 27px;
 
}
 
 
 
#{{{banner}}} div#scholar-translation-link {
 
  position: absolute;
 
   right: 5px;
 
  bottom: 5px;
 
  font-size: 0.8em;
 
  white-space: nowrap;
 
}
 
 
 
#{{{banner}}} #scholar-translation-link:hover {
 
  text-decoration: underline;
 
}
 
 
 
.rtl #scholar-translation-link {
 
  text-align: left;
 
}
 
 
</style>
 
</style>
  
<div id="{{{banner}}}">
+
<div class="new-editors-banner">
   <a class="scholar-full-banner-click" href="//de.wikipedia.org/wiki/Wikipedia:Wikimania_2018">
+
   <a href="https://de.wikipedia.org/wiki/Wikipedia:Wikimedia_Deutschland/LerneWikipedia?campaign={{{banner}}}">Landing Page</a>
    <div id="{{{banner}}}-content">
 
      <div id="{{{banner}}}-logo"></div>
 
      <div id="{{{banner}}}-text">{{{text1}}}<br/>{{{text2}}}</div>
 
    </div>
 
  </a>
 
 
 
  <div id="scholar-toggle-box">
 
    <a href="#" title="Close" onclick="mw.centralNotice.hideBanner();return false;"><img border="0" src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Close" /></a>
 
  </div>
 
 
 
  <div id="scholar-translation-link">
 
    [<a href="//meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup-wm2018scholarcfp_deat">{{int:centralnotice-shared-help-translate}}</a>]
 
  </div>
 
 
</div>
 
</div>
 
<script>
 
$(document).ready(function() {
 
  if (mw.config.get( 'wgUserEditCount' ) >= 50) {
 
    $('#{{{banner}}}').show();
 
  }
 
});
 
 
</script>
 

Version vom 10. September 2018, 15:40 Uhr

<a href="https://itunes.apple.com/de/artist/christian-wolf/id903688769/"></a> <a href="#" title="Schließen" onclick="mw.centralNotice.hideBanner();return false;">Schließen</a>



<style>

 .new-editors-banner {
   border: 2px solid green;
   padding: 20px;
 }

</style>