This repository has been archived on 2026-03-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web/components/ProfileCard/ProfileCard.module.scss

106 lines
1.8 KiB
SCSS

.profile {
margin: 2rem 0;
background: var(--black1);
border-radius: 8px;
box-shadow: var(--shadow0);
article {
display: flex;
flex-direction: row;
padding: 1.5rem 1.5rem 1rem 1.5rem;
gap: 1rem;
background-color: var(--black2);
border-radius: 8px 8px 0 0;
@media screen and (max-width: 400px) {
flex-direction: column;
justify-content: center;
}
img {
border-radius: 50%;
height: 128px;
width: 128px;
aspect-ratio: 1 / 1;
object-fit: cover;
object-position: 50% 35%;
@media screen and (max-width: 600px) {
height: 64px;
width: 64px;
}
}
.inner {
width: 100%;
header {
display: flex;
flex-direction: row;
align-items: baseline;
justify-content: space-between;
width: 100%;
h1 {
font-size: 2rem;
}
p {
font-family: var(--fonts-bold);
span {
font-size: 2rem;
}
}
}
.badges {
display: flex;
flex-direction: row;
gap: 1rem;
margin: 8px 0;
.badge {
display: flex;
flex-direction: row;
align-items: center;
width: initial;
gap: 8px;
padding: 4px 8px;
background: rgba(white, 0.1);
border-radius: 4px;
.dot {
width: 16px;
height: 16px;
border-radius: 50%;
background-color: #fb636b;
}
}
}
}
}
.xpinfo {
display: flex;
flex-direction: row;
justify-content: space-between;
background: var(--black2);
color: #ababab;
padding: 0 14px;
}
.xpbar {
display: block;
width: 100%;
height: 10px;
background: rgba(white, 0.025);
.xpinner {
display: block;
height: 100%;
width: 99%;
background: #fb636b;
opacity: 75%;
}
}
footer {
min-height: 16px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
section {
width: 50%;
padding: 2rem;
@media screen and (max-width: 800px) {
width: 100%;
}
}
}
}