17,230
edits
(remove extra space below tab container in a navbox) |
(remove Tabs V2 selectors) |
||
Line 37: | Line 37: | ||
.infobox-nondiegetic .title, .infobox-nondiegetic .header, .infobox-nondiegetic .label { background-color: #cccccc; } | .infobox-nondiegetic .title, .infobox-nondiegetic .header, .infobox-nondiegetic .label { background-color: #cccccc; } | ||
/* | /* Tabs */ | ||
/* Hide things until the js is ready to show them */ | /* Hide things until the js is ready to show them */ | ||
.zdw-tabcontent:not(.default) { display: none; } | |||
/* Tabs2D */ | /* Tabs2D */ | ||
.zdw-tabcontainer { position: relative; padding: 10px; } | |||
.zdw-tabcontainer--hastabstop { margin-top: 33px !important; } | |||
.zdw-tabcontainer__tabset--top { position: absolute; top: -32px; } | |||
.zdw-tabcontainer__tabset--left { float: left; } | |||
.zdw-tabset { margin: 0 !important; } | .zdw-tabset { margin: 0 !important; } | ||
.zdw-tabset { display: flex; overflow-x: auto; } | |||
.zdw-tabcontainer__tabset--left .zdw-tabset { flex-direction: column; } | |||
.zdw-tab { display: block; padding: 0px 10px; margin: 0px; border: 1px solid #5a7db5; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab { height: 30px; line-height: 30px; white-space: nowrap; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab { padding: 5px 10px; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab + .zdw-tab { margin-left: -1px; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab + .zdw-tab { margin-top: -1px; } | |||
.zdw-tab { background-color: #e6e6e6; } | |||
.zdw-tab.active { background-color: #f0ddbd; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab { border-bottom-color: #253125; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab { border-right-color: #253125; } | |||
.zdw-tabcontainer__tabset--top .zdw-tab.active { border-bottom-color: #f0ddbd; } | |||
.zdw-tabcontainer__tabset--left .zdw-tab.active { border-right-color: #f0ddbd; } | |||
.zdw-tab:hover { background-color: #5a7db5 !important; color: #fefefe; cursor: pointer; } | |||
.zdw-tabcontent .wikitable { margin-top: 0px; } | |||
/* Remove extra space below tab container in a navbox */ | /* Remove extra space below tab container in a navbox */ | ||
.zdw-box.navbox .zdw-box.zdw-tabcontainer { margin-bottom: 0; } | .zdw-box.navbox .zdw-box.zdw-tabcontainer { margin-bottom: 0; } | ||
/* Mobile fixes for Tabs */ | |||
.zdw-tabset { padding-left: 0px !important; } | |||
.zdw-tab { margin-bottom: 0px !important; } | |||
/* End Tabs */ | |||
/* Mobile fixes for boxes */ | /* Mobile fixes for boxes */ | ||
Line 87: | Line 94: | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||