Files
silma-bone-lord-bob/styles/globals.css
T
jacob-mathison dadb6f049e feat: space background from Aaron's Space_HD.jpg asset
- public/space-bg.jpg: Aaron's space art (3072x2048, purple cosmic scene)
- globals.css: body background wired to /space-bg.jpg with dark overlay (65% opacity)
  for readability, fixed attachment so it scrolls naturally
- CSS vars updated: dark/dark-mid/dark-card tuned for deep-purple space palette
- border color shifted slightly toward purple to complement the bg
2026-04-11 11:56:29 -05:00

71 lines
1.3 KiB
CSS

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bone: #e8dcc8;
--bone-dim: #9e9080;
--red: #c0392b;
--red-glow: rgba(192, 57, 43, 0.4);
--dark: #06030f;
--dark-mid: rgba(8, 4, 20, 0.85);
--dark-card: rgba(12, 6, 28, 0.78);
--border: rgba(180, 140, 255, 0.18);
--font-display: 'Georgia', 'Times New Roman', serif;
--font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
html {
scroll-behavior: smooth;
}
body {
background-color: #06030f;
background-image: url('/space-bg.jpg');
background-size: cover;
background-position: center top;
background-attachment: fixed;
background-repeat: no-repeat;
color: var(--bone);
font-family: var(--font-body);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
}
/* Dark overlay so text stays readable over the space background */
body::before {
content: '';
position: fixed;
inset: 0;
background: rgba(4, 0, 14, 0.65);
pointer-events: none;
z-index: 0;
}
#__next {
position: relative;
z-index: 1;
}
a {
color: inherit;
text-decoration: none;
}
img {
max-width: 100%;
}
::selection {
background: var(--red);
color: var(--bone);
}
/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #06030f; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }