202 lines
7.6 KiB
HTML
202 lines
7.6 KiB
HTML
<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%;
|
|
background: linear-gradient(45deg,
|
|
#001a00, #002600, #003300, #004000,
|
|
#004d00, #005900, #006600, #007300,
|
|
#008000, #008c00, #009900);
|
|
background-size: 300% 300%;
|
|
animation: gradientBG 20s ease infinite;
|
|
display: flex;
|
|
color: white;
|
|
}
|
|
@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%; }
|
|
}
|
|
.left-column {
|
|
width: 300px;
|
|
min-width: 300px; /* Add this line */
|
|
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;
|
|
box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
|
|
}
|
|
.profile-pic {
|
|
width: 150px;
|
|
height: 150px;
|
|
border-radius: 10px;
|
|
object-fit: cover;
|
|
margin-bottom: 20px;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
.profile-pic:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
.discord-widget {
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
margin: 10px 0;
|
|
border-radius: 5px;
|
|
}
|
|
.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;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
|
|
}
|
|
.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;
|
|
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 */
|
|
}
|
|
.menu {
|
|
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;
|
|
}
|
|
.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;
|
|
margin-right: 5px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.menu-button.active {
|
|
background-color: rgba(69, 160, 73, 0.9);
|
|
}
|
|
.menu-button:last-child {
|
|
margin-right: 0;
|
|
}
|
|
.content-title {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="left-column">
|
|
<img src="https://placehold.co/150" alt="Profile Picture" class="profile-pic">
|
|
<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>
|
|
</div>
|
|
<div class="right-column">
|
|
<h1 class="name">chkdsk</h1>
|
|
<p class="description">Lorem gittest ipsum dolor sit amet, consectetur adipiscing elit.</p>
|
|
<div class="main-content">
|
|
<div class="menu">
|
|
<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>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
const menuButtons = document.querySelectorAll('.menu-button');
|
|
const contents = document.querySelectorAll('.content');
|
|
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');
|
|
|
|
menuButtons.forEach(button => {
|
|
button.addEventListener('click', function() {
|
|
const target = this.getAttribute('data-target');
|
|
|
|
menuButtons.forEach(btn => btn.classList.remove('active'));
|
|
this.classList.add('active');
|
|
|
|
showContent(target);
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|