Add the profile image UI and docs (SCR-1)
CI / validate-monitoring (push) Successful in 10s
CI / lint (push) Successful in 14s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 7m2s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 10s
CI / lint (push) Successful in 14s
CI / federation-interop (push) Successful in 1m15s
CI / test (push) Successful in 7m2s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s
A Profile page to upload, use Gravatar or remove the image, the avatar in the page header and on the public profile, a Sharing switch for it, and user/admin guide notes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b878523d51
commit
b388e7112d
10 files changed
+246
-2
No files matched your search
+67
-1
@@ -209,10 +209,76 @@ code {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: baseline;
|
||||
align-items: center;
|
||||
color: var(--ink-soft);
|
||||
}
|
||||
|
||||
.account-link {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.account-link:hover .account-name {
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.account-avatar {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* A profile image: round, with the placeholder ring while there's none */
|
||||
.avatar {
|
||||
display: block;
|
||||
flex: none;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
background: var(--paper-raised);
|
||||
border: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.avatar-sm {
|
||||
width: 1.75rem;
|
||||
height: 1.75rem;
|
||||
}
|
||||
|
||||
.avatar-lg {
|
||||
width: 7rem;
|
||||
height: 7rem;
|
||||
}
|
||||
|
||||
.avatar-empty {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.avatar-empty::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 32%;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--bar);
|
||||
}
|
||||
|
||||
.avatar-row {
|
||||
display: flex;
|
||||
gap: 1.5rem;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.avatar-body {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
max-width: 40rem;
|
||||
}
|
||||
|
||||
.avatar-xl {
|
||||
width: 6rem;
|
||||
height: 6rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 1120px;
|
||||
margin: 0 auto;
|
||||
|
||||
Reference in new issue
Block a user