Topic: CSS highlighting favourite posts

Posted under e621 Tools and Applications

So, this might be a waste of a forum post, but I was looking for any CSS code that might turn the bar under a post yellow. I know it can be done with how blacklisted posts are red. I know there's a way to do it, but as it stands, I've barely learned how to make a sequence in Ren'Py.

here:

/* glow around favorited posts' thumbnails */
.thumbnail[data-is-favorited="true"] { 
--fav-glow: #c80; /* <-- glow color value */
box-shadow: 1.4px -1.4px 4px var(--fav-glow), 1.4px 1.4px 4px var(--fav-glow), -1.4px 1.4px 4px var(--fav-glow), -1.4px -1.4px 4px var(--fav-glow);  }

or, if you want something closer to how the unfiltered blacklist things do it:

/* change post thumb info section color of favorited posts */
.thumbnail[data-is-favorited="true"] .desc { background-color: #c80; }

dba_afish said:
here:

/* glow around favorited posts' thumbnails */
.thumbnail[data-is-favorited="true"] { 
--fav-glow: #c80; /* <-- glow color value */
box-shadow: 1.4px -1.4px 4px var(--fav-glow), 1.4px 1.4px 4px var(--fav-glow), -1.4px 1.4px 4px var(--fav-glow), -1.4px -1.4px 4px var(--fav-glow);  }

or, if you want something closer to how the unfiltered blacklist things do it:

/* change post thumb info section color of favorited posts */
.thumbnail[data-is-favorited="true"] .desc { background-color: #c80; }

The second one is definitely what I'm looking for. Much easier to distinguish, imo.

It would be nice if e6 could add it by default. I've been thinking about why it wasn't that way soon after the blacklisted posts were highlighted.

  • 1