forked from ujavid/WeatherWidget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathweatherWidget.css
104 lines (90 loc) · 2.29 KB
/
weatherWidget.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
/* Some default styles to prevent being overriden by other style sheets */
.weather-widget, .weather-widget div, .weather-widget img {
display: block;
margin: 0px;
padding: 0px;
border: none;
border-radius: 0px;
-moz-border-radius: 0px;
-webkit-border-radius: 0px;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
background-color: transparent;
color: #000000;
font-family: Arial, 'Helvectica Neue', Helvectica, sans-serif;
font-weight: normal;
text-align: left;
text-decoration: none;
height: auto;
width: auto;
}
.weather-widget {
background-color: #FFFFFF;
border: 1px solid #B0B0B0;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
box-shadow: 8px 8px 8px #585858;
-moz-box-shadow: 8px 8px 8px #585858;
-webkit-box-shadow: 8px 8px 8px #585858;
height: 160px;
width: 310px;
}
.weather-widget .weather-widget-loading {
font-weight: bold;
margin-top: 75px;
text-align: center;
font-size: 14px;
}
.weather-widget .weather-widget-error {
color: #8B0000;
text-align: center;
margin-top: 60px;
font-size: 14px;
}
.weather-widget .weather-widget-title {
font-size: 18px;
margin: 10px 10px 0px 10px;
}
.weather-widget .weather-widget-current-conditions {
margin: 5px 10px 0px 10px;
}
.weather-widget .weather-widget-current-temp {
display: inline-block;
font-size: 65px;
vertical-align: top;
}
.weather-widget .weather-widget-current-image-container {
display: inline-block;
margin-left: 5px;
}
.weather-widget .weather-widget-current-image img {
max-height: 52px;
max-width: 52px;
}
.weather-widget .weather-widget-current-image-text {
font-size: 10px;
text-align: center;
}
.weather-widget .weather-widget-forecast {
text-align: center;
}
.weather-widget .weather-widget-forecast-item {
display: inline-block;
border-right: 1px dotted #B0B0B0;
padding: 8px;
max-width: 45px;
max-height: 25px;
}
.weather-widget .weather-widget-forecast-item:last-child {
border-right: none;
}
.weather-widget .weather-widget-forecast-day {
font-size: 11px;
text-align: center;
}
.weather-widget .weather-widget-forecast-temp {
font-size: 10px;
text-align: center;
}