(11 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
     -webkit-box-align: center;
 
     -webkit-box-align: center;
 
     -ms-flex-align: center;
 
     -ms-flex-align: center;
    align-items: center;
 
 
     position: relative;
 
     position: relative;
 
     overflow: hidden;
 
     overflow: hidden;
     margin-top: 74px;
+
     margin-top: -30px;
     background-color: rgba( 0, 0, 0, .5 );
+
    min-height:700px;
 +
     background-color:black;
 
   }
 
   }
  
Line 20: Line 20:
 
     min-width: 100%;
 
     min-width: 100%;
 
     min-height: 100%;
 
     min-height: 100%;
 +
    filter:opacity(60%);
 
   }
 
   }
  
 
   .ocp-banner-text-container {
 
   .ocp-banner-text-container {
 
     position: relative;
 
     position: relative;
     z-index: 1000;
+
     z-index: 100;
 
     color: white;
 
     color: white;
 
     text-align: center;
 
     text-align: center;
     max-width: 520px;
+
     max-width: 340px;
 
   }
 
   }
  
Line 33: Line 34:
 
     font-size: 3rem;
 
     font-size: 3rem;
 
     font-weight: 300;
 
     font-weight: 300;
     margin-bottom: 40px;
+
     right:10px;
 +
    top:10px;
 
     color:white;
 
     color:white;
 
   }
 
   }
  
 
   .ocp-banner-subtitle {
 
   .ocp-banner-subtitle {
     font-size: 1.5rem;
+
     font-size: 1rem;
 
     font-weight: 300;
 
     font-weight: 300;
 
     max-width: 500px;
 
     max-width: 500px;
 +
    color:white
 
   }
 
   }
 +
 +
@media (max-width: 576px) {
 +
.ocp-banner-section {
 +
min-height:auto;
 +
background-color:white;
 +
margin-top: 0px;
 +
}
 +
        .ocp-banner-section video{
 +
          display: none;
 +
        }
 +
      }
 
</style>
 
</style>
  
Line 50: Line 64:
 
       <div class="col-12">
 
       <div class="col-12">
 
         <header>
 
         <header>
           <h2 class="ocp-banner-title"><img src="/logo/open-csp_1.svg" id="Open CSP Logo" style="height:150px;"/></h2>
+
           <h2 class="ocp-banner-title"><img src="/logo/open-csp_2.svg" id="Open CSP Logo" style="height:100px;"/></h2>
 
           <p class="mx-auto ocp-banner-subtitle">
 
           <p class="mx-auto ocp-banner-subtitle">
 
             The open source content services platform
 
             The open source content services platform
Line 61: Line 75:
 
   <!-- Video -->
 
   <!-- Video -->
 
   <video id="hero-vid" autoplay="" loop="" muted>
 
   <video id="hero-vid" autoplay="" loop="" muted>
     <source src="/opencsp_launch2.mp4" type="video/mp4" />
+
     <source src="/openCSP3.mp4" type="video/mp4" />
 
     Your browser does not support the video tag.
 
     Your browser does not support the video tag.
 
   </video>
 
   </video>
 
</section>
 
</section>

Latest revision as of 22:58, 3 November 2023

<style>

 .ocp-banner-section {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-align: center;
   -ms-flex-align: 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: relative;
   z-index: 100;
   color: white;
   text-align: center;
   max-width: 340px;
 }
 .ocp-banner-title {
   font-size: 3rem;
   font-weight: 300;
   right:10px;
   top:10px;
   color:white;
 }
 .ocp-banner-subtitle {
   font-size: 1rem;
   font-weight: 300;
   max-width: 500px;
   color:white
 }
@media (max-width: 576px) {

.ocp-banner-section { min-height:auto; background-color:white; margin-top: 0px; }

       .ocp-banner-section video{
         display: none;
       }
     }

</style>

       <header>

<img src="/logo/open-csp_2.svg" id="Open CSP Logo" style="height:100px;"/>

The open source content services platform

       </header>
 <video id="hero-vid" autoplay="" loop="" muted>
   Your browser does not support the video tag.
 </video>