-
-
Notifications
You must be signed in to change notification settings - Fork 60
/
style.css
116 lines (98 loc) · 1.71 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
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
112
113
114
115
116
*,
*::after,
*::before {
box-sizing: border-box;
}
body {
margin: 0;
background-color: hsl(200, 100%, 85%);
color: hsl(200, 100%, 10%);
font-family: sans-serif;
}
.blurred {
filter: blur(3px);
overflow: hidden;
}
.header {
display: flex;
align-items: center;
}
.header-left {
display: flex;
width: 50%;
align-items: center;
justify-content: center;
margin: 0.5rem;
padding: 0.5rem;
border-right: 2px solid hsl(200, 100%, 10%);
}
.weather-icon {
width: 40px;
height: 40px;
object-fit: contain;
}
.weather-icon.large {
width: 80px;
height: 80px;
}
.header-current-temp {
font-size: 2rem;
margin-left: 1rem;
}
.header-right {
display: grid;
width: 50%;
justify-content: space-around;
gap: 0.5rem;
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(2, auto);
}
.info-group {
display: flex;
flex-direction: column;
align-items: center;
}
.label {
text-transform: uppercase;
font-weight: bold;
font-size: 0.6rem;
color: hsl(200, 100%, 20%);
}
.value-sub-info {
font-weight: lighter;
font-size: 0.75rem;
}
.day-section {
display: grid;
grid-template-columns: repeat(auto-fit, 75px);
gap: 0.5rem;
justify-content: center;
padding: 1rem;
}
.day-card {
display: flex;
flex-direction: column;
align-items: center;
border: 1px solid hsl(200, 100%, 10%);
border-radius: 0.25rem;
padding: 0.25rem;
}
.day-card-day {
font-size: 0.75rem;
color: hsl(200, 100%, 20%);
margin-top: 0.5rem;
}
.hour-section {
width: 100%;
text-align: center;
border-spacing: 0;
}
.hour-row {
background-color: hsl(200, 60%, 75%);
}
.hour-row:nth-child(2n) {
background-color: hsl(200, 60%, 70%);
}
.hour-row > td {
padding: 0.25rem 0.5rem;
}