MediaWiki:Centralnotice-template-Strategy2030 Cycle2 meta
<style>
/* Main banner container. Banner: background gradient, border colour and width and adding a margin between banner and article header*/ /* Important -- background gradient -- If you change one you must change all*/ .cnotice {
position: relative; overflow: hidden; background: -moz-linear-gradient(top, rgba(251,250,249,1) 0%, rgba(254,254,253,1) 20%, rgba(254,254,253,1) 23%, rgba(254,254,253,1) 27%, rgba(240,240,240,1) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(251,250,249,1) 0%, rgba(254,254,253,1) 20%, rgba(254,254,253,1) 23%, rgba(254,254,253,1) 27%, rgba(240,240,240,1) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(251,250,249,1) 0%, rgba(254,254,253,1) 20%, rgba(254,254,253,1) 23%, rgba(254,254,253,1) 27%, rgba(240,240,240,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */ border: 1px solid rgba(0, 0, 0, 0.2); margin-bottom: 1em; cursor: pointer; color: #222; font-weight: 500; margin-bottom: 10px;
}
/* Sets the minimum banner height. If img + logo-container margins > height. Banner will be larger*/
- cnotice-main {
display: table; width: 100%; height: 60px; /* need to set height for height 100% to work on elements within it */
}
.cnotice-message-container, .cnotice-logo-container {
display: table-cell; height: 100%; vertical-align: middle;
}
/* --- Main message --- */ .cnotice-message {
position: relative; margin: 0; color: #4D4D4D; line-height: 1.2; font-weight: bold; padding: 11px 10px 11px 10px;
}
@media (min-width: 1200px) {
.cnotice-message { padding: 11px 110px 11px 10px; }
}
body.rtl .cnotice-message {
padding: 11px 10px 11px 10px; background-position: right 10px top 10px;
}
.cnotice-message p {
margin: 0; font-family: Arial, sans-serif; font-style: bold; font-size: 14px; opacity: 1; text-align: center; padding-top: 10px; padding-bottom: 10px;
}
@media (min-width: 1200px) {
.cnotice-message p { font-size: 16px; }
}
/* --- Logo Image text --- */
.cnotice-logo-container {
width: 10%; padding: .5em 1.25em .5em .9em;
}
body.rtl .cnotice-logo-container {
padding: .5em 1.25em .5em .9em;
}
.cnotice-logo-container img {
opacity: 1; display: block; margin: 0 auto;
}
/* --- Close Options --- */
- cnotice-toggle-box-options {
display: inline-block; position: absolute; right: .5em; top: .5em; font-size: .8em; text-transform: uppercase;
}
body.rtl #cnotice-toggle-box-options {
right: auto; left: .5em;
}
- cnotice-toggle-box {
display: inline-block; cursor: pointer; opacity: .5;
}
- cnotice-toggle-box:hover { opacity: 1; }
- cnotice-toggle-box-x {
background: url('//upload.wikimedia.org/wikipedia/donate/3/32/Close-thin.png') no-repeat center center; width: 9px; height: 9px; float: right; display: block; margin: .2em .4em;
}
body.rtl #cnotice-toggle-box-x {
float: left;
}
/* --- Full Banner Link --- */ .cnotice a.cnotice-full-banner-click {
display: block; height: 100%; width: 100%; cursor: pointer; text-decoration: none;
}
.cnotice a.cnotice-full-banner-click:hover {
text-decoration: underline
}
.cnotice-button {
background-color: #4caf50; /* Green */ border: none; display: none; border-radius: 4px; color: white; padding: 10px 16px; text-align: center; font-weight: bold; text-decoration: none; font-size: 12px; margin: 4px 2px; -webkit-transition-duration: 0.4s; /* Safari */ transition-duration: 0.4s; cursor: pointer; z-index: 999;
}
@media (min-width: 1200px) {
.cnotice-button { display: inline-block; }
} @media (max-width: 1200px) {
.cnotice-button { width: 25%; margin: auto; margin-top: 10px; }
}
/* --- Buttons --- */ .cnotice a.cnotice-buttonlink {
cursor: pointer; text-decoration: none; color: black;
}
.cnotice a.cnotice-buttonlink:hover {
color: white;
}
.cnotice-button1 {
background-color: #0082c0; color: white; position: static; top: 45%; right: 30px; transform: translateY(-45%); min-width: 110px;
}
@media (min-width: 1200px) { .cnotice-button1 { position: absolute; } }
.cnotice-button1:hover {
background-color: #447FF5;
}
- cnotice-translation-link {
position: absolute; right: 5px; bottom: 5px; font-size: 0.8em; white-space: nowrap;
}
- cnotice-translation-link:hover {
text-decoration: underline;
}
.rtl #cnotice-translation-link {
text-align: left; left: 5px;
}
</style>
<script type="text/javascript"> var cn_rewrite_url = function() {
url = ; switch(mw.config.get('wgDBname')) { case 'plwiki': url = '//pl.wikipedia.org/wiki/Wikipedia:Strategia_Wikimedia_2017'; break; case 'arwiki': url = '//ar.wikipedia.org/wiki/%D9%88%D9%8A%D9%83%D9%8A%D8%A8%D9%8A%D8%AF%D9%8A%D8%A7:%D8%AE%D8%B7%D8%A9_%D9%88%D9%8A%D9%83%D9%8A%D9%85%D9%8A%D8%AF%D9%8A%D8%A7_%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D8%B1%D8%A7%D8%AA%D9%8A%D8%AC%D9%8A%D8%A9_2017'; break; case 'bnwiki': url = '//bn.wikipedia.org/wiki/%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%E0%A6%AA%E0%A6%BF%E0%A6%A1%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE:%E0%A6%89%E0%A6%87%E0%A6%95%E0%A6%BF%E0%A6%AE%E0%A6%BF%E0%A6%A1%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE_%E0%A6%86%E0%A6%A8%E0%A7%8D%E0%A6%A6%E0%A7%8B%E0%A6%B2%E0%A6%A8%E0%A7%87%E0%A6%B0_%E0%A6%95%E0%A7%8C%E0%A6%B6%E0%A6%B2_%E0%A6%A8%E0%A6%BF%E0%A6%B0%E0%A7%8D%E0%A6%A7%E0%A6%BE%E0%A6%B0%E0%A6%A3'; break; case 'zhwiki': url = '//zh.wikipedia.org/wiki/Wikipedia:%E7%B6%AD%E5%9F%BA%E5%AA%92%E9%AB%942030'; break; case 'nlwiki': url = '//nl.wikipedia.org/wiki/Wikipedia:Strategie_2017'; break; case 'frwiki': url = '//fr.wikipedia.org/wiki/Wikip%C3%A9dia:Mouvement_Wikimedia/Strat%C3%A9gie_2017'; break; case 'dewiki': url = '//de.wikipedia.org/wiki/Wikipedia:Wiki_2030'; break; case 'hewiki': url = '//he.wikipedia.org/wiki/%D7%95%D7%99%D7%A7%D7%99%D7%A4%D7%93%D7%99%D7%94:%D7%94%D7%AA%D7%94%D7%9C%D7%99%D7%9A_%D7%94%D7%90%D7%A1%D7%98%D7%A8%D7%98%D7%92%D7%99_%D7%9C%D7%A9%D7%A0%D7%AA_2017_-_%D7%94%D7%A9%D7%9C%D7%91_%D7%94%D7%A8%D7%90%D7%A9%D7%95%D7%9F'; break; case 'hiwiki': url = '//hi.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AA%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE:%E0%A4%B5%E0%A4%BF%E0%A4%95%E0%A4%BF%E0%A4%AE%E0%A5%80%E0%A4%A1%E0%A4%BF%E0%A4%AF%E0%A4%BE_%E0%A4%86%E0%A4%82%E0%A4%A6%E0%A5%8B%E0%A4%B2%E0%A4%A8_%E0%A4%B0%E0%A4%A3%E0%A4%A8%E0%A5%80%E0%A4%A4%E0%A4%BF_%E0%A4%A8%E0%A4%BF%E0%A4%B0%E0%A5%8D%E0%A4%A7%E0%A4%BE%E0%A4%B0%E0%A4%A3_%E0%A5%A8%E0%A5%A6%E0%A5%A7%E0%A5%AD'; break; case 'itwiki': url = '//it.wikipedia.org/wiki/Wikipedia:Strategia'; break; case 'jawiki': url = '//ja.wikipedia.org/wiki/Wikipedia:%E3%82%A6%E3%82%A3%E3%82%AD%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A22030'; break; case 'ptwiki': url = '//pt.wikipedia.org/wiki/Wikip%C3%A9dia:Esplanada/geral/Discuss%C3%A3o_de_estrat%C3%A9gia_do_Movimento_Wikimedia_(14mar2017)'; break; case 'ruwiki': url = '//ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A1%D1%82%D1%80%D0%B0%D1%82%D0%B5%D0%B3%D0%B8%D1%8F_%D0%B4%D0%B2%D0%B8%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F_%D0%92%D0%B8%D0%BA%D0%B8%D0%BC%D0%B5%D0%B4%D0%B8%D0%B0'; break; case 'eswiki': url = '//es.wikipedia.org/wiki/Wikipedia:Estrategia_2017'; break; case 'viwiki': url = '//vi.wikipedia.org/wiki/Wikipedia:Th%E1%BA%A3o_lu%E1%BA%ADn_Chi%E1%BA%BFn_l%C6%B0%E1%BB%A3c_Phong_tr%C3%A0o_Wikimedia_2017'; break; case 'enwiki': url = '//en.wikipedia.org/wiki/Wikipedia:Wikimedia_Strategy_2017'; break; case 'mediawikiwiki': url = '//www.mediawiki.org/wiki/Project:Wikimedia_Strategy_2017'; break; case 'wikidatawiki': url = '//www.wikidata.org/wiki/Wikidata:Strategy_2017'; break; case 'commonswiki': url = '//commons.wikimedia.org/wiki/Commons:Wikimedia_Strategy_2017'; break; } if(url!=) $("div#Strategy2030_Cycle2_meta a.cnotice-full-banner-click").attr("href",url);
} $(document).ready(cn_rewrite_url); </script>
<a class="cnotice-full-banner-click external text" href="//meta.wikimedia.org/wiki/Strategy/Wikimedia_movement/2017/Cycle_2">
<img src="//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/50px-Wikimedia-logo.svg.png" alt="Banner logo">
</a>
Close
[<a href="//meta.wikimedia.org/w/index.php?title=Special:Translate&group=Centralnotice-tgroup-Strategy2030_Cycle1">Help with translations!</a>]