From 9e4933aad9a405abcd1cfb7baf9eec6f3565abde Mon Sep 17 00:00:00 2001 From: Currency Date: Thu, 12 Dec 2024 13:18:22 +0100 Subject: [PATCH] remake no longer trying to make it look like the tanki main menu --- archives.html | 193 ++++++++++--------------- css/styles.css | 381 +++++++++++++++++++++++++++++++------------------ index.html | 83 +++++------ misc.html | 137 +++++------------- tools.html | 148 ++++++------------- 5 files changed, 438 insertions(+), 504 deletions(-) diff --git a/archives.html b/archives.html index dc65bbb..a75ac34 100644 --- a/archives.html +++ b/archives.html @@ -3,124 +3,89 @@ - Archives - + Archives - Map Makers & Programmers + + +
-
Archives
- +
+ - - - diff --git a/css/styles.css b/css/styles.css index e2d21ea..d271a84 100644 --- a/css/styles.css +++ b/css/styles.css @@ -1,22 +1,25 @@ -/* Reset CSS */ +:root { + --primary-color: #00ff00; + --secondary-color: #101820; + --accent-color: #4b5d67; + --text-color: #ffffff; + --gradient-start: rgba(16, 24, 32, 0.9); + --gradient-end: rgba(16, 24, 32, 0.7); +} + * { 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 */ + font-family: 'Inter', sans-serif; + background-color: var(--secondary-color); + color: var(--text-color); + line-height: 1.6; } -/* Background Video Styling */ #background-video { position: fixed; top: 0; @@ -25,175 +28,269 @@ body { height: 100vh; object-fit: cover; z-index: -1; + filter: brightness(0.4); } -/* Overlay Content */ .overlay { - width: 100%; - height: 100%; + position: relative; + min-height: 100vh; + display: flex; + flex-direction: column; + background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)); +} + +.content-wrapper { display: flex; flex-direction: column; align-items: center; justify-content: center; - color: #ffffff; + flex-grow: 1; + padding: 20px; } -/* Header Bar Styling */ -.header-bar { +.centered-navigation { 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; + justify-content: center; + margin: 50px 0; } -.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 { +.main-navigation { display: flex; - align-items: center; + gap: 40px; } -.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 { +.nav-button { display: flex; flex-direction: column; - width: 300px; - padding-left: 50px; + align-items: center; + text-decoration: none; + color: var(--text-color); + font-family: 'Space Grotesk', sans-serif; + font-weight: 500; + padding: 20px; + border-radius: 12px; + transition: all 0.3s ease; + width: 200px; + text-align: center; } -/* Discord Button Styling */ -.discord-button { - display: block; - width: 100%; - padding: 15px; - background-color: #00ff00; - color: #000000; - font-size: 18px; - font-weight: bold; +.nav-button:hover { + background-color: rgba(75, 93, 103, 0.3); + transform: scale(1.05); +} + +.button-icon { + width: 60px; + height: 60px; + margin-bottom: 15px; +} + +.main-title { + font-family: 'Space Grotesk', sans-serif; text-align: center; + font-size: 3.5rem; + color: var(--primary-color); + margin: 80px 0 50px; + text-transform: uppercase; + letter-spacing: 4px; + text-shadow: 0 0 15px rgba(0, 255, 0, 0.5); +} + +.cta-section { + margin-top: 50px; +} + +.discord-button { + display: inline-block; text-decoration: none; - border-radius: 5px; - margin-bottom: 20px; - transition: background-color 0.3s; + font-family: 'Space Grotesk', sans-serif; + font-weight: bold; + color: var(--secondary-color); + background-color: var(--primary-color); + padding: 15px 30px; + border-radius: 10px; + transition: all 0.3s ease; + text-transform: uppercase; } .discord-button:hover { background-color: #32ff32; + transform: scale(1.05); + box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); } -/* Menu Styling */ -.menu { - list-style: none; - width: 100%; +.site-footer { + margin-top: auto; + padding: 20px; + text-align: center; + background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3)); + display: flex; /* Enables flexbox */ + justify-content: center; /* Centers horizontally */ + align-items: center; /* Centers vertically */ } -.menu li { - margin: 15px 0; +.footer-content { + display: flex; + justify-content: center; + align-items: center; + max-width: 1200px; + margin: 0; + padding: 0; } -.menu a { + +.social-links { + display: flex; + gap: 20px; +} + +.social-icon { + color: var(--primary-color); + text-decoration: none; + font-weight: 500; +} + +@media (max-width: 1024px) { + .main-navigation { + flex-direction: column; + align-items: center; + gap: 20px; + } + + .main-title { + font-size: 2.5rem; + } +} + +.page-header { display: flex; align-items: center; - padding: 15px; - background-color: #1b1e22; - color: #ffffff; - font-size: 18px; - font-weight: bold; - text-align: left; + padding: 20px 5%; + background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.5)); +} + +.back-button { + display: flex; + align-items: center; + color: var(--text-color); text-decoration: none; - border-left: 6px solid #4b5d67; - transition: background-color 0.3s; + font-family: 'Space Grotesk', sans-serif; + gap: 10px; + transition: color 0.3s ease; } -.menu a:hover { - background-color: #2c3137; +.back-button:hover { + color: var(--primary-color); } -.button-icon { - width: 40px; - height: 40px; - margin-right: 20px; +.back-button svg { + stroke: currentColor; } + +.page-title { + flex-grow: 1; + text-align: center; + font-family: 'Space Grotesk', sans-serif; + color: var(--primary-color); + text-transform: uppercase; + letter-spacing: 2px; + margin: 0; +} + +.archives-grid, +.tools-grid, +.misc-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 30px; + padding: 50px 5%; + width: 100%; + max-width: 1400px; + margin: 0 auto; +} + +.archive-box, +.tool-box, +.misc-box { + position: relative; + aspect-ratio: 1 / 1; + background-size: cover; + background-position: center; + background-color: rgba(75, 93, 103, 0.2); + border: 2px solid var(--accent-color); + border-radius: 12px; + overflow: hidden; + transition: all 0.3s ease; +} + +.archive-box:hover, +.tool-box:hover, +.misc-box:hover { + border-color: var(--primary-color); + box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2); + transform: scale(1.03); +} + +.archive-overlay, +.tool-overlay, +.misc-overlay { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3)); + padding: 20px; + transform: translateY(100%); + transition: transform 0.3s ease; + display: flex; + flex-direction: column; + justify-content: flex-end; +} + +.archive-box:hover .archive-overlay, +.tool-box:hover .tool-overlay, +.misc-box:hover .misc-overlay { + transform: translateY(0); +} + +.archive-overlay h2, +.tool-overlay h2, +.misc-overlay h2 { + font-family: 'Space Grotesk', sans-serif; + color: var(--primary-color); + margin-bottom: 10px; + font-size: 1.3rem; +} + +.archive-overlay p, +.tool-overlay p, +.misc-overlay p { + color: var(--text-color); + font-size: 0.9rem; + margin-bottom: 15px; +} + +.github-link { + color: var(--primary-color); + text-transform: uppercase; + font-weight: bold; + font-size: 0.8rem; + align-self: flex-start; + text-decoration: none; + transition: color 0.3s ease; +} + +.github-link:hover { + color: #32ff32; +} + +@media (max-width: 1200px) { + .archives-grid, + .tools-grid, + .misc-grid { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; + padding: 30px 3%; + } +} \ No newline at end of file diff --git a/index.html b/index.html index bf67150..f2e6719 100644 --- a/index.html +++ b/index.html @@ -3,60 +3,49 @@ - Map Makers and Programmers - + Map Makers & Programmers + + - -