Difference between revisions of "MediaWiki:Common.css"
Line 56: | Line 56: | ||
clear: both; | clear: both; | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
+ | padding: 0 important!; | ||
width: 100%; | width: 100%; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background: #f9f9f9; /* Default "system" gray */ | background: #f9f9f9; /* Default "system" gray */ | ||
text-align:left; | text-align:left; | ||
− | |||
} | } | ||
table.fmbox-system { | table.fmbox-system { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | } |
Revision as of 19:05, 20 February 2013
/* CSS placed here will be applied to all skins */
/* Gehsi div classes */
div.mw-geshi {
margin: 1em 0;
border: 1px solid #7777FF;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #DDDDFF;
font-size: 1.1em;
}
div.mw-geshi-error {
margin: 1em 0;
border: 1px solid #FF7777;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #FFDDDD;
font-size: 1.1em;
}
div.mw-geshi-valid {
margin: 1em 0;
border: 1px solid #77FF77;
text-align: left;
padding:10px 10px;
clear: both;
background-color: #DDFFDD;
font-size: 1.1em;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0px;
width: 1px;
}
/* FM Box */
table.fmbox {
clear: both;
margin: 0.2em 0;
padding: 0 important!;
width: 100%;
border: 1px solid #aaa;
background: #f9f9f9; /* Default "system" gray */
text-align:left;
}
table.fmbox-system {
background: #f9f9f9;
}