mirror of
https://github.com/alphapapa/solarized-everything-css
synced 2024-11-15 00:12:44 +00:00
3d9491a084
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.
32 lines
671 B
Stylus
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 |