-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
152 lines (131 loc) · 2.59 KB
/
style.scss
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
// styles.scss
$primary-color: #3498db;
$canvas-width: 1300px;
$canvas-min-allowed-width: 1600px;
// Centering everything
body, html {
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
color: white;
}
.socket-status{
position: absolute;
display: flex;
justify-content: center;
align-items: center;
top:5%;
font-family: 'Courier New', Courier, monospace;
background-color: #33333362;
padding: 10px;
color: white; /* Text color */
}
#my-id::before{
content: "SocketID: ";
font-size: 35px;
white-space: pre;
}
#my-id, div{
font-size: 35px;
}
#main-pixi-container{
text-align: center;
//min-width: $canvas-min-allowed-width;
width: $canvas-width;
height: 800px;
//background-color: white;
box-shadow: 5px 4px 8px rgb(255, 255, 255);
pointer-events: none;
}
#users{
display: none;
}
footer {
width: 800px;
line-height: 5px;
position: absolute;
bottom: 3%;
background-color: #33333362; /* Background color */
color: white; /* Text color */
text-align: center; /* Center align text */
padding: 10px; /* Add some padding */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Drop shadow effect */
@media (max-height: 800px) {
display: none; // Hide the element when screen height is below 800px
}
}
/* Styling for the game name */
.game-name {
font-family: 'Courier New', Courier, monospace;
font-size: 24px; /* Font size */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow effect */
}
.game-instruction {
font-family: 'Courier New', Courier, monospace;
font-size: 15px; /* Font size */
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow effect */
white-space: pre;
}
.lds-ripple {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-ripple div {
position: absolute;
border: 4px solid #fff;
opacity: 1;
border-radius: 50%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 0;
}
4.9% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 0;
}
5% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}
.swal2-popup {
font-size: 15px !important;
font-family: Georgia, serif;
}
.swal2-confirm{
font-size: 15px !important;
}
.swal2-cancel{
font-size: 15px !important;
}
.swal2-loader{
font-size: 15px !important;
}