-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (93 loc) · 1.5 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
* {
margin: 0;
padding: 0;
}
body {
background-color: #dbcae0;
}
table {
width: 582px;
height: 582px;
border-collapse: collapse;
border-spacing: 0;
border-radius: 20px;
overflow: hidden;
}
tr:nth-child(even) td:nth-child(odd),
tr:nth-child(odd) td:nth-child(even) {
background-color: white;
}
td {
width: 100px;
height: 100px;
text-align: center;
font-size: 24px;
border: none;
cursor: pointer;
background-color: #e6dae9;
}
button {
background-color: #6b21a8;
color: white;
border: 0;
padding: 10px 42px;
border-radius: 45px;
font-size: 24px;
}
.page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 28px;
min-height: 100vh;
}
.logo {
margin-left: -490px;
width: 135px;
height: 22px;
}
.outer-border {
border: 10px solid white;
padding: 10px;
border-radius: 30px;
}
.game {
display: none;
}
.container {
display: flex;
width: 622px;
justify-content: space-between;
}
.team {
display: flex;
border: 8px solid white;
justify-content: center;
align-items: center;
}
.team.noughts {
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
.team.crosses {
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}
.outer-img {
background-color: white;
padding: 24px;
}
.score {
width: 90px;
height: 90px;
font-size: 64px;
color: white;
text-align: center;
}
.game-result {
display: none;
background-color: #e6dae9;
border-radius: 20px;
padding: 80px;
}