hardfiles/www/index.html
2024-08-18 20:19:17 -05:00

194 lines
7.0 KiB
HTML
Executable File

<!DOCTYPE html>
<html style="overflow: hidden;">
<head>
<script type="text/javascript" src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The Hardest file hosting solution, creating by the Hardest people online."/>
<link rel="icon" href="fist.ico">
<title>HARDFILES</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
@keyframes rainbowbtn {
0%{background-color: lime;}
10%{background-color: red;}
20%{background-color: purple;}
30%{background-color: hotpink;}
40%{background-color: orange;}
50%{background-color: yellow;}
60%{background-color: turquoise;}
70%{background-color: aqua;}
80%{background-color: cyan;}
90%{background-color: blue;}
100%{background-color: lime;}
}
@keyframes rainbowbox {
0%{color: lime; border: 1px dashed lime;}
10%{color: red; border: 1px dashed red;}
20%{color: purple; border: 1px dashed purple;}
30%{color: hotpink; border: 1px dashed hotpink;}
40%{color: orange; border: 1px dashed orange;}
50%{color: yellow; border: 1px dashed yellow;}
60%{color: turquoise; border: 1px dashed turquoise;}
70%{color: aqua; border: 1px dashed aqua;}
80%{color: cyan; border: 1px dashed cyan;}
90%{color: blue; border: 1px dashed blue;}
100%{color: lime; border: 1px dashed lime;}
}
@media (prefers-color-scheme: dark) {
body {
overflow: hidden;
background: black;
background-image: url('revolver.gif');
background-size: cover;
background-position: center;
color: white;
}
}
@media (min-width: 768px) {
body {
background-image: url('delirious.gif') !important;
}
.container {
width: 750px;
}
.hf {
font-size: 3rem;
}
.hflogo {
width: 50% !important;
}
#fupload {
width: 20rem;
}
.subform {
margin-top: 0 !important;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
.hf {
font-size: 5rem;
}
#curl {
display: block !important;
}
}
body {
font-family: sans-serif;
background-image: url('pentagram.gif');
background-size: cover;
background-position: center;
}
.container {
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
.subform {
display: flex;
flex-direction: column;
align-items: center;
}
button {
display: inline-block;
border: 0;
outline: 0;
margin: 0;
padding: 15px;
height: 44px;
color: #fff;
font: 19px/15px 'Oswald', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-sizing: border-box;
/* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box;
/* Firefox, other Gecko */
box-sizing: border-box;
/* Opera/IE 8+ */
-webkit-font-smoothing:antialiased;
-webkit-text-size-adjust:none;
box-shadow: 0 1px 2px rgba(0,0,0,.15);
}
button:hover {
animation: rainbowbtn 0.2s infinite;
color:black !important;
}
button.light {
background: #fff;
color: #555759;
}
.hflogo {
width: 90%;
}
input {
animation: rainbowbox 6s infinite;
cursor: pointer;
}
.litfont {
font-family: "Source Code Pro", monospace;
font-optical-sizing: auto;
font-style: normal;
}
</style>
</head>
<body>
<div class="container">
<img src="header.png" class="hflogo" alt="hardfiles" style="margin-top: 3rem;">
<h2 id="curl" class="litfont" style="display: none; font-size: 1rem; color: #ffffff; text-align: center; font-weight: lighter;">curl -F file=@example.png https://hardfiles.org/</h1>
<form method="POST" class="subform" enctype="multipart/form-data" style="margin-top: 0.5rem;">
<div style="display: flex; align-items: center; justify-content: center;">
<input type="file" id="fupload" name="file" style="background-color: black; padding: 12px; border-radius: 5px; color: white;" />
<button class="light" type="submit" style="margin-left: 0.7rem;">up</button>
</div>
</form>
<p style="color: white; font-weight: bold; font-size:0.8rem;" class="litfont">⚠️ Uploads are destroyed after 24 hours</p>
</div>
<div id="callingcard" style="position: relative;">
<a href="https://supernets.org/" target="_blank" style="position: absolute; bottom: 20px; right:1px; display: flex; align-items: center; text-decoration: none;">
<img src="supernets_logo.png" width="40px;">
</a>
</div>
</body>
</html>