Przeglądaj źródła

typography styling - padding on paragraph headings

tags/0.9.0
Alej 4 lat temu
rodzic
commit
8b5b520628
1 zmienionych plików z 22 dodań i 1 usunięć
  1. 22
    1
      vue-theme/src/sss/_typography.sss

+ 22
- 1
vue-theme/src/sss/_typography.sss Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz