-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (124 loc) · 2.14 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
body
{
background-image: url('images/background.jpg');
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
}
#dice_img
{
height: 100px;
width: 100px;
border-radius: 10px;
outline: solid 1px black;
}
#dice
{
height: 100px;
width: 100px;
padding: 0px;
border-radius: 10px;
transition: transform 1s;
}
table
{
border-collapse: collapse;
border: solid 3px black;
}
td
{
border: solid 2px transparent;
height: 60px;
width: 60px;
}
#outer
{
position: relative;
top: 5vh;
left: 5vw;
background-image: url('images/gameboard.jpg');
background-repeat: no-repeat;
background-size: contain;
margin-right: 10vw;
}
.tokens
{
height: 25px;
width: 25px;
}
#message
{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 170px;
width: 280px;
font-size: 30px;
margin-left: 100px;
background-color: lightyellow;
text-align: center;
border-radius: 10px;
color: red;
font-weight: 700;
box-sizing: border-box;
user-select: none;
}
.confetti-button-wrapper canvas
{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
}
@media (max-width: 1200px) and (orientation: landscape)
{
#dice_img
{
height: 50px;
width: 50px;
border-radius: 5px;
}
#dice
{
height: 50px;
width: 50px;
border-radius: 5px;
}
td
{
border: solid 2px transparent;
height: 25px;
width: 25px;
}
#outer
{
top: 8vh;
left: 2vw;
background-image: url('images/gameboard.jpg');
background-repeat: no-repeat;
margin-right: 10vw;
}
.tokens
{
height: 10px;
width: 10px;
}
#message
{
height: 120px;
width: 200px;
font-size: 25px;
margin-left: 50px;
padding: 10px;
}
#loading-animation
{
scale: 0.7;
position: relative;
top: -40px;
}
}