From a9956d67f50fe1b493801f0ba90191afda1bed09 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Sat, 31 Dec 2022 11:12:46 +0100
Subject: [PATCH] tweaks

---
 assets/sass/_theme/design-system/layout.sass     | 7 +++++--
 assets/sass/_theme/design-system/typography.sass | 8 +++++++-
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/assets/sass/_theme/design-system/layout.sass b/assets/sass/_theme/design-system/layout.sass
index ea0d0078..f495a624 100644
--- a/assets/sass/_theme/design-system/layout.sass
+++ b/assets/sass/_theme/design-system/layout.sass
@@ -43,8 +43,11 @@ iframe
     .hero + &
         margin-top: $spacing3
 
-ul
-    padding-left: $spacing0
+ul,
+ol
+    // https://since1979.dev/aligning-your-lists-with-your-text/
+    padding-left: 0
+    list-style-position: inside
 
 .document-content
     .container > .lead
diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass
index b53b14fd..d80a093d 100644
--- a/assets/sass/_theme/design-system/typography.sass
+++ b/assets/sass/_theme/design-system/typography.sass
@@ -203,7 +203,8 @@ p
 p:empty
     display: none
 
-p + ul
+p + ul,
+p + ol
     margin-top: 0
 
 figcaption
@@ -256,6 +257,11 @@ abbr, abbr[title]
     color: $color-background
     text-shadow: none
 
+sub,
+sup
+    font-size: 60%
+    margin-left: px2rem(2)
+
 *:focus-visible
     outline-color: gray
     outline-offset: 5px
-- 
GitLab