-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (77 loc) · 1.35 KB
/
style.css
File metadata and controls
89 lines (77 loc) · 1.35 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
body {
font-family: Arial, sans-serif;
background: url("bg.jpg");
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.card {
background: rgba(113, 113, 113, 0.2);
border-radius: 16px;
width: 300px;
padding: 20px;
color: #fff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.search-bar {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.search-bar input {
flex: 1;
padding: 10px;
border-radius: 1rem;
border: none;
outline: none;
font-size: 16px;
margin-right: 1rem;
}
.search-bar button {
width: 40px;
height: 40px;
background-color: #fff;
border: none;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
outline: none;
}
.search-bar button img {
width: 20px;
height: 20px;
}
.temperature {
text-align: center;
margin: 20px 0;
}
.temperature h1 {
font-size: 48px;
margin: 0;
}
.location {
text-align: center;
font-size: 18px;
margin: 5px 0;
}
.details {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.details div {
text-align: center;
}
.details div p {
margin: 5px 0;
font-size: 14px;
}