-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStyle.module.css
More file actions
102 lines (89 loc) · 1.71 KB
/
Style.module.css
File metadata and controls
102 lines (89 loc) · 1.71 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
.app {
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
background: linear-gradient(135deg, #ccf8ff, #e9e6ff);
font-family: "Segoe UI", Tahoma, sans-serif;
padding-top: 60px;
}
.container {
width: 100%;
max-width: 400px;
}
.searchBox {
position: relative;
}
.searchInput {
width: 100%;
padding: 12px 16px;
border-radius: 12px;
border: 1px solid #ccc;
font-size: 16px;
outline: none;
transition: all 0.2s ease;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.searchInput:focus {
border-color: #3ca49a;
}
.suggestionsList {
list-style: none;
margin: 8px 0 0;
padding: 6px 0;
border-radius: 12px;
background: #fff;
position: absolute;
width: 100%;
z-index: 20;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.suggestionItem {
padding: 10px 16px;
font-size: 15px;
cursor: pointer;
transition: background 0.2s ease;
}
.suggestionItem:hover {
background: #d3a5da;
}
.weatherCard {
margin-top: 24px;
padding: 20px;
border-radius: 16px;
background: #3ca49a;
text-align: center;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
animation: fadeIn 0.4s ease;
}
.cityName {
font-size: 20px;
font-weight: 600;
margin-bottom: 8px;
color: #ffffff;
}
.temperature {
font-size: 42px;
font-weight: bold;
margin: 10px 0;
color: #ffffff;
}
.description {
font-size: 16px;
margin-bottom: 12px;
color: #ffffff;
}
.weatherIcon {
width: 80px;
height: 80px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}