Difference between revisions of "Template:US AFRL CarrollHS"

Line 342: Line 342:
  
 
.hero-image {
 
.hero-image {
     height: 100vh;;
+
     height: 100vh;
 +
    top: -1px;
 
     background-position: center;
 
     background-position: center;
 
     background-repeat: no-repeat;
 
     background-repeat: no-repeat;
 
     background-size: cover;
 
     background-size: cover;
 +
    position: relative;
 
     width: 100%;
 
     width: 100%;
  
Line 351: Line 353:
  
 
.hero-text {
 
.hero-text {
    text-align: center;
+
 
 
     position: absolute;
 
     position: absolute;
 
     top: 50%;
 
     top: 50%;
 
     left: 50%;
 
     left: 50%;
     transform: translate(-50%, -50%);
+
     width: 60%;
     color: white;
+
    height: 50vh;
 
+
    background-color: rgba(255, 255, 255, 0.5);
 +
     border: 5px solid white;
 
}
 
}
  
Line 363: Line 366:
  
 
.hero-text h1 {
 
.hero-text h1 {
 +
    text-align: center;
 +
    top: 50%;
 +
    position: absolute;
 +
    color: #234C69;
 +
    font-size: 80px;
 +
    line-height: 80px;
 +
    font-weight: bold;
 +
    text-decoration: none;
  
top: 50%;
 
left: 50%;
 
color: #234C69;
 
width: 60%;
 
height: 50vh;
 
font-size: 80px;
 
line-height: 80px;
 
font-weight: bold;
 
text-decoration: none;
 
background-color: rgba(255, 255, 255, 0.5);
 
border: 5px solid white;
 
  
 
}
 
}

Revision as of 00:29, 2 November 2017