Files
front/src/app/pages/profile-page/profile-page.scss
T
2026-09-29 01:55:20 +03:00

148 lines
2.4 KiB
SCSS

:host {
display: block;
width: 100%;
max-width: 100%;
min-height: 100%;
}
.page {
width: 100%;
max-width: var(--page-max-width);
margin: 0 auto;
padding: 16px 16px 24px;
}
.page__top,
.hero p {
display: flex;
align-items: center;
}
.page__top {
position: relative;
justify-content: center;
min-height: 44px;
}
.page__back {
position: absolute;
left: 0;
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border: 1px solid var(--color-border);
border-radius: 14px;
background: rgb(28 26 23 / 86%);
color: var(--color-text);
text-decoration: none;
}
.page__title {
color: var(--color-text-soft);
font-size: 15px;
font-weight: 500;
}
.hero {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 28px;
text-align: center;
}
.hero__avatar {
display: flex;
align-items: center;
justify-content: center;
width: 96px;
height: 96px;
border: 1.5px solid var(--color-accent);
border-radius: 48px;
background: radial-gradient(circle at 50% 38%, rgb(224 184 79 / 22%), rgb(224 184 79 / 4%) 72%),
var(--color-surface);
color: var(--color-accent-soft);
font-family: var(--font-display);
font-size: 40px;
font-weight: 700;
}
.hero h1 {
margin: 16px 0 0;
font-family: var(--font-display);
font-size: clamp(28px, 7vw, 34px);
font-weight: 700;
line-height: 1.12;
letter-spacing: -0.03em;
}
.hero p {
justify-content: center;
gap: 8px;
margin: 10px 0 0;
color: var(--color-muted);
font-size: 15px;
}
.hero p app-icon {
color: var(--color-accent);
}
.collections {
margin-top: 28px;
}
.collections h2 {
margin: 0;
font-family: var(--font-display);
font-size: 22px;
font-weight: 700;
}
.collections > p {
margin: 6px 0 0;
color: var(--color-muted);
font-size: 15px;
}
.pack {
margin-top: 14px;
}
.info {
display: flex;
flex-direction: column;
gap: 0;
margin: 16px 0 0;
padding: 4px 16px;
border: 1px solid var(--color-border);
border-radius: 20px;
background: var(--color-surface);
list-style: none;
}
.info li {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px 0;
border-bottom: 1px solid var(--color-border);
}
.info li:last-child {
border-bottom: 0;
}
.info span {
color: var(--color-muted);
font-size: 13px;
}
.info b {
color: var(--color-text);
font-size: 16px;
font-weight: 500;
}