/
style.css
106 lines (88 loc) · 1.44 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
html,body{
position:relative;
height:100%;
width:100%;
background-color:black;
color:lightgreen;
};
.container{
position:relative;
width:90%;
padding:0;
text-align:center;
margin:50px auto 0px auto;
}
.gameboard{
width:600px;
height:500px;
margin: 50px auto;
}
.gameboard ul{
position:relative;
margin:0;
left:12%;
}
.gridrow li{
display:inline-block;
border-right:2px solid lightgreen;
border-bottom:2px solid lightgreen;
height:150px;
width:150px;
max-height:150px;
max-width:150px;
margin:0;
padding:0;
overflow:hidden;
text-align: center;
}
#y1x3,#y2x3,#y3x3{
border-right:0;
}
#y3x1,#y3x2,#y3x3{
border-bottom:0;
}
.gridrow{
padding:0;
}
.square{
overflow:hidden;
font-family:Arial, Helvetica, sans-serif;
font-size:125px;
}
.square p{
margin-top:5px;
}
#message-area{
height:200px;
width:50%;
margin:0 auto;
font-family: Arial, Helvetica, sans-serif;
color:silver;
text-align: center;
padding-top:20px;
}
.choose{
border:1px solid lightgreen;
margin:0 30px 0 30px;
font-size:100px;
padding:0 20px 0 20px;
}
.player{
color:lightblue;
}
.computer{
color:lightgreen;
}
.win p{
color:red !important;
}
.reset-area{
text-align:center;
}
.reset-area button{
width:100px;
height:75px;
background-color:silver;
color:black;
font-size:20px;
}