Make emoji class available outside of comments

This commit is contained in:
daudix
2024-10-17 06:25:52 +03:00
parent 36812777f9
commit d60dfa8496
5 changed files with 18 additions and 17 deletions

View File

@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Make `emoji` class available outside of comments.
- Make the code and styling for article cards much cleaner. - Make the code and styling for article cards much cleaner.
- Remove top/bottom margin from the first/last element in `<aside>`. - Remove top/bottom margin from the first/last element in `<aside>`.
- Rename `show_read_time` to `show_reading_time`. - Rename `show_read_time` to `show_reading_time`.

View File

@ -174,20 +174,6 @@
} }
} }
.emoji {
all: unset;
display: inline-block;
vertical-align: middle;
transition: var(--transition);
cursor: zoom-in;
width: 1.5em;
height: 1.5em;
&:hover {
transform: scale(2);
}
}
.mention { .mention {
display: inline-block; display: inline-block;
transition: var(--transition); transition: var(--transition);

13
sass/_emoji.scss Normal file
View File

@ -0,0 +1,13 @@
.emoji {
all: unset;
display: inline-block;
vertical-align: middle;
transition: var(--transition);
cursor: zoom-in;
width: 1.5em;
height: 1.5em;
&:hover {
transform: scale(2);
}
}

View File

@ -15,6 +15,7 @@
@use "code"; @use "code";
@use "comments"; @use "comments";
@use "crt"; @use "crt";
@use "emoji";
@use "external"; @use "external";
@use "footer"; @use "footer";
@use "footnotes-list"; @use "footnotes-list";