-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.css
132 lines (132 loc) · 2.29 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
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
127
128
129
130
131
132
* {
margin: 0;
padding: 0;
box-sizing: border-box;
overflow-x: hidden;
/* scroll-behavior: smooth; */
font-family: 'Poppins', sans-serif;
}
body {
background-color: rgb(230, 224, 62);
min-height: 1000px;
}
/* .container {
height: 100vh;
} */
header {
display: flex;
align-items: center;
justify-content: center;
transition-duration: 1s;
animation: picture 2s linear 0.5s 1 normal forwards;
overflow-y: hidden;
}
header.sticky {
height: 600px;
overflow-y: hidden;
transition-duration: 1s;
}
body img {
mix-blend-mode: darken;
}
.img {
width: 100%;
height: 100vh;
background-size: cover;
overflow-y: hidden;
}
.navigation {
position: relative;
left: 40%;
height: 50px;
width: 250px;
margin-top: 50px;
transition: 0.5s;
border-radius: 5px;
overflow: hidden;
}
input {
position: relative;
border-style: none;
width: 100%;
height: 30px;
background-color: rgba(178, 184, 189, 0.631);
padding-left: 30px;
color: #000;
}
.fa-bacteria {
position: absolute;
z-index: 5;
padding-top: 15px;
padding-left: 10px;
font-size: 20px;
}
.fa-viruses {
position: absolute;
display: flex;
z-index: 5;
padding-top: 15px;
font-size: 20px;
}
.fa-search {
position: absolute;
padding: 7px;
}
.navigation .toggle {
position: relative;
width: 100%;
height: 50px;
background: #CC120F;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
padding: 0 20px;
font-size: 20px;
cursor: pointer;
}
.navigation.active {
height: 275px;
overflow-y: visible;
}
.navigation.active::-webkit-scrollbar {
width: 0.001px;
}
.navigation .toggle:before {
content: 'Where is the COVID';
padding-left: 20px;
font-size: 17px;
}
.navigation .toggle span {
position: relative;
width: 20px;
height: 50px;
}
.navigation ul {
position: relative;
background: #111;
}
.navigation ul li a {
position: relative;
text-decoration: none;
display: block;
padding: 12px 20px;
height: 50px;
color: #fff;
font-size: 18px;
transition: 1s;
overflow-y: hidden;
}
.navigation ul li a:hover {
transition: 0s;
background: #cc120f70;
}
@keyframes picture {
0% {
width: 100%;
height: 100vh;
}
100% {
height: 600px;
}
}