-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (60 loc) · 1.09 KB
/
style.css
File metadata and controls
70 lines (60 loc) · 1.09 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", sans-serif;
}
body {
background: linear-gradient(to right, #4facfe, #00f2fe);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.app-container {
background: #fff;
padding: 30px;
border-radius: 16px;
width: 400px;
text-align: center;
box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}
h1 {
margin-bottom: 20px;
color: #333;
}
.search-box {
display: flex;
margin-bottom: 20px;
}
.search-box input {
flex: 1;
padding: 10px;
border: 2px solid #4facfe;
border-radius: 8px 0 0 8px;
outline: none;
}
.search-box button {
padding: 10px 20px;
border: none;
background: #4facfe;
color: white;
font-weight: bold;
border-radius: 0 8px 8px 0;
cursor: pointer;
transition: 0.3s;
}
.search-box button:hover {
background: #00c6ff;
}
.weather-result {
margin-top: 20px;
}
.weather-result h2 {
font-size: 22px;
color: #222;
}
.weather-result p {
font-size: 18px;
margin-top: 10px;
}