-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (90 loc) · 1.91 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
/* [0] Fonts & Basic Initialization */
@font-face {
font-family: 'Landour-Regular-Display';
src: url(0-fonts/landour-regulardisplay.otf);
}
@font-face {
font-family: 'Landour-Regular';
src: url(0-fonts/landour-regulartext.otf);
}
@font-face {
font-family: 'Engine-Brake-Regular';
src: url(0-fonts/Engine-Brake-Regular.ttf);
}
body {
font-family: Arial, sans-serif;
background-color: rgb(196, 180, 93);
}
.GameContainter {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20vh;
}
.GameContainter p {
text-align: center;
max-width: 450px;
font-size: 1rem;
font-family: 'Landour-Regular-Display';
}
.GameContainter h1 {
text-transform: uppercase;
}
h1, h2 {
font-family: 'Landour-Regular';
text-align: center;
margin: 0;
}
.winnerMessage {
display: none;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
width: 300px;
height: 300px;
border: 2px solid black;
margin: 20px;
}
.cell {
display: flex;
align-items: center;
justify-content: center;
font-size: 5rem;
background-color: #f0f0f0;
border: 2px solid #333;
cursor: pointer;
font-family: 'Engine-Brake-Regular';
}
#resetButton {
background-color: #8b8aec;
color: white;
padding: 10px 80px;
font-size: 1rem;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
font-family: 'Landour-Regular';
margin-top: 30px;
}
#resetButton:hover {
background-color: #504f86;
}
@media (min-width: 50em) {
.GameContainter {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 4vh;
}
.GameContainter p {
text-align: center;
max-width: 500px;
}
.grid {
width: 600px;
height: 600px;
}
}