-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
85 lines (73 loc) · 1.33 KB
/
main.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
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
:root {
--grey: #ececec;
--first: #BD4F6C;
--second: #F0CF65;
--third: #5E9EAD;
}
body {
margin: 0;
font-size: 16px;
font-family: "Roboto";
height: 100vh;
background: #111;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.scoreboard {
display: flex;
flex-direction: row;
justify-content: space-around;
min-height: 350px;
}
.place {
margin: 0 20px;
display: flex;
flex-direction: column;
align-self: flex-end;
flex-wrap: wrap;
flex: 1;
text-align: center;
}
.stupid-div {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 20px auto 100px auto;
min-height: 350px;
}
.silo {
height: 170px;
background: #ececec;
color: #fff;
min-width: 15vw;
border-radius: 5px;
position: relative;
}
.silo span {
font-size: 4rem;
font-weight: 700;
position: absolute;
left: 50%;
transform: translate(-50%, -50%);
bottom: 0px;
}
.scoreboard p {
font-size: 1.5rem;
margin-top: 10px;
}
p small {
font-size: 1.2rem;
}
.scoreboard .place:nth-child(2) .silo {
background: var(--first)
}
.scoreboard .place:nth-child(1) .silo {
background: var(--second)
}
.scoreboard .place:nth-child(3) .silo {
background: var(--third)
}