Difference between revisions of "Template:US AFRL CarrollHS Main Body Layout"

 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
 
<style>
+
<style>
  
 
+
div.background {
 
+
   background-color: none;
 
+
  background-size: cover;
#cover {
+
   background: url("https://static.igem.org/mediawiki/2017/f/f3/US_AFRL_CarrollHS_Gears_Background_HomePage.png") no-repeat center center;
+
 
   width: 100%;
 
   width: 100%;
 +
  height: 100%
 +
  position: center;
 
}
 
}
  
.cover-content {
+
div.WholePage {
   box-sizing: border-box;
+
   margin: 0 auto;
   width: 70%;
+
   align-items: center;
 
}
 
}
  
h1 {
+
div.maintext {
 +
  width: 90%;
 +
  height: 500px;
 +
  position: center bottom;
 +
  background-color: white;
 +
  background-position: fixed;
 +
 
  
 
}
 
}
  
 +
body {
 +
  background: url("https://static.igem.org/mediawiki/2017/f/f3/US_AFRL_CarrollHS_Gears_Background_HomePage.png");
 +
  background-position: relative;
 +
  background-size: cover;
 +
  width: 70%;
 +
  position: center;
 +
}
 
</style>
 
</style>
 
 
 
<div id="cover">
 
    <div class="cover-content">
 
      <h1>US AFRL Carroll HS</h1>
 
      <h2>Welcome to Our Project</h2>
 
    </div>
 
  </div>
 
 
  
 
</html>
 
</html>

Latest revision as of 17:37, 11 July 2017