-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlunch-media-queries.css
126 lines (103 loc) · 1.96 KB
/
lunch-media-queries.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* ************************* */
/* BELOW 1152px (Laptops)*/
/* ************************* */
@media (max-width: 72em) {
html {
font-size: 56.25%;
}
.menu-container {
margin: 4rem 3rem;
}
}
/* ************************* */
/* BELOW 960px (Smaller Laptops)*/
/* ************************* */
@media (max-width: 60em) {
html {
font-size: 56.25%;
}
.hero.title {
font-size: 6rem;
}
.menu-title {
font-size: 4rem;
}
}
/* ************************* */
/* BELOW 688px (Tablets)*/
/* ************************* */
@media (max-width: 43em) {
.header {
display: flex;
padding: 6rem 3rem;
height: auto;
}
.nav-main {
width: 50%;
align-self: center;
padding-top: 0;
}
.low-box {
width: 50%;
}
.hero-title {
padding: 2rem 0 0 0;
font-size: 6rem;
}
.hero-text {
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
border-radius: 2rem;
margin-top: 4rem;
}
.nav-list {
display: flex;
flex-direction: column;
text-align: center;
}
.nav-link {
font-size: 40%;
border-radius: 1rem;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
padding: 0.5rem 2.3rem;
}
.nav-link:link {
border: none;
}
.p-link {
display: inline;
border-radius: 1rem;
background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
padding: 0.5rem 2.3rem;
}
.menu-container {
flex-direction: column;
align-items: center;
}
.first-row,
.second-row {
width: 100%;
}
.footer-section {
padding: 2rem 1rem;
}
.footer-container {
gap: 2rem;
row-gap: 0;
}
}
/* ************************* */
/* BELOW 512px (Mobiles)*/
/* ************************* */
@media (max-width: 32em) {
.footer-section {
padding: 2rem 1rem;
}
.footer-container {
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
row-gap: 0;
}
.copyright {
align-self: end;
}
}