Re:Show HN: Hacker News Post Coloring Extension to Chromium
by 4684499 on Monday August 27, 2018 @10:05AM
(#17851536)
Actually you can use simple CSS with styling extensions like Stylus to achieve similar effect.
If you want different color for different level of indent, just use attribute selector, like:
[ Parent
| on HN ]
Re:Show HN: Hacker News Post Coloring Extension to Chromium
by Midnightas on Monday August 27, 2018 @10:45AM
(#17851784)
This fails for me, makes the bar a pixel tall.
I knew I overcomplicated it, although I like doing that :P, thanks.
Re:Show HN: Hacker News Post Coloring Extension to Chromium
by 4684499 on Monday August 27, 2018 @11:33AM
(#17852079)
Sorry, I used these lines a few years back, I'm using other styles now so I didn't know it stopped working.
You are right, it's not working.
Edit: OK, I know what's going on now, you need to add this to the code above:
.comtr table {
height: 100%;
}