mediawiki-skins-Citizen/skinStyles/extensions/PortableInfobox/ext.PortableInfobox.styles.less
2023-09-10 21:02:23 -04:00

55 lines
1.2 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:PortableInfobox
* Module: ext.PortableInfobox.styles
* Version: 0.6 16a77dc
*
* Date: 2022-04-14
*/
:root {
--pi-background: var( --color-surface-2 );
--pi-border-color: var( --border-color-base );
--pi-secondary-background: var( --color-surface-3 );
}
.portable-infobox p {
margin: var( --space-xs ) 0; // More akin to Vector
}
.portable-infobox .pi-horizontal-group {
margin-top: 0;
}
.portable-infobox .pi-section-navigation,
.portable-infobox .pi-media-collection-tabs {
padding-bottom: 0;
background-color: var( --color-surface-3 );
}
.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current {
background: var( --color-surface-2 );
border-color: var( --color-primary );
border-bottom-width: 0;
}
.pi-section-navigation .pi-section-tab,
.pi-media-collection .pi-tab-link {
margin: 0 4px;
background: var( --color-surface-2 );
border-width: 2px;
border-top-left-radius: var( --border-radius--medium );
border-top-right-radius: var( --border-radius--medium );
&:hover {
border-color: var( --color-primary--hover );
}
&:active {
border-color: var( --color-primary--active );
}
}