openownership / data-standard-sphinx-theme

Documentation theme for the Beneficial Ownership Data Standard.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Nicely styling in-page TOCs would make navigation more pleasant #20

Closed kd-ods closed 4 years ago

kd-ods commented 6 years ago

For example this page currently looks like this:

image

Even just having each list item styled as a big button would improve the look and feel. (TBH I don't think there's an existing style in Matt's work that can be applied here; the button styles aren't quite right.)

Maybe this is something we could ask Matt to look at when he works with us on 12th June?

odscjames commented 6 years ago

I don't know about just a button - I think if we were going down that route something else would be needed ....

(Also to note this screen-shot has changed - now has underlines)

kd-ods commented 6 years ago

I think this improves it a bit:

div.oods-main-document div.toctree-wrapper ul { list-style-type: none; border-left: 6px solid #eee; margin: 50px 0 50px 20%; }

div.oods-main-document div.toctree-wrapper ul li { margin-bottom: 20px; }

odscjames commented 6 years ago

Applied - I'm not sure about the % for the top margin measurement tho, but that's a tiny detail for later.

stevenday commented 4 years ago

I'm closing this, as I think it's either done, or out of date. Please re-open if not