Initial commit: chihaja project
This commit is contained in:
42
CSS.css
Normal file
42
CSS.css
Normal file
@@ -0,0 +1,42 @@
|
||||
:root {
|
||||
--color-bg: #0a0a0a; /* dark background */
|
||||
--color-primary: #003366; /* dark blue accent (changed) */
|
||||
--color-text: #f5f5f5; /* near-white text */
|
||||
--color-muted: #9a9a9a; /* muted gray */
|
||||
}
|
||||
|
||||
/* keep header fixed at top while scrolling and avoid content overlap */
|
||||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 64px; /* consistent header height */
|
||||
padding: 1rem 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
background: transparent; /* transparent so video shows through */
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
/* ensure page content begins below the fixed header */
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
padding-top: 64px; /* same as header height */
|
||||
}
|
||||
|
||||
/* keep video behind everything */
|
||||
.background-video {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
object-fit: cover;
|
||||
z-index: 0;
|
||||
opacity: 0.7;
|
||||
pointer-events: none;
|
||||
}
|
Reference in New Issue
Block a user