chdsksite/index.html

202 lines
7.7 KiB
HTML
Raw Normal View History

2024-09-09 20:20:47 +02:00
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>chkdsk</title>
<style>
body, html {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
height: 100%;
2024-09-10 14:40:41 +02:00
background: linear-gradient(45deg,
#001a00, #002600, #003300, #004000,
#004d00, #005900, #006600, #007300,
#008000, #008c00, #009900);
background-size: 300% 300%;
animation: gradientBG 20s ease infinite;
2024-09-09 20:20:47 +02:00
display: flex;
color: white;
}
2024-09-10 14:40:41 +02:00
@keyframes gradientBG {
0% { background-position: 0% 50%; }
25% { background-position: 100% 25%; }
50% { background-position: 50% 100%; }
75% { background-position: 25% 75%; }
100% { background-position: 0% 50%; }
}
2024-09-09 20:20:47 +02:00
.left-column {
2024-09-10 14:40:41 +02:00
width: 300px;
min-width: 300px; /* Add this line */
2024-09-09 20:20:47 +02:00
padding: 20px;
display: flex;
flex-direction: column;
align-items: center; /* Add this line */
background-color: rgba(0, 0, 0, 0.5);
height: 100vh;
box-sizing: border-box;
overflow-y: auto;
2024-09-10 14:40:41 +02:00
box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
2024-09-09 20:20:47 +02:00
}
.profile-pic {
width: 150px;
height: 150px;
border-radius: 10px;
object-fit: cover;
margin-bottom: 20px;
2024-09-10 14:40:41 +02:00
transition: transform 0.3s ease;
2024-09-09 20:20:47 +02:00
}
2024-09-10 14:40:41 +02:00
.profile-pic:hover {
transform: scale(1.05);
}
.discord-widget {
2024-09-09 20:20:47 +02:00
width: 100%;
2024-09-10 14:40:41 +02:00
flex-grow: 1;
margin: 10px 0;
border-radius: 5px;
2024-09-09 20:20:47 +02:00
}
.right-column {
flex: 1;
min-width: 0; /* Add this line */
padding: 20px;
display: flex;
flex-direction: column;
height: 100vh;
box-sizing: border-box;
overflow-y: auto;
2024-09-10 14:40:41 +02:00
background-color: rgba(0, 0, 0, 0.3);
box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
2024-09-09 20:20:47 +02:00
}
.name {
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
}
.description {
color: #ccc;
margin-bottom: 20px;
}
.main-content {
flex-grow: 1;
position: relative;
padding: 20px;
display: flex;
flex-direction: column;
2024-09-10 14:40:41 +02:00
background-color: rgba(0, 0, 0, 0.5);
box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.1);
border-radius: 10px; /* Add this line to round the corners */
2024-09-09 20:20:47 +02:00
}
.menu {
2024-09-10 14:40:41 +02:00
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.menu-buttons {
display: flex;
background-color: rgba(0, 0, 0, 0.3);
border-radius: 10px;
padding: 5px;
2024-09-09 20:20:47 +02:00
}
.menu-button {
background-color: rgba(76, 175, 80, 0.7);
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
2024-09-10 14:40:41 +02:00
margin-right: 5px;
2024-09-09 20:20:47 +02:00
cursor: pointer;
border-radius: 5px;
2024-09-10 14:40:41 +02:00
transition: all 0.3s ease;
2024-09-09 20:20:47 +02:00
}
2024-09-10 14:40:41 +02:00
.menu-button:hover {
background-color: rgba(76, 175, 80, 0.9);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
2024-09-09 20:20:47 +02:00
}
2024-09-10 14:40:41 +02:00
2024-09-09 20:20:47 +02:00
.menu-button.active {
background-color: rgba(69, 160, 73, 0.9);
}
2024-09-10 14:40:41 +02:00
.menu-button:last-child {
margin-right: 0;
}
.content-title {
font-size: 24px;
font-weight: bold;
margin: 0;
}
2024-09-09 20:20:47 +02:00
</style>
</head>
<body>
<div class="left-column">
2024-09-10 17:31:20 +02:00
<img src="https://gateway.icloud.com/contacts/20250490679/ck/card/3cb44e9b8b30034f4a9f6286aa63a85f" alt="Profile Picture" class="profile-pic">
2024-09-10 14:40:41 +02:00
<iframe src="https://discordapp.com/widget?id=1164305303408496750&theme=dark" width="100%" height="100%" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts" class="discord-widget"></iframe>
2024-09-09 20:20:47 +02:00
</div>
<div class="right-column">
<h1 class="name">chkdsk</h1>
2024-09-09 21:02:47 +02:00
<p class="description">Lorem gittest ipsum dolor sit amet, consectetur adipiscing elit.</p>
2024-09-09 20:20:47 +02:00
<div class="main-content">
<div class="menu">
2024-09-10 14:40:41 +02:00
<h2 class="content-title" id="content-title">About</h2>
<div class="menu-buttons">
<button class="menu-button active" data-target="about">About</button>
<button class="menu-button" data-target="projects">Projects</button>
</div>
2024-09-09 20:20:47 +02:00
</div>
2024-09-10 14:40:41 +02:00
<div class="content-wrapper">
<div id="about" class="content active">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam auctor, nunc id aliquam tincidunt, nisl nunc tincidunt urna, nec tincidunt nunc nunc id nunc. Sed euismod, nunc id aliquam tincidunt, nisl nunc tincidunt urna, nec tincidunt nunc nunc id nunc.</p>
<p>Phasellus auctor, nunc id aliquam tincidunt, nisl nunc tincidunt urna, nec tincidunt nunc nunc id nunc. Sed euismod, nunc id aliquam tincidunt, nisl nunc tincidunt urna, nec tincidunt nunc nunc id nunc.</p>
</div>
<div id="projects" class="content">
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
2024-09-09 20:20:47 +02:00
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const menuButtons = document.querySelectorAll('.menu-button');
const contents = document.querySelectorAll('.content');
2024-09-10 14:40:41 +02:00
const contentTitle = document.getElementById('content-title');
function showContent(target) {
contents.forEach(content => {
if (content.id === target) {
content.style.display = 'block';
setTimeout(() => content.classList.add('active'), 50);
} else {
content.classList.remove('active');
content.style.display = 'none';
}
});
contentTitle.textContent = target.charAt(0).toUpperCase() + target.slice(1);
}
// Initially show only the 'about' content
showContent('about');
2024-09-09 20:20:47 +02:00
menuButtons.forEach(button => {
button.addEventListener('click', function() {
const target = this.getAttribute('data-target');
menuButtons.forEach(btn => btn.classList.remove('active'));
this.classList.add('active');
2024-09-10 14:40:41 +02:00
showContent(target);
2024-09-09 20:20:47 +02:00
});
});
});
</script>
</body>
</html>