-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
156 lines (137 loc) · 2.53 KB
/
style.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
:root {
--primary-color: #3B3A36;
--secondary-color: #724A30;
--background-color: white;
--icon-color: #E53935;
--active-player-color: #D7CCC8;
--inactive-box-shadow-color: #ABB2B9;
--body-box-shadow-color: #D5D8DC;
--active-box-shadow-color: #2C3E50;
}
body {
font-family: Lato;
}
i {
padding-right: 8px;
color: var(--icon-color);
font-size: 24px;
}
button {
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
background: none;
border: none;
font-size: 16px;
cursor: pointer;
}
button:disabled {
cursor: auto;
}
.winner > button {
color: gray;
}
.winner > button > i {
color: gray;
}
.header {
display: flex;
flex-direction: column;
align-items: center;
color: var(--secondary-color);
padding-bottom: 20px;
}
.game-container {
display: flex;
justify-content: space-evenly;
margin: 0 auto;
width: 80%;
height: 500px;
box-shadow: 16px 15px 38px 18px var(--body-box-shadow-color);
}
.container {
display: flex;
flex-direction: column;
flex: 0 0 32%;
align-items: center;
justify-content: center;
padding: 20px 20px 40px;
background-color: var(--background-color);
}
.player-one-crown {
visibility: hidden;
width: 70px;
}
.player-two-crown {
visibility: hidden;
width: 70px;
}
.is-active {
background-color: var(--active-player-color);
}
.player-name {
display: flex;
justify-content: center;
}
.bullet-pt {
display: none;
color: var(--icon-color);
font-size: 36px;
padding: 10px 0 0 8px;
}
.is-active > .player-name > .bullet-pt {
display: block;
}
.player-score {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
color: var(--secondary-color);
}
.round-score > .score-number {
font-size: 81px;
color: var(--icon-color);
}
.global-score {
margin-top: auto;
background-color: var(--primary-color);
color: white;
box-shadow: 8px 2px 13px 0px var(--inactive-box-shadow-color);
}
.global-score > .score-number {
font-size: 65px;
color: var(--icon-color);
}
.is-active > .global-score {
box-shadow: 8px 2px 13px 0px var(--active-box-shadow-color);
}
.pig-icon {
width: 70px;
}
.dice-image {
display: none;
width: 88px;
border: 1px solid var(--primary-color);
box-shadow: 4px 5px 7px 0px var(--inactive-box-shadow-color);
}
.dice-roll-results {
padding: 20px 0;
}
.result-roundlost {
display: none;
}
.result-holdresult {
display: none;
}
.result-showdiceresult {
display: none;
}
.result-winner {
display: none;
}
.player-moves {
display: flex;
flex-direction: column;
}