chore: Site Fixes

This commit is contained in:
MattTheTekie 2025-06-20 19:49:03 -04:00
commit 1925a382c2

View file

@ -7,7 +7,7 @@ div.text {background:rgba(0,0,0,.5);text-align:center;font-size:0.85em}
div.footer {background:black;font-size:10px}
/* BROKEN CSS:
*div.text h2:before{content:'';height:100%;width:.5rem;left:-1.5rem;background:#EE4B2B;position:absolute;} */
div.t*ext h2:before{content:'';height:100%;width:.5rem;left:-1.5rem;background:#EE4B2B;position:absolute;} */
a {color:red;}
a:hover {background:red;color:white;}
@ -43,32 +43,3 @@ IMG {max-width:99%;height:auto;}
transform: translateX(-100%);
}
}
/* Container for the main content and the grid layout */
main {
padding: 20px;
margin-top: 100px; /* Enough margin-top to avoid overlap */
}
/* Grid layout for three sections */
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
text-align: center;
margin: 20px auto;
max-width: 1200px;
}
/* Transparent background for each column */
.grid-item {
background-color: rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Hover effect for links */
nav ul li a:hover {
background-color: #EE4B2B; /* Background changes to orange on hover */
color: white; /* Text stays white */
}