2022-05-10 00:23:42 +00:00
|
|
|
.citizen-drawer {
|
|
|
|
&__card {
|
2024-05-28 02:47:46 +00:00
|
|
|
.citizen-header-card( start );
|
|
|
|
transform-origin: var( --transform-origin-offset-start ) var( --transform-origin-offset-end );
|
|
|
|
|
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
|
|
|
transform-origin: var( --transform-origin-offset-start ) var( --transform-origin-offset-start );
|
|
|
|
}
|
2020-06-07 05:30:54 +00:00
|
|
|
}
|
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
&__header {
|
2021-02-03 20:47:32 +00:00
|
|
|
display: flex;
|
2023-07-28 01:19:27 +00:00
|
|
|
gap: var( --space-md );
|
2021-02-03 20:47:32 +00:00
|
|
|
align-items: center;
|
2022-09-29 23:12:56 +00:00
|
|
|
justify-content: center;
|
2024-05-03 21:18:21 +00:00
|
|
|
padding: var( --space-md );
|
2021-07-30 18:05:25 +00:00
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
2021-01-16 00:56:59 +00:00
|
|
|
}
|
2020-06-07 05:30:54 +00:00
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
// Keep aspect ratio
|
|
|
|
&__logo img {
|
|
|
|
width: auto;
|
|
|
|
height: 3rem;
|
2022-04-23 05:06:07 +00:00
|
|
|
}
|
2021-03-05 16:37:27 +00:00
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
&__siteinfo {
|
2022-09-30 21:40:30 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-24 18:05:21 +00:00
|
|
|
gap: var( --space-xs );
|
2021-03-05 16:37:27 +00:00
|
|
|
}
|
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
&__menu {
|
2022-11-07 22:46:08 +00:00
|
|
|
--size-icon: 1rem;
|
2021-07-30 17:48:57 +00:00
|
|
|
display: grid;
|
2024-05-02 02:12:19 +00:00
|
|
|
grid-template-columns: repeat( auto-fit, minmax( 15rem, auto ) );
|
2023-07-28 01:19:27 +00:00
|
|
|
gap: var( --space-sm );
|
2022-05-10 00:23:42 +00:00
|
|
|
justify-content: center;
|
2023-07-28 01:19:27 +00:00
|
|
|
max-width: 92vw;
|
2023-07-06 04:55:42 +00:00
|
|
|
padding: var( --space-xs );
|
2024-05-03 21:18:21 +00:00
|
|
|
margin-bottom: var( --space-xs );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small ); // TODO: Make this a variable
|
2021-01-27 20:05:31 +00:00
|
|
|
|
2023-07-07 19:26:31 +00:00
|
|
|
.mw-list-item a {
|
2021-05-27 14:35:21 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2020-06-07 05:30:54 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media ( min-width: @min-width-breakpoint-tablet ) {
|
2022-05-10 00:23:42 +00:00
|
|
|
.citizen-drawer {
|
|
|
|
&__logo img {
|
|
|
|
// Bigger logo
|
|
|
|
height: 5rem;
|
2022-04-23 05:06:07 +00:00
|
|
|
}
|
2021-02-20 20:23:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
2022-09-29 23:12:56 +00:00
|
|
|
.citizen-drawer {
|
|
|
|
&__header {
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|