Bladeren bron

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

tags/0.9.0
Alej 4 jaren geleden
bovenliggende
commit
ee1823dd2d
1 gewijzigde bestanden met toevoegingen van 13 en 7 verwijderingen
  1. 13
    7
      vue-theme/src/pages/single.vue

+ 13
- 7
vue-theme/src/pages/single.vue Bestand weergeven

@@ -7,6 +7,9 @@
7 7
             p loading...
8 8
     article(v-else).f-grow.shadow
9 9
         header
10
+            //- breadcrumb links here at top of page, needs link routing
11
+            h3.t-up.breadcrumb {{ type }}/{{ post.title }}
12
+            
10 13
             h1 {{ type }}:{{ $route.params.slug }} {{ post.title }}
11 14
             p(v-if="post.categories") categories: {{ post.categories }}
12 15
             p(v-if="post.type") type: {{ post.type }}
@@ -25,7 +28,7 @@
25 28
             h2.t-up featured in this episode
26 29
             ul
27 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 32
                     .f-col
30 33
                         h2.t-up {{ artist.title }}
31 34
                         p {{ artist.excerpt }}
@@ -208,14 +211,17 @@ export default {
208 211
 @import '../sss/theme.sss'
209 212
 .page--single
210 213
     article
214
+        h3.breadcrumb
215
+            color: yellow
211 216
         ul
212
-            grid-gap: $ms-0
217
+            /* grid-gap: $ms-0 */
213 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 222
             li
217
-        /* responsive iframe embeds */
218
-        /* .iframe-container 
223
+        /* responsive iframe embeds 16:9 */
224
+        .iframe-container 
219 225
             position: relative
220 226
             width: 100% 
221 227
             padding-bottom: 56.25% 
@@ -225,7 +231,7 @@ export default {
225 231
             top: 0px 
226 232
             left: 0px 
227 233
             width: 100% 
228
-            height: 100%  */
234
+            height: 100% 
229 235
         
230 236
 @media (min-width: $medium)
231 237
     .page--single.f-col

Laden…
Annuleren
Opslaan