TootAuthorGroup: visually identify clickable
All checks were successful
/ depoly (push) Successful in 1m24s

This commit is contained in:
thislight 2024-11-25 20:13:02 +08:00
parent 9499182a8d
commit ad0076156b
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -10,7 +10,7 @@
} }
} }
.TootAuthorGroup > .name-grp { .TootAuthorGroup>.name-grp {
display: grid; display: grid;
grid-template-columns: 1fr auto; grid-template-columns: 1fr auto;
color: var(--tutu-color-secondary-text-on-surface); color: var(--tutu-color-secondary-text-on-surface);
@ -22,18 +22,16 @@
>time { >time {
text-align: end; text-align: end;
} }
&:hover {
> .name-primary {
text-decoration: underline;
}
}
} }
.TootAuthorGroup > .name-grp > .name-primary { .RegularToot.expanded .TootAuthorGroup>.name-grp>.name-primary {
text-decoration: underline;
}
.TootAuthorGroup>.name-grp>.name-primary {
color: var(--tutu-color-on-surface); color: var(--tutu-color-on-surface);
> .acct-mark { >.acct-mark {
font-size: 1.2em; font-size: 1.2em;
color: var(--tutu-color-secondary-text-on-surface); color: var(--tutu-color-secondary-text-on-surface);
vertical-align: sub; vertical-align: sub;
@ -41,7 +39,7 @@
} }
} }
.TootAuthorGroup > .avatar { .TootAuthorGroup>.avatar {
width: calc(var(--toot-avatar-size, 40px) - 1px); width: calc(var(--toot-avatar-size, 40px) - 1px);
aspect-ratio: 1/1; aspect-ratio: 1/1;
object-fit: contain; object-fit: contain;