Difference between revisions of "MediaWiki:Common.css"
From MadaCamp
CampMaster (talk | contribs) |
CampMaster (talk | contribs) |
||
(128 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
+ | /* For MonoBook specific rules, see MediaWiki:Monobook.css */ | ||
− | . | + | /* banner control buttons */ |
− | width: | + | |
− | + | #madacamp_banner td{ | |
+ | border-bottom: solid 2px #9e9a91; | ||
+ | border-right: solid 2px #9e9a91; | ||
+ | border-left: solid 2px #efefef; | ||
+ | border-top: solid 2px #efefef; | ||
+ | background: #dcdad5; | ||
+ | } | ||
+ | |||
+ | /* Copied from somewhere | ||
+ | #column-content { margin-left: -15em } | ||
+ | #content { margin-left: 15em } | ||
+ | #p-logo a, #p-logo a:hover { width: 15em } | ||
+ | .portlet { width: 14em } | ||
+ | #p-cactions { left: 14em } | ||
+ | */ | ||
+ | |||
+ | |||
+ | /* Modify width of sidebar NEW */ | ||
+ | #column-content { margin-left: -175px } | ||
+ | #content { margin-left: 175px } | ||
+ | .portlet { width: 165px } | ||
+ | |||
+ | |||
+ | |||
+ | /* Modify width of sidebar */ | ||
+ | #column-content { margin-left: -175px } | ||
+ | #content { margin-left: 175px } | ||
+ | .portlet { width: 165px } | ||
+ | |||
+ | |||
+ | .space{ | ||
+ | padding:10px; | ||
} | } | ||
− | . | + | .imageTable{ |
width:600px; | width:600px; | ||
border-collapse:collapse; | border-collapse:collapse; | ||
− | |||
− | |||
} | } | ||
− | . | + | .imageTable td{ |
− | + | padding:0; | |
+ | padding-bottom:6px; | ||
} | } | ||
Line 20: | Line 51: | ||
padding:0; | padding:0; | ||
padding-bottom:6px; | padding-bottom:6px; | ||
+ | vertical-align:top; | ||
} | } | ||
+ | /* captionTable can be used for image groups with or without | ||
+ | captions, a grey border is drawn around the group of images */ | ||
+ | .captionTable{ | ||
+ | border: 1px solid #cccccc; | ||
+ | background: #f5f5f5; | ||
+ | border-collapse: separate; | ||
+ | border-spacing: 6px; | ||
+ | } | ||
− | . | + | .captionTable td{ |
− | padding: | + | vertical-align: top; |
− | + | padding: 0px; | |
+ | font-size: 80%; | ||
} | } | ||
− | |||
/* colour input fields */ | /* colour input fields */ | ||
Line 46: | Line 86: | ||
} | } | ||
− | /* remove mediawiki logo */ | + | /* remove language switch */ |
− | # | + | #p-lang { |
+ | display: none; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* remove mediawiki logo, disclaimer, about and pricacy */ | ||
+ | #footer-poweredbyico, #footer-places-privacy, #footer-places-about, #footer-places-disclaimer{ display: none; | ||
+ | } | ||
+ | |||
/* remove talk tab on Main Page */ | /* remove talk tab on Main Page */ | ||
Line 53: | Line 101: | ||
display: none !important; | display: none !important; | ||
} | } | ||
+ | |||
+ | /* move top left tabs to right as the left column was expanded */ | ||
+ | .vectorTabs{ | ||
+ | margin-left:20px; | ||
+ | } | ||
+ | |||
/* remove permanent link */ | /* remove permanent link */ | ||
Line 81: | Line 135: | ||
} | } | ||
+ | /* Remove category link appearing at the bottom of some pages */ | ||
+ | .catlinks { display: none; } | ||
/* Pretty tables (to replace Template:prettytable) */ | /* Pretty tables (to replace Template:prettytable) */ | ||
Line 90: | Line 146: | ||
border-spacing: 0; | border-spacing: 0; | ||
padding: 0; | padding: 0; | ||
− | font-size: 95%; | + | font-size: 95%; |
} | } | ||
Line 107: | Line 163: | ||
.MediaTransformError td { | .MediaTransformError td { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | /* Pad Google AdSense box in portlet in sidebar */ | ||
+ | #p-googleadsense .pBody { | ||
+ | padding-top: 5px; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | #slideshow_table{ | ||
+ | background-image:url(madacamp_slideshow/slideshow_bg.png); | ||
+ | } | ||
+ | #slideshow_table a{ | ||
+ | color: #b4760a; | ||
+ | text-transform: uppercase; | ||
+ | |||
+ | } | ||
+ | |||
+ | #slideshow_table_v2{ | ||
+ | background-image:url(madacamp_slideshow/polaroid2.png); | ||
+ | } | ||
+ | #slideshow_table_v2 a{ | ||
+ | color: #ffffff; | ||
+ | text-transform: uppercase; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | #product_table{ | ||
+ | width: 600px; | ||
+ | border-color: #c67a7a; | ||
+ | border-width: 0 0 1px 1px; | ||
+ | border-style: solid; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | border-spacing: 0px; | ||
+ | border-collapse: collapse; | ||
+ | background: url(http://www.madacamp.com/images/madagascar/Product_table.jpg); | ||
+ | } | ||
+ | |||
+ | #product_table td{ | ||
+ | border-color: #c67a7a; | ||
+ | border-width: 1px 1px 0 0; | ||
+ | border-style: solid; | ||
+ | margin: 0; | ||
+ | padding: 4px; | ||
+ | border-spacing: 0px; | ||
+ | vertical-align:top; | ||
+ | } | ||
+ | |||
+ | |||
+ | #product_table big{ | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | #product_table td img{ | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .flexmap{ | ||
+ | width: 100%; | ||
+ | max-width: 600px; | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .custom_gallery_1 img{ | ||
+ | border: 1px solid #cccccc; | ||
+ | } | ||
+ | |||
+ | #custum_link_1 a | ||
+ | { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | #map_button a{ | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | |||
+ | #map_button a.external { | ||
+ | background: none; | ||
+ | padding-right: 0; | ||
+ | } | ||
+ | |||
+ | #map_button { | ||
+ | background-image:url(images/yellow_button.png); | ||
+ | background-size: 100%; | ||
+ | background-color: #74a65c; | ||
+ | padding: 10px 20px; | ||
+ | border: none; | ||
+ | text-align:center; | ||
+ | border-radius: 20px; | ||
+ | cursor: pointer; | ||
+ | font-size: 100%; | ||
+ | font-weight: bold; | ||
+ | -webkit-appearance:none; | ||
+ | min-width: 160px; | ||
+ | display:inline-block; | ||
+ | margin:5px 0px 5px 0px; | ||
} | } |
Latest revision as of 15:52, 27 July 2024
/* CSS placed here will be applied to all skins */ /* For MonoBook specific rules, see MediaWiki:Monobook.css */ /* banner control buttons */ #madacamp_banner td{ border-bottom: solid 2px #9e9a91; border-right: solid 2px #9e9a91; border-left: solid 2px #efefef; border-top: solid 2px #efefef; background: #dcdad5; } /* Copied from somewhere #column-content { margin-left: -15em } #content { margin-left: 15em } #p-logo a, #p-logo a:hover { width: 15em } .portlet { width: 14em } #p-cactions { left: 14em } */ /* Modify width of sidebar NEW */ #column-content { margin-left: -175px } #content { margin-left: 175px } .portlet { width: 165px } /* Modify width of sidebar */ #column-content { margin-left: -175px } #content { margin-left: 175px } .portlet { width: 165px } .space{ padding:10px; } .imageTable{ width:600px; border-collapse:collapse; } .imageTable td{ padding:0; padding-bottom:6px; } .imageTable td{ padding:0; padding-bottom:6px; vertical-align:top; } /* captionTable can be used for image groups with or without captions, a grey border is drawn around the group of images */ .captionTable{ border: 1px solid #cccccc; background: #f5f5f5; border-collapse: separate; border-spacing: 6px; } .captionTable td{ vertical-align: top; padding: 0px; font-size: 80%; } /* colour input fields */ textarea, #searchInput { background-color: #b8deb1; } textarea:focus, #searchInput:focus { background-color: #e4f3e1; } /* remove math button */ #mw-editbutton-math { display: none; } /* remove language switch */ #p-lang { display: none; } /* remove mediawiki logo, disclaimer, about and pricacy */ #footer-poweredbyico, #footer-places-privacy, #footer-places-about, #footer-places-disclaimer{ display: none; } /* remove talk tab on Main Page */ .page-Main_Page #ca-talk { display: none !important; } /* move top left tabs to right as the left column was expanded */ .vectorTabs{ margin-left:20px; } /* remove permanent link */ #t-permalink{ display: none; } /* remove print version link */ #t-print{ display: none; } /* remove "Main Page" heading */ body.page-Main_Page h1.firstHeading { display:none; } /* reCaptcha style */ .recaptchatable .recaptcha_image_cell, #recaptcha_table { background-color:#f5f5f5 !important; //reCaptcha widget background color } #recaptcha_table { border-color: #8c8c8c !important; //reCaptcha widget border color } #recaptcha_response_field { border-color: #8c8c8c !important; //Text input field border color background-color:#696969 !important; //Text input field background color } /* Remove category link appearing at the bottom of some pages */ .catlinks { display: none; } /* Pretty tables (to replace Template:prettytable) */ .prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; border-spacing: 0; padding: 0; font-size: 95%; } .prettytable th { border: 1px #aaa solid; margin: 0; padding: 4px; } .prettytable td { border: 1px #aaa solid; margin: 0; padding: 4px; } .MediaTransformError td { display: none; } /* Pad Google AdSense box in portlet in sidebar */ #p-googleadsense .pBody { padding-top: 5px; text-align: center; } #slideshow_table{ background-image:url(madacamp_slideshow/slideshow_bg.png); } #slideshow_table a{ color: #b4760a; text-transform: uppercase; } #slideshow_table_v2{ background-image:url(madacamp_slideshow/polaroid2.png); } #slideshow_table_v2 a{ color: #ffffff; text-transform: uppercase; } #product_table{ width: 600px; border-color: #c67a7a; border-width: 0 0 1px 1px; border-style: solid; margin: 0; padding: 0; border-spacing: 0px; border-collapse: collapse; background: url(http://www.madacamp.com/images/madagascar/Product_table.jpg); } #product_table td{ border-color: #c67a7a; border-width: 1px 1px 0 0; border-style: solid; margin: 0; padding: 4px; border-spacing: 0px; vertical-align:top; } #product_table big{ font-weight:bold; } #product_table td img{ display: block; } .flexmap{ width: 100%; max-width: 600px; display:none; } .custom_gallery_1 img{ border: 1px solid #cccccc; } #custum_link_1 a { color: #ffffff; } #map_button a{ color: #ffffff; } #map_button a.external { background: none; padding-right: 0; } #map_button { background-image:url(images/yellow_button.png); background-size: 100%; background-color: #74a65c; padding: 10px 20px; border: none; text-align:center; border-radius: 20px; cursor: pointer; font-size: 100%; font-weight: bold; -webkit-appearance:none; min-width: 160px; display:inline-block; margin:5px 0px 5px 0px; }