MediaWiki talk:Centralnotice-template-wm2017scholarcfp

From Meta, a Wikimedia project coordination wiki

Fixed heights[edit]

Can someone replace

#{{{banner}}} {

}

with

#{{{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;
}

and

#{{{banner}}}-content {

}

with

#{{{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;
}

The first one makes the height flexible, so on upright displays you see the whole banner. The second prevents the translation-link from beeing covered by the content. – KPFC💬 17:43, 31 January 2017 (UTC)[reply]

Done, thanks for helping. —DerHexer (Talk) 20:12, 3 February 2017 (UTC)[reply]