MediaWiki:Common.css
From Joomla! Documentation
Revision as of 12:53, 12 January 2009 by Chris Davenport (Talk | contribs)
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
/** CSS placed here will be applied to all skins SOON TO BE REPLACED WITH @import url("/skins/common/docs-common.css") screen; */ /* hides headings on some pages [[MediaWiki:jdoc-hidden-titles]] [[MediaWiki:common.js]] */ body.no-header div#content #siteSub, body.no-header div#content #contentSub, body.no-header div#content h1.firstHeading { display: none; } body.page-Main_Page h1.firstHeading { display:none; } body.page-Beginners h1.firstHeading { display:none; } body.page-JEDL/FAQ h1.firstHeading { display:none; } /* namespace "branding" */ body.ns-4 #content h1.firstHeading { background: url(/images/thumb/7/7f/Documentation_all_together.jpg/80px-Documentation_all_together.jpg) no-repeat right bottom; } #disambig, .dablink { border:2px solid silver; border-width: 1px 0px; background:white; margin:0.5ex 1em 0.5ex 1.5em; } .dablink { border-width:1px 0; padding:0.5ex 1em 0.5ex 1ex; font-style:italic; } /* template-documentation */ .template-documentation { border:1px solid #001450; background:#f1f2f7; padding:1ex; margin-top:1em; } #template_doc_page_viewed_directly, #template_doc_page_transcluded { text-align:center; width: 95%; margin:0 auto; border:1px solid #d0d0d0; background:white; color:#666; } /* Article message box template styles */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } table.ambox td.ambox-image { /* The left image cell */ padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0px; /* 0px left, 4px right */ text-align: center; } /* J! Logo Colors - red: #ED2E38 blue: #578AD6 orange: #EBAD14 green: #61BF1A */ table.ambox-notice { border-left: 10px solid #578AD6 ; /* Blue */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #ED2E38 ; /* Red S+I WG */ } table.ambox-content { border-left: 10px solid #EBAD14 ; /* Orange (Dev WG) */ } table.ambox-style { border-left: 10px solid #C16B42; /* Umbra (Trans WG) */ } table.ambox-merge { border-left: 10px solid #C348C3; /* Purple (Doc WG) */ } table.ambox-growth { border-left: 10px solid #61BF1A ; /* Green (Found WG) */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } table.ambox.ambox-mini { /* small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; } /** Table formatting **/ table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#F9F9F9; border:1px #AAA solid; border-collapse:collapse; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border:1px #AAA solid; padding:0.2em; } table.wikitable th, table.prettytable th { background:#F2F2F2; text-align:center; } table.wikitable caption, table.prettytable caption { margin-left:inherit; margin-right:inherit; } /* * (floating) box formatting */ .infobox { float:right; clear:right; margin-bottom:0.5em; margin-left:1em; padding:0.2em; border:1px solid #AAA; background:#F9F9F9; color:black; } .infobox td, .infobox th { vertical-align:top; } .infobox caption { font-size:larger; margin-left:inherit; } .infobox.bordered { border-collapse:collapse; } .infobox.bordered td, .infobox.bordered th { border:1px solid #AAA; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border:0; } /* * Messagebox templates - see talkpage for examples * Imported from [[en:MediaWiki:Common.css]] on 2007-07-13 */ .messagebox{ border: 1px solid #aaa; background-color: #f9f9f9; width: 80%; margin: 0 auto 1em auto; padding: .2em; } .messagebox.merge { border: 1px solid #c0b8cc; background-color: #f0e5ff; text-align: center; } .messagebox.cleanup { border: 1px solid #9f9fff; background-color: #efefff; text-align: center; } .messagebox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 4px 2px 4px; } .messagebox.small { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; } /* Tweak for Google Adsense */ #google_ads_div_Joomla_Documentation { margin-left: auto; margin-right: auto; width: 118px; }