MediaWiki:Centralnotice-template-Election2017 Board voting starts

<style>

  1. centralNotice.collapsed #{{{banner}}} {

display: none; }

  1. {{{banner}}} {

position: relative; overflow: hidden; background-color: #980125; margin-bottom: 0.5em !important; border: solid 1px #aaaaaa; overflow:hidden; cursor: pointer; cursor: hand; min-height: 80px; }

  1. {{{banner}}} a.cn-full-banner-click {

display: block; height: 100%; width: 100%; cursor: pointer; }

  1. {{{banner}}} a.cn-full-banner-click {

text-decoration: none; }

  1. {{{banner}}}-logo {

position: absolute; top: 16px; background-image: url("//upload.wikimedia.org/wikipedia/foundation/8/80/Wmf-logo-sm.png"); height: 34px; width: 33px; } .ltr #{{{banner}}}-logo { right: auto; left: 56px !important; } .rtl #{{{banner}}}-logo { left: auto; right:56px !important; }

  1. {{{banner}}}-text {

font-size: 1em; font-weight: bold; color: black; padding: 10px 30px 10px 73px; line-height: 1.3em; text-align: center; margin: -4px auto }

  1. {{{banner}}}-text:hover {

text-decoration: underline; }

  1. {{{banner}}} .trans-box {

text-align: right; font-size: 0.8em; padding-right: 6px; white-space: nowrap; }


  1. {{{banner}}} .mw-cn-closeButton {

margin: 7px; } .rtl #{{{banner}}} .mw-cn-closeButton { float: left; } .ltr #{{{banner}}} .mw-cn-closeButton { float: right; }

  1. {{{banner}}} #bannerTranslateLink {

top: 56px; text-align: center; }

  1. {{{banner}}} div#cn-toggle-box {

position: absolute; z-index: 98; top: -4px; }

.ltr #{{{banner}}} div#cn-toggle-box { right: 6px; } .rtl #{{{banner}}} div#cn-toggle-box { left: 6px; }

  1. {{{banner}}}-leftside {

position:absolute; height:66px; width:66px; left:0; top:0; background-image: url("//upload.wikimedia.org/wikipedia/foundation/e/eb/BoardBanner-Ribbon-left-dark.png"); }

  1. {{{banner}}}-rightside {

position:absolute; right:0; top:0; height:66px; width:66px; background-image: url("//upload.wikimedia.org/wikipedia/foundation/8/8c/BoardBanner-Ribbon-right-dark.png"); }

  1. {{{banner}}}-middle {

width: calc(100% - 132px); margin-top:12px; background-color:#FFFFFF; overflow:hidden; }

.ltr #{{{banner}}}-middle { margin-left:66px; }

.rtl #{{{banner}}}-middle { margin-right:66px; }

.whitetext { color:white !important; }

</style>


<a class='cn-full-banner-click' href='https://meta.wikimedia.org/wiki/Special:SecurePoll/vote/339'>

{{{message}}}
{{{message2}}}

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

</a>

<script type="text/javascript"> var translate_url = function() {

 url = 'https://meta.wikimedia.org/wiki/Special:SecurePoll/vote/339';
 ulang = mw.config.get( 'wgUserLanguage' );
 url += '?setlang=' + ulang + '&uselang=' + ulang + '&abtestbanner=WMRed';

$("div#{{{banner}}} a.cn-full-banner-click").attr("href",url);

} $(document).ready(translate_url); </script>