From 74bd705b1ce38413cb56b1a8260facf566302e2c Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 28 Apr 2022 00:10:29 +0200 Subject: [PATCH] style(css): margins --- css/21.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/css/21.css b/css/21.css index c80fedf..afb3f40 100644 --- a/css/21.css +++ b/css/21.css @@ -33,6 +33,14 @@ body { line-height: 2rem; } +.content p { + margin: 2rem 0; +} + +.content li { + margin-left: 1.5rem; +} + .content small { font-size: 0.79rem; color: #555; @@ -63,13 +71,12 @@ p>code { } .content ul, .content ol { - margin-top: 15px; - margin-bottom: 15px; + margin-top: 2rem; + margin-bottom: 2rem; } .content li { - margin-bottom: 0.4ex; - line-height: 25px; + margin-bottom: 0.5rem; } .sidebar p {