Difference between revisions of "Common.css"
From Joomla! Documentation
m (fixing table.ambox, doesn't play nice with Chrome) |
m (Reverted edits by Hutchy68 (talk) to last revision by Chris Davenport) |
||
Line 10: | Line 10: | ||
body.page-Main_Page h1.firstHeading { display:none; } | body.page-Main_Page h1.firstHeading { display:none; } | ||
body.page-Beginners h1.firstHeading { display:none; } | body.page-Beginners h1.firstHeading { display:none; } | ||
− | |||
− | |||
− | |||
− | |||
body.page-JEDL/FAQ h1.firstHeading { display:none; } | body.page-JEDL/FAQ h1.firstHeading { display:none; } | ||
− | |||
− | |||
− | |||
− | |||
/* namespace "branding" */ | /* namespace "branding" */ | ||
Line 53: | Line 45: | ||
/* Article message box template styles */ | /* Article message box template styles */ | ||
table.ambox { | table.ambox { | ||
− | margin: | + | margin: 0 10%; /* Will not overlap with other elements */ |
+ | border-collapse: collapse; | ||
background: #fbfbfb; | background: #fbfbfb; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
Line 74: | Line 67: | ||
border-left: 10px solid #578AD6 ; /* Blue */ | border-left: 10px solid #578AD6 ; /* Blue */ | ||
} | } | ||
− | + | table.ambox-delete, | |
table.ambox-serious { | table.ambox-serious { | ||
border-left: 10px solid #ED2E38 ; /* Red S+I WG */ | border-left: 10px solid #ED2E38 ; /* Red S+I WG */ | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
border-left: 10px solid #EBAD14 ; /* Orange (Dev WG) */ | border-left: 10px solid #EBAD14 ; /* Orange (Dev WG) */ | ||
− | |||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
Line 97: | Line 85: | ||
table.ambox-protection { | table.ambox-protection { | ||
border-left: 10px solid #bba; /* Gray */ | border-left: 10px solid #bba; /* Gray */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
table.ambox.ambox-mini { /* small floating box variant */ | table.ambox.ambox-mini { /* small floating box variant */ | ||
Line 216: | Line 197: | ||
line-height: 1.25em; | line-height: 1.25em; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Tweak for Google Adsense */ | /* Tweak for Google Adsense */ | ||
Line 479: | Line 204: | ||
width: 118px; | width: 118px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 09:52, 27 February 2013
/** 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;
}