Line 8: | Line 8: | ||
} | } | ||
− | |||
.hero-image { | .hero-image { | ||
− | |||
background-image: url("https://static.igem.org/mediawiki/2017/3/31/US_AFRL_CarrollHS_DNA_Heada.jpeg"); | background-image: url("https://static.igem.org/mediawiki/2017/3/31/US_AFRL_CarrollHS_DNA_Heada.jpeg"); | ||
− | |||
− | |||
height: 90vh; | height: 90vh; | ||
− | |||
− | |||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 23: | Line 17: | ||
} | } | ||
− | |||
.hero-text { | .hero-text { | ||
text-align: center; | text-align: center; | ||
Line 31: | Line 24: | ||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||
color: white; | color: white; | ||
− | |||
− | |||
− | |||
display: table-cell; | display: table-cell; | ||
height: 200px; /*change this and the width | height: 200px; /*change this and the width | ||
Line 44: | Line 34: | ||
color: #FFF; | color: #FFF; | ||
} | } | ||
+ | |||
+ | |||
</style> | </style> |
Revision as of 02:30, 21 August 2017