2022-05-10 00:23:42 +00:00
|
|
|
.citizen-drawer {
|
|
|
|
&__card {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) 0;
|
2022-09-29 23:12:56 +00:00
|
|
|
.citizen-header-card( left );
|
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;
|
2023-07-06 04:55:42 +00:00
|
|
|
padding: var( --space-sm ) var( --space-md ) 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;
|
2022-11-01 00:34:00 +00:00
|
|
|
gap: var( --space-xxs );
|
2022-09-30 21:40:30 +00:00
|
|
|
|
2022-04-23 05:06:07 +00:00
|
|
|
.mw-logo-wordmark {
|
|
|
|
font-size: 1.5rem;
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
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;
|
2023-07-28 01:19:27 +00:00
|
|
|
grid-template-columns: repeat( auto-fit, 15rem );
|
|
|
|
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 );
|
2022-05-10 00:23:42 +00:00
|
|
|
font-size: 0.875rem; // 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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
// Checkbox hack
|
|
|
|
#citizen-drawer__checkbox:checked {
|
2022-05-10 15:15:34 +00:00
|
|
|
~ .citizen-drawer__card {
|
2022-05-10 00:23:42 +00:00
|
|
|
.citizen-card-show;
|
2021-02-03 20:52:25 +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
|
|
|
}
|
|
|
|
|
2022-05-10 00:23:42 +00:00
|
|
|
&__siteinfo {
|
2022-04-23 05:06:07 +00:00
|
|
|
.mw-logo-wordmark {
|
|
|
|
font-size: 2rem;
|
2022-09-30 01:25:57 +00:00
|
|
|
// Sometimes long wiki name will wrap when the menu is too small
|
|
|
|
white-space: nowrap;
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|