-
Notifications
You must be signed in to change notification settings - Fork 0
/
rock-paper-scissors.css
109 lines (93 loc) · 1.72 KB
/
rock-paper-scissors.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
109
body {
font-family: monospace;
}
.rock-paper-scissors {
display: block;
margin: auto;
width: 600px;
text-align: center;
border: 1px solid gray;
border-radius: 4px;
padding: 16px;
margin-top: 40px;
background-color: #cfd8dc;
}
.rock-paper-scissors__secondary-title {
margin-top: 48px;
}
.rock-paper-scissors__caption {
font-style: italic;
}
.rock-paper-scissors__caption--highlighted {
color: red;
}
.rock-paper-scissors__btns {
display: block;
}
.btn {
font-family: inherit;
border: 1px solid gray;
border-radius: 4px;
width: 120px;
height: 40px;
margin: 8px;
cursor: pointer;
}
.btn--weapon {
font-size: 16px;
height: 80px;
}
.rock-paper-scissors__scoreboard {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 1px solid gray;
border-radius: 4px;
background-color: #f5f5f5;
width: auto;
margin: 16px 8px 8px 8px;
padding: 8px;
}
.rock-paper-scissors__player-outcomes {
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 8px;
}
.rock-paper-scissors__player-outcome {
display: flex;
flex-direction: column;
width: 120px;
}
.rock-paper-scissors__scores {
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 8px;
}
.rock-paper-scissors__score {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 40px;
width: 120px;
font-size: 16px;
}
.rock-paper-scissors__separator {
border-top: 1px solid #bdbdbd;
width: 100%;
margin: 8px;
}
.rock-paper-scissors__win-announcement {
display: flex;
flex-direction: column;
align-items: center;
}
.visible {
display: flex;
}
.hidden {
display: none;
}