Explorar o código

Improve Git stylesheet

Thibaut %!s(int64=12) %!d(string=hai) anos
pai
achega
27013b977c
Modificáronse 1 ficheiros con 16 adicións e 1 borrados
  1. 16 1
      assets/stylesheets/pages/_git.scss

+ 16 - 1
assets/stylesheets/pages/_git.scss

@@ -1,7 +1,22 @@
 ._git {
+  padding-left: 1rem;
+
+  > h1,
+  > h2,
+  > .reference-menu,
+  > .callout,
+  > h1 + .sectionbody {
+    margin-left: -1rem;
+  }
+
   > h2 { @extend %block-heading; }
   h3 { font-size: 1rem; }
-  > .callout, > h1 + .sectionbody { @extend %note, %note-green; }
+
+  > .callout,
+  > h1 + .sectionbody {
+    @extend %note, %note-green;
+  }
+
   code { @extend %label; }
   em { font-style: normal; }
 }