Tweak index page styles

This commit is contained in:
lostinlight 2018-11-03 21:03:48 +03:00
parent fbfbb51dd7
commit f6512aff49

View file

@ -213,7 +213,7 @@
position: relative; position: relative;
left: 40%; left: 40%;
transform: translate(-40%, -40%); transform: translate(-40%, -40%);
display: flex; display: none;
flex-direction: column; flex-direction: column;
width: 500px; width: 500px;
height: 260px; height: 260px;
@ -224,6 +224,7 @@
} }
.intro__content.open { .intro__content.open {
display: flex;
opacity: 1; opacity: 1;
} }
@ -273,6 +274,13 @@
} }
} }
@media screen and (max-width: $mq-large) {
.grid__card {
top: 55%;
left: 58%;
}
}
@media screen and (max-width: $mq-medium) { @media screen and (max-width: $mq-medium) {
.main__container { .main__container {
overflow-y: scroll; overflow-y: scroll;