MediaWiki:Centralnotice-template-Election2017 Board voting starts
<style>
- centralNotice.collapsed #{{{banner}}} {
display: none; }
- {{{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; }
- {{{banner}}} a.cn-full-banner-click {
display: block; height: 100%; width: 100%; cursor: pointer; }
- {{{banner}}} a.cn-full-banner-click {
text-decoration: none; }
- {{{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; }
- {{{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 }
- {{{banner}}}-text:hover {
text-decoration: underline; }
- {{{banner}}} .trans-box {
text-align: right; font-size: 0.8em; padding-right: 6px; white-space: nowrap; }
- {{{banner}}} .mw-cn-closeButton {
margin: 7px; } .rtl #{{{banner}}} .mw-cn-closeButton { float: left; } .ltr #{{{banner}}} .mw-cn-closeButton { float: right; }
- {{{banner}}} #bannerTranslateLink {
top: 56px; text-align: center; }
- {{{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; }
- {{{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"); }
- {{{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"); }
- {{{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>
<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>