瀏覽代碼

adjust styling - set colours to cia theme, added single article footer icon

tags/0.9.0
Alej 4 年之前
父節點
當前提交
68a79ad6b1
共有 1 個文件被更改,包括 27 次插入6 次删除
  1. 27
    6
      vue-theme/src/pages/single.vue

+ 27
- 6
vue-theme/src/pages/single.vue 查看文件

@@ -8,11 +8,12 @@
8 8
     article(v-else).f-grow.shadow
9 9
         header
10 10
             //- breadcrumb links here at top of page, needs link routing
11
-            h3.t-up.breadcrumb {{ type }}/{{ post.title }}
11
+            h3.t-up.breadcrumb {{ type }} / {{ post.title }}
12 12
             
13
-            h1 {{ type }}:{{ $route.params.slug }} {{ post.title }}
14
-            p(v-if="post.categories") categories: {{ post.categories }}
15
-            p(v-if="post.type") type: {{ post.type }}
13
+            //- h1 {{ type }}:{{ $route.params.slug }} {{ post.title }}
14
+            h1.t-cntr.t-b  {{ post.title }}
15
+            //- p(v-if="post.categories") categories: {{ post.categories }}
16
+            //- p(v-if="post.type") type: {{ post.type }}
16 17
             p(v-if="post.subtypes") subtypes: {{ post.subtypes }}
17 18
 
18 19
             .date-info(v-if="type === 'events' || post.type === 'exhibitions'")
@@ -30,6 +31,10 @@
30 31
             
31 32
         credits(v-if="type === 'episodes' && post" :post="post")
32 33
 
34
+        //- end of article icon     
35
+        footer.f-col
36
+            img(src="../star.svg")
37
+
33 38
     sidebar(v-if="sidebar" :type="`${type}`" layout="single" :related="p2pPostsByType")
34 39
 </template>
35 40
 
@@ -206,8 +211,16 @@ export default {
206 211
 @import '../sss/theme.sss'
207 212
 .page--single
208 213
     article
214
+        padding: $ms-1
215
+        h1
216
+            color: $cia_black
217
+            /* font-weight: 800 */
218
+            padding: $ms--3 0
209 219
         h3.breadcrumb
210
-            color: yellow
220
+            /* color: orange */
221
+            color: $cia_red
222
+            font-weight: 400
223
+            padding: $ms--3 0
211 224
         > ul
212 225
             /* grid-gap: $ms-0 */
213 226
             list-style: none
@@ -226,7 +239,15 @@ export default {
226 239
             top: 0px 
227 240
             left: 0px 
228 241
             width: 100% 
229
-            height: 100% 
242
+            height: 100%
243
+        
244
+        //- end of article icon
245
+        footer
246
+            padding: $ms-6 0
247
+            img
248
+                height: $ms-3
249
+                width: $ms-3
250
+
230 251
         
231 252
 @media (min-width: $medium)
232 253
     .page--single.f-col

Loading…
取消
儲存