Difference between revisions of "MediaWiki:Common.css"
Line 71: | Line 71: | ||
table.artdecor { | table.artdecor { | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
− | background: # | + | background: #eee; /* Default "system" gray */ |
text-align:left; | text-align:left; | ||
margin: 0.2em 0; | margin: 0.2em 0; | ||
Line 79: | Line 79: | ||
text-align: left; | text-align: left; | ||
border: none; | border: none; | ||
− | background-color: # | + | background-color: #eee; |
} | } | ||
.artdecor th, .artdecor-name { font-weight: bold; } | .artdecor th, .artdecor-name { font-weight: bold; } |
Revision as of 09:46, 9 March 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 */
vertical-align: top;
font-size: 16px;
line-height: 1.2em;
}
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;
width: 100%;
border: 1px solid #aaa;
background: #f9f9f9; /* Default "system" gray */
text-align:left;
}
table.fmbox-system {
background: #f9f9f9;
}
table.artdecor {
border: 1px solid #aaa;
background: #eee; /* Default "system" gray */
text-align:left;
margin: 0.2em 0;
}
.artdecor td, .artdecor th {
vertical-align: top;
text-align: left;
border: none;
background-color: #eee;
}
.artdecor th, .artdecor-name { font-weight: bold; }
.artdecor-status-unknown, .artdecor-type-unknown { color:#888888; }
.artdecor-status-experimental { color:red; }
.artdecor-status-beta { color:blue; }
.artdecor-status-stable { color:green; }
.artdecor-name, .artdecor-status, .artdecor-type, .artdecor-version, .artdecor-updated { white-space: nowrap; }
.artdecor-updated { font-size:80%; }
.artdecor-alert { background-color: yellow; }
td.artdecor-blank { background-color: inherit; }
td.artdecor-updated { background-color: inherit; }
td.artdecor-description { background-color: inherit; font-style: italic; }
th.artdecor-blank, th.artdecor-updated, th.artdecor-description {
background-color: inherit;
padding-bottom:0.6ex;
border-bottom: 1px solid #666666;
}