-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (63 loc) · 1.17 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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to right, blue, cyan);
color: white;
}
td {
border: 4px solid rgb(255, 255, 255);
height: 100px;
width: 100px;
text-align: center;
vertical-align: middle;
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 70px;
cursor: pointer;
}
table {
border-collapse: collapse;
}
table tr:first-child td {
border-top: 0;
}
table tr:last-child td {
border-bottom: 0;
}
table tr td:first-child {
border-left: 0;
}
table tr td:last-child {
border-right: 0;
}
.endgame {
font-family: sans-serif;
display: none;
width: 200px;
background-color: rgba(96, 205, 63, 0.8);
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding-top: 50px;
padding-bottom: 50px;
text-align: center;
border-radius: 5px;
color: white;
font-size: 2em;
}
button {
color: white;
background-color:rgb(0, 132, 255);
font-family: sans-serif;
border: none;
outline: none;
font-size: 1.2rem;
padding: 0.8rem 1.4rem;
margin: 1rem;
border-radius: 20px;
}