This .mention style is going global

This commit is contained in:
Lim Chee Aun 2022-12-10 19:16:43 +08:00
parent b26f1204c7
commit ac87f557d6
2 changed files with 16 additions and 19 deletions

View file

@ -13,6 +13,22 @@ html, body {
justify-content: center;
}
/* MENTIONS */
a.mention {
text-decoration-line: none;
}
a.mention span {
text-decoration-line: underline;
text-decoration-color: inherit;
}
a.hashtag {
color: var(--link-light-color);
}
:is(a.hashtag, a.u-url) span{
color: var(--text-color);
}
.deck-container {
width: 100%;
height: 100vh;

View file

@ -150,25 +150,6 @@
.status .content .ellipsis::after {
content: '…';
}
.status:hover .content a {
text-decoration-line: underline;
}
.status .content a.mention {
text-decoration-line: none;
}
.status .content a.mention span {
text-decoration-line: underline;
text-decoration-color: inherit;
}
.status .content a.hashtag {
color: var(--link-light-color);
}
.status .content a.hashtag span{
color: var(--text-color);
}
.status .content a.u-url span{
color: var(--text-color);
}
.status.large .content {
font-size: 150%;
}