id/styles/profiles.css

70 lines
990 B
CSS
Raw Normal View History

2023-11-19 12:24:38 +00:00
#profile {
display: flex;
gap: 1rem;
padding: 1rem;
width: 750px;
border-radius: 2em;
align-items: center;
margin: auto;
background: var(--grey-0);
}
#profile > .avatar {
height: 150px;
border-radius: 1em;
}
#profile > .info > .displayname {
font-size: 2.5rem;
font-weight: bolder;
}
#profile > .info > .bcid {
font-size: 1.5rem;
}
#details {
display: grid;
grid-template-columns: 3fr 1fr;
}
2024-03-02 12:41:57 +00:00
#badges {
display: grid;
grid-template-columns: repeat(auto-fit, 1fr);
gap: 0.5rem;
}
#badges .badge {
display: flex;
align-items: center;
gap: 1rem;
}
.badge .details {
display: flex;
flex-direction: column;
}
.badge img {
height: 7.5em;
width: 7.5em;
object-fit: contain;
border-radius: 1em;
}
.badge .details .title {
font-size: 1.5rem;
font-weight: 700;
}
2023-11-19 12:24:38 +00:00
@media screen and (prefers-color-scheme: dark) {
#profile {
background: var(--grey-9);
}
}