BalancedScoreCard / src / balanced.css
Code · 57 lines · 662 bytes
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
57body
{
	background-color: #1a1a1a;
	margin: 0;
	padding: 10px;
}

.meters
{
	font-family: Arial;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.meter
{
	position: relative;
	text-align: center;
	margin: 4px;
	background: #2c2c2c;
	padding: 10px;
	border-radius: 10px;
	width: 200px;
	height: 180px;
}

canvas
{
	aborder: solid 1px red;
	display: block;
	position: absolute;
	top: 10px;
	left: 10px;
	width: 200px;
	height: 180px;
}

.meter canvas:first-child
{
	z-index: 1;
}

.meter canvas:nth-child(2)
{
	z-index: 2;
}

.meter p
{
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 160px 0 0 0;
	position: relative;
	z-index: 3;
}