refactoring page container
This commit is contained in:
parent
685d3af7d5
commit
e66fdc8ea5
23
src/assets/css/components/Page-container.scss
Normal file
23
src/assets/css/components/Page-container.scss
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
.page-container {
|
||||||
|
@apply overflow-hidden;
|
||||||
|
$margin: 20px;
|
||||||
|
.screen {
|
||||||
|
@apply flex flex-col justify-center items-center relative overflow-hidden;
|
||||||
|
@apply bg-purple-500 lg:bg-tahiti-200;
|
||||||
|
height: calc(99.8dvh - $margin * 2);
|
||||||
|
width: calc(100% - $margin * 2);
|
||||||
|
|
||||||
|
margin: $margin auto 0 auto;
|
||||||
|
}
|
||||||
|
.screen {
|
||||||
|
&__content {
|
||||||
|
@apply text-center pt-12 px-16 w-fit mx-auto h-auto overflow-visible relative;
|
||||||
|
|
||||||
|
padding-bottom: -100px;
|
||||||
|
|
||||||
|
background-image: url("../../img/mask.svg");
|
||||||
|
background-position: center;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user