Difference between revisions of "MediaWiki:Common.css"
Line 66: | Line 66: | ||
table.fmbox-system { | table.fmbox-system { | ||
background: #f9f9f9; | background: #f9f9f9; | ||
+ | } | ||
+ | |||
+ | |||
+ | .xm-table { | ||
+ | border: 1px solid #666666; | ||
+ | background-color: white; | ||
+ | } | ||
+ | .xm-table td, .xm-table th { | ||
+ | vertical-align: top; | ||
+ | text-align: left; | ||
+ | border: none; | ||
+ | background-color: #EEEEEE; | ||
+ | } | ||
+ | .xm-table th, .xm-name { font-weight: bold; } | ||
+ | .xm-status-unknown, .xm-type-unknown { color:#888888; } | ||
+ | .xm-status-experimental { color:red; } | ||
+ | .xm-status-beta { color:blue; } | ||
+ | .xm-status-stable { color:green; } | ||
+ | .xm-name, .xm-status, .xm-type, .xm-version, .xm-updated { white-space: nowrap; } | ||
+ | .xm-updated { font-size:80%; } | ||
+ | .xm-alert { background-color: yellow; } | ||
+ | td.xm-blank { background-color: inherit; } | ||
+ | td.xm-updated { background-color: inherit; } | ||
+ | td.xm-description { background-color: inherit; font-style: italic; } | ||
+ | th.xm-blank, th.xm-updated, th.xm-description { | ||
+ | background-color: inherit; | ||
+ | padding-bottom:0.6ex; | ||
+ | border-bottom: 1px solid #666666; | ||
} | } |
Revision as of 09:40, 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;
}
.xm-table {
border: 1px solid #666666;
background-color: white;
}
.xm-table td, .xm-table th {
vertical-align: top;
text-align: left;
border: none;
background-color: #EEEEEE;
}
.xm-table th, .xm-name { font-weight: bold; }
.xm-status-unknown, .xm-type-unknown { color:#888888; }
.xm-status-experimental { color:red; }
.xm-status-beta { color:blue; }
.xm-status-stable { color:green; }
.xm-name, .xm-status, .xm-type, .xm-version, .xm-updated { white-space: nowrap; }
.xm-updated { font-size:80%; }
.xm-alert { background-color: yellow; }
td.xm-blank { background-color: inherit; }
td.xm-updated { background-color: inherit; }
td.xm-description { background-color: inherit; font-style: italic; }
th.xm-blank, th.xm-updated, th.xm-description {
background-color: inherit;
padding-bottom:0.6ex;
border-bottom: 1px solid #666666;
}