mirror of
https://github.com/MapMakersAndProgrammers/MapMakersAndProgrammers.github.io.git
synced 2025-10-26 01:49:06 -07:00
prototype
tried to make it look like the tanki menu
This commit is contained in:
4
assets/archives-icon.svg
Normal file
4
assets/archives-icon.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M12 14C10.8954 14 10 14.8954 10 16V21.5H19L24 27.5H32L37 21.5H46V16C46 14.8954 45.1046 14 44 14H35.5L34 15.5H22L20.5 14H12Z" fill="white"/>
|
||||||
|
<path d="M46 24.5H39L34 30.5H22L17 24.5H10V39C10 40.1046 10.8954 41 12 41H20.5L22 39.5H34L35.5 41H44C45.1046 41 46 40.1046 46 39V24.5Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 403 B |
BIN
assets/background.mp4
Normal file
BIN
assets/background.mp4
Normal file
Binary file not shown.
3
assets/diamond-icon.svg
Normal file
3
assets/diamond-icon.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 6L12 24L0 6L6 0H18L24 6ZM16.5 6L12 21.75L7.5 6H16.5Z" fill="#00D4FF"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 227 B |
5
assets/misc-icon.svg
Normal file
5
assets/misc-icon.svg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M46 11L37 35H13V32H35.125L36.25 29H13L10 17H40.75L43 11H46Z" fill="white"/>
|
||||||
|
<path d="M19 41C19 42.6569 17.6569 44 16 44C14.3431 44 13 42.6569 13 41C13 39.3431 14.3431 38 16 38C17.6569 38 19 39.3431 19 41Z" fill="white"/>
|
||||||
|
<path d="M37 41C37 42.6569 35.6569 44 34 44C32.3431 44 31 42.6569 31 41C31 39.3431 32.3431 38 34 38C35.6569 38 37 39.3431 37 41Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 478 B |
3
assets/ruby-icon.svg
Normal file
3
assets/ruby-icon.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M64 32L32 0L0 32L32 64L64 32ZM58 32L32 32.2871L32 58L58 32Z" fill="#FF6666"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 230 B |
BIN
assets/star-icon.png
Normal file
BIN
assets/star-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
3
assets/tools-icon.svg
Normal file
3
assets/tools-icon.svg
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M16.3333 15H24.6667L26.3333 16.6667H43V20H23V23.3333H33L38 28.3333H46.3333L48 30V35L43 40H13L8 35V28.3333L13 23.3333V18.3333L16.3333 15Z" fill="white"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 265 B |
199
css/styles.css
Normal file
199
css/styles.css
Normal file
@@ -0,0 +1,199 @@
|
|||||||
|
/* Reset CSS */
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Body Styling */
|
||||||
|
body {
|
||||||
|
font-family: Arial, sans-serif;
|
||||||
|
height: 100vh;
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
background: #101820; /* Fallback for non-video support */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Background Video Styling */
|
||||||
|
#background-video {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
object-fit: cover;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Overlay Content */
|
||||||
|
.overlay {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Header Bar Styling */
|
||||||
|
.header-bar {
|
||||||
|
width: 100%;
|
||||||
|
height: 80px;
|
||||||
|
background-color: rgba(0, 0, 0, 0.8);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0 20px;
|
||||||
|
border-bottom: 1px solid #333333;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.title {
|
||||||
|
position: fixed;
|
||||||
|
top: 20px; /* Adjusts how far from the top you want it */
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #00ff00;
|
||||||
|
text-align: center;
|
||||||
|
z-index: 2; /* Keeps it above other elements */
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Profile Info Styling */
|
||||||
|
.profile-info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.star-icon {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.username {
|
||||||
|
font-weight: bold;
|
||||||
|
margin-right: 10px;
|
||||||
|
color: #00ff00;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* XP Bar Styling */
|
||||||
|
.xp-bar {
|
||||||
|
position: relative;
|
||||||
|
width: 150px;
|
||||||
|
height: 10px;
|
||||||
|
background-color: #333333;
|
||||||
|
border-radius: 5px;
|
||||||
|
overflow: hidden;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xp-fill {
|
||||||
|
height: 100%;
|
||||||
|
width: 90%; /* Adjusted to represent 903,388 / 1,000,000 */
|
||||||
|
background-color: #00ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.xp-text {
|
||||||
|
font-size: 12px;
|
||||||
|
color: #bbbbbb;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Currency Info Styling */
|
||||||
|
.currency-info {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.currency {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-left: 20px;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.currency-icon {
|
||||||
|
width: 15px;
|
||||||
|
height: 15px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Content Styling */
|
||||||
|
.content {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: center;
|
||||||
|
height: calc(100vh - 80px);
|
||||||
|
width: 100%;
|
||||||
|
padding-top: 80px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Menu Container Styling */
|
||||||
|
.menu-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 300px;
|
||||||
|
padding-left: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Discord Button Styling */
|
||||||
|
.discord-button {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: #00ff00;
|
||||||
|
color: #000000;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
border-radius: 5px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
transition: background-color 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.discord-button:hover {
|
||||||
|
background-color: #32ff32;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Menu Styling */
|
||||||
|
.menu {
|
||||||
|
list-style: none;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu li {
|
||||||
|
margin: 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: #1b1e22;
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
text-decoration: none;
|
||||||
|
border-left: 6px solid #4b5d67;
|
||||||
|
transition: background-color 0.3s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.menu a:hover {
|
||||||
|
background-color: #2c3137;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-icon {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
|
margin-right: 20px;
|
||||||
|
}
|
||||||
71
index.html
71
index.html
@@ -3,25 +3,60 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>WIP</title>
|
<title>Map Makers and Programmers</title>
|
||||||
<style>
|
<link rel="stylesheet" href="css/styles.css">
|
||||||
body {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
height: 100vh;
|
|
||||||
margin: 0;
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
background-color: #121212;
|
|
||||||
color: #f0f0f0;
|
|
||||||
}
|
|
||||||
h1 {
|
|
||||||
font-size: 3em;
|
|
||||||
color: #f0f0f0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>WIP</h1>
|
<!-- Background Video -->
|
||||||
|
<video autoplay muted loop id="background-video">
|
||||||
|
<source src="assets/background.mp4" type="video/mp4">
|
||||||
|
Your browser does not support the video tag.
|
||||||
|
</video>
|
||||||
|
|
||||||
|
<!-- Overlay Content -->
|
||||||
|
<div class="overlay">
|
||||||
|
<!-- Header Section -->
|
||||||
|
<div class="header-bar">
|
||||||
|
<div class="profile-info">
|
||||||
|
<img src="assets/star-icon.png" alt="Star Icon" class="star-icon">
|
||||||
|
<span id="username" class="username" onclick="editUsername()">Click to change</span>
|
||||||
|
<div class="xp-bar">
|
||||||
|
<div class="xp-fill"></div>
|
||||||
|
</div>
|
||||||
|
<span class="xp-text">903 388 / 1 000 000</span>
|
||||||
|
</div>
|
||||||
|
<h1 class="title">Map Makers and Programmers</h1>
|
||||||
|
<div class="currency-info">
|
||||||
|
<span class="currency">
|
||||||
|
<img src="assets/diamond-icon.svg" alt="Diamond Icon" class="currency-icon"> 68 800
|
||||||
|
</span>
|
||||||
|
<span class="currency">
|
||||||
|
<img src="assets/ruby-icon.svg" alt="Ruby Icon" class="currency-icon"> 12
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Main Content Area -->
|
||||||
|
<div class="content">
|
||||||
|
<div class="menu-container">
|
||||||
|
<a href="https://discord.com" class="discord-button" target="_blank">Discord</a>
|
||||||
|
<ul class="menu">
|
||||||
|
<li><a href="archives.html"><img src="assets/archives-icon.svg" class="button-icon" alt="Archives Icon">ARCHIVES</a></li>
|
||||||
|
<li><a href="tools.html"><img src="assets/tools-icon.svg" class="button-icon" alt="Tools Icon">TOOLS</a></li>
|
||||||
|
<li><a href="misc.html"><img src="assets/misc-icon.svg" class="button-icon" alt="Misc Icon">MISC</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function editUsername() {
|
||||||
|
const currentUsername = document.getElementById('username').innerText;
|
||||||
|
const newUsername = prompt('Enter new username:', currentUsername);
|
||||||
|
if (newUsername && newUsername.trim() !== '') {
|
||||||
|
document.getElementById('username').innerText = newUsername;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user