MediaWiki:Gadget-NavboxStyle.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Navbox | /* Navbox template CSS */ | ||
/* | /* Show/hide button */ | ||
.navbox .mw-collapsible-toggle { | .navbox .mw-collapsible-toggle { | ||
text-align: right; | text-align: right; | ||
Line 107: | Line 54: | ||
} | } | ||
/* Area | /* Area icons */ | ||
.navboxIcon img{ | .navboxIcon img{ | ||
transition: all 0.3s; | transition: all 0.3s; |
Revision as of 17:02, April 16, 2021
/* Navbox template CSS */
/* Show/hide button */
.navbox .mw-collapsible-toggle {
text-align: right;
min-width: 3.729em;
}
/* Site styles */
table.navbox {
background-color: #F9F9F9;
border: 1px solid #AAA;
clear: both;
font-size: 90%;
margin: 15px auto 0;
padding: 0.2em;
text-align: center;
min-width: 200px;
max-width: 95%;
}
.navbox + .navbox {
margin-top: 5px;
}
table.navbox th {
background-color: #CCF;
padding-left: 1em;
padding-right: 1em;
}
table.navbox tr:not(:first-child) th {
background-color: #DDF;
}
table.navbox .mw-collapsible-text,
table.navbox .mw-collapsible-toggle {
font-weight: bold;
}
table.navbox .mw-collapsible-text,
table.navbox .mw-collapsible-toggle {
color: #fff !important;
}
table.navbox.header-light .mw-collapsible-text,
table.navbox.header-light .mw-collapsible-toggle {
color: #000 !important;
}
table.navbox .mw-collapsible-toggle-collapsed {
margin-left: 10px;
}
body:not(.mobile) .navbox.mw-made-collapsible:not(.mw-collapsed) > tbody > tr:first-of-type > th {
padding-left: 4.4em;
}
@media print {
.navbox {
display: none;
}
}
/* Area icons */
.navboxIcon img{
transition: all 0.3s;
transform: scale(0.8);
}
.navboxIcon img:hover{
transform: scale(1.0);
}