Przeglądaj źródła

adjust styles for comment with markdown

Yuki Takei 7 lat temu
rodzic
commit
6ac0abaef1
1 zmienionych plików z 8 dodań i 1 usunięć
  1. 8 1
      resource/styles/scss/_wiki.scss

+ 8 - 1
resource/styles/scss/_wiki.scss

@@ -152,6 +152,10 @@ div.body {
     h1, h2, h3, h4, h5, h6 {
     h1, h2, h3, h4, h5, h6 {
       margin-top: 1.6em * $ratio;
       margin-top: 1.6em * $ratio;
       margin-bottom: .8em * $ratio;
       margin-bottom: .8em * $ratio;
+
+      &:first-child {
+        margin-top: 15px;
+      }
     }
     }
 
 
     h1 {
     h1 {
@@ -178,8 +182,11 @@ div.body {
     }
     }
 
 
     ul, ol {
     ul, ol {
+      padding-left: 15px;
+      margin: 10px 0;
+
       li {
       li {
-        line-height: 1.8em * $ratio;
+        line-height: 1.1em;
       }
       }
     }
     }