|
|
@@ -1,5 +1,6 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
.hero.w-max.f-col(v-if="showHero")
|
|
|
3
|
+ .tint
|
|
3
|
4
|
.hero--video.w-max(v-if="heroType === 'video'")
|
|
4
|
5
|
iframe(
|
|
5
|
6
|
v-if="isPlaying"
|
|
|
@@ -85,20 +86,28 @@ export default {
|
|
85
|
86
|
@import './../sss/variables.sss'
|
|
86
|
87
|
|
|
87
|
88
|
.hero
|
|
88
|
|
- background-color: rebeccapurple
|
|
|
89
|
+ /* background-color: rebeccapurple */
|
|
89
|
90
|
min-height: 35%
|
|
|
91
|
+ height: 78vh
|
|
|
92
|
+ position: relative
|
|
|
93
|
+ overflow: hidden
|
|
|
94
|
+ .tint
|
|
|
95
|
+ position: absolute
|
|
|
96
|
+ height: 100%
|
|
|
97
|
+ width: 100%
|
|
|
98
|
+ background-color: #00000055
|
|
|
99
|
+
|
|
90
|
100
|
&--image
|
|
91
|
101
|
&--overlay
|
|
92
|
|
- color: $cia_white
|
|
|
102
|
+ /* color: $cia_white */
|
|
93
|
103
|
position: absolute
|
|
94
|
|
- margin: 20% 0
|
|
|
104
|
+ margin: 19% 0
|
|
95
|
105
|
h2
|
|
96
|
106
|
/* need better responsive solution for heading size */
|
|
97
|
|
- font-size: 5vw
|
|
|
107
|
+ font-size: 3vw
|
|
98
|
108
|
color: $cia_white
|
|
99
|
109
|
text-shadow: 1px 1px $cia_black
|
|
100
|
110
|
max-width: 70vw
|
|
101
|
|
- margin: -25vh 0 0
|
|
102
|
111
|
&--video
|
|
103
|
112
|
width: 100vw
|
|
104
|
113
|
height: 100%
|
|
|
@@ -108,6 +117,12 @@ export default {
|
|
108
|
117
|
height: 100%
|
|
109
|
118
|
|
|
110
|
119
|
.blank
|
|
|
120
|
+ position: absolute
|
|
|
121
|
+ height: inherit
|
|
|
122
|
+ width: inherit
|
|
|
123
|
+ img
|
|
|
124
|
+ position:
|
|
|
125
|
+
|
|
111
|
126
|
button
|
|
112
|
127
|
position: absolute
|
|
113
|
128
|
min-height: $ms-7
|