-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
89 lines (70 loc) · 1.32 KB
/
app.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
:root {
/* colors */
--color-background: rgb(36, 32, 32);
--color-container: rgb(17, 17, 16);
--color-font: #fefefe;
}
body, hmtl {
/* reset */
margin: 0;
padding: 0;
box-sizing: border-box;
/* Align */
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
/* Style */
background: var(--color-background);
}
* {
/* style */
font-family: monospace;
font-size: 125%;
color: var(--color-font);
}
/* Container Main */
.container {
/* Align */
position: absolute;
/* Style */
background: var(--color-container);
border-radius: 24px;
box-shadow: 12px 12px 20px #000;
/* Size */
width: 95%;
height: 95%;
display: grid;
place-content: center;
text-align: center;
}
button {
background: transparent;
border: 1px solid #fefefe;
border-radius: 12px;
cursor: pointer;
}
button:hover {
background: rgba(32, 31, 31, 0.97);
}
#gameAI,
#gameYou {
font-size: 1.9rem;
}
.empateTitle {
font-size: 1.4rem;
color: rgb(77, 255, 77);
cursor: pointer;
opacity: 0;
}
.empateTitle::before {
content: '';
position: absolute;
width: 0;
height: 2px;
background: rgb(143, 216, 8);
transition: .3s;
}
.empateTitle:hover::before {
width: 5.5rem;
}