Jump to content

MediaWiki:Centralnotice-template-WMBN translateathon 2017

From Meta, a Wikimedia project coordination wiki

<style type="text/css">

  1. centralNotice.collapsed #{{{banner}}} {
 display: none !important;

}

  1. {{{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: 75px;

}

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

}

  1. {{{banner}}} a:hover {
 text-decoration: none;

}

  1. {{{banner}}}-logo {
 position: absolute;
 top: 15px;
 left: 15px;
 background: url('//upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Wikimedia_Bangladesh_logo.svg/50px-Wikimedia_Bangladesh_logo.svg.png') no-repeat;
 height: 50px;
 width: 50px;

}

  1. {{{banner}}}-content {
 font-size: 14px;
 /* font-size: 2vmin; */
 font-weight: bold;
 color: black;
 padding: 14px 40px 0 60px;
 text-align: center;
 line-height: 1.4;

}

  1. {{{banner}}}-text:hover {
 text-decoration: underline;

}

  1. {{{banner}}} div#toggle-box {
 position: absolute;
 top: 0;
 right: 0;
 height: 32px;
 width: 27px;

}

  1. {{{banner}}} div#translation-link {
 position: absolute;
 right: 5px;
 bottom: 5px;
 font-size: 0.8em;
 white-space: nowrap;

}

  1. {{{banner}}} #translation-link:hover {
 text-decoration: underline;

}

.rtl #translation-link {

 text-align: left;

} </style>

 <a class="full-banner-click" href="//bn.wikipedia.org/s/96gp">
{{{text1}}}
{{{text2}}}
 </a>
 
   <a href="#" title="Close" onclick="hideBanner();return false;"><img border="0" src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Close" /></a>