Alej hace 4 años
padre
commit
6ac36e4b86
Se han modificado 2 ficheros con 6 adiciones y 10 borrados
  1. 2
    4
      vue-theme/src/app.vue
  2. 4
    6
      vue-theme/src/pages/index.vue

+ 2
- 4
vue-theme/src/app.vue Ver fichero

61
                 /* Block Shadow Thing */
61
                 /* Block Shadow Thing */
62
                 .shadow
62
                 .shadow
63
                     box-shadow: rgba(0 0 0 / 15%) 0.3px 0.5px 1.5px 0.5px
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
                 /* Content Pieces excluding index*/
65
                 /* Content Pieces excluding index*/
68
                 .post
66
                 .post
69
-                    /* background-color: teal */
67
+                    /* bg for list pages */
70
                     background-color: white
68
                     background-color: white
71
                     margin: 0 0 $ms-0
69
                     margin: 0 0 $ms-0
72
                     &--title
70
                     &--title

+ 4
- 6
vue-theme/src/pages/index.vue Ver fichero

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

Loading…
Cancelar
Guardar