MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Added play test container and customer header |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
@media (prefers-color-scheme: dark) { | @media (prefers-color-scheme: dark) { | ||
body, #mw-head { | body, #mw-head { | ||
Line 24: | Line 24: | ||
} | } | ||
} | } | ||
*/ | |||
/* Custom Additions */ | /* Custom Additions */ | ||
Line 41: | Line 41: | ||
.header-container-inner { | .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%; | 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%; | |||
} | } |