phanpy/src/components/name-text.css
2024-02-06 17:28:18 +08:00

26 lines
464 B
CSS

.name-text {
color: inherit;
text-decoration: none;
display: inline;
b {
font-weight: 500;
}
}
.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);
}