-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.css
93 lines (80 loc) · 1.47 KB
/
App.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
93
header {
background-repeat: none;
background-size: cover;
background: linear-gradient(to right, hsl(235, 64%, 67%), hsl(280, 87%, 65%));
padding: 1.5em;
padding-bottom: 4em;
}
main {
padding: 1.5em;
position: absolute;
top: 32%;
left: 0;
right: 0;
bottom: 0;
}
.nav-wrapper,
.main-wrapper {
max-width: 550px;
margin: auto;
}
.nav {
display: flex;
background: transparent;
justify-content: space-between;
padding: 2em 0em;
}
.nav__title {
text-transform: uppercase;
letter-spacing: 0.5rem;
color: white;
font-size: 2rem;
font-weight: 700;
}
.header-dark-img {
background-image: url(./assets/bg-desktop-dark.jpg);
background-size: cover;
background-repeat: no-repeat;
}
.header-light-img {
background-image: url(./assets/bg-desktop-light.jpg);
background-size: cover;
background-repeat: no-repeat;
}
.content-placeholder {
text-align: center;
padding: 2em;
margin: 1em 0em;
border-radius: 8px;
box-shadow: 0px 9px 17px -10px rgba(0, 0, 0, 0.45);
}
/* .bottom-text {
color: hsl(235, 64%, 67%);
text-align: center;
padding: 1.5em;
} */
@media only screen and (max-width: 375px) {
main {
top: 32%;
}
}
@media only screen and (min-width: 380px) {
main {
top: 28%;
}
}
@media only screen and (min-width: 700px) and (max-width: 1080px) {
main {
top: 26%;
}
}
@media only screen and (min-width: 1440px) {
main {
top: 21%;
}
}
@media only screen and (min-width: 1640px) {
main {
top: 23%;
}
}