Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (88 loc) · 1.51 KB
/
Copy pathstyle.css
File metadata and controls
101 lines (88 loc) · 1.51 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f4f8;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #333;
animation: fadeIn 1s ease-in-out;
}
.app-container {
background: white;
border-radius: 10px;
padding: 40px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
text-align: center;
max-width: 500px;
width: 100%;
}
h1 {
font-size: 2rem;
margin-bottom: 20px;
color: #333;
}
.input-container {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#location {
padding: 10px;
font-size: 1rem;
border: 2px solid #ccc;
border-radius: 5px;
width: 60%;
margin-right: 10px;
}
button {
padding: 10px 20px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
}
button:hover {
background-color: #45a049;
}
.weather-output {
margin-top: 20px;
font-size: 1.5rem;
animation: slideIn 1s ease-out;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes slideIn {
0% {
transform: translateY(50px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
@media (max-width: 768px) {
.app-container {
padding: 20px;
}
h1 {
font-size: 1.5rem;
}
#location {
width: 70%;
}
}