瀏覽代碼

Merge branch 'master' of ssh://gitea.yvvas.com:4022/craft-in-america/vue-wp

tags/0.9.0
J 4 年之前
父節點
當前提交
1a9c348653
共有 1 個文件被更改,包括 32 次插入4 次删除
  1. 32
    4
      vue-theme/editor-style.css

+ 32
- 4
vue-theme/editor-style.css 查看文件

@@ -1,3 +1,30 @@
1
+/* space above title */
2
+.edit-post-visual-editor__post-title-wrapper {
3
+    margin-top: 1em;
4
+}
5
+
6
+/* Editor Main column width */
7
+.wp-block {
8
+    max-width: 805px;
9
+    /* padding: 0 !important; */
10
+    margin: 0 auto 0.5em auto;
11
+}
12
+
13
+/* Editor column width lists */
14
+.wp-block-post-template.is-flex-container li, .wp-block-query-loop.is-flex-container li {
15
+    margin: 0 !important;
16
+}
17
+
18
+/* Editor Width of "wide" blocks */
19
+.wp-block[data-align='wide'] {
20
+    max-width: 1080px;
21
+}
22
+ 
23
+/* Editor Width of "full-wide" blocks */
24
+.wp-block[data-align='full'] {
25
+    max-width: none;
26
+}
27
+
1 28
 body {
2 29
     font-family: Questrial, sans-serif;
3 30
     color: #0d0d0d;
@@ -6,15 +33,16 @@ body {
6 33
 p{
7 34
     line-height: 1.4;
8 35
     margin-top: 0;
9
-    margin-bottom: 1em;
36
+    margin-bottom: 1em !important;
10 37
 }
11 38
 a {
12
-    color: $cia_grey;
13
-    /* text-decoration: none,  leave for now to show links underlined */
39
+    color: #a10000;
40
+    /* leave underline to show links when editing */
41
+    /* text-decoration: none; */
14 42
 }
15 43
 a &:hover {
16 44
     cursor: pointer;
17
-    color: $cia_black;
45
+    color: black;
18 46
 }
19 47
 /* common */
20 48
 /* h1, h2, h3, h4, h5, h6 { 

Loading…
取消
儲存