MediaWiki:Centralnotice-template-POTY2012R2
<style type="text/css">
/* Common style for 2011 banners */
/* Suppress lock icon for secure links in the banner */ #centralNotice a[href^="https://"], .link-https { background-image: none !important; padding: 0 !important; }
/* Set a grey border, grey background, etc. */ .cn-fundraiser-banner { position: relative; border: 1px solid silver; background-color: #fbfbfb; margin-bottom: 0.5em !important; padding-top: 1em; padding-bottom: 1em; text-align:center; }
/* Put the little X in the top-right (ltr) or top-left (rtl) corner */ #cn-toggle-box { position: absolute; z-index: 51; top: 7px; } body.ltr #cn-toggle-box { right: 7px; } body.rtl #cn-toggle-box { left: 7px; } #cn-toggle-box img { display: block; }
/* Put the big X in the top-right (ltr) or top-left (rtl) corner */ #cn-close-box { position: absolute; z-index: 51; top: 5px; } body.ltr #cn-close-box { right: 5px; } body.rtl #cn-close-box { left: 5px; } #cn-close-box img { display: block; }
/* Bold, blue text */ .cn-blue-text { font-weight: bold; color: #6e98c2; text-align: center; font-size: 1.3em; }
/* Bigger bold, blue text */ .cn-bold-blue-text { font-size: 2.25em; font-weight: bold; color: navy; text-align: center; padding: 0.5em !important; line-height: 1em; direction: ltr; // Temporary fix for FRDrill 6. Will be removed later (breaks RTL when we have translations) }
/* For buttons in the lower right (ltr) or left (rtl) corner */ .cn-bottom-right-float { position: absolute; z-index: 50; bottom: 1em; } body.ltr .cn-bottom-right-float { right: 1em; } body.rtl .cn-bottom-right-float { left: 1em; }
/* For buttons in the upper left (ltr) or right (rtl) corner */
.cn-top-left-float { position: absolute; z-index: 50; top: 1em; } body.ltr .cn-top-left-float { left: 1em; } body.rtl .cn-top-left-float { right: 1em; }
/* To make the entire banner clickable */ a.cn-full-banner-click { display:block; position:relative; height:100%; width:100%; }
</style> <style type="text/css">
- {{{banner-name}}} {
position: relative; background-repeat: no-repeat; margin-bottom: 1em !important; height: auto; border: 1px solid #7EC581; background: #C9FFB8; overflow: inherit; } body.ltr #{{{banner-name}}} {
background-position: bottom left;
} body.rtl #{{{banner-name}}} {
background-position: bottom right;
}
- {{{banner-name}}} a {
text-decoration: none;
}
- {{{banner-name}}} a:hover {
text-decoration: none;
}
- cn-bold-blue-text:hover {
text-decoration: underline;
}
/* Bigger bold, blue text */
- {{{banner-name}}} #cn-bold-blue-text {
font-size: 1.3em; font-family: Helvetica, Arial, sans-serif; color: navy; padding: 1em 80px 1.2em 194px; line-height: 1.5em; text-align:center;
}
.mw-wmscholnotice-trans-box {
position: absolute; right: 5px; bottom: 5px; font-size: 0.8em; white-space: nowrap;
} .animated{-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s}.animated.hinge{-webkit-animation-duration:2s;-moz-animation-duration:2s;-ms-animation-duration:2s;-o-animation-duration:2s;animation-duration:2s}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translateY(-20px)}100%{opacity:1;-webkit-transform:translateY(0)}}@-moz-keyframes fadeInDown{0%{opacity:0;-moz-transform:translateY(-20px)}100%{opacity:1;-moz-transform:translateY(0)}}@-o-keyframes fadeInDown{0%{opacity:0;-ms-transform:translateY(-20px)}100%{opacity:1;-ms-transform:translateY(0)}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}100%{opacity:1;transform:translateY(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;-moz-animation-name:fadeInDown;-o-animation-name:fadeInDown;animation-name:fadeInDown}</style> <a id="cn_fundraising_link" href="//commons.wikimedia.org/wiki/Commons:Picture_of_the_Year/2012/Introduction">
<img src="//upload.wikimedia.org/wikipedia/meta/b/b9/POTY_Banner_Clock.png" style="position: absolute;top: 1em;left: 17px; " />
{{{poty2012-text}}}
{{{poty2012-link-text}}}
</a>