dlab-berkeley / python-berkeley

python resources of berkeley curated at a place
Other
46 stars 49 forks source link

Fix spacing after the end of lists #15

Closed davclark closed 9 years ago

davclark commented 10 years ago

Currently, the CSS eliminates spaces after lists. This is good for when you have embedded lists, but is otherwise annoying. Madoka recommended this:

Style.css Line:454

----- Before ----- p, ul, ol, dl, img { margin-top: 0; /margin-bottom: @line-height / @em;/ }

----- After ----- p, ul, ol, dl, img { margin-top: 0; margin-bottom: @line-height / @em; } ul ul, ol ul, dl ul, ul ol, ol ol, dl ol, ul dl, ol dl, dl dl{ margin-bottom: 0; }


Rochelle recommended this, but we agreed that it needs refining:

In line 683:

.unit-article ul { list-style: square; -webkit-margin-after: 1em; <-- Add this line }

Maybe there is some fancy LESS way to do this?

davclark commented 9 years ago

Thanks @madokawada!