MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(add css rule for logo image) |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* Dark Mode fix */ | |||
.client-js.client-darkmode .mw-wiki-logo { | .client-js.client-darkmode .mw-wiki-logo { | ||
filter: invert( 1 ) hue-rotate( 180deg ) | filter: invert( 1 ) hue-rotate( 180deg ) | ||
} | |||
/* Other */ | |||
.navbox { | |||
border: 1px solid #aaa; | |||
width: 100%; | |||
margin: auto; | |||
clear: both; | |||
font-size: 88%; | |||
text-align: center; | |||
padding: 1px; | |||
} | |||
tbody { | |||
display: table-row-group; | |||
vertical-align: middle; | |||
border-color: inherit; | |||
} | |||
tr { | |||
display: table-row; | |||
vertical-align: inherit; | |||
border-color: inherit; | |||
} | |||
table.navbox th { | |||
text-align: center; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
background: #ccccff; | |||
} | } |
Revision as of 23:25, 18 August 2022
/* CSS placed here will be applied to all skins */
/* Dark Mode fix */
.client-js.client-darkmode .mw-wiki-logo {
filter: invert( 1 ) hue-rotate( 180deg )
}
/* Other */
.navbox {
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
tbody {
display: table-row-group;
vertical-align: middle;
border-color: inherit;
}
tr {
display: table-row;
vertical-align: inherit;
border-color: inherit;
}
table.navbox th {
text-align: center;
padding-left: 1em;
padding-right: 1em;
background: #ccccff;
}