-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathstyle.css
123 lines (116 loc) · 2.1 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
117
118
119
120
121
122
123
@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap');
body {
margin: 0;
font-family: 'Press Start 2P', cursive;
font-size: 2em;
color: white;
overflow: hidden;
}
button {
outline: none;
cursor: pointer;
border: none;
}
#counter {
position: absolute;
top: 20px;
right: 20px;
}
#end {
position: absolute;
min-width: 100%;
min-height: 100%;
display: flex;
align-items: center;
justify-content: center;
visibility: hidden;
}
#end button {
background-color: rgb(231, 50, 18);
padding: 20px 50px 20px 50px;
font-family: inherit;
font-size: inherit;
animation : colorPop 2s linear infinite;
}
#controls {
position: absolute;
min-width: 100%;
min-height: 100%;
display: flex;
align-items: flex-end;
justify-content: left;
padding: 25px;
}
#controls div {
display: grid;
grid-template-columns: 50px 50px 50px;
grid-template-rows: auto auto;
grid-column-gap: 10px;
grid-row-gap: 10px;
margin-bottom: 30px;
}
#controls button {
width: 100%;
background-color: white;
border-radius: 3px;
}
#controls button:first-of-type {
grid-column: 1/-1;
}
.credits {
font-family: 'Nunito', sans-serif;
font-size: 13px;
color: rgb(53, 53, 53);
background: white;
border-radius: 50px;
width: 160px;
height: 30px;
position: fixed;
bottom: 30px;
right: 10px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 5px 10px 18px #57565646;
font-weight: bold;
}
i {
margin: 0 4px;
}
.fa-heart {
color: rgb(255, 87, 58);
}
.fa-js {
color: rgb(65, 65, 65);
}
@keyframes colorPop {
0%, 100% {
color: white;
background: rgb(231, 50, 18);
}
10%, 90% {
color: black;
background: yellow;
}
20%, 80% {
color: white;
background: rgb(98, 98, 255);
}
30%, 70% {
color: white;
background: rgb(252, 34, 168);
}
35%, 65% {
color: black;
background: rgb(255, 85, 141);
}
40%, 70% {
color: white;
background: rgb(234, 6, 255);
}
50% {
color: black;
background: white;
}
}