-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
116 lines (103 loc) · 2.18 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
body{
font-family: 'Poller One', cursive;
background-image: linear-gradient(#3C4AA3, #3887B0);
}
#principal{
display: flex;
flex-direction: column;
}
.text-center {
font-size: 3.5rem;
margin-right: 2rem;
font-weight: bold;
text-align: right;
text-shadow: 2px 2px black;
color: rgb(245, 212, 1);
text-transform: uppercase;
}
.right-text {
text-align: center;
font-size: 20px;
color: #F0EA41;
font-weight: lighter;
text-shadow: 2px 2px 2px black;
font-family: 'Poller One', cursive;
}
.myButton{
margin-top: 4rem;
text-align: center;
margin-bottom: 15rem;
}
.myButton button{
font-family: 'Poller One', cursive;
font-size: 1.3rem;
text-transform: uppercase;
border-radius: 1rem;
}
/* ////////////DOM ////////////////// */
#global {
display: flex;
flex-direction: row;
justify-content: center;
margin-right: auto;
margin-left: auto;
width: 420px;
}
.coluna {
display: flex;
flex-direction: column;
margin-right: 2px;
background-color: #F0E2D1;
height: 325px;
width: 100px;
transform: rotate(180deg); /* para funcionar a animação */
}
.coluna:hover{
background-color: rgb(217, 231, 245);
}
.jogador1{
position: relative;
width: 51px;
height: 51px;
border: 1px solid rgb(151, 133, 11);
border-radius: 30px;
background-color: rgb(245, 212, 1);
animation: anima1 1s ease-in;
}
@keyframes anima1{
from{top: 200px;}
to{top: 0px;}
}
.jogador2{
position: relative;
width: 51px;
height: 51px;
border: 1px solid rgb(245, 212, 1);
border-radius: 30px;
background-color: #2411A6;
animation: anima1 1s ease-in;
}
/*PARAMETROS DA ANIMAÇÃO DE VITORIA */
@keyframes vitoria {
0%{color: #2411A6;}
40%{color: rgb(57, 57, 255);}
80% {color: rgb(245, 212, 1);}
100%{color: #2411A6;}
}
#resultado{
padding: 1rem;
width: 500px;
height: 100px;
display: flex;
visibility: hidden;
justify-content: center;
align-self: center;
text-align: center;
align-items: center;
color: #2411A6;
font-size: 2.5rem;
font-family: 'Poller One', cursive;
animation-name: vitoria;
animation-duration: 0.5s;
animation-iteration-count: infinite;
}