Skip to content

Commit a6ac9e5

Browse files
committed
css: Style .isso-target
1 parent 203a626 commit a6ac9e5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

isso/css/isso.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,19 @@
162162
display: none;
163163
}
164164

165+
/* "target" means the comment that's being linked to, for example:
166+
* https://example.com/blog/example/#isso-15
167+
*/
168+
.isso-target {
169+
animation: isso-target-fade 5s ease-out;
170+
}
171+
@keyframes isso-target-fade {
172+
0% { background-color: #eee5a1; }
173+
/* This color should be changed when used on a dark background,
174+
* maybe #3f3c1c for example
175+
*/
176+
}
177+
165178
.isso-postbox {
166179
max-width: 68em;
167180
margin: 0 auto 2em;

0 commit comments

Comments
 (0)