|
|
@@ -18,6 +18,7 @@
|
|
18
|
18
|
.hero--image(v-else)
|
|
19
|
19
|
.hero--image--overlay.f-col
|
|
20
|
20
|
div(v-html="heroText")
|
|
|
21
|
+ //- if not hero image then heading overlay to show only in main article
|
|
21
|
22
|
|
|
22
|
23
|
</template>
|
|
23
|
24
|
|
|
|
@@ -90,13 +91,20 @@ export default {
|
|
90
|
91
|
&--overlay
|
|
91
|
92
|
color: $cia_white
|
|
92
|
93
|
position: absolute
|
|
93
|
|
- top: 30%
|
|
|
94
|
+ /* top: 30% */
|
|
|
95
|
+ margin: 20% 0
|
|
94
|
96
|
width: 100%
|
|
95
|
97
|
h2
|
|
|
98
|
+ /* need better responsive solution for heading size */
|
|
|
99
|
+ font-size: 1.5vh
|
|
96
|
100
|
color: $cia_white
|
|
97
|
101
|
text-shadow: 1px 1px $cia_black
|
|
98
|
|
- max-width: 80vh
|
|
|
102
|
+ max-width: 70vw
|
|
99
|
103
|
.embedded
|
|
100
|
104
|
height: 100%
|
|
101
|
105
|
width: 100%
|
|
|
106
|
+
|
|
|
107
|
+/* min-width settings */
|
|
|
108
|
+/* dynamic scaling for heading size scaling */
|
|
|
109
|
+
|
|
102
|
110
|
</style>
|