-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
72 lines (63 loc) · 1.32 KB
/
style.css
File metadata and controls
72 lines (63 loc) · 1.32 KB
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
.ball {
border: 2px solid;
border-radius: 100%;
cursor: pointer;
display: inline-block;
height: 6vh;
margin: 2px;
outline: none;
width: 6vh;
}
.colorSection {
width: 360px;
background-color: rgba(10, 9, 9, 0.85) ;
border-radius: 10px;
padding-top: 5px;
}
.changeGameButtons {
width: 100px;
height: 25px;
}
.changeDificult {
height: 25px;
}
.mainSection {
min-width: 30vw;
min-height: 50vh;
text-align: -webkit-center;
background: linear-gradient(55deg, rgb(216, 48, 216), purple, rgb(1, 248, 1), green, lightblue, rgb(91, 91, 252), rgb(255, 147, 147), red, gold, yellow);
background-size: 1600% 600%;
animation: gradient 5s cubic-bezier(0, 0, 0.2, 1) infinite;
animation-direction: alternate;
animation-fill-mode: both;
border-radius: 10%;
display: flex;
align-items: center;
flex-direction: column;
}
@keyframes gradient {
0% {background-position: 0%;}
100% {background-position: 100%;}
}
/* animated background href: https://redstapler.co/css-animated-gradient-background/ */
body {
overflow: hidden;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
}
.score {
margin: 2%;
}
.rgb-color {
margin-top: 5px;
margin-bottom: 5px;
}
.dificult-reset {
margin-bottom: 20px;
margin-top: -14px;
}
.title {
margin-bottom: 10px;
}