UFoP-API / index.html
SoulofSukuna's picture
modified: index.html
eb54df8
raw
history blame
2.45 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>API</title>
<style>
body {
margin: 0;
}
iframe {
position: fixed;
z-index: 10;
border: none;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
display: none;
}
::-webkit-scrollbar-button:start:decrement,
::-webkit-scrollbar-button:end:increment {
height: 30px;
background-color: transparent;
}
::-webkit-scrollbar-track-piece {
background-color: #3b3b3b;
-webkit-border-radius: 16px;
}
::-webkit-scrollbar-thumb:vertical {
height: 50px;
background-color: #666;
border: 1px solid #eee;
-webkit-border-radius: 6px;
}
.loading-spinner {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
opacity: 1;
transition: opacity .8s ease-out;
}
.loading-spinner.hidden {
opacity: 0;
}
.loading-spinner>div {
width: 30px;
height: 30px;
background: linear-gradient(90deg, #2870EA 10.79%, #1B4AEF 87.08%);
border-radius: 100%;
display: inline-block;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading-spinner .bounce1 {
animation-delay: -0.32s;
}
.loading-spinner .bounce2 {
animation-delay: -0.16s;
}
@keyframes sk-bouncedelay {
0%,
80%,
100% {
transform: scale(0);
}
40% {
transform: scale(1.0);
}
}
</style>
</head>
<body>
<iframe src="https://ufoptg-ufop-api.hf.space/" frameborder="0" onload="document.querySelector('.loading-spinner').classList.add('hidden')"></iframe>
<div class="loading-spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</body>
</html>