phanpy/src/components/name-text.css
2024-02-21 09:56:55 +08:00

28 lines
516 B
CSS

.name-text {
color: inherit;
text-decoration: none;
display: inline;
unicode-bidi: isolate;
b {
font-weight: 500;
unicode-bidi: isolate;
}
}
.name-text.show-acct {
display: inline-block;
}
a.name-text:is(:hover, :focus) b,
a.name-text.short:is(:hover, :focus) i {
text-decoration: underline;
text-decoration-color: var(--text-insignificant-color);
}
.name-text i {
font-style: normal;
opacity: 0.75;
}
.name-text .avatar {
vertical-align: middle;
transform: translateY(-0.1em);
}