Browse Source

typography styling - padding on paragraph headings

tags/0.9.0
Alej 4 years ago
parent
commit
8b5b520628
1 changed files with 22 additions and 1 deletions
  1. 22
    1
      vue-theme/src/sss/_typography.sss

+ 22
- 1
vue-theme/src/sss/_typography.sss View File

@@ -6,6 +6,8 @@
6 6
         text-align: center
7 7
     &-left
8 8
         text-align: left
9
+    &-right
10
+        text-align: right
9 11
     &-b
10 12
         font-weight: 800
11 13
     &-i
@@ -27,20 +29,39 @@ a
27 29
         cursor: pointer
28 30
 
29 31
 h1, h2, h3, h4, h5, h6 /* common */
30
-    font-weight: 400
32
+    /* font-weight: 400 */
31 33
     display: block
32 34
     margin-left: 0
33 35
     margin-right: 0
36
+p 
37
+    font-size: $ms-0
38
+    /* margin-top: 1em */
39
+    margin-top: $ms-0
40
+    margin-bottom: $ms-0
41
+
34 42
 h1
35 43
     font-size: $ms-4
44
+    margin-top: $ms--3
45
+    margin-bottom: $ms--3   
46
+
36 47
 h2
37 48
     font-size: $ms-3
49
+    /* margin-top: 0.8em */
50
+    margin-bottom: $ms--1
38 51
 h3
39 52
     font-size: $ms-2
53
+    /* margin-top: 1em */
54
+    margin-bottom: $ms-0
40 55
 h4
41 56
     font-size: $ms-1
57
+    /* margin-top: 1.33em */
58
+    margin-bottom: $ms-1
42 59
 h5
43 60
     font-size: $ms-0
61
+    /* margin-top: 1.6em */
62
+    margin-bottom: $ms-2
44 63
 h6
45 64
     font-size: $ms--1
65
+    /* margin-top: 2em */
66
+    margin-bottom: $ms-3
46 67
     

Loading…
Cancel
Save