Commit 7ef0f9f

HPCesia <me@hpcesia.com>
2026-03-22 18:21:17
Make side notes align with main content
1 parent 7a97904
Changed files (1)
src
styles
article
src/styles/article/sidenote.css
@@ -7,7 +7,7 @@
   }
   @variant md {
     @apply w-1/2 mr-[calc(-1/2*100%)] float-right clear-right;
-    @apply pl-4;
+    @apply pl-4 -top-[0.25em];
   }
 
   & > :first-child {
@@ -18,6 +18,6 @@
   }
 
   > nav[role="doc-toc"] > h2 {
-    @apply mt-[0.5em];
+    @apply mt-[0.75em];
   }
 }