aboutsummaryrefslogtreecommitdiff
path: root/styles.css
blob: 47a48e59f42ea6d1aa2241767fbdf17a43abfb41 (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
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
118
119
120
121
122
123
124
125
126
body {
    width: 80%;
    margin-left: 10%;
    background-color: #333;
}

.items {
    display: flex;
    flex-wrap: wrap;
}

a.item,
a.item:visited {
    color: #ddd;
    display: block;
    font-size: 24pt;
    margin-top: 10px;
    margin-left: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    text-decoration: none;
    min-width: 10em;
    min-height: 2em;
    text-align: center;
    line-height: 2em;
    flex-grow: 1;
    box-shadow: 0 5px #999;
}

a:hover,
a:hover:visited {
    background-color: #222;
}

a:active {
    transform: translateY(4px);
    box-shadow: 0 1px #666;
}

span.search {
    width: 100%;
    display: flex;
}

span.icon {
    margin-right: 10px;
}

input {
    height: 48px;
    font-size: 28px;
    flex-grow: 4;
    margin-left: 10px;
}

button {
    height: 48px;
    font-size: 28px;
    margin-left: 20px;
    flex-grow: 1;
}

.weather {
    color: #fff;
    text-align: center;
    font-size: 28px;
    line-height: 50px;
    text-align: center;
}

.weather td {
    width: 200px;
}

#weatherIcon {
    width: 100px;
}
.forecast{
    color: #fff;
    text-align: center;
    border-collapse: collapse;
    border: 1px solid white;
    width: 100%;
}
.forecast th, .forecast td {
    border-left: 1px solid white;
    border-right: 1px solid white;
    margin: 0px;
    padding: 0px 5px 0px 5px;
}

.high {
    color: rgb(255, 64, 64)
}

.low {
    color: rgb(45, 161, 255)
}

.forecast th {
    border-bottom: 1px solid white;
    padding: 5px;
    font-size: 28px;
    background-color: #454545;
}
.forecast td {
    padding: 3px;
    font-size: 16px;
}
span.status-up {
    display: inline-block;
    background-color: green;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    margin-left: 1em;
}
span.status-down {
    display: inline-block;
    background-color: red;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    margin-left: 1em;
}