1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc
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
..
css remarkup.css: Consistently zero top/bottom margins for first/last block-level children 2015-01-14 12:15:21 -08:00
externals Fix various lint issues in rJX 2015-01-14 07:59:56 +11:00
favicons Add HiDPI favicons 2014-11-07 17:07:38 -08:00
image Rename group to users in project icons 2015-01-14 10:49:36 -08:00
js Tokenizers - improve algorithm around exact matches. 2015-01-09 14:53:56 -08:00