-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathmain.css
More file actions
49 lines (40 loc) · 740 Bytes
/
main.css
File metadata and controls
49 lines (40 loc) · 740 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
.scoreboard {
display: grid;
grid-template-columns: repeat(2, 1fr);
width: 300px;
font-family: 'Quicksand', sans-serif;
}
.scoreboard__name,
.scoreboard__score {
padding: 10px;
text-align: center;
}
.scoreboard__name {
font-weight: bold;
border-bottom: 1px solid #ddd;
}
.scoreboard__name--one {
color: #009578;
}
.scoreboard__name--two {
color: #2d0095;
}
.scoreboard__score {
font-size: 2em;
}
.scoreboard__controls {
display: flex;
}
.scoreboard__control-button {
flex-grow: 1;
border: none;
background: #eee;
cursor: pointer;
font-size: 1.2em;
}
.scoreboard__control-button:hover {
background: #ddd;
}
.scoreboard__control-button:active {
background: #ccc;
}