-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathludo.css
200 lines (193 loc) · 3.64 KB
/
ludo.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
body {
margin:0;
padding:0;
background-color:#99f;
}
table:not(.tab) {
margin-top:110px;
width:400px;
height:400px;
background-color:skyblue;
border-spacing:0;
}
td {
margin:0;
padding:auto;
width:30px;
height:23px;
font-size:10px;
overflow:hidden;
text-align:center;
align-items: center;
align-content: center;
justify-content:center;
border:0.8px solid gold;
}
#cc {
background-color:green;
}
.tab{
width:60px;
height:60px;
border:1px;
margin:auto;
text-align:center;
border-spacing:0;
}
caption {
font-size:12px;
font-style:bold;
color:white;
text-shadow:3px 3px 4px black;
}
#p1,#p2,#p3,#p4{
width:100px;
height:100px;
border-radius:50%;
margin-left:auto;
margin-right:auto;
text-align:center ;
display:flex;
justify-content:center;
}
#centr {
width:60px;
height:60px;
margin:auto;
transform:rotate(-45deg);
transform-origin:50% 50%;
}
#dice {
position:fixed ;
top:10px;
left:10px;
width:82px;
height:82px;
margin:5px;
padding:5px;
border-radius:12px;
background-color:white;
border:solid 2px gray;
}
#dice:focus{
outline:none ;
}
img {
margin:0;
padding:0;
width:70px;
height:70px;
}
#tab1, #p1 {
background-color:#f99;
}
#tab2, #p2 {
background-color:#9f9;
}
#tab3, #p3 {
background-color:#39f;
}
#tab4, #p4 {
background-color:#fd9;
}
.plr1 {
background: radial-gradient(circle, #f99 50%, yellow 70%, silver 10%);
}
.plr2 {
background: radial-gradient(circle, #9f9 50%, yellow 70%, silver 10%);
}
.plr3 {
background: radial-gradient(circle, #39f 50%, yellow 70%, silver 10%);
}
.plr4 {
background: radial-gradient(circle, #fd9 50%, yellow 70%, silver 10%);
}
.plrw1{
background-color:red;
}
.plrw2{
background-color:green;
}
.plrw3{
background-color:blue;
}
.plrw4{
background-color:yellow;
}
.coin {
height:16px;
width:16px;
padding:0;
margin:auto;
border-radius:50%;
text-align:center;
font-size:10px;
font-weight:bold;
font-style:italic;
color:white;
display:inherit;
box-shadow:3px 3px 6px black;
}
#coin11, #coin12, #coin13, #coin14 {
background: radial-gradient(circle, gold 5%, red 55%, silver 20%);
}
#coin21, #coin22, #coin23, #coin24 {
background: radial-gradient(circle, gold 5%, green 55%, silver 20%);
}
#coin31, #coin32, #coin33, #coin34 {
background: radial-gradient(circle, gold 5%, blue 55%, silver 20%);
}
#coin41, #coin42, #coin43, #coin44 {
background: radial-gradient(circle, gold 5%, orange 55%, silver 20%);
}
.cn {
height:16px;
width:16px;
padding:0;
margin:auto;
border-radius:10%;
text-align:center;
font-size:10px;
font-weight:bold;
font-style:italic;
color:white;
display:inherit;
box-shadow:3px 3px 6px black;
}
#cn1 {
background: radial-gradient(circle, gold 5%, red 55%, silver 20%);
}
#cn2 {
background: radial-gradient(circle, gold 5%, green 55%, silver 20%);
}
#cn3 {
background: radial-gradient(circle, gold 5%, blue 55%, silver 20%);
}
#cn4 {
background: radial-gradient(circle, gold 5%, orange 55%, silver 20%);
}
.select_display {
left:45px;
top:150px;
padding:3px;
width:300px;
height:300px;
position:fixed;
text-align:center;
display: inline-block;
background-color:silver;
box-shadow: 0px 8px 16px 10px rgba(0,0,0,0.4);
}
.select {
padding:10px;
font-size:16px;
color:white;
border:none;
cursor:pointer;
border-radius:6px;
border:3px groove;
background-color:#4498ff;
}
.select:hover, .select:focus {
outline:none ;
}