This commit is contained in:
parent
ed6ab30dde
commit
f5ad3727d2
1 changed files with 26 additions and 1 deletions
|
@ -312,7 +312,7 @@ footer p {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.tag {
|
||||
.tag, .mention {
|
||||
background: var(--accent);
|
||||
color: var(--background);
|
||||
padding: .3em .4em;
|
||||
|
@ -334,6 +334,31 @@ h2 .tag {
|
|||
color: white;
|
||||
}
|
||||
|
||||
.mention {
|
||||
font-family: var(--font-main);
|
||||
font-weight: var(--font-main-weight);
|
||||
position: relative;
|
||||
margin-left: 1.6em;
|
||||
}
|
||||
|
||||
.mention::before {
|
||||
content: '📢';
|
||||
position: absolute;
|
||||
margin-left: -2em;
|
||||
}
|
||||
|
||||
.mention::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -0.35em;
|
||||
top: calc(50% - 0.4em);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border: 0.4em solid transparent;
|
||||
border-right-color: var(--accent);
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
height: 1px;
|
||||
|
|
Loading…
Reference in a new issue