-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
67 lines (59 loc) · 1.2 KB
/
style.css
File metadata and controls
67 lines (59 loc) · 1.2 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
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root{
--body-bg:#2e7d32;
--panel-bg:#ffffff;
--panel-shadow:0 10px 36px 16px rgba(0,0,0,.1);
--grid-border:#1b5e20;
--btn-bg:#2e7d32;
--btn-hover:#60ad5e;
--font:"Poppins",sans-serif;
}
body{
margin:0;
font-family:var(--font);
background:var(--body-bg);
}
section{
width:400px;
margin:80px auto;
text-align:center;
background:var(--panel-bg);
border-radius:10px;
box-shadow:var(--panel-shadow);
padding-bottom:25px;
}
.game--title{padding-top:20px;margin:0;}
.mode{
margin:15px auto 5px;
display:flex;
justify-content:center;
gap:1.2rem;
font-size:0.9rem;
font-weight:600;
}
.game--container{
display:grid;
grid-template-columns:repeat(3,auto);
width:180px;
margin:15px auto 10px;
}
.cell{
width:60px;height:60px;
line-height:60px;
font-size:24px;
font-weight:bold;
cursor:pointer;
border:1px solid var(--grid-border);
user-select:none;
}
button{
height:32px;
padding:0 18px;
border:none;
border-radius:6px;
background:var(--btn-bg);
color:#fff;
cursor:pointer;
font-family:var(--font);
}
button:hover{background:var(--btn-hover);transition:.25s;}