Private
Public Access
1
0
Files
MineSeeker/assets/css/homepage/_header.scss

39 lines
917 B
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
header {
position: relative;
width: 100%;
overflow: hidden;
// Minesweeper grid texture
background-color: #07090d;
background-image:
linear-gradient(rgba(35, 111, 135, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(35, 111, 135, 0.1) 1px, transparent 1px);
background-size: 46px 46px;
}
// Deep radial vignette grid fades toward the centre
header::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(
ellipse 85% 75% at 50% 50%,
#07090d 10%,
transparent 75%
);
z-index: 0;
pointer-events: none;
}
// Smoke at the bottom so header bleeds into body
header::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 160px;
background: linear-gradient(to bottom, transparent, #07090d);
z-index: 1;
pointer-events: none;
}