startpage/index.html
2024-11-23 20:04:26 +00:00

239 lines
7.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Lupin!">
<meta property="og:image" content="lupin.jpg">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lupin</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
body {
background-color: #121212;
color: #fff;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden; /* Fix landscape overflow */
flex-direction: column;
}
.container {
text-align: center;
user-select: none;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
width: 100%;
}
h1 {
font-size: 36px;
margin-bottom: 20px;
display: inline;
}
.question {
color: #f44336;
font-size: 36px;
display: inline-block;
transition: transform 0.3s ease-in-out;
cursor: pointer;
}
.question:hover {
transform: rotate(360deg);
}
.button {
background-color: #333;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 18px;
cursor: pointer;
margin: 5px;
border-radius: 5px;
transition: background-color 0.3s;
text-decoration: none;
display: inline-block;
user-select: none;
}
.button:hover {
background-color: #f44336;
}
.button i {
margin-right: 5px;
}
/* New Search Bar Style */
.search-bar {
display: flex;
justify-content: center;
width: 100%;
padding: 15px;
}
.search-input {
padding: 12px 20px;
font-size: 16px;
border-radius: 25px;
border: 2px solid #333;
background-color: #222;
color: #fff;
width: 100%;
max-width: 500px;
outline: none;
transition: all 0.3s ease;
}
.search-input:focus {
border-color: #f44336;
background-color: #333;
}
/* Button box styling */
.buttonbox {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 20px;
border: 2px solid #2e2e2e;
border-radius: 10px;
max-width: 600px;
background-color: #1a1a1a;
}
/* Random Phrase Styling */
.random-phrase {
font-size: 18px;
color: #f44336;
font-family: 'Courier New', Courier, monospace;
margin-top: 10px;
opacity: 0.7;
padding-right: 10px;
position: relative;
animation: pulsate 1.5s infinite;
}
/* Pulsating Border Animation */
@keyframes pulsate {
0% {
border-right: 2px solid #f44336;
}
50% {
border-right: 2px solid black;
}
100% {
border-right: 2px solid #f44336;
}
}
/* Responsive Design */
@media (max-width: 768px) {
h1 {
font-size: 28px;
}
.button {
font-size: 16px;
padding: 8px 16px;
}
.search-input {
width: 90%;
}
}
@media (max-width: 480px) {
.search-input {
width: 85%;
}
.search-bar {
flex-direction: column;
align-items: center;
}
}
</style>
</head>
<body>
<div class="container">
<h1 id="welcomeMessage">Welcome to Lupin<span class="question" onclick="changeWelcomeMessage()">&#63;</span></h1> <br>
<div class="search-bar">
<form action="https://4get.lupin.com.ar/web" method="get" style="width: 100%; max-width: 500px;">
<input type="text" name="s" class="search-input" placeholder="Search..." onkeydown="if(event.key === 'Enter'){this.form.submit();}">
</form>
</div>
<div class="buttonbox">
<a href="/rss" class="button"><i class="fas fa-rss"></i>RSS</a>
<a href="https://github.com/nixietab" class="button"><i class="fab fa-github"></i>GitHub</a>
<a href="/feriado" class="button"><i class="fas fa-calendar-alt"></i>Feriado</a>
<br>
<a href="/files" class="button"><i class="fas fa-folder"></i>Files</a>
<a href="/emu" class="button"><i class="fas fa-gamepad"></i>Games</a>
<a href="/exp" class="button"><i class="fas fa-flask"></i>Experiments</a>
<a href="/cocus" class="button"><i class="fas fa-cat"></i>Cocus</a>
<a href="https://git.lupin.com.ar" class="button"><i class="fas fa-code-branch"></i>Gitea</a>
<br>
</div>
<!-- Random Phrase Positioned Below Buttons -->
<div id="randomPhrase" class="random-phrase"></div>
</div>
<script>
let clickCount = 0;
let originalWelcomeMessage = "Welcome to Lupin";
function changeWelcomeMessage() {
clickCount++;
let welcomeMessage = document.getElementById('welcomeMessage');
if (clickCount === 5) {
if (welcomeMessage.innerHTML.includes('Lupin Balls')) {
welcomeMessage.innerHTML = originalWelcomeMessage + "<span class='question'>&#63;</span>";
} else {
welcomeMessage.innerHTML = "Welcome to Lupin Balls<span class='question'>&#63;</span>";
}
clickCount = 0;
}
}
const phrases = [
"this server is made of jelly.", "HASHIRE SORI YO", "KAZE NO YOU NI", "TSUKIMIHARA WO", "PADORU PADORU", "Never pay more than 20 bucks for a computer game.", "Kiss me, I've got scurvy!", "Dont Be Evil", "Be kind", "Dont Be Evil, Please"
];
function typePhrase() {
const phrase = phrases[Math.floor(Math.random() * phrases.length)];
let index = 0;
const typingElement = document.getElementById('randomPhrase');
typingElement.innerHTML = "";
function typeNextLetter() {
if (index < phrase.length) {
typingElement.innerHTML += phrase.charAt(index);
index++;
setTimeout(typeNextLetter, 50);
}
}
typeNextLetter();
}
window.onload = function() {
typePhrase();
};
</script>
</body>
</html>