backdrop-contrib / tocbot

Builds a table of contents (TOC) from content headings.
GNU General Public License v2.0
2 stars 2 forks source link

Improve styling in Tocbot block #30

Closed olafgrabienski closed 4 years ago

olafgrabienski commented 4 years ago

(1) Remove text-decoration: Many current browsers style all links by default with text-decoration: underline. With text-decoration of links, the Tocbot block looks quite nervous. In my opinion, the links looks better when not underlined.

(2) Adjust height and position of current item marker: The green markers aren't big enough and look out of alignment.

olafgrabienski commented 4 years ago

Here's a text-decoration comparison:

With text-decoration (underline)

screen-tocbot-text-decoration

Without text-decoration

screen-tocbot-text-decoration-none