mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-04-19 22:08:34 -04:00
64 lines
996 B
SCSS
64 lines
996 B
SCSS
.hero
|
|
{
|
|
min-height: 40vh;
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: #000;
|
|
border-radius: 16px;
|
|
margin: 4px;
|
|
margin-top: 2rem;
|
|
border: 1px solid #fff2;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
|
|
&:hover
|
|
{
|
|
border: 1px solid #08f4;
|
|
transition: all 0.1s ease;
|
|
}
|
|
}
|
|
|
|
.background-media
|
|
{
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
z-index: -1;
|
|
background-position: center;
|
|
background-size: cover;
|
|
opacity: 1;
|
|
transition: all 2s linear;
|
|
}
|
|
|
|
.content
|
|
{
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
}
|
|
|
|
.content > .left
|
|
{
|
|
max-width: 250px;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
text-shadow: 1px 1px 2px #000d;
|
|
}
|
|
|
|
.content > .left > .icon > img
|
|
{
|
|
border-radius: 16px;
|
|
max-width: 150px;
|
|
box-shadow: 0px 0px 100px #000a, 0px 0px 20px #000a, 0px 0px 5px #000;
|
|
border: 1px solid #fff4;
|
|
}
|
|
|
|
.content > .left > .title
|
|
{
|
|
font-weight: 700;
|
|
font-size: 4rem;
|
|
white-space: nowrap;
|
|
text-shadow: 2px 2px 5px #000d;
|
|
} |