Jump to content

MediaWiki:Centralnotice-template-wm2017scholarcfp

From Meta, a Wikimedia project coordination wiki

<style type="text/css">

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

}

  1. {{{banner}}} {
position: relative;
margin-bottom: 0.5em;
background: #eee url('//upload.wikimedia.org/wikipedia/commons/0/0d/Gray-gradient1.png') repeat-x;
border: solid 1px #000;
height:auto !important;
min-height: 75px;

display: none;

}

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

}

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

}

  1. {{{banner}}}-logo {
 position: absolute;
 top: 15px;
 left: 15px;
 background: url('//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Wikimania.svg/30px-Wikimania.svg.png') no-repeat;
 height: 40px;
 width: 30px;

}

  1. {{{banner}}}-content {
font-size: 14px;
/* font-size: 2vmin; */
font-weight: bold;
color: black;
padding: 0.7em 40px 1.4em 60px !important;
text-align: center;
line-height: 1.4em;

}

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

}

  1. {{{banner}}} div#scholar-toggle-box {
 position: absolute;
 top: 0;
 right: 0;
 height: 32px;
 width: 27px;

}

  1. {{{banner}}} div#scholar-translation-link {
 position: absolute;
 right: 5px;
 bottom: 5px;
 font-size: 0.8em;
 white-space: nowrap;

}

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

}

.rtl #scholar-translation-link {

 text-align: left;

} </style>

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

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

 if (mw.config.get( 'wgUserEditCount' ) >= 50) {
   $('#{{{banner}}}').show();
 } 

});

</script>