-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (109 loc) · 2.07 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto';
color: #312f2f;
}
html , body{
height: 100%;
width: 100%;
background-image: url(https://img.freepik.com/free-vector/cloud-background-pastel-paper-cut-design-vector_53876-135919.jpg?size=626&ext=jpg&ga=GA1.1.2008272138.1722729600&semt=ais_hybrid);
background-position: center;
background-size: cover;
}
.main-body {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 10px;
background: #0000002e;
backdrop-filter: blur(15px);
}
.container {
background-color: #E9F1F3;
width: 320px;
height: 450px;
z-index: 20;
border-radius: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.upper-body {
display: grid;
gap: 10px;
}
.search {
display: flex;
justify-content: center;
gap: 8px;
border-radius: 30px;
}
.search input {
padding: 2px 14px;
font-size: 15px;
height: 40px;
width: 100%;
border-radius: 30px;
outline: none;
}
.search i {
background-color: white;
font-size: 18px;
padding: 8px 10px;
border-radius: 50%;
align-content: center;
cursor: pointer;
transition: 0.3s all;
}
.search i:hover {
background-color: rgb(209, 209, 209);
}
#city-name {
text-align: center;
font-weight: 900;
font-size: 18px;
margin-top: 14px;
}
#weather-icon {
display: grid;
justify-items: center;
}
#weather-icon img {
width: 50%;
}
#temperature {
font-size: 50px;
text-align: center;
}
.extra-info {
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
background-color: #babcbd;
/* background-color: #000fff; */
display: flex;
align-items: center;
justify-content: space-evenly;
height: 100%;
}
.column {
text-align: center;
}
.column img {
width: 28px;
}
.column p {
font-size: 14px;
}
#pressure-img {
mix-blend-mode: darken;
}
#wind, #humidity {
font-size: 16px;
}
.p-30 {
padding: 30px;
}