summaryrefslogtreecommitdiff
path: root/css/style.css
blob: 2f9945ddb90fe613b63d56f7080391a3028fc092 (plain)
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
body{
  background-color: #eee;
}
.forecast {
  margin: auto;
  padding: 0.3rem;
  max-width: 800px;
}

.forecast > h1,
.day-forecast-container {
  margin: 0.5rem;
  padding: 0.3rem;
  font-size: 1.2rem;
}

.day-forecast-container{
  border-radius: 5px;
  border: 1px solid lightgrey;
  cursor: pointer;
  background-color: whitesmoke;
}
.day-forecast {
  display: flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.day-forecast h2 {
  font-size: 1.1rem;
}

.day-forecast-text{
  min-width: 200px;
  margin: 0 2rem;
}
.day-forecast-image{
  padding: 1rem;
  margin: 0 2rem;
  font-size: 60pt;
}

footer{
  font-style: italic;
  font-size: smaller;
  text-align: right;
  padding: 0.3rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.temp-label{
  font-size: 4px;
  text-anchor: middle;
}
.weather-label{
  font-size: 8px;
  text-anchor: middle;
}
.time-label{
  font-size: 6px;
  text-anchor: middle;
}
.graph-line{
  stroke: lightgrey;
}
.day-forecast-text p{
  text-transform: lowercase;
}
.day-forecast-text p:first-letter {
  text-transform: uppercase;
}
.hourly-forecast {
  width: 100%;
}