MediaWiki:Centralnotice-template-EnqueteWMNL
<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">
- notice-button-2011 {
height: 30px; text-align: center; background-color: transparent; }
body.ltr #notice-button-2011 {
float: right; }
body.rtl #notice-button-2011 {
float: left; }
- notice-button-2011-start {
float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: right bottom; width: 4px; height: 30px; }
#notice-button-2011-end { float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: left top; width: 4px; height: 30px; }
- notice-button-2011-label {
float: right; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: 1em; font-weight: bold; color: black; line-height: 30px; height: 30px; padding: 0 4px; white-space: nowrap; text-decoration: none; cursor: pointer; }
- notice-button-2011-label:hover{
text-decoration: none; cursor: pointer;
}
- notice-button-2011-Editor {
position:absolute; height: 30px; text-align: center; background-color: transparent; bottom: 15px;
} body.ltr #notice-button-2011-Editor {
left: 40px;
} body.rtl #notice-button-2011-Editor {
right: 40px;
}
- notice-button-2011-start-Editor {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: left top; width: 4px; height: 30px; }
#notice-button-2011-end-Editor { float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: right bottom; width: 4px; height: 30px; }
- notice-button-2011-label-Editor {
float: left; background-image: url(//upload.wikimedia.org/wikipedia/foundation/a/a7/CNtranslatebutton2.png); background-position: center center; background-repeat: repeat-x; font-family: sans-serif; font-size: .5em; font-weight: bold; color: black; line-height: 30px; height: 30px; padding: 0 4px; white-space: nowrap; }
</style> <style>
- centralNotice.collapsed #{{{banner}}} {
display: none;
}
- {{{banner}}} {
position: relative; background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Plume_pen_w.svg/130px-Plume_pen_w.svg.png); background-repeat: no-repeat; background-color: white; background-position: 20px; border: solid 1px silver; height:100px; overflow: hidden;
}
- {{{banner}}} a,
- {{{banner}}} a:hover,
text-decoration: none;
}
- cn-bold-blue-text:hover {
text-decoration: none;
}
- cn-subtitle {
text-align: center; font-size: 14px; padding: 0px 80px 0 210px; font-style: italic; margin-top: -10px;
}
/* Bigger bold, blue text */
- {{{banner}}} #cn-bold-blue-text {
font-size: 1.7em; font-weight: bold; font-family: Helvetica, Arial, sans-serif; color: navy; padding: 1.5em 80px 0.8em 210px; line-height: 1em; text-align:center;
} </style>