PCv5/app/static/css/widgets.css

130 lines
2.2 KiB
CSS

.profile {
display: flex;
align-items: center;
width: 265px;
}
.profile-avatar {
width: 128px;
height: 128px;
margin-right: 16px;
}
.profile-name {
font-weight: bold;
}
.profile-title {
margin-bottom: 8px;
}
.profile-points {
font-size: 11px;
}
.profile-points span {
color: gray;
}
.profile-points-small {
display: none;
}
.profile-xp {
height: 10px;
min-width: 96px;
max-width: 96px;
background: var(--background);
border: var(--border);
}
.profile-xp-100 {
background: var(--background-xp);
border: var(--border-xp);
}
.profile-xp div {
height: 10px;
background: var(--background-xp);
border: var(--border-xp);
margin: -1px;
}
.profile-xp-100 div {
background: var(--background-xp-100);
}
.profile.guest {
flex-direction: column;
width: 100%;
padding-top: 12px;
text-align: center;
}
.profile.guest em {
display: block;
font-weight: bold;
font-style: normal;
margin-bottom: 8px;
}
@media (max-width:1199px) {
table.thread .profile {
flex-direction: column;
width: 96px;
text-align: center;
}
table.thread .profile-avatar {
order: 1;
margin-right: 0;
margin-top: 4px;
width: 96px;
height: 96px;
}
table.thread .profile-title,
table.thread .profile-points,
table.thread .profile-xp {
display: none;
}
table.thread .profile-points-small {
display: inline;
}
}
@media (max-width:849px) {
table.thread .profile {
width: 96px;
}
table.thread .profile-avatar {
width: 64px;
height: 64px;
}
}
.trophies {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.trophy {
display: flex;
align-items: center;
width: 260px;
margin: 5px;
padding: 5px;
border: 1px solid #c5c5c5;
border-left: 5px solid var(--links);
border-radius: 2px;
}
.trophy.disabled {
filter: grayscale(100%);
opacity: .5;
border-left: 1px solid #c5c5c5;
}
.trophy.form-disabled {
border-left: 1px solid #c5c5c5;
flex-grow: 1;
}
.trophy img {
height: 48px;
margin-right: 8px;
}
.trophy div > * {
display: block;
}
.trophy em {
font-style: normal;
font-weight: bold;
margin-bottom: 3px;
}
.trophy span {
font-size: 80%;
}
hr.signature {
opacity: 0.2;
}