forked from Lavve/MMM-MagicSuperHero
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MMM-MagicSuperHero.css
79 lines (75 loc) · 1.8 KB
/
MMM-MagicSuperHero.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
.MMM-MagicSuperHero-container {
display: block;
text-align: center;
max-width: 280px;
margin: 0 auto;
}
.MMM-MagicSuperHero-container .mmm-hero-name {
font-size: 30px;
line-height: 1;
color: #aaa;
text-align: center;
margin: 0 0 15px;
}
.MMM-MagicSuperHero-container .mmm-hero-stats {
margin: 0 0 15px;
text-align: left;
}
.MMM-MagicSuperHero-container .mmm-hero-stats td {
width: 50%;
}
.MMM-MagicSuperHero-container .mmm-hero-stats td:nth-child(even) {
text-align: right;
}
.MMM-MagicSuperHero-container .superhero__statwrap {
width: 100%;
border: 1px solid #666;
}
.MMM-MagicSuperHero-container .superhero__statval {
background: #666;
height: 25px;
}
.MMM-MagicSuperHero-container .superhero__statval.intelligence {
background: #bd2c33;
}
.MMM-MagicSuperHero-container .superhero__statval.strength {
background: #af6b04;
}
.MMM-MagicSuperHero-container .superhero__statval.speed {
background: #c7ba00;
}
.MMM-MagicSuperHero-container .superhero__statval.durability {
background: #3da862;
}
.MMM-MagicSuperHero-container .superhero__statval.power {
background: #2b6ab3;
}
.MMM-MagicSuperHero-container .superhero__statval.combat {
background: #9000ad;
}
.MMM-MagicSuperHero-container .mmm-hero-app {
margin: 0 0 15px;
text-align: left;
}
.MMM-MagicSuperHero-container .mmm-hero-app td {
width: 50%;
}
.MMM-MagicSuperHero-container .mmm-hero-app td:nth-child(even) {
text-align: right;
}
.MMM-MagicSuperHero-container .mmm-hero-img-wrapper {
text-align: center;
}
.MMM-MagicSuperHero-container .mmm-hero-img-wrapper.round {
width: 160px;
height: 160px;
overflow: hidden;
border-radius: 50%;
margin: 0 auto;
}
.MMM-MagicSuperHero-container .mmm-hero-img-wrapper.grey .mmm-hero-img {
filter: grayscale(1);
}
.MMM-MagicSuperHero-container .mmm-hero-img {
max-width: 100%;
}