MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (FINE! Have it your way!) |
m (I hate CSS.) |
||
Line 9: | Line 9: | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-left: 10px solid #1e90ff; /* Blue */ | border-left: 10px solid #1e90ff; /* Blue */ | ||
} | } | ||
table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ | table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ |
Revision as of 02:00, 12 January 2008
/** CSS placed here will be applied to all skins */
/* Article message box template styles */
table.ambox-notice {
margin: 0 auto;
width: 70%;
border-collapse: collapse;
background: #fbfbfb;
border: 1px solid #aaa;
border-left: 10px solid #1e90ff; /* 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;
}
table.ambox.ambox-mini { /* small floating box variant */
float: right;
clear: right;
margin: 0 0 0 1em;
width: 25%;
}