-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (91 loc) · 1.6 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
@font-face {
font-family: flower;
src: url('/font.ttf');
}
* {
font-family: flower;
font-size: 20px;
}
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
}
body {
background-color: rgb(223, 217, 217);
}
h1 {
font-size: 3.2em;
line-height: 1.1;
font-style: italic;
}
.container {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.game-action {
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
}
.level {
padding: 10px 20px;
border-radius: 6px;
border: 2px solid #2F88FF;
margin: 0 20px;
}
.row {
display: flex;
}
.cell {
justify-content: center;
flex-direction: column;
display: flex;
width: 90px;
height: 90px;
background-color: #2F88FF;
align-items: center;
color: white;
margin: 2px;
cursor: pointer;
font-size: 28px;
border-radius: 6px;
transition: 0.1s all ease;
box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.cell:hover {
background-color: #0e74fb;
}
.win-cell {
background-color: gold;
color: black;
transform: rotate(5deg);
cursor: not-allowed;
pointer-events: none;
}
.win-status {
color: #004225;
font-size: 22px;
}
.btn {
padding: 10px 20px;
border-radius: 6px;
border: 2px solid #2F88FF;
background-color: cornsilk;
font-size: 22px;
transition: 0.25s all ease;
display: inline-flex;
align-items: center;
justify-content: center;
}
.btn:hover {
cursor: pointer;
transform: scale(1.1);
background-color: whitesmoke;
}
.status-wrapper {
text-align: center;
}