Difference between revisions of "Team:BostonU/Team"

Line 7: Line 7:
 
}
 
}
 
#landingwrapper {
 
#landingwrapper {
 +
        align-items: center;
 
         width: 900px;
 
         width: 900px;
 
         height: 100%;
 
         height: 100%;
Line 13: Line 14:
 
         padding-left: 10px;
 
         padding-left: 10px;
 
}
 
}
 
+
#teammembers {
#HQ_page div {
+
   align-self: center;
    padding: 10px;
+
+
}
+
 
+
user agent stylesheet
+
div
+
 
+
 
+
#bunch {
+
   display: inline;
+
 
   top: 100px;
 
   top: 100px;
  border-collapse: collapse;
 
  border-spacing: 0;
 
  border-width: 0;
 
 
   text-decoration: none;
 
   text-decoration: none;
   table-layout: fixed;
+
   align-items: center;
   border: none;
+
   height: 400px;
 +
  width: 400px;
 +
  background-color: white;
 +
 
 
}
 
}
#bunch div {
+
#teammembers img {
   display: inline;
+
   display:inline-block;
  height: 200px !important;
+
  width: 200px !important;
+
 
   text-align: center;
 
   text-align: center;
   overflow: hidden;
+
   height: 100px !important;
   border: none;
+
   width: 100px !important;
   background-color: #f5efef;
+
   background-color: black;
   position: static;
+
   padding: 15px;
 
}
 
}
#bunch div img {
+
#teammembers img {
 
   border: none;
 
   border: none;
  padding: 10px;
 
 
   margin: 0;
 
   margin: 0;
  height: 170px;
 
  width: 170px;
 
 
   -webkit-transition:0.25s;
 
   -webkit-transition:0.25s;
 
   align-items: center;
 
   align-items: center;
   opacity: 0.85;
+
   opacity: 0.5;
 
}
 
}
#bunch p {
+
#teammembers img:hover {
  height: 170px;
+
  width: 170px;
+
}
+
#desc {
+
  height: 170px;
+
  width: 170px;
+
  font-size: 75%;
+
}
+
#bunch img:hover {
+
 
   opacity: 1;
 
   opacity: 1;
 
   -webkit-transition:0.25s;
 
   -webkit-transition:0.25s;
  height: 185px;
+
 
  width: 185px;
+
 
}
 
}
 +
 +
 
</style>
 
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
 
<script type="text/javascript">
 
<script type="text/javascript">
 
$(document).ready(function() {
 
$(document).ready(function() {
Line 96: Line 74:
 
       $('#desc').text("This could be a bio for Madeline! It is pretty long, because she has a lot to say about herself. I can make the text smaller, and add lots more words, such as I don't like that idea.");
 
       $('#desc').text("This could be a bio for Madeline! It is pretty long, because she has a lot to say about herself. I can make the text smaller, and add lots more words, such as I don't like that idea.");
 
   });
 
   });
   $('#bunch div').mouseleave(function () {
+
   $('#teammembers div').mouseleave(function () {
 
       $('#desc').text("Mouse over a member of our team to learn about them!");
 
       $('#desc').text("Mouse over a member of our team to learn about them!");
 
   });
 
   });
Line 103: Line 81:
 
</script>
 
</script>
 
</head>
 
</head>
 +
 
<body>
 
<body>
   <div id='landingwrapper'>
+
   <div id="landingwrapper">
   
+
      <div id = "teammembers">
    <div id="bunch">
+
         <img src="https://static.igem.org/mediawiki/2017/7/74/T--BostonU--abbeybio.jpg" id="ab"></img>
         <div><img src="https://static.igem.org/mediawiki/2017/7/74/T--BostonU--abbeybio.jpg" id="ab"></img></div>
+
         <img src="https://static.igem.org/mediawiki/2017/f/fc/T--BostonU--thomasbio.jpg" id="th"></img>
         <div><img src="https://static.igem.org/mediawiki/2017/f/fc/T--BostonU--thomasbio.jpg" id="th"></img></div>
+
         <img src="https://static.igem.org/mediawiki/2017/6/64/T--BostonU--saibio.jpg" id="sa"></img>
         <div><img src="https://static.igem.org/mediawiki/2017/6/64/T--BostonU--saibio.jpg" id="sa"></img></div>
+
         <img src="https://static.igem.org/mediawiki/2017/f/f4/T--BostonU--stevebio.jpg" id="st"></img>
         <div><img src="https://static.igem.org/mediawiki/2017/8/84/T--BostonU--alanbio.jpg" id="al"></img></div>
+
         <img src="https://static.igem.org/mediawiki/2017/4/47/T--BostonU--sophiabio.jpg" id="so"></img>
        <div><img src="img/headshot.png" id="ma"></img></div>
+
         <img src="https://static.igem.org/mediawiki/2017/2/2c/T--BostonU--madelinebio.jpg" id="md"></img>
        <div><img src="https://static.igem.org/mediawiki/2017/f/f4/T--BostonU--stevebio.jpg" id="st"></img></div>
+
        <p id="desc">Mouse over a member of our team to learn about them!
         <div><img src="https://static.igem.org/mediawiki/2017/4/47/T--BostonU--sophiabio.jpg" id="so"></img></div>
+
        </p>
         <div><img src="https://static.igem.org/mediawiki/2017/2/2c/T--BostonU--madelinebio.jpg" id="md"></img></div>
+
      </div>
    </div>
+
 
      <p id="desc" align-items = "center">Mouse over a member of our team to learn about them!
+
  </div>
      </p>
+
</div>
+
 
</body>
 
</body>
</html>
 

Revision as of 20:34, 18 July 2017

Mouse over a member of our team to learn about them!