richie-education 2.34.1-dev38 → 2.34.1-dev39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -170,6 +170,41 @@ $r-subheader-search-title-width: 19rem !default; // aligned on computed search r
|
|
|
170
170
|
position: relative;
|
|
171
171
|
padding-bottom: 56.25%; // Aspect ratio 16/9
|
|
172
172
|
|
|
173
|
+
.video-player-image {
|
|
174
|
+
img {
|
|
175
|
+
filter: brightness(0.85);
|
|
176
|
+
object-fit: cover;
|
|
177
|
+
}
|
|
178
|
+
img,
|
|
179
|
+
span {
|
|
180
|
+
position: absolute;
|
|
181
|
+
width: 100%;
|
|
182
|
+
top: 0;
|
|
183
|
+
bottom: 0;
|
|
184
|
+
margin: auto;
|
|
185
|
+
}
|
|
186
|
+
span {
|
|
187
|
+
text-align: center;
|
|
188
|
+
font: 48px/1.5 sans-serif;
|
|
189
|
+
fill: white;
|
|
190
|
+
display: flex;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
align-items: center;
|
|
193
|
+
}
|
|
194
|
+
span svg {
|
|
195
|
+
transition: 0.5s;
|
|
196
|
+
width: 85px;
|
|
197
|
+
height: 85px;
|
|
198
|
+
}
|
|
199
|
+
img:hover,
|
|
200
|
+
span:hover svg {
|
|
201
|
+
fill-opacity: 1;
|
|
202
|
+
filter: drop-shadow(3px 3px 30px rgb(0 0 0 / 0.65));
|
|
203
|
+
}
|
|
204
|
+
span svg {
|
|
205
|
+
filter: drop-shadow(3px 3px 12px rgb(0 0 0 / 0.25));
|
|
206
|
+
}
|
|
207
|
+
}
|
|
173
208
|
iframe {
|
|
174
209
|
height: 100%;
|
|
175
210
|
position: absolute;
|