/
weather.css
83 lines (73 loc) · 1.27 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
html {
height:100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
position: relative;
box-sizing: border-box;
margin: 0;
padding-bottom: 6rem;
min-height: 100%;
align-items: center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
font-family: "Helvetica Neue", Arial, sans-serif;
color: white;
}
.container {
position: absolute;
width:100%;
}
.info {
position:relative;
background-color:rgba(0, 0, 0, 0.5);
width: 60%;
margin: 0 auto;
padding-top: 4%;
padding-bottom: 4%;
text-align: center;
}
h1 {
font-size: 3em;
}
.footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
padding: 0.4rem;
background-color: black;
text-align: right;
position:fixed;
}
#weather{
position: relative;
background-color:rgba(0, 0, 0, 1);
color: rgba(0, 0, 0, 1);
padding-top:20%;
padding-bottom:15%;
padding-left:20%;
margin-left:30%;
margin-right:30%;
}
@media screen and (max-width: 750px) and (orientation: portrait) {
.info {
width: 80%;
padding-top: 2%;
padding-bottom: 2%;
margin-top:0%;
}
#weather{
//margin-top: 25%;
margin-left:10%;
margin-right:10%;
padding-top:40%;
padding-bottom:40%;
}
}