Преглед изворни кода

typography - line height set, p, h2 margins

tags/0.9.0
Alej пре 4 година
родитељ
комит
8c02872f03
1 измењених фајлова са 7 додато и 4 уклоњено
  1. 7
    4
      vue-theme/src/sss/_typography.sss

+ 7
- 4
vue-theme/src/sss/_typography.sss Прегледај датотеку

@@ -8,6 +8,9 @@
8 8
         text-align: left
9 9
     &-right
10 10
         text-align: right
11
+    &-justify
12
+        text-align: justify
13
+        text-justify: inter-word
11 14
     &-b
12 15
         font-weight: 800
13 16
     &-i
@@ -35,8 +38,8 @@ h1, h2, h3, h4, h5, h6 /* common */
35 38
     margin-right: 0
36 39
 p 
37 40
     font-size: $ms-0
38
-    /* margin-top: 1em */
39
-    margin-top: $ms-0
41
+    line-height: 1.4
42
+    /* margin-top: $ms-0 */
40 43
     margin-bottom: $ms-0
41 44
 
42 45
 h1
@@ -46,8 +49,8 @@ h1
46 49
 
47 50
 h2
48 51
     font-size: $ms-3
49
-    /* margin-top: 0.8em */
50
-    margin-bottom: $ms--1
52
+    margin-top: 0.8em
53
+    /* margin-bottom: $ms--1 */
51 54
 h3
52 55
     font-size: $ms-2
53 56
     /* margin-top: 1em */

Loading…
Откажи
Сачувај