mirror of
https://github.com/Mr-Wiseguy/Zelda64Recomp.git
synced 2024-12-18 20:54:02 +00:00
34 lines
651 B
SCSS
34 lines
651 B
SCSS
@use 'sass:math';
|
|
|
|
$page-margin: 32;
|
|
$base-height: 1080;
|
|
|
|
.centered-page {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: space($page-margin);
|
|
}
|
|
|
|
.centered-page__modal {
|
|
@extend %nav-all;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
margin: auto;
|
|
flex: 1 1 100%;
|
|
max-width: space(math.div($base-height*4, 3))dp;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: $color-bg-shadow-2;
|
|
border-radius: $border-radius-modal;
|
|
border-color: $color-border-soft;
|
|
border-width: space(1);
|
|
}
|
|
|
|
.centered-page__modal panels {
|
|
flex: 1 1 100%;
|
|
}
|