MediaWiki:Common.css
From Assassin Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/ | /** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/ | ||
Line 66: | Line 31: | ||
padding: 0px; | padding: 0px; | ||
width: 1px; | width: 1px; | ||
+ | } | ||
+ | |||
+ | /* These are the same colours as the enwiki | ||
+ | 'cmbox' styles; just with different names. */ | ||
+ | table.mbox-critical { | ||
+ | border: 4px solid #b22222; /* Red */ | ||
+ | background: #FFDBDB; /* Pink */ | ||
+ | } | ||
+ | table.mbox-important { | ||
+ | background: #FFDBDB; /* Red */ | ||
+ | } | ||
+ | table.mbox-warning { | ||
+ | background: #FFE7CE; /* Orange */ | ||
+ | } | ||
+ | table.mbox-caution { | ||
+ | background: #FFF9DB; /* Yellow */ | ||
+ | } | ||
+ | table.mbox-notice { | ||
+ | background: #D8E8FF; /* Blue */ | ||
+ | } | ||
+ | table.mbox-move { | ||
+ | background: #E4D8FF; /* Purple */ | ||
+ | } | ||
+ | table.mbox-protection { | ||
+ | background: #EFEFE1; /* Gray-gold */ | ||
+ | } | ||
+ | table.mbox-license { | ||
+ | border: 3px solid #88a; /* Dark gray */ | ||
+ | background: #f7f8ff; /* Light gray */ | ||
} | } |
Latest revision as of 06:45, 31 January 2012
/* CSS placed here will be applied to all skins */ /** reduced subset of the mbox styles from enwiki, mainly for the nice boxflow **/ table.mbox { margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; /* Default "notice" gray */ background: #f9f9f9; } table.mbox-wide { margin: 4px 0; } 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; } /* These are the same colours as the enwiki 'cmbox' styles; just with different names. */ table.mbox-critical { border: 4px solid #b22222; /* Red */ background: #FFDBDB; /* Pink */ } table.mbox-important { background: #FFDBDB; /* Red */ } table.mbox-warning { background: #FFE7CE; /* Orange */ } table.mbox-caution { background: #FFF9DB; /* Yellow */ } table.mbox-notice { background: #D8E8FF; /* Blue */ } table.mbox-move { background: #E4D8FF; /* Purple */ } table.mbox-protection { background: #EFEFE1; /* Gray-gold */ } table.mbox-license { border: 3px solid #88a; /* Dark gray */ background: #f7f8ff; /* Light gray */ }