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 type="text/css">
 
----------<style type="text/css">
#cn-toggle-box {
+
  float: right;
+
#centralNotice.collapsed #astanniversary{
 +
display: none;
 
}
 
}
.wlm_2012_org_image {
+
  border: 0  
+
#astanniversary {
 +
position: relative;
 +
overflow: hidden;
 +
background: url('//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png') bottom repeat-x;
 +
margin-bottom: 0.5em !important;
 +
margin-top: 0.5em !important;
 +
background-color:#FFFFFF;
 +
border: solid 1px #aaaaaa;
 +
height:66px;
 +
}
 +
#astanniversary a.cn-full-banner-click {
 +
display:block;
 +
height:100%;
 +
width:100%;
 +
cursor: pointer;
 +
}
 +
#astanniversary a:hover  {
 +
text-decoration: none;
 +
}
 +
#astanniversary-logo {
 +
position: absolute;
 +
top: 8px;
 +
left: 15px;
 +
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Logotipu_10_a%C3%B1os%28svg%29.svg/50px-Logotipu_10_a%C3%B1os%28svg%29.svg.png');
 +
height: 50px;
 +
width: 50px;
 +
background-repeat: no-repeat;
 +
}
 +
 
 +
#astanniversary #black-text {
 +
font-size: 1em;
 +
color: black;
 +
font-weight:bold;
 +
padding: 1em 40px 0.4em 60px;
 +
line-height: 1.3em;
 +
text-align: center;
 +
}
 +
#astanniversary #black-text:hover {
 +
text-decoration: underline;
 +
}
 +
 
 +
#astanniversary div#cn-toggle-box {
 +
position: absolute;
 +
z-index: 98;
 +
top: 2px;
 +
right: 6px;
 
}
 
}
 
</style>
 
</style>
<script type="text/javascript">
+
var cn_rewrite_url = function() {
+
<div id="astanniversary">
  url = '';
+
<a class="cn-full-banner-click" href="//ast.wikipedia.org/wiki/Uiquipedia:Alcuentros/Celebración_del_10u_Aniversariu">
  switch(Geo.country) {
+
  <div id="black-text">
  case 'CH':
+
     <div id="astanniversary-logo"></div>
    url = 'http://wiki4alps.ch/?pk_campaign=Centralnotice';
+
    <div id="black-text1">{{{text1}}}</div>
     break;
+
    <div id="black-text2">{{{text2}}}</div>
  }
+
    </div>
if(url!='') $("div#wlm-banner a.wlm-mainlink").attr("href",url);
+
</a>
}
+
 
$(document).ready(cn_rewrite_url);
+
<div id="cn-toggle-box">
</script>
+
<a href="#" title="Cerrar" onclick="hideBanner();return false;"><img border="0" src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Cerrar" /></a
<div id="wlm-banner" class="plainlinks" style="background:#FCFCFC; border:1px solid #9E0101; margin: 0 auto 1em auto; font-size: 120%; overflow: hidden; text-align: center; padding: 0.5ex;" >
+
</div>
<div id="cn-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>
<div style="margin-top: 17px">
 
<a class="wlm-mainlink" href="http://wiki4alps.ch/?pk_campaign=Centralnotice">
 
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Wiki_Loves_Monuments_Logo_notext.svg/60px-Wiki_Loves_Monuments_Logo_notext.svg.png" class="wlm_2012_org_image" style="float:left; margin-left: 15px; margin-top: -17px" />
 
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Valère_et_Tourbillon_à_Sion_en_Valais_Suisse.JPG/77px-Valère_et_Tourbillon_à_Sion_en_Valais_Suisse.JPG" class="wlm_2012_org_image" style="float:right; margin-right: 10px; margin-top: -15px" /><a class="wlm-mainlink" href="http://wiki4alps.ch/?pk_campaign=Centralnotice">{{{text}}}</a></a></div></div>
 

Version vom 10. September 2018, 16:03 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 type="text/css">
  1. centralNotice.collapsed #astanniversary{
display: none;

}

  1. astanniversary {
position: relative;
overflow: hidden;
background: url('//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png') bottom repeat-x;
margin-bottom: 0.5em !important;
margin-top: 0.5em !important;
background-color:#FFFFFF;
border: solid 1px #aaaaaa; 
height:66px;

}

  1. astanniversary a.cn-full-banner-click {
display:block;
height:100%;
width:100%;
cursor: pointer;

}

  1. astanniversary a:hover {
text-decoration: none;

}

  1. astanniversary-logo {
position: absolute;
top: 8px;
left: 15px;
background-image: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Logotipu_10_a%C3%B1os%28svg%29.svg/50px-Logotipu_10_a%C3%B1os%28svg%29.svg.png');
height: 50px;
width: 50px;
background-repeat: no-repeat;

}

  1. astanniversary #black-text {
font-size: 1em;
color: black;
font-weight:bold;
padding: 1em 40px 0.4em 60px;
line-height: 1.3em;
text-align: center;

}

  1. astanniversary #black-text:hover {
text-decoration: underline;

}

  1. astanniversary div#cn-toggle-box {
position: absolute;
z-index: 98;
top: 2px;
right: 6px;

} </style>

<a class="cn-full-banner-click" href="//ast.wikipedia.org/wiki/Uiquipedia:Alcuentros/Celebración_del_10u_Aniversariu">
{{{text1}}}
{{{text2}}}
</a>
<a href="#" title="Cerrar" onclick="hideBanner();return false;">Cerrar</a>