Files
MapMakersAndProgrammers.git…/css/styles.css
Currency 606b05d995 prototype
tried to make it look like the tanki menu
2024-10-29 23:03:46 +01:00

200 lines
3.4 KiB
CSS

/* 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;
}