smartphone home
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user