-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (120 loc) · 2.73 KB
/
styles.css
File metadata and controls
130 lines (120 loc) · 2.73 KB
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
*{
box-sizing: border-box;
text-shadow: 1px 1px 2px #0b8893;
}
.tac{
color: white;
}
gamegrid{
display: grid;
gap: 10px;
grid-template: 150px 150px 150px/150px 150px 150px;
background-color: blueviolet;
width: 470px;
/* margin-left: 520px;
margin-top: 200px; */
height: 470px;
/* margin-right: 10px; */
}
.main{
width: 100vw;
display: flex;
justify-content: space-evenly;
margin-top: 5%;
padding-left:10%;
padding-right: 10%;
align-items: center;
/* margin-left: 20px; */
}
h1{
/* top:50px;
left:510px; */
/* position:fixed; */
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
color: blueviolet;
background-color: aqua;
text-align: center;
margin: auto;
width:80%;
height:60px;
border-radius: 10px;
box-shadow: 1px 1px 2px #640371;
/* height: 20%; */
}
mdata{
/* position:fixed; */
top:250px;
left:110px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background-color: aqua;
color: blueviolet;
font-size: 50px;
border-radius: 10px;
padding: 10px;
box-shadow: 1px 1px 2px #640371;
}
resultdata{
/* position:fixed; */
/* top:250px; */
/* right:110px; */
/* left: 1100px; */
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
background-color: aqua;
color: blueviolet;
font-size: 50px;
max-width: 255px;
border-radius: 10px;
padding: 10px;
box-shadow: 1px 1px 2px #640371;
/* margin-left: 20px; */
}
ca,cb,cc,cd,ce,cf,cg,ch,ci{
width:150px;
height:150px;
font-size: 120px;
text-align:center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-color: rgb(199, 246, 248);
color: blueviolet;
}
ca:hover,cb:hover,cc:hover,cd:hover,ce:hover,cf:hover,cg:hover,ch:hover,ci:hover{
background-color: aqua;
cursor: pointer;
}
body{
background-image: linear-gradient(to right, white 0% 5% , rgb(153, 60, 240) 5% 95%,white 95% 100%);
}
button{
width: 100px;
height: 50px;
color:blueviolet;
background-color: aqua;
font-weight: bold;
margin: auto;
border: 0px;
display: block;
margin-top: 1%;
border-radius: 5px;
}
button:hover{
background-color:rgb(223, 241, 187);;
}
restart{
margin: auto;
display: block;
text-shadow: 0.4px 0.4px 2px #0b8893;
}
.winningClass {
background-color: rgb(243, 168, 180) !important;
color: black !important;
transition: background-color 3s;
transition: color 3s;
}
.mainx .block:hover::after{
content: "X";
color: rgb(84, 79, 79);
}
.maino .block:hover::after{
content: "O";
color: rgb(84, 79, 79);
}