add mentions

This commit is contained in:
2025-12-02 06:13:50 +03:00
parent 414298b4b4
commit 1d5d5a8c64
28 changed files with 366 additions and 64 deletions

View File

@@ -1369,3 +1369,36 @@ $motd_content_padding_right: 25% !default;
font-weight: bold;
font-size: larger;
}
$mention_font_color: $DEFAULT_FONT_COLOR_INVERSE !default;
$mention_font_color_hover: $DEFAULT_FONT_COLOR !default;
$mention_background_color: $DARK_2 !default;
$mention_background_color_me: color.adjust($DARK_2, $hue: 90) !default;
$mention_background_color_hover: $LIGHT_2 !default;
$mention_border_me: 1px dashed;
$mention_padding: $SMALL_PADDING !default;
$mention_border_radius: $DEFAULT_BORDER_RADIUS !default;
a.mention, a.mention:visited {
display: inline-block;
color: $mention_font_color;
background-color: $mention_background_color;
padding: $mention_padding;
border-radius: $mention_border_radius;
text-decoration: none;
&.display {
text-decoration: underline;
text-decoration-style: dashed;
}
&.me {
background-color: $mention_background_color_me;
border: $mention_border_me;
}
&:hover {
background-color: $mention_background_color_hover;
color: $mention_font_color_hover;
}
}