-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
196 lines (170 loc) · 3.46 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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
* {
padding: 0;
margin: 0;
font-family: sans-serif;
box-sizing: border-box;
}
body {
display: grid;
place-items: center;
height: 100vh;
background: linear-gradient( 140deg, #378dee 0%, #BC70A4 50%, #BFD641 75%);
}
#container {
height: auto;
width: auto;
background-image: linear-gradient( 140deg, #5153ec 0%, #BC70A4 50%, #18b7d3 75%);
border-radius: 20px;
padding: 30px;
box-shadow: inset 1px 2px 0px rgb(255 255 255 / 18%), inset -2px -2px 2px rgb(0 0 0 / 65%);
}
#startingPage {
height: 220px;
width: 400px;
}
#startingPage h2,
#winner h2 {
font-size: 50px;
color: #ffffff;
}
#startingPage #line {
height: 2px;
width: 100%;
background: rgba(255, 255, 255, 0.404);
margin: 20px 0;
}
#startingPage h4 {
font-size: 25px;
color: white;
font-style: italic;
}
#startingPage #button {
height: auto;
width: 100%;
margin: 30px 0;
display: flex;
flex-direction: row;
}
#button button {
height: 55px;
width: 180px;
cursor: pointer;
background: #4eee03;
border: none;
outline: none;
color: #161941;
font-weight: bold;
font-size: 25px;
border-radius: 10px;
transform: scale(1);
box-shadow: 2px 2px 2px rgb(255 255 255 / 26%), -2px -2px 5px rgb(0 0 0 / 87%);
transition: 0.5s;
}
#button button:first-child {
margin-right: 40px;
}
#startingPage #button button:hover,
#winner #button button:hover {
transform: scale(0.90);
}
#winner {
display: none;
}
#winner #button {
height: auto;
width: 100%;
display: flex;
justify-content: center;
}
#winner #button button {
margin-top: 20px;
}
#mainPage {
height: 550px;
width: 350px;
padding: 20px;
position: relative;
display: none;
background: linear-gradient(to right, rgb(195, 55, 100), rgb(29, 38, 113));
}
#mainPage #headerBtns {
height: 60px;
width: 310px;
border-radius: 50px;
position: relative;
display: flex;
flex-direction: row;
box-shadow: 2px 2px 2px rgb(255 255 255 / 26%), -2px -2px 5px rgb(0 0 0 / 87%);
}
#mainPage #headerBtns button {
height: 60px;
width: 160px;
border-radius: 50px;
border: none;
outline: none;
background: transparent;
font-size: 20px;
color: rgb(255, 255, 255);
position: absolute;
top: 0;
left: 0;
z-index: 2;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.60);
}
#mainPage #headerBtns #O_Turn {
left: 160px;
z-index: 3;
}
#showChange {
position: absolute;
top: 0;
left: 0;
height: 60px;
width: 160px;
border-radius: 50px;
background-image: linear-gradient(to right, rgb(15, 12, 41), rgb(48, 43, 99), rgb(36, 36, 62));
z-index: 1;
transition: 0.2s;
}
#gameBoard {
height: 400px;
width: 330px;
position: absolute;
top: 150px;
left: 10px;
display: grid;
grid-template-columns: 100px 100px 100px;
grid-gap: 15px;
}
.boxes {
height: 100px;
width: 100px;
box-shadow: 2px 2px 2px rgb(255 255 255 / 26%), -2px -2px 5px rgb(0 0 0 / 87%);
display: grid;
place-items: center;
cursor: pointer;
}
.boxes i {
font-size: 60px;
color: black;
}
#right-col {
margin-right: 50px;
margin-top: 10px;
display: flex;
}
#right-col p {
font-size: 20px;
margin-top: 22px;
color: #f3f3f3;
font-weight: 50px;
}
#icon {
width: 70px;
cursor: pointer;
}
/* @medi(max-with: 600px) {
.html {
font-size: 40px;
}
} */