-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
102 lines (92 loc) · 1.77 KB
/
Copy pathstyle.css
File metadata and controls
102 lines (92 loc) · 1.77 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
cursor: default;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
body {
display: flex;
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
background-color: #daf1ff;
}
header {
width: 100%;
padding: 10px 0;
background-color: royalblue;
font-size: larger;
font-weight: 500;
text-align: center;
color: #ffffff;
}
select {
padding: 5px;
margin-bottom: 5px;
border: none;
border-radius: 4px;
background-color: #daf1ff;
font-size: medium;
}
button {
background-color: snow;
border: none;
border-radius: 5px;
padding: 5px;
margin-top: 10px;
font-size: medium;
font-weight: 600;
color: #6281df;
}
.game-canvas {
display: flex;
flex-direction: column;
margin: 20px auto;
padding: 5px 0 0 5px;
background-color: #55b4ff;
width: 500px;
height: 500px;
}
.row {
display: flex;
flex: auto;
flex-wrap: nowrap;
}
[class^="cell"] {
background-color: rgba(255, 255, 255, 0.6);
text-align: center;
margin-right: 5px;
margin-bottom: 5px;
flex: auto;
}
[class^="cell"]:hover {
background-color: rgba(255, 255, 255, 0.8);
}
@media screen and (max-width: 768px) {
.game-canvas {
padding: 2px 0 0 2px;
width: 450px;
height: 450px;
}
[class^="cell"] {
margin-right: 2px;
margin-bottom: 2px;
}
}
@media screen and (max-width: 567px) {
.game-canvas {
padding: 1px 0 0 1px;
width: 400px;
height: 400px;
}
[class^="cell"] {
margin-right: 1px;
margin-bottom: 1px;
}
}