forked from ms3056/Weather_old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
117 lines (94 loc) · 1.68 KB
/
styles.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
117
body {
--weather--color-accent: var(--color-accent);
}
.weather__base {
display: flex;
flex-direction: column;
align-items: center;
padding-bottom: 30px;
}
.weather__location {
font-size: 1.2em;
}
.weather__info {
display: flex;
flex-direction: column;
}
.weather__info>div {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.weather__info>div>div:nth-child(1) {
margin-right: 0.2em;
}
.weather__info .weather__feels-like {
color: var(--weather--color-accent);
}
.weather__condition {
color: var(--weather--color-accent);
font-size: 1.2em;
}
.weather__aq-contributors {
color: var(--weather--color-accent);
font-size: 0.9em;
}
.weather__aqi {
font-size: 0.9em;
}
.weather__aqi-circle {
display: inline-block;
width: 10px;
aspect-ratio: 1/1;
border-radius: 50%;
margin: 5px;
background-color: #000000;
}
.weather__aqi-circle--1 {
background-color: #008000;
}
.weather__aqi-circle--2 {
background-color: #FFFF00;
}
.weather__aqi-circle--3 {
background-color: #FFA500;
}
.weather__aqi-circle--4 {
background-color: #FF0000;
}
.weather__aqi-circle--5 {
background-color: #800080;
}
.weather__aqi-circle--6 {
background-color: #800000;
}
.weather__icon {
margin: -15px 0;
}
.weather__icon.weather__icon-secondary {
margin: unset;
width: 48px;
aspect-ratio: 1/1;
}
.weather__forecast {
margin-top: 1em;
display: flex;
width: 80%;
justify-content: space-around;
}
.weather__forecast-day {
display: flex;
flex-direction: column;
align-items: center;
}
.weather__forecast-date {
font-size: 0.8em;
}
.weather__forecast-rain-chance {}
.weather__localtime {
color: gray;
font-size: 0.7em;
align-self: end;
margin-top: 1em;
margin-right: 2em;
}