forked from cybrespace/pinafore
88 lines
2.0 KiB
HTML
88 lines
2.0 KiB
HTML
<div class="account-profile-details">
|
|
<div class="account-profile-details-item">
|
|
<span class="account-profile-details-item-title">
|
|
Toots
|
|
</span>
|
|
<span class="account-profile-details-item-datum">
|
|
{{account.statuses_count || 0}}
|
|
</span>
|
|
</div>
|
|
<div class="account-profile-details-item">
|
|
<span class="account-profile-details-item-title">
|
|
Follows
|
|
</span>
|
|
<span class="account-profile-details-item-datum">
|
|
{{account.following_count || 0}}
|
|
</span>
|
|
</div>
|
|
<div class="account-profile-details-item">
|
|
<span class="account-profile-details-item-title">
|
|
Followers
|
|
</span>
|
|
<span class="account-profile-details-item-datum">
|
|
{{account.followers_count || 0}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
.account-profile-details {
|
|
grid-area: details;
|
|
display: flex;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.account-profile-details-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 5px;
|
|
justify-content: center;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.account-profile-details-item:hover {
|
|
background: var(--button-bg-hover);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.account-profile-details-item:active {
|
|
background: var(--button-bg-active);
|
|
}
|
|
|
|
.account-profile-details-item-title {
|
|
text-transform: uppercase;
|
|
color: var(--deemphasized-text-color);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.account-profile-details-item-datum {
|
|
color: var(--body-text-color);
|
|
margin-left: 5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.account-profile-details-item {
|
|
flex-direction: column;
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.account-profile-details-item:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.account-profile-details-item:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.account-profile-details-item-title {
|
|
margin-right: 0;
|
|
text-align: center;
|
|
}
|
|
.account-profile-details-item-datum {
|
|
margin-left: 0;
|
|
text-align: center;
|
|
}
|
|
}
|
|
</style> |