mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-01 01:16:38 +00:00
00b2495c1a
- Move border radius calculation to CSS variable instead of LESS - Rename CSS variable according to Codex, soft-deprecating the existing border radius
33 lines
754 B
Plaintext
33 lines
754 B
Plaintext
.citizen-page-sidebar {
|
|
--size-icon: 1rem;
|
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
grid-area: sidebar;
|
|
gap: var( --space-sm );
|
|
padding-left: var( --space-xs );
|
|
margin-top: var( --space-sm ); // align with first paragraph
|
|
// Avoid padding clipping
|
|
margin-left: ~'calc( var( --space-xs ) * -1 )';
|
|
}
|
|
|
|
.citizen-menu__heading,
|
|
.citizen-menu .mw-list-item a {
|
|
padding-right: var( --space-xs );
|
|
padding-left: var( --space-xs );
|
|
}
|
|
|
|
.citizen-menu .mw-list-item a {
|
|
gap: var( --space-xs );
|
|
border-radius: var( --border-radius-base );
|
|
}
|
|
}
|
|
|
|
#citizen-sidebar-lastmod {
|
|
@media ( max-width: @max-width-breakpoint-tablet ) {
|
|
// Duplicated with footer already
|
|
display: none;
|
|
}
|
|
}
|