id/styles/profiles.css

70 lines
1015 B
CSS
Raw Normal View History

2023-11-19 12:24:38 +00:00
2024-03-18 20:11:01 +00:00
#mini_profile {
2023-11-19 12:24:38 +00:00
display: flex;
gap: 1rem;
padding: 1rem;
width: 750px;
border-radius: 2em;
align-items: center;
margin: auto;
background: var(--grey-0);
}
2024-03-18 20:11:01 +00:00
#mini_profile > .avatar {
2023-11-19 12:24:38 +00:00
height: 150px;
border-radius: 1em;
}
2024-03-18 20:11:01 +00:00
#mini_profile > .info > .displayname {
2023-11-19 12:24:38 +00:00
font-size: 2.5rem;
font-weight: bolder;
}
2024-03-18 20:11:01 +00:00
#mini_profile > .info > .bcid {
2023-11-19 12:24:38 +00:00
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) {
2024-03-18 20:11:01 +00:00
#mini_profile {
2023-11-19 12:24:38 +00:00
background: var(--grey-9);
}
}