Difference between revisions of "MediaWiki:Common.css"

From Captain of Industry Wiki
Jump to: navigation, search
(+reflist styling)
(remove unneeded default ambox bg color for improved contrast)
Line 12: Line 12:


/* Enable Template:Ambox and its associated parameters */
/* Enable Template:Ambox and its associated parameters */
table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; background-color: #888888; box-sizing: border-box; }
table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; box-sizing: border-box; }
table.ambox-speedy { border-left: 10px solid #b32424; background-color: #ff8282; }
table.ambox-speedy { border-left: 10px solid #b32424; background-color: #ff8282; }
table.ambox-delete { border-left: 10px solid #b32424; }
table.ambox-delete { border-left: 10px solid #b32424; }

Revision as of 00:31, 22 January 2022

/* CSS placed here will be applied to all skins */

/* Scale logo to fit. */
#p-logo a { background-repeat: round; background-position: inherit; }

/* Remove top padding from the main menu, logo has already enough empty space.*/
div#mw-panel { padding-top: 0; }

/* Enable Template:Mbox and its associated parameters */
td.mbox-image { border: none; padding: 2px 0 2px 0.9em; text-align: center; }
th.mbox-text, td.mbox-text { border: none; padding: 0.25em 0.9em; width: 100%; }

/* Enable Template:Ambox and its associated parameters */
table.ambox { margin: 0 10%; border: 1px solid #a2a9b1; border-left: 10px solid #36c; box-sizing: border-box; }
table.ambox-speedy { border-left: 10px solid #b32424; background-color: #ff8282; }
table.ambox-delete { border-left: 10px solid #b32424; }
table.ambox-content { border-left: 10px solid #f28500; }
table.ambox-style { border-left: 10px solid #fc3; }
table.ambox-notice { border-left: 10px solid #36c; }
table.ambox-move { border-left: 10px solid #9932cc; }
table.ambox-protection { border-left: 10px solid #a2a9b1; }
table.ambox + table.ambox { margin-top: -1px; }

/* Enable Template:Cmbox and its associated parameters */
table.cmbox { margin: 3px 10%; border-collapse: collapse; border: 1px solid #a2a9b1; background-color: #dfe8ff; box-sizing: border-box; color: #222222; }
table.cmbox-speedy { margin-top: 4px; margin-bottom: 4px; border: 4px solid #b32424; background-color: #ffdbdb; }
table.cmbox-delete { background-color: #ffdbdb; }
table.cmbox-content { background-color: #ffe7ce; }
table.cmbox-style { background-color: #fff9db; }
table.cmbox-notice { background-color: #d8e8ff; }
table.cmbox-move { background-color: #e4d8ff; }
table.cmbox-protection { background-color: #efefe1; }

/* Enable styling of references */
.references-small { font-size: 90%; }