MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/*
@media (prefers-color-scheme: dark) {
body, #mw-head {
background-color: #1f2937;
}
a, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
color: oklch(62.3% 0.214 259.815);
}
a:visited, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
color: oklch(54.6% 0.245 262.881);
}
a:hover, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:hover {
color: oklch(70.7% 0.165 254.624);
text-decoration: none;
}
a.new {
color: oklch(64.5% 0.246 16.439);
}
}
*/
/* Custom Additions */
.playtest-info-box {
max-width:100%; margin-bottom:10px; border:1px solid #ccc; border-radius:6px; box-shadow:0 1px 3px rgba(0,0,0,0.1); background:#f0f2f8; padding:10px; text-align:center; color:#333; word-wrap:break-word; overflow-wrap:break-word;
}
.header-container-outer {
max-width:100%; margin:1 1px; border:2px solid #372b54; border-radius:10px; box-shadow:0 2px 6px rgba(0,0,0,0.25); background:#f0f2f8;
}
.header-container-middle {
background:#f0f2f8; color:white; text-align:center; padding:1px 1px; border-radius:8px; word-wrap:break-word; overflow-wrap:break-word;
}
.header-container-inner {
background:linear-gradient(180deg,#5a4e7c,#372b54); color:white; text-align:center; padding:1px 1px; border-radius:8px; word-wrap:break-word; overflow-wrap:break-word;font-size:300%;
}
table.custom-table {
float:none; border:2px solid #372b54; border-radius:10px; padding:2px; box-shadow:0 2px 6px rgba(0,0,0,0.25); margin:1em auto; text-align:center; border-collapse:separate; border-spacing:0; overflow:hidden; -webkit-user-select:text; user-select:text;
}
table.custom-table > tbody > tr:nth-child(1) > th {
background:linear-gradient(180deg,#7a6fb0,#5a4e7c); color:white; text-align:center; padding:6px; font-size:120%; border-top-left-radius:8px; border-top-right-radius:8px; word-wrap:break-word; overflow-wrap:break-word;
}
table.custom-table > tbody > tr:nth-child(2) > th {
text-align:center; padding:4px; border-bottom:1px solid #555;
}
table.custom-table > tbody > tr > td {
text-align:center; padding:4px; border-bottom:1px solid #555;
}
table.custom-table > tbody > tr.middle-header > th {
background:linear-gradient(180deg,#7a6fb0,#5a4e7c); color:white; text-align:center; padding:6px; font-size:110%;
}