forked from you-dont-need/You-Dont-Need-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (73 loc) · 1.31 KB
/
style.css
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #fff;
padding: 20px;
height: 100vh;
}
.weather-widget {
background-color: #007BFF;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
max-width: 300px;
width: 100%;
margin-bottom: 40px;
}
h1 {
font-size: 24px;
color: #333;
}
.weather-location {
margin-bottom: 20px;
}
h2 {
font-size: 20px;
color: black;
}
.weather-details h3 {
font-size: 48px;
color: white;
}
.weather-details p {
font-size: 16px;
color: white;
margin-top: 10px;
}
.weekly-forecast {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
max-width: 600px;
width: 100%;
}
.forecast-row {
display: flex;
justify-content: space-between;
}
.day-forecast {
background-color: #007BFF;
padding: 15px;
border-radius: 5px;
text-align: center;
width: 100px;
}
.day-forecast h3 {
font-size: 24px;
margin-bottom: 5px;
}
.day-forecast p {
font-size: 14px;
color: whitesmoke;
}