Iceshrimp.NET/Iceshrimp.Frontend/Components/MfmText.razor.css

93 lines
No EOL
1.3 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 {
.link-node {
color: var(--link);
}
}
::deep {
.url-node {
color: var(--link);
}
}
::deep {
.hashtag-node {
text-decoration-line: none;
color: var(--link);
}
}
::deep {
.hashtag-node:hover {
text-decoration-line: underline;
}
}
::deep {
.plain {
text-decoration: none;
}
}
::deep {
.code-pre {
overflow: auto;
}
}