1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 22:40:55 +01:00
phorge-phorge/webroot/rsrc/css/core
epriestley 2297a43d44 remarkup.css: Consistently zero top/bottom margins for first/last block-level children
Summary:
For block-level elements that have a margin-top or margin-bottom set
(generally to 12px), also reset the appropriate margin to 0 when
they're a first-child or last-child of their parents.

The change doesn't affect nested lists, their selector is more specific.

Test Plan:
Look at some comments or wiki documents that end with different
block elements, verify that the margins are pretty.

Reviewers: epriestley, #blessed_reviewers, chad

Reviewed By: #blessed_reviewers, chad

Subscribers: Korvin, epriestley

Projects: #remarkup

Maniphest Tasks: T6968

Differential Revision: https://secure.phabricator.com/D11382
2015-01-14 12:15:21 -08:00
..
core.css Remove text-rendering CSS rule 2014-12-07 20:08:15 -08:00
remarkup.css remarkup.css: Consistently zero top/bottom margins for first/last block-level children 2015-01-14 12:15:21 -08:00
syntax.css Apple remarkup-code padding to child spans as well. 2014-10-31 10:45:11 -07:00
z-index.css Fix date-picker z-index to be above dialogs 2014-08-14 08:27:07 -07:00