-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (76 loc) · 1.58 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
@font-face {
font-family: Debug;
src: url("./debug.otf") format("opentype");
}
*{
box-sizing: border-box;
font-family: Debug;
}
body{
margin: 0;
padding: 0;
background-color: black;
touch-action: none;
}
.container{
width: 100vw;
height: 100vh;
background-color: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.board{
width: 350px;
height: 500px;
background-color: rgba(255, 255, 255, 0.1);
/* border: 2px solid black; */
padding: 0;
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-wrap: wrap;
font-family: debug;
}
.score{
text-align: center;
color: white;
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: bolder;
font-size: 30px;
}
.board .cell {
width: 10px;
height: 10px;
/* border: 1px solid black; */
margin: 0;
}
.info{
position: absolute;
left: 0;
top: 0;
color: rgb(250, 208, 208);
background-color: rgba(0, 0, 0, 0.1);
padding: 15px;
height: 35vh;
width: 35vw;
min-width: 350px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: auto;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
font-size: 25px;
text-shadow: 2px 0 #000000, -2px 0 #000000, 0 2px #000000, 0 -2px #000000,
1px 1px #000000, -1px -1px #000000, 1px -1px #000000, -1px 1px #000000;
}
.gameover{
display: none;
}