MediaWiki:Centralnotice-template-WMPL OPP 2016
<script> $(document).ready(function() {
if (!mw.centralNotice.bannerData.hideResult) { $('#{{{banner}}}').show(); }
}); </script>
<style>
- centralNotice.collapsed #{{{banner}}}{
display: none;
}
- {{{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%);
}
- {{{banner}}} a.cn-full-banner-click {
display: block; height: 100%; width: 100%; cursor: pointer;
}
- {{{banner}}} a:hover {
text-decoration: none;
}
- {{{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;
}
- {{{banner}}} #text {
padding: 1.5em 40px 0.4em 70px; line-height: 1.3em; text-align: center;
}
- {{{banner}}} #text1 {
font-size: large; color: #006699; line-height: 1.3em;
}
- {{{banner}}} #text2 {
font-size: 1em; color: black; font-weight: bold; line-height: 1.3em;
}
- {{{banner}}} #text:hover {
text-decoration: underline;
}
- {{{banner}}} #cn-toggle-box {
position: absolute; z-index: 98; top: 0; right: 0; opacity: .8;
}
- {{{banner}}} #cn-toggle-box:hover {
opacity: 1;
}
- {{{banner}}} #cn-toggle-box img {
padding: 4px;
} </style>