1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00
Files
my-website/app/_data/FrontSection.module.scss
T

76 lines
1.0 KiB
SCSS

@use "@/_styles/theme" as *;
.section
{
min-height: 75vh;
align-items: end;
@include centerTwo;
.content
{
@include flex(column);
@include subtitle1($fontFamilyBaseAlt);
gap: $spacingXL;
h1
{
@include display($fontFamilyBaseAlt);
}
h2
{
@include title2($fontFamilyBaseAlt);
}
.ctaButtons
{
@include flex(row, wrap);
gap: $spacingS;
}
}
.highlight
{
color: $colorNeutralForegroundInverted;
background-color: $colorNeutralBackgroundInverted;
padding: $spacingXXS $spacingNone;
&::selection
{
color: $colorNeutralForegroundInverted;
background-color: $colorBrandForeground1;
}
}
.illustrations
{
justify-self: center;
position: relative;
margin-right: 48px;
margin-bottom: 12px;
width: calc(100% - 48px);
max-width: 512px;
.main
{
border-radius: $borderRadiusCircular;
width: 100%;
height: auto;
}
.secondary
{
position: absolute;
bottom: -12px;
left: calc(60% + 48px);
width: 100%;
max-width: 40%;
height: auto;
}
}
}