-
Notifications
You must be signed in to change notification settings - Fork 0
/
media.css
92 lines (91 loc) · 1.68 KB
/
media.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@media screen and (min-width:350px){
.main-message{
transform: translateY(40%);
}
}
@media screen and (min-width:470px){
.hero::before{
height:8.5rem;
background: url("images/wave-medium.png");
background-size: cover;
}
.testimonials::before{
height:9.4rem;
background: url("images/wave-medium-reversed.png");
background-size: cover;
}
}
@media screen and (min-width:700px){
header{
height: 8rem;
}
.nav-brand{
width:3.5rem;
}
.nav-list{
width:initial;
height: initial;
background-color: transparent;
position: initial;
top:initial;
right:initial;
flex-direction:row;
transition: initial;
}
.menu-icons{
display: none;
}
.nav-item{
margin:0 2rem;
}
.nav-link,.current{
color: #fafafa;
position: relative;
font-size: 1.5rem;
}
.nav-link::before,
.current::before{
content:"";
position: absolute;
left: 0;
bottom:-.5rem;
background-color: #eb648c;
width: 100%;
height: 2px;
transform: scaleX(0);
transform-origin: left;
transition: transform 650ms;
}
.current::before{
transform: scaleX(1);
}
.nav-link:hover::before{
transform: scaleX(1);
}
.hero{
height: 70vh;
}
.main-message{
transform: translateY(50%);
}
.title-heading h1{
font-size: 3rem;
}
}
@media screen and (min-width:950px){
.hero::before{
height:12.5rem;
background: url("images/wave-large.png");
background-size: cover;
}
.testimonials::before{
height:20rem;
background: url("images/wave-large-reversed.png");
background-size: cover;
}
@media screen and (min-width:1200px){
.hero{
height: 75vh;
}
}
}