-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (88 loc) · 1.79 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
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: black;
color: #fff;
font-family: 'Permanent Marker', cursive;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.game-area {
display: grid;
width: 450px;
height: 450px;
grid-template-columns: auto auto auto;
}
.block {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
font-size: 3rem;
font-weight: bold;
border: 3px solid #fff;
transition: all 200ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
}
.block:hover {
transform: scale(1.1);
cursor: pointer;
}
#block-0, #block-1, #block-2 {
border-top: none;
}
#block-0, #block-3, #block-6 {
border-left: none;
}
#block-2, #block-5, #block-8 {
border-right: none;
}
#block-6, #block-7, #block-8 {
border-bottom: none;
}
.profile {
display: flex;
text-transform: uppercase;
align-items: center;
}
p {
padding-right: 20px;
padding-left: 20px;
font-size: 1.3rem;
}
button {
width: 100px;
height: 50px;
margin-left: 30px;
margin-right: 30px;
border: 0;
border-radius: 50px;
background: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
background-color: hsl(0, 74%, 74%);
transition: 400ms;
cursor: pointer;
transition: 0.6s;
}
button:hover {
transform: translateY(15px);
background: linear-gradient(135deg, hsl(0, 100%, 96%), hsl(0, 80%, 86%));
}
button:active {
background: #EE8C8C;
}
.playerVic {
color: hsla(121, 87%, 70%, .9);
}
.computerVic {
color: hsla(0, 80%, 53%, .9);
}
.tie {
color: hsla(16, 84%, 65%, .9);
}