MediaWiki:Centralnotice-template-WMPL OPP 2016

From Meta, a Wikimedia project coordination wiki

<script> $(document).ready(function() {

 if (!mw.centralNotice.bannerData.hideResult) {
   $('#{{{banner}}}').show();
 }

}); </script>

<style>

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

}

  1. {{{banner}}} {
   position: relative;
   overflow: hidden;
   margin-bottom: 0.5em !important;
   margin-top: 0.5em !important;
   height:80px;
   border: solid 1px #aaaaaa;
   background: #fdfdfd;
   background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f0f0f0));
   background: -webkit-linear-gradient(top, #fdfdfd 0%,#f0f0f0 100%);
   background: linear-gradient(to bottom, #fdfdfd 0%,#f0f0f0 100%);

}

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

}

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

}

  1. {{{banner}}}-logo {
   position: absolute;
   top: 5px;
   left: 15px;
   height: 70px;
   width: 70px;
   background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Wikimedia_Polska_logo.svg/140px-Wikimedia_Polska_logo.svg.png);
   background-size: 70px 70px;
   background-repeat: no-repeat;

}

  1. {{{banner}}} #text {
   padding: 1.5em 40px 0.4em 70px;
   line-height: 1.3em;
   text-align: center;

}

  1. {{{banner}}} #text1 {
   font-size: large;
   color: #006699;
   line-height: 1.3em;

}

  1. {{{banner}}} #text2 {
   font-size: 1em;
   color: black;
   font-weight: bold;
   line-height: 1.3em;

}

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

}

  1. {{{banner}}} #cn-toggle-box {
   position: absolute;
   z-index: 98;
   top: 0;
   right: 0;
   opacity: .8;

}

  1. {{{banner}}} #cn-toggle-box:hover {
   opacity: 1;

}

  1. {{{banner}}} #cn-toggle-box img {
   padding: 4px;

} </style>