This commit is contained in:
moonmoon97 2024-02-05 12:51:18 +01:00
parent c6201c6208
commit 67a3e35577
5 changed files with 147 additions and 0 deletions

BIN
MyLogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

BIN
background.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 KiB

38
index.html Normal file
View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Moon Moon's Hub</title>
</head>
<body>
<div class="logo-container">
<img src="https://host.moonmoon.tech/u/o73AQR.png" alt="Logo" class="logo">
<h1>Moon Moon's Hub</h1>
</div>
<div class="background-container">
<div class="background-image"></div>
</div>
<div class="content">
<p>I am a 26-year-old Norwegian guy that occasionally streams, is a tech head, and hosts various things on my local server. Some of these you can check out here:</p>
<a href="https://lab.moonmoon.tech" class="my-projects-button">My Projects' dashboard</a>
<a href="https://pdf.moonmoon.tech" class="PDF-tools-button">PDF Tools</a>
<a href="https://tech.moonmoon.tech" class="IT-tools-button">IT Tools</a>
</div>
<footer>
<div class="social-buttons">
<p>Social links:</p>
<a href="https://twitter.com/M0onmo0nGaming" target="_blank">X</a>
<a href="https://www.twitch.tv/m0onmo0ngaming" target="_blank">Twitch</a>
<a href="https://github.com/moonmoon97" target="_blank">GitHub</a>
<a href="https://www.youtube.com/@M0onMo0n" target="_blank">YouTube</a>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>

0
script.js Normal file
View file

109
styles.css Normal file
View file

@ -0,0 +1,109 @@
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
overflow: hidden; /* Prevent background from overflowing content */
position: relative;
height: 100vh; /* Set the body height to viewport height */
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('https://cdnb.artstation.com/p/assets/images/images/006/897/659/large/mikael-gustafsson-wallpaper-mikael-gustafsson.jpg');
background-size: cover;
background-position: center;
filter: blur(4px) saturate(100%) brightness(50%);
z-index: -1;
}
/* Other styles remain unchanged */
header {
text-align: center;
color: #ffffff;
padding: 1rem;
box-sizing: border-box;
}
.logo-container {
display: flex;
align-items: center;
justify-content: center;
}
.logo {
max-width: 10%; /* Adjust the size as needed */
max-height: 10%;
width: auto;
height: auto;
border-radius: 50%; /* Make it round */
margin-right: 10px; /* Add spacing between logo and title */
}
.content {
text-align: center;
padding: 2rem;
box-sizing: border-box;
color:#fff
}
.my-projects-button {
padding: 0.5rem 1rem;
background-color: #333;
color: #fff;
text-decoration: none;
border: none;
margin-top: 1rem;
display: inline-block;
}
.PDF-tools-button {
padding: 0.5rem 1rem;
background-color: #333;
color: #fff;
text-decoration: none;
border: none;
margin-top: 1rem;
display: inline-block;
}
.IT-tools-button {
padding: 0.5rem 1rem;
background-color: #333;
color: #fff;
text-decoration: none;
border: none;
margin-top: 1rem;
display: inline-block;
}
footer {
text-align: center;
color: #fff;
padding: 1rem;
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
}
.social-buttons {
margin-top: 1rem;
}
.social-buttons a {
margin: 0 10px;
color: #fff;
text-decoration: none;
}
.social-buttons a:hover {
text-decoration: underline;
}