This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
responsive.css
125 lines (107 loc) · 1.98 KB
/
responsive.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
/****** HAMBURGER MENU GENERAL ******/
.hamburger {
background-color: transparent;
border: 0;
color: var(--white);
cursor: pointer;
display: none;
}
.hamburger:focus {
outline: none;
}
/** max-width 800px **/
@media screen and (max-width: 800px) {
.header-container {
justify-content: flex-end;
}
.nav-ul {
display: none;
width: 100%;
flex-direction: column;
margin: 0;
}
.show {
display: flex;
}
.hamburger {
display: block;
}
nav ul.nav-ul > li a {
font-size: 1.3rem;
padding: 1rem;
text-transform: uppercase;
}
nav ul.nav-ul > li a:hover,
nav ul.nav-ul > li a:focus,
nav ul.nav-ul > li a.active {
background: none;
box-shadow: none;
}
nav ul.nav-ul > li a:hover {
font-size: 1.4rem;
}
.fas {
padding: 1rem;
font-size: 2rem;
}
.stat-block {
flex-direction: column;
gap: 1rem;
}
.info-table {
padding: 1rem;
}
.second-section {
flex-direction: column;
text-align: center;
}
.symptoms-grid {
flex-direction: column;
}
.tips-grid {
gap: 1rem;
padding: 1rem;
}
.fifth-section {
grid-template-columns: auto;
grid-template-rows: repeat(2, 1fr);
}
.section-five-image {
border-radius: 55px 10px 10px 10px;
}
.info-container {
border-radius: 10px 10px 55px 10px;
}
footer,
.credit {
flex-direction: column;
gap: 1rem;
text-align: center;
}
}
/** max-width 480px **/
@media screen and (max-width: 480px) {
h1 {
font-size: 2rem;
}
.info-table h2 {
font-size: 1.5rem;
}
.tips-grid {
/* width: 100%; */
grid-template-columns: repeat(1, 1fr);
}
.fifth-section {
width: 100%;
height: 60rem;
}
.info-container p,
.info-container h3 {
text-align: left;
padding: 5px;
}
.section-five-image,
.info-container {
border-radius: 10px;
}
}