smartphone home

This commit is contained in:
armansansd
2021-09-02 20:41:14 +02:00
parent 18114c9846
commit 87ae7fb4db
7 changed files with 118 additions and 6 deletions

View File

@@ -173,6 +173,13 @@
&>div:first-child{
grid-column-start: 2;
}
@include breakpoint(small down) {
grid-template-columns: repeat(3, 1fr);
&>div:first-child{
grid-column-start: 1;
}
}
}
}
@@ -231,6 +238,12 @@
&>div>span:nth-child(2){
transform: rotate(-45deg);
}
@include breakpoint(small down) {
position: absolute;
top: 1rem;
right: 1rem;
}
}
.open-block{
height: 100%;
@@ -254,8 +267,19 @@
padding: 1rem 0;
z-index: 140;
line-height: 2;
@include breakpoint(small down) {
grid-template-columns: 1fr;
align-content: center;
text-align: center;
height: 100vh;
font-size: $font-medium;
}
nav{
grid-column-start: 2;
@include breakpoint(small down) {
grid-column-start: 1;
}
}
// padding: 1rem .5rem 1rem .5rem;
a{
@@ -382,5 +406,9 @@ footer{
}
}
}
@include breakpoint(small down) {
text-align:center;
margin-top: 1rem;
}
}
}