Cody’s Shack uses Bootstrap 4 for its responsive grid and layout, with all site-specific visual styles written as inline CSS or embeddedDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/theinfamouscoder5/codys-shack-games/llms.txt
Use this file to discover all available pages before exploring further.
<style> blocks directly inside the HTML files — there is no external CSS preprocessor or build step involved. To change how the site looks, you edit the relevant HTML file and redeploy. The sections below walk through every major visual element and exactly what to change.
Background
Homepage (index.html)
The homepage <body> tag uses an inline background-image style that layers a dark semi-transparent gradient over an animated GIF:
codys-shack-background.gif with the path to your own file (GIF, JPG, PNG, or WebP all work). To lighten or darken the overlay, adjust the 0.5 alpha values on the rgba(0, 0, 0, ...) gradient stops.
Game, Websites, and Settings pages
All pages other thanindex.html use a plain solid dark background set on the <body> tag:
#121212 with any valid CSS color to change the background on those pages.
Color Accents
Two accent colors appear throughout the site’s buttons and navigation:| Color | Hex | Used on |
|---|---|---|
| Purple | #b625cc | Settings button (homepage), action buttons (misc.html, projects.html) |
| Green | #22c55e | CTA buttons on the games page, the “Go to homepage” button |
#b625cc with #0d9488 in index.html and misc.html.
Glow Button Effect
The.glow-on-hover CSS class creates an animated rainbow gradient border that appears on hover. It is defined in an embedded <style> block inside index.html and used on the primary CTA buttons site-wide.
@keyframes glowing rule cycles the gradient’s background-position from 0 0 → 400% 0 → 0 0 over 20 seconds, creating the sweeping color animation. To customize:
- Change the colors — edit the
linear-gradient(...)color stops inside.glow-on-hover:before. - Speed up or slow down the animation — change
20sinanimation: glowing 20s linear infinite. - Increase glow spread — increase the
filter: blur(5px)value on the:beforepseudo-element.
Glassmorphism Panels
The frosted-glass card style is applied via the.blur class, embedded in index.html and replicated as .gameblur on projects.html:
- Blur intensity — change
blur(5px)inbackdrop-filter. Higher values produce a more opaque frost effect. - Panel opacity — change the
0.4alpha value inrgba(100, 100, 100, 0.4). A value closer to0is more transparent; closer to1is more opaque. - Corner roundness — change
border-radius: 20px. - Inner shadow depth — edit
rgba(0, 0, 0, 0.6)in thebox-shadowdeclaration.
Animated Homepage Subtitle
Directly below the site title on the homepage, a randomized subtitle line is injected byjs/subtitle.js every time the page loads. The script picks one entry at random from a 70+ item greetings array:
id="subtitle" on index.html. To add your own subtitles, open js/subtitle.js and append new strings to the greetings array:
.slant-container class, which applies a slight rotation and an animated font-size pulse via @keyframes mymove.
Game Tile Appearance
Game cards on theprojects.html page are built from two CSS classes defined in that file’s <style> block:
.game-tile
Dark semi-transparent card container.
.game-icon
Thumbnail image inside the tile.
#383333 in .game-tile. To make tiles larger or smaller, adjust the height and width values and update .game-icon dimensions proportionally. To change the hover scale intensity, edit the scale(1.03) value in .game-tile:hover.