Jelajahi Sumber

post styles

Artur Paikin 8 tahun lalu
induk
melakukan
239f4c5c2c
1 mengubah file dengan 11 tambahan dan 1 penghapusan
  1. 11 1
      website/themes/uppy/source/css/_page.scss

+ 11 - 1
website/themes/uppy/source/css/_page.scss

@@ -155,11 +155,13 @@
     margin-left: 20px;
     margin-left: 20px;
   }
   }
 
 
+  .post h1,
   > h1 { margin: 0 0 0.7em; }
   > h1 { margin: 0 0 0.7em; }
 
 
+  .post h2,
   > h2 {
   > h2 {
     font-size: 1.3em;
     font-size: 1.3em;
-    margin: 2em 0 .4em 0;
+    margin: 1.6em 0 .4em 0;
     padding-bottom: .2em;
     padding-bottom: .2em;
     position: relative;
     position: relative;
     // border-bottom: 1px solid $color-border;
     // border-bottom: 1px solid $color-border;
@@ -175,6 +177,7 @@
     // }
     // }
   }
   }
 
 
+  .post h3,
   > h3 {
   > h3 {
     margin: 3em 0 1.2em;
     margin: 3em 0 1.2em;
     position: relative;
     position: relative;
@@ -189,27 +192,33 @@
     }
     }
   }
   }
 
 
+  .post h4,
   > h4 {
   > h4 {
     font-size: 0.8em;
     font-size: 0.8em;
   }
   }
 
 
+  .post figure, .post ul, .post ol,
   > figure, > ul, > ol {
   > figure, > ul, > ol {
     margin: 1.2em 0;
     margin: 1.2em 0;
   }
   }
 
 
+  .post p,
   > p {
   > p {
     margin-top: 0;
     margin-top: 0;
     margin-bottom: 0.8em;
     margin-bottom: 0.8em;
   }
   }
 
 
+  .post li,
   > li {
   > li {
     margin-bottom: 0.5em;
     margin-bottom: 0.5em;
   }
   }
 
 
+  .post p, .post ul, .post ol,
   > p, > ul, > ol {
   > p, > ul, > ol {
     line-height: 1.5em;
     line-height: 1.5em;
   }
   }
 
 
+  .post ul, .post ol,
   > ul, > ol {
   > ul, > ol {
     padding-left: 1.5em;
     padding-left: 1.5em;
   }
   }
@@ -219,6 +228,7 @@
     // font-weight: 600;
     // font-weight: 600;
   }
   }
 
 
+  .post blockquote,
   > blockquote {
   > blockquote {
     margin: 1.6em 0;
     margin: 1.6em 0;
     padding-left: 15px;
     padding-left: 15px;