-
Notifications
You must be signed in to change notification settings - Fork 1
/
bars.css
108 lines (82 loc) · 1.38 KB
/
bars.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
108
/* Reset CSS */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
font-family: "Newsreader", serif;
font-optical-sizing: auto;
background-color: #f5f5f5;
}
/* consumtions */
.consumption {
background-image: url('bulbs.jpg'); bottom center cover;
background-size: cover;
background-repeat: no-repeat;
background-position-y: 40px;
height: 50vw;
width: 100%;
display: table;
table-layout:fixed;
border-collapse: collapse;
}
.space, .bar, .stat, .percentage {
box-sizing: border-box;
padding: 0;
margin: 0;
}
.space, .bar {
display: table-cell;
vertical-align: top;
position: relative;
}
.space {
width: 4vw;
background-color: #15523e;
}
.bar {
width: 20vw;
background-color: transparent;
}
.stat {
width: 20vw;
background-color: #15523e;
color: whitesmoke;
margin: 0;
padding: 0;
}
.pa .stat {
height: 45vw;
}
.pa .percentage {
height: 5vw;
}
.fl .stat {
height: 35vw;
}
.fl .percentage {
height: 15vw;
}
.fl .stat .desc {
position: absolute;
bottom: 16vw;
}
.ca .stat {
height: 28vw;
}
.ca .percentage {
height: 22vw;
}
.tx .stat {
height: 6vw;
}
.tx .percentage {
height: 44vw;
}
/* end consumtions */
/* arrows details */
summary{
color:#15523e
}