140 lines
3 KiB
CSS
140 lines
3 KiB
CSS
#account-container.skeleton {
|
|
color: var(--outline-color);
|
|
}
|
|
|
|
#account-container .header-banner {
|
|
/* pointer-events: none; */
|
|
aspect-ratio: 6 / 1;
|
|
width: 100%;
|
|
height: auto;
|
|
object-fit: cover;
|
|
/* mask fade out bottom of banner */
|
|
mask-image: linear-gradient(
|
|
to bottom,
|
|
hsl(0, 0%, 0%) 0%,
|
|
hsla(0, 0%, 0%, 0.987) 14%,
|
|
hsla(0, 0%, 0%, 0.951) 26.2%,
|
|
hsla(0, 0%, 0%, 0.896) 36.8%,
|
|
hsla(0, 0%, 0%, 0.825) 45.9%,
|
|
hsla(0, 0%, 0%, 0.741) 53.7%,
|
|
hsla(0, 0%, 0%, 0.648) 60.4%,
|
|
hsla(0, 0%, 0%, 0.55) 66.2%,
|
|
hsla(0, 0%, 0%, 0.45) 71.2%,
|
|
hsla(0, 0%, 0%, 0.352) 75.6%,
|
|
hsla(0, 0%, 0%, 0.259) 79.6%,
|
|
hsla(0, 0%, 0%, 0.175) 83.4%,
|
|
hsla(0, 0%, 0%, 0.104) 87.2%,
|
|
hsla(0, 0%, 0%, 0.049) 91.1%,
|
|
hsla(0, 0%, 0%, 0.013) 95.3%,
|
|
hsla(0, 0%, 0%, 0) 100%
|
|
);
|
|
margin-bottom: -44px;
|
|
}
|
|
#account-container .header-banner:hover {
|
|
animation: position-object 5s ease-in-out 1s 5;
|
|
}
|
|
|
|
@media (min-height: 480px) {
|
|
#account-container .header-banner {
|
|
aspect-ratio: 3 / 1;
|
|
}
|
|
}
|
|
@media (min-height: 720px) {
|
|
#account-container .header-banner {
|
|
aspect-ratio: 16 / 9;
|
|
}
|
|
}
|
|
|
|
#account-container header {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
text-shadow: 0 0 24px var(--bg-color);
|
|
}
|
|
#account-container header .avatar {
|
|
box-shadow: 0 0 24px var(--bg-color);
|
|
}
|
|
|
|
#account-container .note {
|
|
font-size: 95%;
|
|
line-height: 1.4;
|
|
}
|
|
#account-container .note:not(:has(p)):not(:empty) {
|
|
/* Some notes don't have <p> tags, so we need to add some padding */
|
|
padding: 1em 0;
|
|
}
|
|
|
|
#account-container .stats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
gap: 16px;
|
|
opacity: 0.75;
|
|
font-size: 90%;
|
|
background-color: var(--bg-faded-color);
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
line-height: 1.25;
|
|
}
|
|
#account-container .stats > * {
|
|
text-align: center;
|
|
}
|
|
#account-container .stats a {
|
|
color: inherit;
|
|
}
|
|
|
|
#account-container .actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
min-height: 2.5em;
|
|
}
|
|
#account-container .actions button {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
#account-container .profile-metadata {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
#account-container .profile-field {
|
|
min-width: 0;
|
|
flex-grow: 1;
|
|
font-size: 90%;
|
|
background-color: var(--bg-faded-color);
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
filter: saturate(0.75);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
#account-container :is(.note, .profile-field) .invisible {
|
|
display: none;
|
|
}
|
|
#account-container :is(.note, .profile-field) .ellipsis::after {
|
|
content: '…';
|
|
}
|
|
|
|
#account-container .profile-field b {
|
|
font-size: 90%;
|
|
color: var(--text-insignificant-color);
|
|
text-transform: uppercase;
|
|
}
|
|
#account-container .profile-field b .icon {
|
|
color: var(--green-color);
|
|
}
|
|
#account-container .profile-field p {
|
|
margin: 0;
|
|
}
|
|
|
|
#account-container .common-followers {
|
|
border-top: 1px solid var(--outline-color);
|
|
border-bottom: 1px solid var(--outline-color);
|
|
padding: 8px 0;
|
|
font-size: 90%;
|
|
line-height: 1.5;
|
|
color: var(--text-insignificant-color);
|
|
}
|