Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(ambox) |
|||
Line 58: | Line 58: | ||
} | } | ||
/* End Main Page style */ | /* End Main Page style */ | ||
/* ambox class for skinning ambox's */ | |||
th.ambox-text, td.ambox-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.ambox-image { /* The left image cell */ | |||
border: none; | |||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | |||
text-align: center; | |||
} | |||
td.ambox-image2 { /* The right image cell */ | |||
border: none; | |||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | |||
text-align: center; | |||
} | |||
td.ambox-empty-cell { /* An empty narrow cell */ | |||
border: none; | |||
padding: 0px; | |||
width: 1px; | |||
} | |||
/* Article message box styles */ | |||
table.ambox { | |||
margin: 0px 10%; /* 10% = Will not overlap with other elements */ | |||
border: 1px solid #aaa; | |||
background: #fbfbfb; | |||
} | |||
table.ambox + table.ambox { /* Single border between stacked boxes. */ | |||
margin-top: -1px; | |||
} | |||
.ambox th.ambox-text, | |||
.ambox td.ambox-text { /* The message body cell(s) */ | |||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
} | |||
.ambox td.ambox-image { /* The left image cell */ | |||
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ | |||
} | |||
.ambox td.ambox-image2 { /* The right image cell */ | |||
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ | |||
} | |||
/* Colours */ | |||
table.ambox-notice, | |||
td.ambox-notice { | |||
border-left: 10px solid #1e90ff; /* Blue */ | |||
} | |||
table.ambox-notice-2, | |||
td.ambox-notice-2 { | |||
border-left: 10px solid #3f6180; /* Dark Blue */ | |||
} | |||
table.ambox-delete, | |||
table.ambox-serious { | |||
background: #fee; /* Pink */ | |||
border: 1px solid #BB7070; | |||
} | |||
td.ambox-delete, | |||
td.ambox-serious { | |||
border-left: 10px solid #b22222; /* Red */ | |||
} | |||
table.ambox-content, | |||
td.ambox-content { | |||
border-left: 10px solid #f28500; /* Orange */ | |||
} | |||
table.ambox-style, | |||
td.ambox-style { | |||
border-left: 10px solid #ffcc00; /* Yellow */ | |||
} | |||
table.ambox-images, | |||
td.ambox-images { | |||
border-left: 10px solid #000000; /* Black */ | |||
} | |||
table.ambox-protection, | |||
td.ambox-protection { | |||
border-left: 10px solid #bba; /* Gray-gold */ | |||
} | |||
table.ambox-good, | |||
td.ambox-good { | |||
border-left: 10px solid #73D216; /* Green */ | |||
} | |||
/* End ambox code */ |
Revision as of 22:23, 3 February 2021
/* Staff colors */ .mw-userlink[title="User:Gilbert"], li#pt-userpage a[href="/User:Gilbert"], .mw-userlink[title="User:Boba"], li#pt-userpage a[href="/User:Boba"], a.trusted, .bur, .adm, .mod, .loc, .helpUser { color:#FF7AD7 !important; } /* Bold all userlinks */ .mw-userlink { font-weight: bold; } li#pt-userpage { font-weight: bold; } li#pt-userpage a { background-image: url(https://omori.wiki/images/6/67/Login_OMORI.png); background-position: left top 6px; } /* Main Page styling */ .mp-content-table { width: 100%; background: #FCF6FE; /* Body background color */ border: 1px solid #5C347F; /* Main border color */ } .mp-content-header { font-size: 140%; background: #DDB5FF; /* Header background color */ border: none; border-bottom: 1px solid #5C347F; /* Main border color */ padding-top:10px; padding-bottom:10px; margin:-3px; padding:10px; } div.mp-content-header-alt { background: #DDB5FF; /* Header background color */ font-size: 140%; font-weight: bold; border: none; border-bottom: 1px solid #5C347F; /* Main border color */ text-align: left; color: #000; padding-top:10px; padding-bottom:10px; margin:-3px; padding:10px; } /* Don't wordwrap top links on main page */ .mp-content-table ul > li a.external.text, .mp-content-table ul > li > b > a { white-space: nowrap; } /* End Main Page style */ /* ambox class for skinning ambox's */ th.ambox-text, td.ambox-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.ambox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.ambox-image2 { /* The right image cell */ border: none; padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.ambox-empty-cell { /* An empty narrow cell */ border: none; padding: 0px; width: 1px; } /* Article message box styles */ table.ambox { margin: 0px 10%; /* 10% = Will not overlap with other elements */ border: 1px solid #aaa; background: #fbfbfb; } table.ambox + table.ambox { /* Single border between stacked boxes. */ margin-top: -1px; } .ambox th.ambox-text, .ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ } .ambox td.ambox-image { /* The left image cell */ padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ } .ambox td.ambox-image2 { /* The right image cell */ padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ } /* Colours */ table.ambox-notice, td.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ } table.ambox-notice-2, td.ambox-notice-2 { border-left: 10px solid #3f6180; /* Dark Blue */ } table.ambox-delete, table.ambox-serious { background: #fee; /* Pink */ border: 1px solid #BB7070; } td.ambox-delete, td.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content, td.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style, td.ambox-style { border-left: 10px solid #ffcc00; /* Yellow */ } table.ambox-images, td.ambox-images { border-left: 10px solid #000000; /* Black */ } table.ambox-protection, td.ambox-protection { border-left: 10px solid #bba; /* Gray-gold */ } table.ambox-good, td.ambox-good { border-left: 10px solid #73D216; /* Green */ } /* End ambox code */