MediaWiki:Common.css
From OpenSimulator
(Difference between revisions)
(New page: - →* CSS placed here will be applied to all skins: div.info { background-color:#FFFFFF; padding-left:70px; padding-bottom:2px; padding-top:2px; background-position: 8px center; font...) |
|||
Line 30: | Line 30: | ||
vertical-align:middle; | vertical-align:middle; | ||
} | } | ||
+ | |||
+ | /* Image message box styles */ | ||
+ | table.imbox { | ||
+ | margin: 4px 10%; | ||
+ | border-collapse: collapse; | ||
+ | border: 3px solid #1e90ff; /* Default "notice" blue */ | ||
+ | background: #fbfbfb; | ||
+ | } | ||
+ | .imbox .mbox-text .imbox, | ||
+ | .imbox-text .imbox { /* For imboxes inside imbox-text cells. */ | ||
+ | margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ | ||
+ | } | ||
+ | .mbox-inside .imbox { /* For imboxes inside other templates. */ | ||
+ | margin: 4px; | ||
+ | } | ||
+ | .imbox th.mbox-text, .imbox td.mbox-text, | ||
+ | th.imbox-text, td.imbox-text { /* The message body cell(s) */ | ||
+ | border: none; | ||
+ | padding: 0.25em 0.9em; /* 0.9em left/right */ | ||
+ | width: 100%; | ||
+ | } | ||
+ | .imbox td.mbox-image, | ||
+ | td.imbox-image { /* The left image cell */ | ||
+ | border: none; | ||
+ | padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | .imbox td.mbox-imageright, | ||
+ | td.imbox-imageright { /* The right image cell */ | ||
+ | border: none; | ||
+ | padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | table.imbox-notice { | ||
+ | border: 3px solid #1e90ff; /* Blue */ | ||
+ | } | ||
+ | table.imbox-speedy { | ||
+ | border: 3px solid #b22222; /* Red */ | ||
+ | background: #fee; /* Pink */ | ||
+ | } | ||
+ | table.imbox-delete { | ||
+ | border: 3px solid #b22222; /* Red */ | ||
+ | } | ||
+ | table.imbox-content { | ||
+ | border: 3px solid #f28500; /* Orange */ | ||
+ | } | ||
+ | table.imbox-style { | ||
+ | border: 3px solid #f4c430; /* Yellow */ | ||
+ | } | ||
+ | table.imbox-move { | ||
+ | border: 3px solid #9932cc; /* Purple */ | ||
+ | } | ||
+ | table.imbox-protection { | ||
+ | border: 3px solid #bba; /* Gray-gold */ | ||
+ | } | ||
+ | table.imbox-license { | ||
+ | border: 3px solid #88a; /* Dark gray */ | ||
+ | background: #f7f8ff; /* Light gray */ | ||
+ | } | ||
+ | table.imbox-featured { | ||
+ | border: 3px solid #cba135; /* Brown-gold */ | ||
+ | } |
Revision as of 07:35, 26 September 2008
/** CSS placed here will be applied to all skins */ div.info { background-color:#FFFFFF; padding-left:70px; padding-bottom:2px; padding-top:2px; background-position: 8px center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #003399; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 10px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #aaa; border-right-color: #aaa; border-bottom-color: #aaa; border-left-color: #1e90ff; letter-spacing: 0.1em; word-spacing:0.1em; min-height:50px; background-repeat: no-repeat; background-image:url(../Info.png); margin-left:10px; margin-right:10px; vertical-align:middle; } /* Image message box styles */ table.imbox { margin: 4px 10%; border-collapse: collapse; border: 3px solid #1e90ff; /* Default "notice" blue */ background: #fbfbfb; } .imbox .mbox-text .imbox, .imbox-text .imbox { /* For imboxes inside imbox-text cells. */ margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ } .mbox-inside .imbox { /* For imboxes inside other templates. */ margin: 4px; } .imbox th.mbox-text, .imbox td.mbox-text, th.imbox-text, td.imbox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; } .imbox td.mbox-image, td.imbox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } .imbox td.mbox-imageright, td.imbox-imageright { /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } table.imbox-notice { border: 3px solid #1e90ff; /* Blue */ } table.imbox-speedy { border: 3px solid #b22222; /* Red */ background: #fee; /* Pink */ } table.imbox-delete { border: 3px solid #b22222; /* Red */ } table.imbox-content { border: 3px solid #f28500; /* Orange */ } table.imbox-style { border: 3px solid #f4c430; /* Yellow */ } table.imbox-move { border: 3px solid #9932cc; /* Purple */ } table.imbox-protection { border: 3px solid #bba; /* Gray-gold */ } table.imbox-license { border: 3px solid #88a; /* Dark gray */ background: #f7f8ff; /* Light gray */ } table.imbox-featured { border: 3px solid #cba135; /* Brown-gold */ }