mobile media queries

This commit is contained in:
andres alcocer
2018-11-20 00:21:26 -05:00
parent fb5fe91325
commit 494925c886
5 changed files with 55 additions and 17 deletions

View File

@@ -29,7 +29,7 @@
@include responsive(tab_medium) {
background: linear-gradient(90deg, rgba(0, 0, 0, 0.966) 65%, transparent);
width: 100%;
}
}

View File

@@ -18,6 +18,10 @@
grid-template-columns: repeat(20, 1fr);
column-gap: 0;
@include responsive(phone) {
width: 98vw;
}
&:hover &--movie {
opacity: .3;

View File

@@ -5,20 +5,24 @@
grid-column: 1 / 13;
text-align: center;
&__copyright {
color: #fff;
font-size: 1.8rem;
&--link {
text-decoration: none;
color: $color-red-2;
transition: all .3s;
@include responsive(phone) {
padding-top: 10rem;
}
}
&__copyright {
color: #fff;
font-size: 1.8rem;
&--link {
text-decoration: none;
color: $color-red-2;
transition: all .3s;
&--link:hover {
color: orange;
}
}
}
&--link:hover {
color: orange;
}
}
}

View File

@@ -3,12 +3,20 @@
grid-column: 1 / 13;
height: 65rem;
display: inline-block;
@include responsive(phone) {
height: 50rem;
}
&__container {
padding-top: 20rem;
padding-left: 4.5rem;
color: #fff;
color: #fff;
@include responsive(phone) {
padding-left: 1rem;
}
&-heading {
font-size: 6rem;
@@ -62,6 +70,10 @@
line-height: 1.3;
padding-top: 2.5rem;
font-size: 1.8rem;
@include responsive(phone) {
width: 36rem;
}
}
}

View File

@@ -22,6 +22,10 @@
justify-content: flex-start;
align-items: center;
@include responsive(phone) {
margin-left: 1rem;
}
a:first-child {
padding-left: .2%;
color: $color-red;
@@ -35,6 +39,10 @@
width: 2.2rem;
padding-right: 2.5rem;
@include responsive(phone) {
display: none;
}
}
&--userLogo {
@@ -49,6 +57,10 @@
@include responsive(tab_port) {
margin-right: 3rem;
}
@include responsive(phone) {
display: none;
}
&:hover > .dropdownContent {
@@ -84,6 +96,10 @@
display: inline-block;
}
@include responsive(phone) {
display: none;
}
}
&--logo {
@@ -134,15 +150,17 @@
border: 1px solid #fff;
transition: width .5s;
cursor: pointer;
opacity: 0;
&:focus {
padding-left: 4rem;
width: 22rem;
cursor: text;
opacity: 1;
@include responsive(phone) {
width: 16rem;
}
}
}
}