Skip to content

Commit

Permalink
cleanup: Make the time show a blink if it the time is bold (not span)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Apr 28, 2024
1 parent 553212b commit fb09ccd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

- Remove dublicated styles that are now provided by `normalize.css`

- Provide a easier way to make the time blink in the `time` tag (now using bold instead of `span`)

### Fix(es)

- Allow a changable dark mode background color for code snippets
Expand All @@ -30,4 +32,4 @@

### Features

- **spoiler:** Provide a way to show spoilers while blurring the text
- **spoiler:** Provide a way to show spoilers while blurring the text
5 changes: 3 additions & 2 deletions styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ time {
font-size: 0.875rem;
cursor: pointer;

span {
strong {
display: inline-block;
font-weight: 700;
animation: blink 0.7s infinite alternate;
}

Expand All @@ -255,7 +256,7 @@ time {
font-weight: 800;
padding-top: 0.25rem;

span {
strong {
animation: none;
}
}
Expand Down

0 comments on commit fb09ccd

Please sign in to comment.