-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
102 lines (92 loc) · 1.82 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: url(./idosa.png);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
padding: 10px;
}
#tabuleiro {
width: 500px;
background-color: #00000090;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
flex-wrap: wrap;
padding: 16px;
border-radius: 10px;
gap: 2px;
}
#tabuleiro .casa {
width: 100%;
height: 166px;
border: 1px solid #ccc;
position: relative;
transition: 0.2s ease-in-out;
}
#tabuleiro .casa:hover {
background-color: #ccc8;
}
#tabuleiro .casa.bola::after {
content: "";
width: 80px;
height: 80px;
border: 15px solid black;
border-radius: 100%;
box-sizing: border-box;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
#tabuleiro .casa.xis::after {
content: "";
width: 20px;
height: 80px;
background-color: red;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) skewX(30deg);
}
#tabuleiro .casa.xis::before {
content: "";
width: 20px;
height: 80px;
background-color: red;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) skewX(-30deg);
}
#resultado {
width: 100%;
height: 100%;
backdrop-filter: blur(2px);
background-color: #00000070;
position: fixed;
top: 0;
left: 0;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
visibility: hidden;
}
#resultado.active {
visibility: visible;
opacity: 1;
}
#resultado h1 {
padding: 50px;
background-color: white;
border-radius: 10px;
}