浏览代码

tweak editor styles to match published

tags/1.0.3
Alej 3 年前
父节点
当前提交
f3b8d52c91
共有 1 个文件被更改,包括 20 次插入14 次删除
  1. 20
    14
      vue-theme/editor-style.css

+ 20
- 14
vue-theme/editor-style.css 查看文件

@@ -6,7 +6,6 @@
6 6
 /* Editor Main column width */
7 7
 .wp-block {
8 8
     max-width: 805px;
9
-    /* padding: 0 !important; */
10 9
     margin: 0 auto 0.5em auto;
11 10
 }
12 11
 
@@ -25,6 +24,25 @@
25 24
     max-width: none;
26 25
 }
27 26
 
27
+.wp-block-group {
28
+    padding: 0.1em !important;
29
+}
30
+
31
+.wp-block-columns {
32
+    grid-gap: 1em !important; 
33
+}
34
+
35
+.wp-block-image figcaption {
36
+    position: inherit !important;
37
+    background: none !important;
38
+    color: black !important;
39
+    max-height: 5% !important;
40
+    overflow: visible !important;
41
+    padding: 0 !important;
42
+    margin-bottom: 1.9699em !important
43
+
44
+}
45
+
28 46
 body {
29 47
     font-family: Questrial, sans-serif;
30 48
     color: #0d0d0d;
@@ -32,7 +50,7 @@ body {
32 50
 }
33 51
 
34 52
 p {
35
-    line-height: 1.4;
53
+    line-height: 1.2;
36 54
     margin-top: 0;
37 55
     margin-bottom: 1em !important;
38 56
 }
@@ -120,15 +138,3 @@ hr .wp-block-separator, .is-style-dots:before {
120 138
     letter-spacing: 4em;
121 139
     padding-left: 4em;
122 140
 }
123
-    
124
-.wp-block-image figcaption {
125
-    position: inherit !important;
126
-    background: none !important;
127
-    color: black !important;
128
-    max-height: 5% !important;
129
-    overflow: visible !important;
130
-    padding: 0 !important;
131
-    margin-bottom: 0.75em !important;
132
-
133
-}
134
-

正在加载...
取消
保存