-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
135 lines (103 loc) · 1.56 KB
/
styles.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
/* Shared */
*,
*:before,
*:after {
box-sizing: border-box;
}
html {
height: 100%;
}
.wrapper {
position: relative;
min-height: 100%;
}
/* Font and color */
h1 {
color:#ffffff;
font-size: 80px;
}
small {
font-size: 10px;
}
body {
background-color:#222930;
font-family: "Times New Roman", Times, serif;
}
/* Header */
header {
margin-top: 20px;
margin-bottom: 40px;
text-align: center;
}
/* Board */
.board-container {
display: flex;
flex-wrap: wrap;
width: 100%;
height: 500px;
align-items: center;
justify-content: center;
}
.board {
border-collapse: collapse;
}
.board td {
width: 120px;
height: 120px;
border: 3px solid white;
text-align: center;
font-size: 80px;
line-height: 117px;
color:#ffffff;
}
.board tr:first-child td {
border-top: 0;
}
.board tr:last-child td {
border-bottom: 0;
}
.board tr td:first-child {
border-left: 0;
}
.board tr td:last-child {
border-right: 0;
}
/* Turn Text */
.turn-text {
display: block;
flex: 1 100%;
text-align: center;
font-size: 40px;
color:#ffffff;
}
/* Gameover */
.gameover-container {
display: block;
height: 80px;
text-align: center;
}
.playagain-btn {
padding: 10px;
border: none;
border-radius: 5px;
background: #fff;
box-shadow: 2px 2px 2px gray;
font-size: 30px;
font-family: "Times New Roman", Georgia, Serif;
}
.playagain-btn:hover {
background: #bdbebf;
cursor: pointer;
}
/* Footer */
a{
color:#ffffff;
}
footer {
color: #ffffff;
font-size: 20px;
text-align: center;
}
#link:hover{
color : #000;
}