mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
84 lines
1.0 KiB
SCSS
84 lines
1.0 KiB
SCSS
@use "@/_styles/theme" as *;
|
|
|
|
.banner
|
|
{
|
|
@include flex(row);
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 8%;
|
|
background-color: $colorNeutralBackground2;
|
|
z-index: 20;
|
|
|
|
.learnMore
|
|
{
|
|
gap: $spacingL;
|
|
padding: $spacingMNudge $spacingL;
|
|
background-size: $spacingMNudge 100%;
|
|
flex-grow: 1;
|
|
justify-content: flex-start;
|
|
|
|
p
|
|
{
|
|
color: $colorNeutralForeground2;
|
|
@include body1;
|
|
|
|
span
|
|
{
|
|
color: $colorNeutralForeground1;
|
|
@include body2($fontFamilyBaseAlt);
|
|
}
|
|
}
|
|
|
|
&:hover,
|
|
&:focus-visible
|
|
{
|
|
|
|
p,
|
|
p > span
|
|
{
|
|
color: $colorNeutralForegroundInverted;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dismiss
|
|
{
|
|
border-left: none;
|
|
}
|
|
|
|
.controls
|
|
{
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
|
|
@media screen and (min-width: 769px)
|
|
{
|
|
> button
|
|
{
|
|
border-left: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px)
|
|
{
|
|
width: 100%;
|
|
bottom: 0;
|
|
|
|
&:not(:has(> .dismiss))
|
|
{
|
|
flex-flow: column;
|
|
|
|
.learnMore
|
|
{
|
|
border-bottom: none;
|
|
}
|
|
|
|
.controls > button:last-child
|
|
{
|
|
border-left: none;
|
|
}
|
|
}
|
|
}
|
|
}
|