mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
81 lines
1.3 KiB
SCSS
81 lines
1.3 KiB
SCSS
@use 'sass:math';
|
|
|
|
@import 'src/styles/variables';
|
|
|
|
.wrap {
|
|
max-width: 2000px;
|
|
padding: 0 40px 40px 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
$cols: math.div($content_width, $cell);
|
|
|
|
.container {
|
|
@include container;
|
|
margin-top: $page_top_offset;
|
|
|
|
@include tablet {
|
|
padding: 0 $gap;
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.grid {
|
|
grid-template-rows: 50vh;
|
|
|
|
@include flow_grid;
|
|
}
|
|
|
|
.pad_last {
|
|
grid-column-end: $cols + 1;
|
|
}
|
|
|
|
.hero {
|
|
grid-row-start: 1;
|
|
grid-row-end: 2;
|
|
grid-column-start: 1;
|
|
grid-column-end: -1;
|
|
background: $content_bg_dark;
|
|
border-radius: $radius;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font: $font_24_semibold;
|
|
}
|
|
|
|
.stamp {
|
|
grid-row-end: span 3;
|
|
grid-column: -2 / -1;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
@media (max-width: $flow_hide_recents) {
|
|
grid-column-start: 1;
|
|
grid-row-end: span 1;
|
|
}
|
|
}
|
|
|
|
.login {
|
|
grid-row-start: 4;
|
|
grid-row-end: span 2;
|
|
grid-column: -3 / -4;
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: stretch;
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
@include desktop {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: $flow_hide_recents) {
|
|
display: flex;
|
|
grid-column: 1 / 2;
|
|
grid-row-end: span 2;
|
|
}
|
|
}
|