Jump to content

MediaWiki:Centralnotice-template-Wikimania2014Final

From Meta, a Wikimedia project coordination wiki

<style>

  1. {{{banner}}} {
 position: relative;
 overflow: hidden;
 margin-bottom: 0.5em !important;
 background-color: #fff;
 border: solid 1px #aaa;
 padding: 0 16px 0 100px;
 text-align: center;

}

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

}

  1. {{{banner}}}-logo {
 position: absolute;
 top: 0;
 left: 0;
 height: 100%;
 max-height: 120px;
 width: auto;
 background-repeat: no-repeat;

}

  1. {{{banner}}} #banner-text-1,
  2. {{{banner}}} #banner-text-2 {
 font-size: 14px;
 line-height: 1.3em;
 font-family: Georgia, Times, "Times New Roman", serif;;
 font-weight: bold;
 font-style: italic;
 color: black;

}

  1. {{{banner}}} #banner-text-1 {
 margin-top: 8px;

}

  1. {{{banner}}} #banner-button {
 margin: 4px 0;
 display: inline-block;
 text-transform: uppercase;
 color: black;
 font-weight: bold;
 font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
 font-size: 13px;
 text-decoration: underline;

}

  1. {{{banner}}} div#cn-toggle-box {
 position: absolute;
 z-index: 98;
 top: 4px;
 right: 4px;

}

  1. {{{banner}}} #cn-translation-link {
 display: none;
 z-index: 50;
 font-size: small;

}

@media all and (min-width: 880px) {

 #{{{banner}}} {
   background: url(//upload.wikimedia.org/wikipedia/donate/e/ee/Wikimania-left-shard.png) no-repeat top left,
               url(//upload.wikimedia.org/wikipedia/donate/4/4c/Wikimania-right-shard.png) no-repeat top right;
   padding: 16px 100px;
 }
 #{{{banner}}} #banner-text-1,
 #{{{banner}}} #banner-text-2 {
   font-size: 18px;
 }
 #{{{banner}}} #banner-text-1 {
   margin-top: 0;
 }
 #{{{banner}}} #banner-button {
   position: absolute;
   right: 8px;
   bottom: 4px;
   border: 1px solid black;
   padding: 6px 12px;
   text-decoration: none;
   background: white;
 }
 #{{{banner}}} #banner-button:hover {
   background: #f6f6f6;
 }
 #{{{banner}}} #cn-translation-link {
   display: block;
 }
 html[lang="en"] #{{{banner}}} #cn-translation-link {
   display: none;
 }

} </style>

<script> $(function() {

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

}); </script>