mediawiki-skins-Citizen/resources/skins.citizen.styles/components/PageSidebar.less
alistair3149 03da361b97
feat(components): rewrite template data partials into CitizenComponent components (#846)
- Refactor existing template data-related partials into CitizenComponent components
- Re-implement user menu header as UserInfo
- Add description text for anon and temp user in UserMenu
---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-15 01:24:43 -04:00

33 lines
756 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--small );
}
}
#citizen-sidebar-lastmod {
@media ( max-width: @max-width-breakpoint-tablet ) {
// Duplicated with footer already
display: none;
}
}