-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
237 lines (215 loc) · 4.55 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
@font-face {
font-family: 'HP';
src: url('./fonts/HP.ttf') format('truetype');
}
:root {
--page-color:#1A472A;
--theme-color:#010101;
}
html {
height: 100%;
overflow: hidden;
background: #000;
padding: 0;
margin: 0;
overflow: hidden;
width: 100%;
}
.badge-alert {
background-color: #212121;
padding: 10px;
margin-top: 0px;
font-family: sans-serif;
width: 85%;
margin: 0px auto 0px auto;
border-radius: 10px;
}
.badge-div {
min-height: 30rem;
width: 30rem;
opacity: 0;
padding-bottom: 1rem;
text-align: center;
margin:25vh auto 0 auto;
box-shadow: 1px 1px 30px -2px rgba(0,0,0,0.71);
border-radius: 5px;
color: #fff;
}
.badge {
width: 80%;
height: auto;
}
.copied {
background-color: rgba(0, 0, 0, 0.507);
color: #fff;
padding: 0.5rem;
width: 80px;
margin-left: auto;
opacity: 0;
margin-right: auto;
border-radius: 10px;
margin-top: 1.5px;
animation: 2s appear1 forwards;
}
.badge-image {
width: 10rem;
margin-top: 2rem;
}
body {
position: absolute;
overflow-x: hidden;
margin: 0%;
padding: 0%;
width: 100%;
top: 0;
left: 0;
height: 100%;
}
.star {
z-index: -1;
position: absolute;
background-color: #fff;
width: 4px;
height: 4px;
box-shadow: 0 0 2px 2px rgba(223, 214, 214, 0.61);
border-radius: 5px;
animation-direction: alternate-reverse;
}
#badge-page {
display: none;
}
#sort-btn {
margin-left: auto;
margin-right:auto;
display: block;
margin-top: 5rem;
width: 16rem;
height: 3rem;
border-radius:25px;
border:none;
color: #ffff;
font-weight: normal;
font-size: 1.2rem;
font-family: 'HP',sans-serif;
background: linear-gradient(90deg, #FDBB2D 0%, #3A1C71 100%);
}
#sort-btn:hover {
cursor:pointer;
}
.hp {
font-size: 4rem;
margin-top: 0px;
margin-bottom: 1rem;
font-family: 'HP',sans-serif;
font-weight: normal;
}
.github-corner {
fill:#a77916;
}
.github-corner:hover .octo-arm{
animation:octocat-wave 560ms ease-in-out}
@keyframes octocat-wave
{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
/* body {
background-color: linear-gradient(135deg, #1A472A 50%, black 50%);
animation: fadebackground 6s infinite;
}
@keyframes fadebackground {
from {background-color: linear-gradient(135deg, #1A472A 50%, black 50%);}
to {background-color: #1A472A;}
} */
@keyframes appear1 {
from {opacity: 0;}
to {opacity: 1;}
}
@keyframes appear {
0%{
background-image: linear-gradient(135deg,var(--page-color) 50%, black 50%);
background-position: left -100vw;
}
100%{
background-image: linear-gradient(135deg,var(--page-color) 50%, black 50%);
background-position: right 0vw;
transition: background-image 2000ms linear;
}
}
.notification {
background-color: #000;
color: #fff;
padding: 2px;
display: none;
z-index: 4;
}
@keyframes appear1 {
to { opacity: 1;}
}
@keyframes move-stars {
0%{transform: translateX(0)}
25%{transform: translateX(-10vw)}
75%{transform: translateX(10vw)}
100%{transform: translateX(0)}
}
@keyframes disappear {
to {display:none;opacity: 0;}
}
@keyframes initialize-scene {
from {background: #000}
to { background: radial-gradient(ellipse at bottom, #1b2735 0%,#090a0f 100%);
}
}
.wrapper {
position: relative;
}
#title {
position: relative;
z-index: 1;
top: 50%;
left: 0;
right: 0;
color: #fff;
text-align: center;
font-family: Lato;
font-weight: 300;
font-size: 50px;
letter-spacing: 10px;
margin-top: -60px;
padding-left: 10px;
}
#title span {
background: -webkit-linear-gradient(white, #38495a);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.badge:hover {
cursor: pointer;
transform: scale(1.1);
transition-duration: 0.5s;
}
@keyframes animStar {
from {
transform: translateX(0px);
}
to {
transform: translateX(-2000px);
}
}
@media (max-width:500px){
.hp {
font-size: 2rem;
}
.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}
#sort-btn {
margin-top: 1rem;
width: 10rem;
height: 2rem;
font-size: 1rem;
}
.badge-div {
width:80%;
min-height:50%;
padding-bottom: 2rem;
}
.badge-image {
width: 5rem;
}
}