Преглед изворни кода

style adjust - hero heading , nav dropdown type

tags/0.9.0
Alej пре 4 година
родитељ
комит
cb1d9a4fbd

+ 8
- 2
vue-theme/src/components/hero.vue Прегледај датотеку

@@ -13,7 +13,7 @@
13 13
             button(v-if="showPlaybutton" @click="isPlaying = true") play
14 14
     .hero--image(v-else-if="heroType === 'image'")
15 15
         .hero--image--overlay.f-col
16
-            div(v-html="heroText")
16
+            h2.t-up.t-cntr(v-html="heroText")
17 17
         img(:src="showHero" alt="hero alt image")
18 18
     .hero--image(v-else)
19 19
         .hero--image--overlay.f-col
@@ -77,6 +77,8 @@ export default {
77 77
 </script>
78 78
 
79 79
 <style lang="postcss">
80
+@import './../sss/theme.sss'
81
+
80 82
 .hero
81 83
     /* background-color: rebeccapurple */
82 84
     min-height: 35%
@@ -86,10 +88,14 @@ export default {
86 88
         > img
87 89
             width: 100%
88 90
         &--overlay
89
-            color: #ffffff
91
+            color: $cia_white
90 92
             position: absolute
91 93
             top: 30%
92 94
             width: 100%
95
+            h2 
96
+                color: $cia_white
97
+                text-shadow: 1px 1px $cia_black
98
+                max-width: 80vh
93 99
     .embedded
94 100
         height: 100%
95 101
         width: 100%

+ 1
- 1
vue-theme/src/components/navigation/navigation.vue Прегледај датотеку

@@ -26,7 +26,7 @@ nav.main.w-max
26 26
         ul.drop-down.w-max
27 27
             li(v-for="item in menuItems")
28 28
                 router-link(:to="`/${item}`")
29
-                    h5.t-up {{ item }}
29
+                    h6.t-up {{ item }}
30 30
 </template>
31 31
 
32 32
 <script>

Loading…
Откажи
Сачувај