-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
195 lines (167 loc) · 3.27 KB
/
Copy pathstyles.css
File metadata and controls
195 lines (167 loc) · 3.27 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
color: white;
}
:root {
--main-color: #20bce8;
--off-white: #ffffff;
--transp-blue-1: rgba(210, 221, 230, 0.25);
--transp-blue-2: rgba(12, 2, 102, 0.1);
--blue-1: #b5d8eb;
--blue-2: #482de1;
--shadow: rgba(169, 196, 222, 0.2);
}
body {
height: 100vh;
background: linear-gradient(13deg, var(--blue-1), var(--blue-2));
}
main {
font-size: 22px;
width: 95vw;
max-width: 30em;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}
section {
width: 100%;
background: var(--transp-blue-2);
backdrop-filter: blur(15px);
padding: 3em 2em;
border: 4px solid var(--transp-blue-2);
border-radius: 0.8em;
box-shadow: 0 2em 4em var(--shadow);
text-align: center;
justify-content: center;
}
.format {
position: absolute;
background-color: var(--transp-blue-1);
backdrop-filter: blur(1.5em);
border: 1.5px solid var(--transp-blue-2);
border-radius: 100%;
}
.format_1 {
height: 10em;
width: 10em;
right: -6.5em;
top: 7em;
}
.format_2 {
height: 8em;
width: 8em;
top: 10.7em;
left: -6.5em;
}
.format_3 {
height: 11em;
width: 11em;
bottom: -3.7em;
left: -2.5em;
}
.format_4 {
height: 8em;
width: 8em;
bottom: 0.5em;
right: 5.5em;
}
.search_container {
font-size: 0.9em;
display: grid;
grid-template-columns: 10fr 4fr;
gap: 2em;
}
.search_container input,
.search_container button {
outline: none;
font-size: 0.9em;
border: none;
}
.search_container button:hover {
background-color: var(--blue-1);
}
.search_container input {
padding: 1.3em;
background-color: transparent;
border-bottom: 1.6px solid var(--transp-blue-1);
color: var(--white);
font-weight: 700;
}
.search_container input::placeholder {
color: var(--off-white);
}
.search_container input:focus {
border-color: var(--main-color);
}
.search_container button {
color: var(--blue-2);
background-color: var(--main-color);
border-radius: 0.9em;
}
.weather,
.species {
color: var(--off-white);
text-transform: uppercase;
letter-spacing: 0.3em;
font-size: 1.1em;
font-weight: 400;
line-height: 3em;
}
.weather {
margin-top: -0.6em;
}
.message {
margin-top: 20px;
color: var(--blue-1);
font-weight: 800;
text-transform: uppercase;
letter-spacing: 2px;
}
.template_container {
display: flex;
justify-content: center;
}
.template_container div {
padding: 0.4em 1em;
}
.template_container div:first-child {
border-right: 1.5px solid var(--transp-blue-1);
}
.template_container .caption {
font-weight: 500;
color: var(--main-color);
}
.template_container .template {
font-weight: 400;
color: var(--off-white);
}
#outcome img {
margin: 0.7em 0 0 0;
width: 6.1em;
filter: drop-shadow(0 1.6em 3.5em var(--shadow));
}
#outcome h1 {
font-size: 3.4em;
margin: 0.4em 0 0.5em 0;
line-height: 0;
font-weight: 500;
color: var(--main-color);
}
#outcome h3 {
color: var(--main-color);
text-transform: uppercase;
text-shadow: 1px 3px 1px rgba(0, 0, 0, 0.5);
letter-spacing: 0.125em;
font-weight: 500;
margin: 1.2em 0;
}
@media only screen and (max-width: 600px) {
* {
font-size: 12px;
}
}