-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
183 lines (161 loc) · 3.29 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
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
tr,td{
border-spacing:0;
border-collapse:collapse;
padding: 0px;
}
img {
margin: 0 auto;
position: absolute;
width: 150px;
height: 150px;
}
html, body {
scroll-snap-type: y proximity;
scroll-behavior: smooth;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
;
}
.menu {
display: flex;
min-width:500px;
margin: 0 auto;
}
.title {
flex: 1;
text-align: center;
margin-top: 0px;
min-width: 150px;
}
.boardDiv {
margin: 0 auto;
border-spacing:0;
border-collapse:collapse;
box-shadow: 5px 5px 5px 5px #888888;
}
.button {
border: 0px solid rgb(173, 173, 173);
font-size: 20px;
font-weight: bold;
height: 50px;
width: 50px;
}
/* on hover */
.button:hover {
background-color: #000000 ;
color: #ffffff;
}
.button:disabled {
background-color: rgb(173, 173, 173);
color: #000000;
}
.reset {
border: 0px solid rgb(136, 136, 136);
box-shadow: 2px 2px 2px 2px #888888;
font-size: 20px;
font-weight: bold;
height: 50px;
border-radius: 2px;
margin-bottom: 20px;
float: right;
margin: 10px;
}
.reset:hover {
background-color: #000000 ;
color: #ffffff;
}
.reset:active {
background-color: #5c5c5c ;
color: #ffffff;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
background-color: #fefefe;
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
border-radius: 4px;
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.onlineGameText {
/* absolute position to the right*/
margin-left: auto;
margin-right: auto;
font-weight: bold;
}
@media only screen and (max-width: 600px) {
.title {
flex: 0;
text-align: center;
margin-top: 0px;
min-width: 150px;
font-size: 27px;
font-weight: 200;
}
.menu :nth-child(3) {order: -2}
.reset {
font-size: 15px;
margin: 5px;
}
.button {
height: 35px;
width: 35px;
}
.menu {
display: flex;
flex-direction: column;
min-width:320px;
margin: 0 auto;
align-items: center;
margin-bottom: 5px;
}
::-webkit-scrollbar:horizontal {
display: none;
}
body, head {
overflow-x: hidden;
}
img {
width: 105px;
height: 105px;
}
}