-
Notifications
You must be signed in to change notification settings - Fork 0
/
weather.css
107 lines (92 loc) · 1.55 KB
/
weather.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
/* CSS
Sahir Jaggi
April 2015
*/
@import url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700");
/* Typography
------------------------------------------------------------ */
* {
font-family: sans-serif;
color: #FFFFFF;
line-height: 140%;
margin: 0;
}
h1 {
font-size: 100%;
}
.textmain {
font-size: 6em;
}
.text {
font-size: 3em;
}
.textmin {
font-size: .5em;
}
/* Typography
------------------------------------------------------------ */
a:link,
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover h2,
a:hover img {
opacity: 0.6;
text-decoration: none;
}
a:active h2,
a:active img {
opacity: 0.5;
text-decoration: none;
}
/* Sections
------------------------------------------------------------ */
body {
margin: 0 !important;
padding: 0 !important;
height: 100vh;
background-repeat: no-repeat;
background-size: cover;
}
#container {
height: 100%;
margin: 0;
padding: 0;
position: relative;
}
#weatherinfo {
left: 30px;
top: 20px;
height: 200px;
width: 520px;
position: absolute;
}
#info {
right: 30px;
top: 20px;
height: 200px;
width: 420px;
position: absolute;
text-align: right;
}
#credit {
left: 30px;
bottom: 20px;
position: absolute;
}
/* Images
------------------------------------------------------------ */
#drake {
margin: auto;
position: absolute;
bottom: 0;
left: 0;
right: 0;
max-height: 80vh;
}
.music {
right: 30px;
bottom: 20px;
position: absolute;
}