1
1
/**********************************************
2
2
*** GENERAL
3
3
**********************************************/
4
+ .final-score {
5
+ position : absolute;
6
+ left : 50% ;
7
+ transform : translateX (-50% );
8
+ top : 520px ;
9
+ color : # 555 ;
10
+ font-size : 18px ;
11
+ font-family : 'lato' ;
12
+ text-align : center;
13
+ padding : 10px ;
14
+ width : 160px ;
15
+ text-transform : uppercase;
16
+ }
4
17
5
18
* {
6
19
margin : 0 ;
7
20
padding : 0 ;
8
21
box-sizing : border-box;
9
-
10
22
}
11
23
12
24
.clearfix ::after {
16
28
}
17
29
18
30
body {
19
- background-image : linear-gradient (rgba (62 , 20 , 20 , 0.4 ), rgba (62 , 20 , 20 , 0.4 )), url (back.jpg) ;
31
+ background-image : linear-gradient (rgba (62 , 20 , 20 , 0.4 ), rgba (62 , 20 , 20 , 0.4 ));
20
32
background-size : cover;
21
33
background-position : center;
22
34
font-family : Lato;
47
59
48
60
49
61
62
+
50
63
/**********************************************
51
64
*** PLAYERS
52
65
**********************************************/
@@ -70,8 +83,13 @@ body {
70
83
margin-bottom : 130px ;
71
84
}
72
85
73
- .active { background-color : # f7f7f7 ; }
74
- .active .player-name { font-weight : 300 ; }
86
+ .active {
87
+ background-color : # f7f7f7 ;
88
+ }
89
+
90
+ .active .player-name {
91
+ font-weight : 300 ;
92
+ }
75
93
76
94
.active .player-name ::after {
77
95
content : "2022円" ;
80
98
color : # EB4D4D ;
81
99
top : -7px ;
82
100
right : 10px ;
83
-
84
101
}
85
102
86
103
.player-current-box {
@@ -119,8 +136,13 @@ button {
119
136
transition : background-color 0.3s , color 0.3s ;
120
137
}
121
138
122
- button : hover { font-weight : 600 ; }
123
- button : hover i { margin-right : 20px ; }
139
+ button : hover {
140
+ font-weight : 600 ;
141
+ }
142
+
143
+ button : hover i {
144
+ margin-right : 20px ;
145
+ }
124
146
125
147
button : focus {
126
148
outline : none;
137
159
transition : margin 0.3s ;
138
160
}
139
161
140
- .btn-new { top : 45px ;}
141
- .btn-roll { top : 403px ;}
142
- .btn-hold { top : 467px ;}
162
+ .btn-new {
163
+ top : 45px ;
164
+ }
165
+
166
+ .btn-roll {
167
+ top : 403px ;
168
+ }
169
+
170
+ .btn-hold {
171
+ top : 467px ;
172
+ }
143
173
144
174
.dice {
145
175
position : absolute;
150
180
box-shadow : 0px 10px 60px rgba (0 , 0 , 0 , 0.10 );
151
181
}
152
182
153
- .winner { background-color : # f7f7f7 ; }
154
- .winner .player-name { font-weight : 300 ; color : # EB4D4D ; }
183
+
184
+
185
+ .winner {
186
+ background-color : # f7f7f7 ;
187
+ }
188
+
189
+ .winner .player-name {
190
+ font-weight : 300 ;
191
+ color : # EB4D4D ;
192
+ }
0 commit comments