Skip to content

Commit

Permalink
css: Style .isso-target
Browse files Browse the repository at this point in the history
  • Loading branch information
BBaoVanC committed May 15, 2022
1 parent 203a626 commit a6ac9e5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions isso/css/isso.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,19 @@
display: none;
}

/* "target" means the comment that's being linked to, for example:
* https://example.com/blog/example/#isso-15
*/
.isso-target {
animation: isso-target-fade 5s ease-out;
}
@keyframes isso-target-fade {
0% { background-color: #eee5a1; }
/* This color should be changed when used on a dark background,
* maybe #3f3c1c for example
*/
}

.isso-postbox {
max-width: 68em;
margin: 0 auto 2em;
Expand Down

0 comments on commit a6ac9e5

Please sign in to comment.