Jump to content

MediaWiki:Centralnotice-template-WMPL OPP 2017

From Meta, a Wikimedia project coordination wiki

<style>

  1. {{{banner}}} {
position: relative;
overflow: hidden;
background: url('//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png') bottom repeat-x;
margin-bottom: 0.5em !important;
margin-top: 0.5em !important;
background-color:#fafafa;
border: solid 1px #aaaaaa;
height:80px;

}

  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;
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/8/8c/Wikimedia_Polska_logo.svg/70px-Wikimedia_Polska_logo.svg.png);
height: 70px;
width: 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}}} div#cn-toggle-box {
position: absolute;
z-index: 98;
top: 2px;
right: 6px;

} </style>

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