MediaWiki:Common.css: Difference between revisions
Appearance
fuck it we take the shit from wikipedia who even gaf anymore |
some template i found on a random ass website |
||
| Line 1: | Line 1: | ||
.ambox { | table.ambox { | ||
width: 90%; | |||
margin: 0 auto 2px; | |||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-left: 10px solid # | border-left: 10px solid #3680b0; | ||
background-color: # | background-color: #f0f7ff; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
border-collapse: separate; | |||
font-size: 0.875em; | |||
line-height: 1.5; | |||
} | } | ||
table.ambox + table.ambox { margin-top: -1px; } | |||
.ambox td { border: none; vertical-align: middle; } | |||
.ambox td.mbox-image { padding: 6px 0 6px 10px; text-align: center; width: 52px; } | |||
.ambox td.mbox-text { padding: 0.35em 0.6em; width: 100%; } | |||
table.ambox-notice { border-left-color: #3680b0; background-color: #f0f7ff; } | |||
table.ambox-content { border-left-color: #c7a600; background-color: #fef9ed; } | |||
table.ambox-style { border-left-color: #b08c00; background-color: #fefce8; } | |||
table.ambox-speedy { border-left-color: #b32424; background-color: #fff0f0; } | |||
table.ambox-delete { border-left-color: #b32424; background-color: #fff8f8; } | |||
table.ambox-move { border-left-color: #7f4db5; background-color: #f8f2ff; } | |||
table.ambox-protection { border-left-color: #72777d; background-color: #f5f5f5; } | |||
@media (prefers-color-scheme: dark) { | |||
table.ambox { border-color: #4a4f57; } | |||
.ambox td.mbox-text { color: #ddd; } | |||
.ambox td.mbox-text a { color: #8eb4d9; } | |||
} | |||
.ambox- | table.ambox-notice { border-left-color: #6e9fcf; background-color: #101e2e; } | ||
table.ambox-content { border-left-color: #d4a017; background-color: #221900; } | |||
table.ambox-style { border-left-color: #c9930a; background-color: #1e1600; } | |||
} | table.ambox-speedy { border-left-color: #d45f5f; background-color: #2a0d0d; } | ||
.ambox- | table.ambox-delete { border-left-color: #d45f5f; background-color: #1e0a0a; } | ||
table.ambox-move { border-left-color: #b07fe8; background-color: #1a0f2a; } | |||
table.ambox-protection { border-left-color: #8a9096; background-color: #202020; } | |||
} | |||
.ambox-style { | |||
} | |||
.ambox- | |||
.ambox | |||
} | |||
.ambox | |||
} | |||
.ambox | |||
} | } | ||
Revision as of 06:33, 2 April 2026
table.ambox {
width: 90%;
margin: 0 auto 2px;
border: 1px solid #a2a9b1;
border-left: 10px solid #3680b0;
background-color: #f0f7ff;
box-sizing: border-box;
border-collapse: separate;
font-size: 0.875em;
line-height: 1.5;
}
table.ambox + table.ambox { margin-top: -1px; }
.ambox td { border: none; vertical-align: middle; }
.ambox td.mbox-image { padding: 6px 0 6px 10px; text-align: center; width: 52px; }
.ambox td.mbox-text { padding: 0.35em 0.6em; width: 100%; }
table.ambox-notice { border-left-color: #3680b0; background-color: #f0f7ff; }
table.ambox-content { border-left-color: #c7a600; background-color: #fef9ed; }
table.ambox-style { border-left-color: #b08c00; background-color: #fefce8; }
table.ambox-speedy { border-left-color: #b32424; background-color: #fff0f0; }
table.ambox-delete { border-left-color: #b32424; background-color: #fff8f8; }
table.ambox-move { border-left-color: #7f4db5; background-color: #f8f2ff; }
table.ambox-protection { border-left-color: #72777d; background-color: #f5f5f5; }
@media (prefers-color-scheme: dark) {
table.ambox { border-color: #4a4f57; }
.ambox td.mbox-text { color: #ddd; }
.ambox td.mbox-text a { color: #8eb4d9; }
table.ambox-notice { border-left-color: #6e9fcf; background-color: #101e2e; }
table.ambox-content { border-left-color: #d4a017; background-color: #221900; }
table.ambox-style { border-left-color: #c9930a; background-color: #1e1600; }
table.ambox-speedy { border-left-color: #d45f5f; background-color: #2a0d0d; }
table.ambox-delete { border-left-color: #d45f5f; background-color: #1e0a0a; }
table.ambox-move { border-left-color: #b07fe8; background-color: #1a0f2a; }
table.ambox-protection { border-left-color: #8a9096; background-color: #202020; }
}