MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Carl McBride (talk | contribs) (New page: →* CSS placed here will be applied to all skins: →Article message box template styles: table.ambox { width: 80%; margin: 0 auto; border-collapse: collapse; background: #f...) |
Carl McBride (talk | contribs) m (Admin.) |
||
Line 47: | Line 47: | ||
width: 25%; | width: 25%; | ||
} | } | ||
body.page-Main_Page h1.firstHeading { display:none; } |
Latest revision as of 19:27, 15 January 2009
/** CSS placed here will be applied to all skins */
/* Article message box template styles */
table.ambox {
width: 80%;
margin: 0 auto;
border-collapse: collapse;
background: #f8fcff;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* Default "notice" blue */
}
table.ambox th, table.ambox td { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
table.ambox td.ambox-image { /* The left image cell */
width: 52px;
padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */
text-align: center;
}
table.ambox td.ambox-imageright { /* The right image cell */
width: 52px;
padding: 2px 4px 2px 0px; /* 0px left, 4px right */
text-align: center;
}
table.ambox-notice {
border-left: 10px solid #1e90ff; /* DodgerBlue */
/* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */
}
table.ambox-serious {
border-left: 10px solid #b22222; /* FireBrick */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Tangerine */
}
table.ambox-style {
border-left: 10px solid #f4c430; /* Saffron */
}
table.ambox-merge {
border-left: 10px solid #9932cc; /* DarkOrchid */
}
table.ambox-growth {
border-left: 10px solid #228b22; /* Forest green */
}
table.ambox.ambox-mini { /* small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}
body.page-Main_Page h1.firstHeading { display:none; }