Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
58 lines
1.1 KiB
SCSS
58 lines
1.1 KiB
SCSS
.follow-me-card {
|
|
--follow-accent: hsl(266 32% 22%);
|
|
|
|
position: fixed;
|
|
left: 24px;
|
|
bottom: 24px;
|
|
z-index: 1300;
|
|
isolation: isolate;
|
|
display: flex;
|
|
align-items: stretch;
|
|
gap: 0.85rem;
|
|
width: min(390px, calc(100vw - 48px));
|
|
padding: 0.8rem;
|
|
overflow: hidden;
|
|
border-radius: 20px;
|
|
background:
|
|
linear-gradient(135deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.025)),
|
|
rgb(17 15 32 / 0.8);
|
|
border: 1px solid rgb(255 255 255 / 0.12);
|
|
box-shadow:
|
|
0 24px 60px rgb(0 0 0 / 0.5),
|
|
inset 0 1px 0 rgb(255 255 255 / 0.1);
|
|
backdrop-filter: blur(26px) saturate(165%);
|
|
|
|
&::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: -40%;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
background: radial-gradient(
|
|
circle at 12% 20%,
|
|
var(--follow-accent),
|
|
transparent 60%
|
|
);
|
|
opacity: 0.38;
|
|
filter: blur(26px);
|
|
}
|
|
|
|
> img {
|
|
width: 58px;
|
|
height: 86px;
|
|
flex: 0 0 auto;
|
|
object-fit: cover;
|
|
border-radius: 11px;
|
|
box-shadow: 0 10px 24px rgb(0 0 0 / 0.4);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.follow-me-card {
|
|
left: 12px;
|
|
right: 12px;
|
|
bottom: calc(88px + var(--safe-bottom));
|
|
width: auto;
|
|
}
|
|
}
|