mirror of
https://github.com/MapMakersAndProgrammers/MapMakersAndProgrammers.github.io.git
synced 2025-10-25 17:39:11 -07:00
296 lines
5.8 KiB
CSS
296 lines
5.8 KiB
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 {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: var(--secondary-color);
|
|
color: var(--text-color);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
#background-video {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
object-fit: cover;
|
|
z-index: -1;
|
|
filter: brightness(0.4);
|
|
}
|
|
|
|
.overlay {
|
|
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;
|
|
flex-grow: 1;
|
|
padding: 20px;
|
|
}
|
|
|
|
.centered-navigation {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 50px 0;
|
|
}
|
|
|
|
.main-navigation {
|
|
display: flex;
|
|
gap: 40px;
|
|
}
|
|
|
|
.nav-button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
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);
|
|
}
|
|
|
|
.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 */
|
|
}
|
|
|
|
.footer-content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
max-width: 1200px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
.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: 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;
|
|
font-family: 'Space Grotesk', sans-serif;
|
|
gap: 10px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.back-button:hover {
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
} |