-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (81 loc) · 1.5 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
* {
margin: 0;
padding: 0;
}
html {
height: 100%;
}
body {
box-sizing: border-box;
display: flex;
height: 100%;
font-family: 'Inter', sans-serif;
justify-content: center;
align-items: center;
color: white;
/**background: url("https://source.unsplash.com/random/1920x1080/?rainy");
*/
}
.container {
display: flex;
flex-direction: column;
height: 250px;
width: 350px;
padding: 30px;
background: rgba(0, 0, 0, 0.77);
border-radius: 40px;
}
.search-container {
display: flex;
height: 40px;
justify-content: space-between;
}
button {
width: 40px;
height: 40px;
background: rgba(68, 68, 68, 0.696);
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
border: none;
}
#location-input {
border-radius: 20px;
border: none;
padding: 3px 20px;
background: rgba(68, 68, 68, 0.696);
color: white;
font-size: large;
}
#location-input:focus {
outline: none;
}
.info-section {
margin-top: 40px;
display: flex;
}
.weather-icon {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-size: 1.5rem;
}
h2 {
margin: 10px 0;
font-size: 3.125rem;
}
.error {
margin-top: 50px;
text-align: center;
}
button {
cursor: pointer;
}
button:active {
background: rgba(101, 101, 101, 0.696)
}