mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 00:31:09 +00:00
60999eb1d9
Codex tokens are a better implementation and this should ensure consistency across the MW ecosystem. We have to keep a copy for now as they are introduced in 1.41. Related: #735
62 lines
971 B
Plaintext
62 lines
971 B
Plaintext
/*
|
|
* Citizen - Tabber Styles
|
|
* https://starcitizen.tools
|
|
*/
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
.tabber {
|
|
ul.tabbernav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
margin: 0.4rem 0;
|
|
overflow: auto;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
border: 0;
|
|
|
|
li {
|
|
display: block;
|
|
padding: 0;
|
|
|
|
&.tabberactive a {
|
|
color: var( --color-primary );
|
|
pointer-events: none;
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
padding: 4px 0;
|
|
margin: 0 12px 0 0;
|
|
font-weight: var( --font-weight-medium );
|
|
color: var( --color-base--subtle );
|
|
background: 0 !important; // To override hover styles
|
|
border: 0;
|
|
|
|
&:hover {
|
|
color: var( --color-base ) !important;
|
|
border: 0;
|
|
}
|
|
|
|
&:active {
|
|
color: var( --color-base--subtle ) !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tabbertab {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
}
|
|
|
|
@media ( max-width: @max-width-breakpoint-tablet ) {
|
|
.tabber {
|
|
ul.tabbernav {
|
|
flex-wrap: nowrap;
|
|
}
|
|
}
|
|
}
|