aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2024-09-08 17:30:38 +0300
committerTolmachev Igor <me@igorek.dev>2024-09-08 17:30:38 +0300
commit1a13444c3b74c2f39c3a29c964f68ed25dde0b89 (patch)
tree3bcd4a1dd6b035cd92e0fbd9a369016ffdcf3e10
parentcd35e04e31007c9eef2bc48fc5cc8648289d6a1e (diff)
downloadpages-1a13444c3b74c2f39c3a29c964f68ed25dde0b89.tar.gz
pages-1a13444c3b74c2f39c3a29c964f68ed25dde0b89.zip
Fix margin for first and last elements
-rw-r--r--style.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/style.css b/style.css
index 3fd6fc4..63c7225 100644
--- a/style.css
+++ b/style.css
@@ -78,10 +78,14 @@ main {
78 padding: 1.5em; 78 padding: 1.5em;
79} 79}
80 80
81h1 { 81main :first-child {
82 margin-top: 0; 82 margin-top: 0;
83} 83}
84 84
85main :last-child {
86 margin-bottom: 0;
87}
88
85a, 89a,
86.copy, 90.copy,
87.add { 91.add {