浏览代码

minor chages - added breadcrumb to top of page, styling change to list image size

tags/0.9.0
Alej 4 年前
父节点
当前提交
ee1823dd2d
共有 1 个文件被更改,包括 13 次插入7 次删除
  1. 13
    7
      vue-theme/src/pages/single.vue

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

7
             p loading...
7
             p loading...
8
     article(v-else).f-grow.shadow
8
     article(v-else).f-grow.shadow
9
         header
9
         header
10
+            //- breadcrumb links here at top of page, needs link routing
11
+            h3.t-up.breadcrumb {{ type }}/{{ post.title }}
12
+            
10
             h1 {{ type }}:{{ $route.params.slug }} {{ post.title }}
13
             h1 {{ type }}:{{ $route.params.slug }} {{ post.title }}
11
             p(v-if="post.categories") categories: {{ post.categories }}
14
             p(v-if="post.categories") categories: {{ post.categories }}
12
             p(v-if="post.type") type: {{ post.type }}
15
             p(v-if="post.type") type: {{ post.type }}
25
             h2.t-up featured in this episode
28
             h2.t-up featured in this episode
26
             ul
29
             ul
27
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
30
                 li.f-row.between(v-for="artist in p2pPostsByType['artist']")
28
-                    img(src="https://i1.wp.com/www.craftinamerica.org/wp-content/uploads/2020/09/20200210_133120-e1599254267307.jpg")
31
+                    img.feature(src="https://i1.wp.com/www.craftinamerica.org/wp-content/uploads/2020/09/20200210_133120-e1599254267307.jpg")
29
                     .f-col
32
                     .f-col
30
                         h2.t-up {{ artist.title }}
33
                         h2.t-up {{ artist.title }}
31
                         p {{ artist.excerpt }}
34
                         p {{ artist.excerpt }}
208
 @import '../sss/theme.sss'
211
 @import '../sss/theme.sss'
209
 .page--single
212
 .page--single
210
     article
213
     article
214
+        h3.breadcrumb
215
+            color: yellow
211
         ul
216
         ul
212
-            grid-gap: $ms-0
217
+            /* grid-gap: $ms-0 */
213
             list-style: none
218
             list-style: none
214
-            img
215
-                width: 50%
219
+            /* change to a 1/3 width of the article*/
220
+            img.feature
221
+                width: 20em 
216
             li
222
             li
217
-        /* responsive iframe embeds */
218
-        /* .iframe-container 
223
+        /* responsive iframe embeds 16:9 */
224
+        .iframe-container 
219
             position: relative
225
             position: relative
220
             width: 100% 
226
             width: 100% 
221
             padding-bottom: 56.25% 
227
             padding-bottom: 56.25% 
225
             top: 0px 
231
             top: 0px 
226
             left: 0px 
232
             left: 0px 
227
             width: 100% 
233
             width: 100% 
228
-            height: 100%  */
234
+            height: 100% 
229
         
235
         
230
 @media (min-width: $medium)
236
 @media (min-width: $medium)
231
     .page--single.f-col
237
     .page--single.f-col

正在加载...
取消
保存