diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-24 12:56:53 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-24 12:56:53 +0800 |
commit | e8092863c53c8f32da8af123876999656d789c2c (patch) | |
tree | 9c436e0265f66142678773189da8438a682151c6 /src/css/style.css | |
parent | b74064cecc09cf97833133b32ab750da52bfd49e (diff) |
feat(CSS): universal margin for <p>
Diffstat (limited to 'src/css/style.css')
-rw-r--r-- | src/css/style.css | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/css/style.css b/src/css/style.css index 34697dc..122e027 100644 --- a/src/css/style.css +++ b/src/css/style.css | |||
@@ -49,6 +49,12 @@ h3 { | |||
49 | p { | 49 | p { |
50 | margin-top: 1em; | 50 | margin-top: 1em; |
51 | margin-bottom: 1em; | 51 | margin-bottom: 1em; |
52 | &:first-child { | ||
53 | margin-top: 0; | ||
54 | } | ||
55 | &:last-child { | ||
56 | margin-bottom: 0; | ||
57 | } | ||
52 | } | 58 | } |
53 | 59 | ||
54 | a { | 60 | a { |