Przeglądaj źródła

:art: rearranginge bg color for posts

tags/0.9.0
J 4 lat temu
rodzic
commit
fc28d298c9
2 zmienionych plików z 6 dodań i 10 usunięć
  1. 2
    4
      vue-theme/src/app.vue
  2. 4
    6
      vue-theme/src/pages/index.vue

+ 2
- 4
vue-theme/src/app.vue Wyświetl plik

@@ -61,12 +61,10 @@ html
61 61
                 /* Block Shadow Thing */
62 62
                 .shadow
63 63
                     box-shadow: rgba(0 0 0 / 15%) 0.3px 0.5px 1.5px 0.5px
64
-                    border-radius: $ms--2
65
-                    /* background-color: white */
66
-        
64
+                    border-radius: 0.5em
67 65
                 /* Content Pieces excluding index*/
68 66
                 .post
69
-                    /* background-color: teal */
67
+                    /* bg for list pages */
70 68
                     background-color: white
71 69
                     margin: 0 0 $ms-0
72 70
                     &--title

+ 4
- 6
vue-theme/src/pages/index.vue Wyświetl plik

@@ -9,25 +9,25 @@
9 9
         section(v-if="allSticky && Object.keys(allSticky).length").stickies
10 10
             ul.flipped(:class="[`sticky-${Object.keys(allSticky).length}`]")
11 11
                 //- if sticky
12
-                li.shadow(v-for="sticky in allSticky")
12
+                li.shadow.post(v-for="sticky in allSticky")
13 13
                     card(:content="sticky" :type="`${sticky.type}`")
14 14
         
15 15
         //- firstRow: ['episodes', 'exhibitions', 'events', 'shorts', 'posts'], exceprt on episodes only.
16 16
         section
17 17
             ul
18
-                li.shadow(v-for="type in firstRow")
18
+                li.shadow.post(v-for="type in firstRow")
19 19
                     card(:content="firstPostOfType(type)" :type="type")
20 20
         
21 21
         //- secondRow: 'artists', // This is only ONE post, excerpt on artist
22 22
         section.max
23 23
             ul.w-max
24
-                li.shadow(v-for="post in randomPosts.filter(p => p.type == secondRow)")
24
+                li.shadow.post(v-for="post in randomPosts.filter(p => p.type == secondRow)")
25 25
                     card(v-if="post" :content="post" :type="`${post.type}`" :wide="true")
26 26
         
27 27
         //- (thirdRow) firstRow.flipped: ['guides', 'objects', 'techniques', 'talks', 'center'], exceprt on guides only
28 28
         section
29 29
             ul.flipped
30
-                li.shadow(v-for="type in thirdRow")
30
+                li.shadow.post(v-for="type in thirdRow")
31 31
                      .random--wrapper(v-for="post in randomPosts.filter(p => p.type == type)")
32 32
                         card(:content="post" :type="type")
33 33
 </template>
@@ -133,8 +133,6 @@ export default {
133 133
             li
134 134
                 margin: 0
135 135
                 min-height: 10em
136
-                /* background-color: purple */
137
-                background-color: white
138 136
                 /* n1 episode */
139 137
                 &:nth-of-type(1)
140 138
                     grid-column-start: 1

Ładowanie…
Anuluj
Zapisz