MediaWiki:Vector.css

/* CSS placed here will affect users of the Vector skin */ /****************************** * Hide items on main page ******************************/ .action-view.page-Main_Page #siteSub, .action-view.page-Main_Page #contentSub, .action-view.page-Main_Page .firstHeading { display: none !important; }

/*************************************** * Carousel photo slider on main page ***************************************/ .banner-image { position: relative; overflow: hidden; max-width: 1125px; height: auto; margin-bottom: .6em; } .banner-image img { max-width: 100%; height: auto; width: auto\9; } .banner-box-wide { width: 80% } .banner-box-left, .banner-box-right { padding: 8px 7px; background: rgb(16,16,16); background: rgba(0,0,0,0.3); border-radius: 4px; width: 40%; } .banner-box-left { left: 3%; text-align: left; } .banner-box-right { right: 3%; text-align: right; } .mainpage-shadowbox { color: white; background: rgb(16,16,16); background: rgba(0,0,0,0.3); border-radius: 4px; } .mainpage-shadowbox h2, .mainpage-shadowbox h3 { color: white; border:none; font-family: sans-serif; line-height: 1.2em; margin:0; } .mainpage-shadowbox h2 { font-size: 190%; } .mainpage-shadowbox h3 { font-size: 150%; padding: 0; }	color: white; font-weight: bold; } .banner-box-2 { position: absolute; z-index: 2; margin-top: 2em; min-width: 20em; } .banner-box-2 .quote { font-size: 90%; line-height: 1.2em; }
 * 1) mainpage-maplinks a, .mainpage-shadowbox a {

/* Necessary for displaying text in the upper right edge. (Used in Template:Shortcut) */ display: inline; position: absolute; z-index: 1; border: none; background: none; right: 12px; top: .3em; float: right; margin: 0; padding: 0; line-height: 1.5em; text-align: right; text-indent: 0; font-size: 90%; text-transform: none; white-space: normal; }
 * 1) shortcut {

/* For positioning icons at top-right, used in Templates with protection locks */ div.topicon { position: absolute; top: -3em; margin-right: -10px; display: block; }

/* account creation fixes */

form#userlogin { padding: 1em 1em .7em 1em; background: #FFFFE6; border: 2px solid #FC6; color: #000; margin-right: 2em; } .mw-special-Userlogin #mw-content-text #userlogin { width:35%; float:left; background:#EFF2FF; margin-right: 1.5em; } .mw-special-Userlogin .prefsectiontip { display:none }

.mw-special-Userlogin form#userlogin2 .captcha { background: #FFFFFF; border:1px solid #aaa; padding: 5px; } .mw-special-Userlogin #mw-content-text #signupend { margin-left:50%; }

display: inline; font-size: 92%; } /* Avoid apparent extra empty paragraph space on Main Page. * This is limited to the Main Page (page-Main_Page) and its localised variants (mw-mainpage, after JS delay) * so that on regular articles we do still have a consitent top margin between page title and first paragraph. */ .page-Main_Page #contentSub:empty, .mw-mainpage #contentSub:empty, /* Avoid duplicate margins on most pages, similar to enwiki */ display: none; }
 * 1) siteSub {
 * 1) contentSub2:empty {

/* Page-specific settings */ body.page-Main_Page.action-view #siteSub { display: none !important; }

body.page-Commons_Wiki_Loves_Monuments_upload.action-view #siteSub, body.page-Commons_Wiki_Loves_Monuments_upload.action-view #contentSub { display: none !important; }

.page-Commons_Wiki_Loves_Monuments_2013.action-view #firstHeading, .page-Commons_Wiki_Loves_Monuments_2013.action-view #siteSub, .page-Commons_Picture_of_the_Year_2013_Introduction #siteNotice { display: none !important; }

/* Display edit tags with a faint yellow background */

.mw-tag-markers { font-style: italic; font-size: 90%; background-color: lightyellow; }

/* Move page status indicators down slightly */ .mw-body .mw-indicators { padding-top: 0.4em; }

/* Imitate #contentSub styles from Vector skin. Used on Special:MyUploads via MediaWiki:Listfiles-summary */ .tpl-contentSub { font-size: 84%; line-height: 1.2em; margin: 0 0 1.4em 1em; color: #54595d; }