74 lines
No EOL
1.1 KiB
CSS
74 lines
No EOL
1.1 KiB
CSS
/*These must apply to all child attributes*/
|
|
::deep {
|
|
.mention {
|
|
text-decoration: none;
|
|
background-color: var(--highlight-color);
|
|
border-radius: 1em;
|
|
padding: 0.2em 0.5em;
|
|
|
|
> .host {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
> .user {
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.mention {
|
|
text-decoration: none;
|
|
color: var(--notice-color);
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.emoji {
|
|
display: inline;
|
|
position: relative;
|
|
top: 0;
|
|
|
|
> img {
|
|
height: 2em;
|
|
vertical-align: middle;
|
|
transition-duration: 250ms;
|
|
}
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.emoji {
|
|
> img:hover {
|
|
transform: scale(1.5);
|
|
transition-duration: 250ms;
|
|
}
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.quote-node {
|
|
/*Copying the appearance of -js*/
|
|
margin: 8px 0;
|
|
padding-left: 12px;
|
|
border-left: solid 4px var(--highlight-color);
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.hashtag-node {
|
|
text-decoration-line: none;
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.hashtag-node:hover {
|
|
text-decoration-line: underline;
|
|
}
|
|
}
|
|
|
|
::deep {
|
|
.plain {
|
|
text-decoration: none;
|
|
}
|
|
} |