chharvey / chharvey.github.io

My personal web site.
https://chharvey.github.io/
MIT License
4 stars 1 forks source link

nested list spacing #45

Closed chharvey closed 9 years ago

chharvey commented 9 years ago

fix issue with nested lists. e.g.:

ol.Olist
    li.Item a[href=""] some link
        ol.Olist#thisone
            li.Item another item

#thisone will have a margin-top because it is technically after a non-heading. we don't want this to happen.

chharvey commented 9 years ago

as a reminder: this issue was fixed with the following CSS (abridged):

.Olist.Outline {
    .Outline { .vru-top(0); }
}

note that this will only be fixed with lists classed .Olist.Outline. Not all lists within lists will behave the same way.