-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (89 loc) · 1.73 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
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 100vh;
position: relative;
background-color: #eee;
}
td {
border: 2px solid #888;
height: 200px;
min-width: 200px;
text-align: center;
vertical-align: middle;
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 70px;
cursor: pointer;
}
table {
border-collapse: collapse;
margin:0 auto;
vertical-align: middle;
}
table tr:first-child td {
border-top:none;
}
table tr:last-child td {
border-bottom:none;
}
table tr td:first-child {
border-left:none;
}
table tr td:last-child {
border-right:none;
}
.hidden {
display: none !important;
}
.win {
background-color: rgba(2, 184, 117, 0.91);
box-shadow: 0 0 10px 5px rgba(2, 184, 117, 0.35);
}
.lose {
background-color: rgba(255, 99, 99, .9);
box-shadow: 0 0 10px 5px rgba(255, 99, 99, .35);
}
.tie {
background-color: rgba(50, 50, 50, .9);
box-shadow: 0 0 10px 5px rgba(50, 50, 50, .35);
}
#end_game {
height: 250px;
width: 400px;
position: absolute;
top: 50%;
transform: translateY(-50%);
border-radius: 7px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
#end_game_text {
display: flex;
justify-content: center;
align-items: center;
font-size: 30px;
font-family: sans-serif;
color: #fff;
}
#start_game {
border: none;
outline: none;
cursor: pointer;
color: #444;
background-color: #ddd;
font-size: 13px;
border-radius: 3px;
padding: 7px 15px;
font-family: monospace;
text-transform: uppercase;
box-shadow: 3px 3px 10px 1px #000;
}
#start_game:hover {
background-color: #ccc;
color:#000;
box-shadow: 1px 1px 10px 0px #222;
}