Skip to content

Commit 376b858

Browse files
committed
Añade vídeos aleatorios en la sección de Nuestros Robots
1 parent 1ebd8f1 commit 376b858

13 files changed

Lines changed: 96 additions & 5 deletions

File tree

assets/css/custom.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,45 @@ img.img-hover-zoom:hover, .img-hover-zoom:hover img{
173173
}
174174
}
175175

176+
header {
177+
position: relative;
178+
background-color: black;
179+
height: 100vh;
180+
min-height: 25rem;
181+
width: 100%;
182+
overflow: hidden;
183+
}
184+
185+
header video {
186+
position: absolute;
187+
top: 50%;
188+
left: 50%;
189+
width: 100%;
190+
height: 100%;
191+
z-index: 0;
192+
-ms-transform: translateX(-50%) translateY(-50%);
193+
-moz-transform: translateX(-50%) translateY(-50%);
194+
-webkit-transform: translateX(-50%) translateY(-50%);
195+
transform: translateX(-50%) translateY(-50%);
196+
object-fit: cover;
197+
}
198+
199+
header .container {
200+
position: relative;
201+
z-index: 2;
202+
}
203+
204+
header .overlay {
205+
position: absolute;
206+
top: 0;
207+
left: 0;
208+
height: 100%;
209+
width: 100%;
210+
background-color: black;
211+
opacity: 0.5;
212+
z-index: 1;
213+
}
214+
176215
.op-carousel img {
177216
max-height: 250px;
178217
object-fit: contain;
@@ -227,6 +266,9 @@ img.img-hover-zoom:hover, .img-hover-zoom:hover img{
227266
height: 90vh;
228267
}
229268

269+
.page-header-md {
270+
height: 70vh !important;
271+
}
230272
.page-header-sm {
231273
height: 35vh !important;
232274
}
324 KB
Loading
1.21 MB
Loading
1.68 MB
Loading
1.47 MB
Loading
1.8 MB
Loading
10.3 MB
Binary file not shown.
10.6 MB
Binary file not shown.
25.3 MB
Binary file not shown.
39.8 MB
Binary file not shown.

0 commit comments

Comments
 (0)