-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
212 lines (205 loc) · 4.33 KB
/
style.css
File metadata and controls
212 lines (205 loc) · 4.33 KB
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
/*
Definitions and variables for the whole app
*/
html{
height: 500px;
width: var(--element_width);
margin: 0;
padding: 0;
font-family: Fjord One;
background-image: url("https://s3.amazonaws.com/weatherly-images/IMG_0750.JPG");
background-size: auto 600px;
background-repeat: no-repeat;
border: solid 3px;
}
:root{
--secondRow_height: 175px;
--weatherBlock_width: 100px;
--shadowing: inset 0 0 10px #000000;
--element_width: 600px;
}
html::-webkit-scrollbar{
display:none;
}
/* --------------------------------------------------------------------------- */
/*
Classes
*/
/* Container for the whole top banner and subsequent sub-blocks*/
.today_banner{
display:flex;
}
.API_title{
font-size:11px;
}
.API_weather{
font-size:15px;
}
.API_data{
display: -webkit-flex;
display: flex;
align-items: center;
justify-content: center;
}
.API_blocks{
padding: 0px 10px 0px 10px;
width:100px;
text-align: center;
top:0%;
}
/* Container for the mid-banner that contains the current date/time */
.today_name{
font-size: 16px;
text-align:center;
}
/* Container for the bottom section of the datapage (hourly and date forecast) */
.forecast_data{
display: flex;
}
/* Container for the hourly blocks in the scoll menu on the bottom left and subsequent sub-blocks */
.hourly_blocks{
text-align: center;
border-right:solid;
}
.hourly_temp{
font-size: 20px;
width: var(--weatherBlock_width);
height: 13px;
}
.hourly_img_icon{
width:50px;
height:50px;
}
.hourly_time{
font-size: 15px;
width: var(--weatherBlock_width);
height:13px;
}
.hourly_img{
width:var(--weatherBlock_width);
}
/* Definitions for the hourly blocks */
.hourly{
overflow:scroll;
overflow-y:hidden;
height: var(--secondRow_height);
width: 400px;
display:flex;
box-shadow:var(--shadowing);
}
/* Defines special properties for the last block of a list */
.last_block{
border-right: none;
border-bottom: none;
}
/* Container of the date blocks and subsequent sub-blocks */
.date_blocks{
display:flex;
height: 33px;
width: calc(var(--element_width)-352px);
border: solid 1px;
display: -webkit-flex;
display: flex;
align-items: center;
}
.date_selection{
height: var(--secondRow_height);
box-shadow: var(--shadowing);
width: calc(var(--element_width) - 350px);
}
.dateSelection_date{
font-size: 15px;
text-align: center;
width: 75px;
}
.dateSelection_img{
width: 75px;
height: 33px;
text-align: center;
}
.dateSelection_info{
font-size: 13px;
text-align: center;
width: 75px;
}
.dateSelection_img_icon{
width: 30px;
height: 30px;
}
/* Definitions for the title screen block */
.pac-card {
position: fixed;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
box-sizing: border-box;
-moz-box-sizing: border-box;
}
/* --------------------------------------------------------------------------- */
/*
IDs
*/
/* Text of the combined weather forecast, or the presented main forecast */
#combined_weather_weather{
font-size: 40px;
text-align:center;
}
/* Text for icon licensing */
#icon_licensing_text{
font-size: 10px;
}
/* Main icon image */
#weather_icon_img{
height: 170px;
width: auto;
padding: 20px;
}
/* Scrollbar for the bottom left hourly data */
::-webkit-scrollbar{
width: 10px;
}
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 10px;
}
/* Text for the autofill content */
#infowindow-content .title {
font-weight: bold;
}
#infowindow-content {
display: none;
}
/* Definitions for the input styling on the first page */
#pac-input {
background-color: rgba(172, 172, 172, 0.9);
text-align: center;
font-family: Fjord One;
font-size: 16px;
font-weight: 100;
text-overflow: ellipsis;
height: 16px;
width: 400px;
}
#pac-input:focus {
border-color: #4d90fe;
}
/* Definitions for the "weatherly" text on the title */
#weatherly_banner_title {
text-align: center;
font-size: 48px;
font-weight: 100;
}
#logo{
font-size: 15px;
text-align: left;
display: -webkit-flex;
display: flex;
align-items: center;
height:25px;
width: var(--element_width);
font-weight: bold;
}
#location{
font-size: 20px;
text-align: center;
}