From: Kefu Chai Date: Mon, 16 Mar 2020 09:26:06 +0000 (+0800) Subject: doc/_static/css: fine tune the spacing X-Git-Tag: v15.2.0~42^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c555a4e10df3810a12037a68b104f14af26c7efd;p=ceph.git doc/_static/css: fine tune the spacing * `ul.simple > li` is also used in front page, where the items are too sparse now. so we need to restore the default spacing. * `ul.simple > li > ul > li:last-child` is used to control the spacing between nested unordered list. we need have more spacing there. * `div.section > ul > li > p` is added to decrease the spacing of nested list items. Signed-off-by: Kefu Chai --- diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index bb77b4f72536..c44ccb450b5e 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -1,4 +1,8 @@ -ul.simple > li { - margin-block-begin : 1em; +ul.simple > li > ul > li:last-child { margin-block-end : 1em; } + +div.section > ul > li > p { + margin-block-start : 0.6em; + margin-block-end : 0.6em; +}