MediaWiki:Centralnotice-template-Leichte Sprache Banner iPad: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<style> | <!-- Empty banner --><style> | ||
#{{{banner}}} | #centralNotice.collapsed #{{{banner}}}{ | ||
display: none; | |||
} | } | ||
#{{{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:#FFFFFF; | |||
border: solid 1px #aaaaaa; | |||
height:72px; | |||
} | } | ||
#{{{banner}}} a.cn-full-banner-click { | |||
display:block; | |||
height:100%; | |||
width:100%; | |||
cursor: pointer; | |||
} | } | ||
#{{{banner}}} a:hover { | |||
text-decoration: none; | |||
} | } | ||
#{{{banner}}}-logo { | |||
position: absolute; | position: absolute; | ||
top: 11px; | |||
left: 15px; | |||
background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Wikimedia_logo_text_RGB.svg/50px-Wikimedia_logo_text_RGB.svg.png); | |||
height: 50px; | |||
width: 50px; | |||
background-repeat: no-repeat; | |||
} | } | ||
#{{{banner}}}- | #{{{banner}}} #black-text { | ||
font-size: 1em; | |||
color: black; | |||
font-weight:bold; | |||
padding: 0.75em 40px 0.4em 60px; | |||
line-height: 1.3em; | |||
text-align: center; | |||
} | } | ||
#{{{banner}}} #black-text:hover { | |||
text-decoration: underline; | |||
} | } | ||
#{{{banner}}} div#cn-toggle-box { | |||
position: absolute; | |||
z-index: 98; | |||
top: 3px; | |||
right: 6px; | |||
} | } | ||
#{{{banner}}} div#cn-translation-link { | |||
position:absolute; | |||
z-index:50; | |||
bottom: 3px; | |||
right: 6px; | |||
font-size: 0.7em; | |||
} | } | ||
</style> | |||
<div id="{{{banner}}}"> | |||
<a class="cn-full-banner-click" href="//meta.wikimedia.org/wiki/Grants:APG/Proposals/2017-2018_round_1"> | |||
<div id="black-text"> | |||
<div id="{{{banner}}}-logo"></div> | |||
<div id="black-text1">{{{text1}}}</div> | |||
<div id="black-text2">{{{text2}}}</div> | |||
<div id="black-text3"><small>{{{text3}}}</small></div> | |||
</div> | |||
</a> | |||
<div id="cn-toggle-box"> | |||
<a href="#" title="Close" onclick="mw.centralNotice.hideBanner(); return false;"><img border="0" src="//upload.wikimedia.org/wikipedia/foundation/2/20/CloseWindow19x19.png" alt="Close" /></a> | |||
</div> | |||
<div id="cn-translation-link"> | |||
[<a href="//meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup-FDCpropreviewOctober2016Clean">{{int:centralnotice-shared-help-translate}}</a>] | |||
</div> | |||
</div> | </div> | ||
Version vom 10. September 2018, 15:25 Uhr
<style>
- centralNotice.collapsed #{{{banner}}}{
display: none;
}
- {{{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:#FFFFFF; border: solid 1px #aaaaaa; height:72px;
}
- {{{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: 11px; left: 15px; background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/12/Wikimedia_logo_text_RGB.svg/50px-Wikimedia_logo_text_RGB.svg.png); height: 50px; width: 50px; background-repeat: no-repeat;
}
- {{{banner}}} #black-text {
font-size: 1em; color: black; font-weight:bold; padding: 0.75em 40px 0.4em 60px; line-height: 1.3em; text-align: center;
}
- {{{banner}}} #black-text:hover {
text-decoration: underline;
}
- {{{banner}}} div#cn-toggle-box {
position: absolute; z-index: 98; top: 3px; right: 6px;
}
- {{{banner}}} div#cn-translation-link {
position:absolute; z-index:50; bottom: 3px; right: 6px; font-size: 0.7em;
} </style>