瀏覽代碼

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

tags/0.9.0
J 4 年之前
父節點
當前提交
51706582ed

+ 2
- 1
vue-theme/editor-style.css 查看文件

19
 .wp-block[data-align='wide'] {
19
 .wp-block[data-align='wide'] {
20
     max-width: 1080px;
20
     max-width: 1080px;
21
 }
21
 }
22
- 
22
+
23
 /* Editor Width of "full-wide" blocks */
23
 /* Editor Width of "full-wide" blocks */
24
 .wp-block[data-align='full'] {
24
 .wp-block[data-align='full'] {
25
     max-width: none;
25
     max-width: none;
28
 body {
28
 body {
29
     font-family: Questrial, sans-serif;
29
     font-family: Questrial, sans-serif;
30
     color: #0d0d0d;
30
     color: #0d0d0d;
31
+    font-size:15.2px;
31
 }
32
 }
32
 
33
 
33
 p{
34
 p{

+ 6
- 2
vue-theme/src/components/sidebars/sidebar.vue 查看文件

32
         //- single layout Events sidebar
32
         //- single layout Events sidebar
33
         .shadow(v-if="type === 'event'")
33
         .shadow(v-if="type === 'event'")
34
             exhibitions-sidebar
34
             exhibitions-sidebar
35
-        //- single layout Post sidebar
35
+        //- single layout type.post sidebar
36
         .shadow(v-if="type === 'post'")
36
         .shadow(v-if="type === 'post'")
37
             exhibitions-sidebar
37
             exhibitions-sidebar
38
         .shadow(v-if="type === 'post'")
38
         .shadow(v-if="type === 'post'")
39
             events-sidebar
39
             events-sidebar
40
-
40
+        //- single layout page sidebar
41
+        .shadow(v-if="type === 'page'")
42
+            events-sidebar
43
+        .shadow(v-if="type === 'page'")
44
+            exhibitions-sidebar
41
 
45
 
42
 </template>
46
 </template>
43
 
47
 

+ 7
- 0
vue-theme/src/pages/mixin-post-types.js 查看文件

59
             // json.text = post && post.excerpt ? post.excerpt : post.title
59
             // json.text = post && post.excerpt ? post.excerpt : post.title
60
             // json.text = post.title
60
             // json.text = post.title
61
             json.text = post && post.content ? post.content : post.title
61
             json.text = post && post.content ? post.content : post.title
62
+            
63
+            if (post.type === 'page' && post.slug === 'center') {
64
+                json.text = post.title
65
+            }
66
+
67
+
68
+
62
             return json
69
             return json
63
         },
70
         },
64
         _clearHero(store) {
71
         _clearHero(store) {

+ 10
- 7
vue-theme/src/pages/single.vue 查看文件

261
             position: relative
261
             position: relative
262
             width: 100% 
262
             width: 100% 
263
             padding-bottom: 56.25%
263
             padding-bottom: 56.25%
264
-            margin-bottom: $ms-7 
264
+            margin-bottom: 7em
265
             &__wrapper
265
             &__wrapper
266
                 display: contents
266
                 display: contents
267
             /* TBD if kept- edit ot test */
267
             /* TBD if kept- edit ot test */
269
                 position: absolute
269
                 position: absolute
270
                 top: 100%
270
                 top: 100%
271
 
271
 
272
+        /* iframe container 16:9 */
272
         [class^="iframe-container"]
273
         [class^="iframe-container"]
273
             position: relative
274
             position: relative
274
-            width: 100% 
275
-        /* iframe container 16:9 */
276
-        .iframe-container 
277
             padding-bottom: 56.25% 
275
             padding-bottom: 56.25% 
276
+            /* width: 100%  */
278
         /* iframe container portrait */
277
         /* iframe container portrait */
279
         .iframe-container-v
278
         .iframe-container-v
280
             height: 100%
279
             height: 100%
281
             padding-bottom: 125%
280
             padding-bottom: 125%
282
         iframe 
281
         iframe 
282
+            position: absolute
283
+            top: 0 
284
+            left: 0
283
             width: 100% 
285
             width: 100% 
286
+            height: 100%
284
 
287
 
285
         /* separator styles */
288
         /* separator styles */
286
         * hr
289
         * hr
310
 
313
 
311
         breadcrumb
314
         breadcrumb
312
             h5
315
             h5
313
-                /* color: yellow */
314
                 color: $cia_red
316
                 color: $cia_red
315
-                /* font-weight: 400 */
316
-                /* padding: $ms--6 0 */
317
         
317
         
318
         //- end of article icon
318
         //- end of article icon
319
         footer
319
         footer
329
             margin: 0 0.65em 0 0
329
             margin: 0 0.65em 0 0
330
         &.f-col
330
         &.f-col
331
             flex-direction: row
331
             flex-direction: row
332
+            .wp-block-embed, .is-type-video
333
+                margin-bottom: $ms-9 
334
+
332
 </style>
335
 </style>

Loading…
取消
儲存