-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (97 loc) · 1.89 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
@import url('https://fonts.googleapis.com/css2?family=Reggae+One&family=Varela+Round&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Varela Round', sans-serif;
}
.container{
position: relative;
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.msg{
font-size: 3rem;
}
.noEvents {
pointer-events: none;
}
.game-field{
margin-top: 30px;
width: 60%;
height: 500px;
background: url('/ttt.png') center center;
background-size: contain;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.field {
width: 130px;
height: 130px;
margin: 20px 38px 20px 38px;
z-index: 1;
font-size: 110px;
text-align: center;
}
.restart {
padding: 10px;
font-size: 2rem;
background: cornflowerblue;
border-radius: 10px;
}
.restart:hover {
background: black;
color: cornflowerblue;
}
.initial-input{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
height: 90vh;
background-color: rgba(170, 168, 168, 0.88);
border-radius: 30px;
box-shadow: 0 5px 5px rgba(3, 3, 3, 0.38);
padding: 3rem;
}
.mode-screen, .difficulty-screen, .symbol-screen {
position: fixed;
width: 80%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 2.2rem;
text-align: center;
transition: all 0.5s ease;
display: none;
}
.hide {
visibility: hidden;
}
.initial-input h1 {
margin-bottom: 20px;
}
.initial-input button {
transition: all 0.6s ease;
border: none;
padding: 30px;
font-size: 4rem;
background: transparent;
}
.initial-input button:hover {
color: red;
cursor: pointer;
}
.initial-input symbol-screen h2 {
display: inline-block;
}