-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (111 loc) · 2.34 KB
/
style.css
File metadata and controls
111 lines (111 loc) · 2.34 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
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: linear-gradient(to bottom, #89f7fe, #66a6ff);
color: #333;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: white;
padding: 30px;
border-radius: 16px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
text-align: center;
width: 350px;
transition: transform 0.3s ease;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.container:hover {
transform: translateY(-5px);
}
.container h1 {
font-size: 2.2rem;
margin-bottom: 0.5rem;
color: #333;
text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}
.subtitle {
font-size: 1rem;
color: #555;
margin-bottom: 1.5rem;
}
.input {
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
width: 100%;
margin-bottom: 1.5rem;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
font-size: 1rem;
}
.input:focus {
border-color: #6a11cb;
outline: none;
box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}
.button {
padding: 12px;
background: linear-gradient(90deg, #6a11cb, #2575fc);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
width: 100%;
font-size: 1rem;
font-weight: 600;
transition: background 0.3s ease, transform 0.2s;
text-transform: uppercase;
}
.button:hover {
background: linear-gradient(90deg, #2575fc, #6a11cb);
transform: scale(1.05);
}
.weather-info {
margin-top: 20px;
background: #f9f9f9;
border-radius: 8px;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
font-size: 1rem;
color: #333;
animation: fadeIn 0.5s ease-in-out;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.weather-info:hover {
background-color: #e3f2fd;
transform: scale(1.02);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.error {
color: red;
margin-top: 10px;
font-size: 0.9rem;
}
footer {
margin-top: 20px;
font-size: 0.9rem;
color: #333;
text-align: center;
}
footer a {
color: #2575fc;
text-decoration: none;
font-weight: bold;
}
footer a:hover {
text-decoration: underline;
}