mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-29 06:03:11 +00:00
115 lines
No EOL
2.1 KiB
Sass
115 lines
No EOL
2.1 KiB
Sass
$primary: var(--primary)
|
|
$secondary: var(--secondary)
|
|
$primary-button: var(--primary-button)
|
|
$secondary-button: var(--secondary-button)
|
|
$accent: var(--accent)
|
|
|
|
$radius: var(--radius)
|
|
|
|
$main-font: var(--main-font)
|
|
$monospace-font: var(--monospace-font)
|
|
|
|
// Accessibility setting
|
|
//*, *::before, *::after
|
|
// animation-duration: 0s !important
|
|
// transition: none !important
|
|
|
|
|
|
\:root
|
|
--primary: 51, 47, 47
|
|
--secondary: 214, 204, 199
|
|
--primary-button: 191, 170, 130
|
|
--secondary-button: 222, 209, 193
|
|
--accent: 194, 165, 136
|
|
|
|
--radius: 1rem
|
|
|
|
--main-font: 'Rubik', sans-serif
|
|
--monospace-font: 'JetBrains Mono', monospace
|
|
|
|
--nav: #{ darken(#332f2f, 5%) }
|
|
|
|
@import "animations"
|
|
@import "nav"
|
|
@import "header"
|
|
@import "sections"
|
|
|
|
*
|
|
box-sizing: border-box
|
|
|
|
html
|
|
font-family: $main-font
|
|
background-color: RGB($secondary)
|
|
color: RGB($primary)
|
|
|
|
body
|
|
margin: 0
|
|
padding: 0
|
|
min-height: 100vh
|
|
display: grid
|
|
grid-template-rows: 1fr auto
|
|
|
|
.background
|
|
background-color: RGB($primary)
|
|
position: absolute
|
|
inset: 0
|
|
overflow: hidden
|
|
z-index: 1
|
|
|
|
> img
|
|
position: absolute
|
|
inset: -5%
|
|
width: 110%
|
|
height: 110%
|
|
object-fit: cover
|
|
filter: blur(0.25rem)
|
|
opacity: 0.2
|
|
|
|
&::after
|
|
content: ''
|
|
position: absolute
|
|
inset: 0
|
|
background-image: linear-gradient(to top, RGB($secondary) 3%, RGBA($primary, 0.1))
|
|
z-index: +1
|
|
|
|
main
|
|
padding-top: 3rem
|
|
position: relative
|
|
z-index: 2
|
|
|
|
footer
|
|
margin: auto 0 0
|
|
padding: 0.5rem
|
|
|
|
position: relative
|
|
|
|
display: flex
|
|
justify-content: center
|
|
align-items: center
|
|
|
|
background-color: RGB($primary)
|
|
color: RGB($secondary)
|
|
|
|
z-index: 2
|
|
|
|
> p
|
|
margin: 0
|
|
|
|
font-size: 0.8rem
|
|
font-family: $monospace-font
|
|
text-align: center
|
|
|
|
color: RGB($secondary)
|
|
|
|
> a
|
|
margin: 0
|
|
|
|
font-size: inherit
|
|
font-family: inherit
|
|
|
|
color: RGB($accent)
|
|
text-decoration: none
|
|
cursor: pointer
|
|
|
|
&:hover
|
|
text-decoration: underline |