-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (98 loc) · 1.92 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
109
110
111
112
113
@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Rampart+One&display=swap");
html {
height: 100%;
}
body {
margin: 0;
flex-direction: column;
background-color: #fafafa;
justify-content: center;
}
h1 {
font-family: "Rampart One", cursive;
font-size: 3.75em;
letter-spacing: 15px;
color: #535353;
margin-bottom: 20px;
text-align: center;
user-select: none;
}
h2 {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-weight: bold;
font-size: 30px;
color: #4d4d4d;
margin: 1em;
letter-spacing: 1px;
text-align: center;
user-select: none;
}
a {
color: #3d3e3c;
font-family: 'Open Sans', sans-serif;
font-size: 20px;
margin: 0.5em 0;
text-decoration: none;
user-select: none;
cursor: pointer;
}
a:hover {
opacity: 0.8;
}
button:hover {
opacity: 0.9;
}
.flex {
display: flex;
align-items: center;
}
#gameboard {
background-color: #808080;
border-radius: 10px;
border: 5px solid #808080;
display: grid;
grid-template: repeat(3, 1fr) / repeat(3, 1fr);
height: 400px;
margin: 0 auto;
width: 400px;
}
.cell {
align-items: center;
background-color: #d9d9d9;
border-radius: 10px;
border: 5px solid #808080;
display: flex;
font-family: "Fredoka One", cursive;
font-size: 5em;
font-weight: bold;
justify-content: center;
user-select: none;
cursor: pointer;
}
.cell:hover {
background-color: #e2e2e2;
}
#reset {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 20px;
margin: 25px;
border: none;
background-color: #5a9ec3;
color: #fff;
border-radius: 15px;
height: 45px;
width: 110px;
font-family: "Fredoka One", cursive;
letter-spacing: 2px;
user-select: none;
cursor: pointer;
}
#reset:hover {
cursor: pointer;
}
.o {
color: #64b0d9;
}
.x {
color: #d92525;
}