Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(ambox) |
|||
Line 1: | Line 1: | ||
/* | /* staff colors */ | ||
.mw-userlink[title="User:Gilbert"], | .mw-userlink[title="User:Gilbert"], | ||
li#pt-userpage a[href="/User:Gilbert"], | li#pt-userpage a[href="/User:Gilbert"], | ||
Line 8: | Line 8: | ||
} | } | ||
/* | /* bold all userlinks */ | ||
.mw-userlink { | .mw-userlink { | ||
font-weight: bold; | |||
} | } | ||
/* bold personal user link */ | |||
li#pt-userpage { | li#pt-userpage { | ||
font-weight: bold; | |||
} | } | ||
/* personal tab user icon */ | |||
li#pt-userpage a { | li#pt-userpage a { | ||
background-image: url(https://omori.wiki/images/6/67/Login_OMORI.png); | background-image: url(https://omori.wiki/images/6/67/Login_OMORI.png); | ||
Line 22: | Line 24: | ||
} | } | ||
/* | /* main page styling - thx tfwiki */ | ||
.mp-content-table { | .mp-content-table { | ||
width: 100%; | |||
background: #FCF6FE; | |||
border: 1px solid #5C347F; | |||
} | } | ||
.mp-content-header { | .mp-content-header { | ||
font-size: 140%; | |||
background: #DDB5FF; | |||
border: none; | |||
border-bottom: 1px solid #5C347F; | |||
padding-top:10px; | |||
padding-bottom:10px; | |||
margin:-3px; | |||
padding:10px; | |||
} | } | ||
div.mp-content-header-alt { | div.mp-content-header-alt { | ||
background: #DDB5FF; | |||
font-size: 140%; | |||
font-weight: bold; | |||
border: none; | |||
border-bottom: 1px solid #5C347F; | |||
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 | .mp-content-table ul > li a.external.text, .mp-content-table ul > li > b > a | ||
{ | { | ||
white-space: nowrap; | |||
} | } | ||
/* ambox | /* ambox styling - thx tfwiki */ | ||
th.ambox-text, td.ambox-text { | |||
border: none; | |||
padding: 0.25em 0.9em; | |||
width: 100%; | |||
} | |||
td.ambox-image { | |||
border: none; | |||
padding: 2px 0 2px 0.9em; | |||
text-align: center; | |||
} | |||
td.ambox-image2 { | |||
border: none; | |||
padding: 2px 0.9em 2px 0; | |||
text-align: center; | |||
} | } | ||
td.ambox-empty-cell { | |||
border: none; | |||
padding: 0px; | |||
width: 1px; | |||
td.ambox-empty-cell { | |||
} | } | ||
table.ambox { | table.ambox { | ||
margin: 0px 10%; | |||
border: 1px solid #AAAAAA; | |||
background: #fbfbfb; | |||
} | } | ||
table.ambox + table.ambox { | |||
table.ambox + table.ambox { | |||
margin-top: -1px; | |||
} | } | ||
.ambox th.ambox-text, | |||
.ambox td.ambox-text { | .ambox th.ambox-text, .ambox td.ambox-text { | ||
padding: 0.25em 0.5em; | |||
} | } | ||
.ambox td.ambox-image { | |||
.ambox td.ambox-image { | |||
padding: 2px 0 2px 0.5em; | |||
} | } | ||
.ambox td.ambox-image2 { | |||
.ambox td.ambox-image2 { | |||
padding: 2px 0.5em 2px 0; | |||
} | } | ||
table.ambox-notice, | /* blue */ | ||
td.ambox-notice { | table.ambox-notice, td.ambox-notice { | ||
border-left: 10px solid #1e90ff; | |||
} | } | ||
table.ambox-notice-2, | /* dark blue */ | ||
td.ambox-notice-2 { | table.ambox-notice-2, td.ambox-notice-2 { | ||
border-left: 10px solid #3f6180; | |||
} | } | ||
table.ambox-delete, | /* pink */ | ||
table.ambox-serious { | table.ambox-delete, table.ambox-serious { | ||
background: #fee; | |||
border: 1px solid #BB7070; | |||
} | } | ||
td.ambox-delete, | |||
td.ambox-serious { | /* red */ | ||
td.ambox-delete, td.ambox-serious { | |||
border-left: 10px solid #b22222; | |||
} | } | ||
table.ambox-content, | |||
td.ambox-content { | /* orange */ | ||
border-left: 10px solid #f28500; | table.ambox-content, td.ambox-content { | ||
border-left: 10px solid #f28500; | |||
} | } | ||
table.ambox-style, | |||
td.ambox-style { | /* yellow */ | ||
table.ambox-style, td.ambox-style { | |||
border-left: 10px solid #ffcc00; | |||
} | } | ||
table.ambox-images, | |||
td.ambox-images { | /* black */ | ||
table.ambox-images,td.ambox-images { | |||
border-left: 10px solid #000000; | |||
} | } | ||
table.ambox-protection, | |||
td.ambox-protection { | /* gray-gold */ | ||
table.ambox-protection, td.ambox-protection { | |||
border-left: 10px solid #bba; | |||
} | } | ||
table.ambox-good, | |||
td.ambox-good { | /* green */ | ||
table.ambox-good, td.ambox-good { | |||
border-left: 10px solid #73D216; | |||
} | } | ||
Revision as of 23:38, 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; } /* bold personal user link */ li#pt-userpage { font-weight: bold; } /* personal tab user icon */ li#pt-userpage a { background-image: url(https://omori.wiki/images/6/67/Login_OMORI.png); background-position: left top 6px; } /* main page styling - thx tfwiki */ .mp-content-table { width: 100%; background: #FCF6FE; border: 1px solid #5C347F; } .mp-content-header { font-size: 140%; background: #DDB5FF; border: none; border-bottom: 1px solid #5C347F; padding-top:10px; padding-bottom:10px; margin:-3px; padding:10px; } div.mp-content-header-alt { background: #DDB5FF; font-size: 140%; font-weight: bold; border: none; border-bottom: 1px solid #5C347F; 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; } /* ambox styling - thx tfwiki */ th.ambox-text, td.ambox-text { border: none; padding: 0.25em 0.9em; width: 100%; } td.ambox-image { border: none; padding: 2px 0 2px 0.9em; text-align: center; } td.ambox-image2 { border: none; padding: 2px 0.9em 2px 0; text-align: center; } td.ambox-empty-cell { border: none; padding: 0px; width: 1px; } table.ambox { margin: 0px 10%; border: 1px solid #AAAAAA; background: #fbfbfb; } table.ambox + table.ambox { margin-top: -1px; } .ambox th.ambox-text, .ambox td.ambox-text { padding: 0.25em 0.5em; } .ambox td.ambox-image { padding: 2px 0 2px 0.5em; } .ambox td.ambox-image2 { padding: 2px 0.5em 2px 0; } /* blue */ table.ambox-notice, td.ambox-notice { border-left: 10px solid #1e90ff; } /* dark blue */ table.ambox-notice-2, td.ambox-notice-2 { border-left: 10px solid #3f6180; } /* pink */ table.ambox-delete, table.ambox-serious { background: #fee; border: 1px solid #BB7070; } /* red */ td.ambox-delete, td.ambox-serious { border-left: 10px solid #b22222; } /* orange */ table.ambox-content, td.ambox-content { border-left: 10px solid #f28500; } /* yellow */ table.ambox-style, td.ambox-style { border-left: 10px solid #ffcc00; } /* black */ table.ambox-images,td.ambox-images { border-left: 10px solid #000000; } /* gray-gold */ table.ambox-protection, td.ambox-protection { border-left: 10px solid #bba; } /* green */ table.ambox-good, td.ambox-good { border-left: 10px solid #73D216; }