phanpy/src/components/name-text.css

34 lines
602 B
CSS
Raw Normal View History

2022-12-10 12:14:48 +03:00
.name-text {
color: inherit;
text-decoration: none;
2023-04-08 11:52:04 +03:00
display: inline;
2024-02-20 12:51:17 +03:00
unicode-bidi: isolate;
2024-02-06 12:28:18 +03:00
b {
font-weight: 500;
2024-02-20 12:51:17 +03:00
unicode-bidi: isolate;
2024-02-06 12:28:18 +03:00
}
i {
font-variant-numeric: slashed-zero;
font-feature-settings: 'ss01';
}
}
.name-text.show-acct {
2022-12-10 12:14:48 +03:00
display: inline-block;
}
2022-12-29 11:11:58 +03:00
a.name-text:is(:hover, :focus) b,
a.name-text.short:is(:hover, :focus) i {
2022-12-10 12:14:48 +03:00
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;
2023-04-08 11:52:04 +03:00
transform: translateY(-0.1em);
}