Line 10: | Line 10: | ||
overflow: hidden; | overflow: hidden; | ||
margin-top: -30px; | margin-top: -30px; | ||
− | min-height: | + | min-height:700px; |
+ | background-color:black; | ||
} | } | ||
Line 45: | Line 46: | ||
font-weight: 300; | font-weight: 300; | ||
max-width: 500px; | max-width: 500px; | ||
− | color: | + | color:white |
} | } | ||
</style> | </style> |
Revision as of 09:35, 30 June 2023
<style>
.ocp-banner-section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; position: relative; overflow: hidden; margin-top: -30px; min-height:700px; background-color:black; }
.ocp-banner-section video { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -60%); min-width: 100%; min-height: 100%; filter:opacity(60%); }
.ocp-banner-text-container { position: absolute; z-index: 1000; color: white; text-align: center; max-width: 520px; top:0; right:0; }
.ocp-banner-title { font-size: 3rem; font-weight: 300; right:10px; top:10px; color:white; }
.ocp-banner-subtitle { font-size: 1.5rem; font-weight: 300; max-width: 500px; color:white }
</style>