solarized-everything-css/sites/hackernews.styl
Adam Porter 3d9491a084 Fix bug in hackernews.styl
Having a single extra space indenting a child selector (5 spaces instead
of 4) caused the following, correctly indented sibling selector to be an
unparented selector, turning "#hnmain a" into "a", causing it to apply
to all A elements in the page.  And there were no errors from styl.
Wow.
2015-10-09 02:57:31 -05:00

32 lines
671 B
Stylus

// ** Header
#hnmain
> tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1)
background-color orange
a
color emphasized
// ** Articles
.title
a
color()
// ** Comments
#hnmain
> tbody:nth-child(1) > tr:nth-child(3) > td:nth-child(1)
background-color()
.comhead
color emphasized
.c00
color()
// ** Footer
#hnmain
> tbody:nth-child(1) > tr:nth-child(4)
background-color highlight
> td:nth-child(1) > table:nth-child(2) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1)
// Orange bar
background-color orange