Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(i need to find a better way to do this) |
|||
Line 176: | Line 176: | ||
/* edit notices */ | /* edit notices */ | ||
.editnoticemain { background-color: #F7FFF5; border: 1px solid #D4F2CE; } | .editnoticemain { | ||
.editnoticered { background-color: #FFDBDB; border: 1px solid #BB7070; } | background-color: #F7FFF5; border: 1px solid #D4F2CE; | ||
.editnoticeblue { background-color: #E6F2FF; border: 1px solid #B8C7D9; } | } | ||
.editnoticered { | |||
background-color: #FFDBDB; border: 1px solid #BB7070; | |||
} | |||
.editnoticeblue { | |||
background-color: #E6F2FF; border: 1px solid #B8C7D9; | |||
} | |||
/* hack because WikiEditor doesn't like showing arrows */ | |||
.wikiEditor-ui-toolbar .tabs span.tab a { | |||
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E%3Cpath d=%22M6.001 2.998l5.001 5-5.001 5z%22 fill=%22%23797979%22/%3E%3C/svg%3E"); | |||
background-position: left center; | |||
background-repeat: no-repeat; | |||
} |
Revision as of 01:48, 30 January 2022
/* 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"], .mw-userlink[title="User:Rph"], li#pt-userpage a[href="/User:Rph"], 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 3px; padding-left: 24px !important; background-size: 20px; height: 16px; image-rendering: pixelated; image-rendering: crisp-edges; } /* 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; } /* fmbox */ div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div.mw-newarticletext, div#mw-protect-cascadeon, .fmbox { clear: both; margin: 0.2em 0; background-color: #f9f9f9; border: 1px solid #aaa; padding: 0.125em 0.25em; margin: 3px auto; width: auto; } div.mw-warning-with-logexcerpt, /* Lazy solution. */ div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div.mw-newarticletext, div#mw-protect-cascadeon { padding: 0.5em 1em; } th.fmbox-text, td.fmbox-text { /* The message body cell(s) */ border: none; padding: 0em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.fmbox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0; /* 0.9em left, 0px right */ text-align: center; } td.fmbox-image2 { /* The right image cell */ border: none; padding: 2px 0 2px 0; /* 0px left, 0.9em right */ text-align: center; } td.fmbox-empty-cell { /* An empty narrow cell */ border: none; padding: 0px; width: 1px; } /* edit notices */ .editnoticemain { background-color: #F7FFF5; border: 1px solid #D4F2CE; } .editnoticered { background-color: #FFDBDB; border: 1px solid #BB7070; } .editnoticeblue { background-color: #E6F2FF; border: 1px solid #B8C7D9; } /* hack because WikiEditor doesn't like showing arrows */ .wikiEditor-ui-toolbar .tabs span.tab a { background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2216%22 height=%2216%22%3E%3Cpath d=%22M6.001 2.998l5.001 5-5.001 5z%22 fill=%22%23797979%22/%3E%3C/svg%3E"); background-position: left center; background-repeat: no-repeat; }