-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
93 lines (81 loc) · 1.59 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
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap');
body {
font-family: Raleway;
background-color: black;
color: white;
}
* {
margin: 0;
}
.cell {
width: 8vw;
height: 8vw;
border: 2px solid #ffffff;
color: white;
box-shadow: 0 0 0 2px;
line-height: 75px;
font-family: 'Raleway', sans-serif;
font-weight: 600;
font-size: 100px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
#cellContainer {
display:grid;
grid-template-columns: repeat(3,auto);
width: 24vw;
margin: auto;
}
#gameContainer {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
}
h1#title {
font-size: 50px;
margin: 4vh;
}
#statusText {
margin: 3vh 0;
font-size: 30px;
transition: all 0.5s;
}
#restartBtn {
font-size: 25px;
text-decoration: none;
color: rgba(255, 255, 255, 0.8);
background: black;
padding: 15px 40px;
border: 1px solid white;
border-radius: 4px;
transition: color 0.2s ease-in-out;
text-align: center;
margin: auto;
margin-top: 40px;
}
#restartBtn:hover {
color: rgba(255, 255, 255, 1);
}
.scoreboard {
display: flex;
flex-direction: row;
justify-content: center;
gap: 30px;
font-size: 12px;
margin: 7vh 0 2vh 0;
}
.scoreboard h1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: 450;
margin: 0 0 10px 0;
}
.scoreboard h2 {
font-size: 40px;
margin: 0;
}
.draw h1,.draw h2 {
opacity: 0.5;
}