Difference between revisions of "Team:Glasgow/test"

 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{GlasgowNavbar}}
 
<html>
 
<html>
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
+
  <head>
<head>
+
    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
+
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 
+
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
 +
    <meta name="description" content="">
 +
    <meta name="author" content="">
 +
    <link href="https://2015.igem.org/Team:Glasgow/bootstrap.min.css?action=raw&ctype=text/css" rel="stylesheet">
 +
    <script src="https://2015.igem.org/Team:Glasgow/bootstrap.min.js?action=raw&ctype=text/css"></script>
 +
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
 +
    <!-- Custom styles for this template -->
 +
    <link href="carousel.css" rel="stylesheet">
 +
    <link href='http://fonts.googleapis.com/css?family=Unkempt' rel='stylesheet' type='text/css'>
 +
  </head>
 
<style>
 
<style>
 
.firstHeading{
 
.firstHeading{
 
       display:none;
 
       display:none;
 
}
 
}
html, body {
+
#bodybackground {
   width: 100%;
+
   background:url(https://static.igem.org/mediawiki/2015/7/7c/GLasgow_7323.jpg) no-repeat center center;
   margin: 0px;
+
  font-family: 'Nixie One', Helvetica, Arial, sans-serif;
 +
  font-size: 50px;
 +
  height:45vh;
 +
   background-size:cover;
 
}
 
}
 
+
@font-face {
html {
+
   font-family: 'Nixie One';
   background: #eeecec;
+
   font-style: normal;
   overflow-x: hidden;
+
  font-weight: 400;
 +
  src: local('Nixie One'), local('NixieOne-Regular'), url(http://fonts.gstatic.com/s/nixieone/v7/gQ0PT3rPU_Et2ExNz-ahmpBw1xU1rKptJj_0jans920.woff2) format('woff2');
 +
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
 
}
 
}
 
+
@font-face {
#container {
+
   font-family: 'League Script';
   z-index: 111;
+
  font-style: normal;
 +
  font-weight: 400;
 +
  src: local('League Script'), local('LeagueScript'), url(http://fonts.gstatic.com/s/leaguescript/v7/wnRFLvfabWK_DauqppD6vTLKmjGCnkmx1ziy0T7wKLI.woff2) format('woff2');
 +
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
 
}
 
}
 
+
.container3 {
.navT {
+
    display: flex;
  -webkit-transition: all 0.25s;
+
    flex-direction: row;
  z-index: 111;
+
    flex-wrap: wrap;
  cursor: pointer;
+
    justify-content: center;
  width: 100%;
+
    align-items: center;
  background: #212121;
+
    line-height:7vh;
  height: 65px;
+
    padding-top:50px;
  left: 0;
+
   
  top: 0;
+
  position: fixed;
+
 
}
 
}
.navT .icon {
+
.sign {
   -webkit-transition: all 0.25s;
+
   -ms-transform: rotate(-3deg);
   position: absolute;
+
   -webkit-transform: rotate(-3deg);
   width: 30px;
+
   transform: rotate(-3deg);
  height: 1px;
+
   margin-top:10vh;
  left: 15px;
+
   top: 30px;
+
  background-color: white;
+
 
}
 
}
.navT .icon:before, .navT .icon:after {
+
#title {
   -webkit-transition: all 0.25s;
+
   font-size: 10vh;
  width: 30px;
+
  height: 1px;
+
  left: 0;
+
  background: white;
+
  position: absolute;
+
  content: '';
+
 
}
 
}
.navT .icon:before {
+
#trav {
   top: -10px;
+
  -webkit-animation: blink 0.01s infinite alternate;
 +
  -moz-animation: blink 0.01s infinite alternate;
 +
  -o-animation: blink 0.01s infinite alternate;
 +
   animation: blink 0.01s infinite alternate;
 
}
 
}
.navT .icon:after {
+
#fade {
   top: 10px;
+
  opacity: 0.6;
 +
  color: #ebffff;
 +
   text-shadow: 2px 2px 1px rgba(0,0,0,0.3), 0 0px 15px #fff, 0 0 10px #38eeff, 0 0 50px #38eeff;
 +
  -webkit-animation: fade 3s infinite alternate;
 +
  -moz-animation: fade 3s infinite alternate;
 +
  -o-animation: fade 3s infinite alternate;
 +
  animation: fade 3s infinite alternate;
 
}
 
}
.navT:hover {
+
.neon-blue {
   background: black;
+
   margin: 0 auto;
 +
  text-align: center;
 +
  color: #ebffff;
 +
  text-shadow: 2px 2px 1px rgba(0,0,0,0.3), 0 0px 15px #fff, 0 0 10px #38eeff, 0 0 50px #38eeff;
 +
  font-size:4vw;
 
}
 
}
.navT:hover .icon:before {
+
.neon-purple {
  top: -12px;
+
   font-family: 'League Script', Helvetica, Arial, sans-serif;
}
+
   font-size: 130px;
.navT:hover .icon:after {
+
   margin: 0 auto;
  top: 12px;
+
}
+
.navT.active .icon {
+
   -webkit-transform: rotate(180deg);
+
  background-color: transparent;
+
  left: 10px;
+
}
+
.navT.active .icon:before, .navT.active .icon:after {
+
  top: 0;
+
}
+
.navT.active .icon:before {
+
  -webkit-transform: rotate(45deg);
+
}
+
.navT.active .icon:after {
+
   -webkit-transform: rotate(-45deg);
+
}
+
 
+
#menu {
+
   z-index: 111;
+
  -webkit-transition: all 0.5s;
+
 
   text-align: center;
 
   text-align: center;
   position: fixed;
+
   color: #6CA7FF;
   left: 0;
+
   text-shadow: 2px 2px 1px rgba(0,0,0,0.5), 0 0 5px #fff, 0 0 10px #7d26cd, 0 0 35px #7d26cd;
  right: 0;
+
   font-size:8vh;
  margin: 0 auto;
+
  top: 65px;
+
   font-size: 18px;
+
  font-family: sans-serif;
+
  font-weight: 100;
+
  text-transform: uppercase;
+
  width: 100%;
+
  height: 0;
+
  border-bottom: 1px solid transparent;
+
  overflow: hidden;
+
 
}
 
}
#menu ul {
+
@-moz-keyframes blink {
   list-style: none;
+
   70% {
  padding: 0;
+
    opacity: 0.7;
   letter-spacing: 0.4em;
+
   }
 
}
 
}
#menu li:first-child {
+
@-webkit-keyframes blink {
   margin-top: 0;
+
   45% {
 +
    opacity: 0.5;
 +
  }
 
}
 
}
#menu li {
+
@-o-keyframes blink {
  -webkit-transition: all 0.2s;
+
   70% {
   margin-top: 20px;
+
    opacity: 0.7;
  padding: 5px 0;
+
   }
   color: white;
+
 
}
 
}
#menu a {
+
@keyframes blink {
   padding: 8px;
+
   70% {
  -webkit-transition: all 0.25s;
+
    opacity: 0.7;
   cursor: pointer;
+
   }
 
}
 
}
#menu a:hover {
+
@-moz-keyframes fade {
   letter-spacing: 0.5em;
+
  40% {
   text-decoration: underline;
+
    opacity: 0.8;
 +
  }
 +
  42% {
 +
    opacity: 0.1;
 +
   }
 +
  43% {
 +
    opacity: 0.8;
 +
   }
 +
  45% {
 +
    opacity: 0.1;
 +
  }
 +
  46% {
 +
    opacity: 0.8;
 +
  }
 
}
 
}
#menu.open {
+
@-webkit-keyframes fade {
   height: 270px;
+
   40% {
   width: 100%;
+
    opacity: 0.8;
   background: #f3581b;
+
   }
   border-bottom: 1px solid black;
+
  42% {
 +
    opacity: 0.1;
 +
  }
 +
  43% {
 +
    opacity: 0.8;
 +
   }
 +
  45% {
 +
    opacity: 0.1;
 +
   }
 +
  46% {
 +
    opacity: 0.8;
 +
  }
 
}
 
}
 
+
@-o-keyframes fade {
.space {
+
  40% {
   letter-spacing: 0;
+
    opacity: 0.8;
 +
  }
 +
  42% {
 +
    opacity: 0.1;
 +
   }
 +
  43% {
 +
    opacity: 0.8;
 +
  }
 +
  45% {
 +
    opacity: 0.1;
 +
  }
 +
  46% {
 +
    opacity: 0.8;
 +
  }
 
}
 
}
 
+
@keyframes fade {
.content {
+
   40% {
   width: 100%;
+
    opacity: 0.8;
  font-size: 20px;
+
   }
   font-family: sans-serif;
+
   42% {
   font-weight: 100;
+
    opacity: 0.1;
  -webkit-transition: top 0.5s;
+
   }
   position: absolute;
+
   43% {
   top: 65px;
+
    opacity: 0.8;
  margin: 0 auto;
+
   }
}
+
   45% {
.content h1 {
+
    opacity: 0.1;
  font-size: 3em;
+
   }
   text-transform: uppercase;
+
   46% {
   margin-top: 85px;
+
    opacity: 0.8;
  margin-left: 10px;
+
  }
}
+
.content h2 {
+
  font-size: 1em;
+
   text-transform: uppercase;
+
   margin-top: -25px;
+
  margin-left: 10px;
+
  font-weight: 400;
+
  letter-spacing: 0.7em;
+
}
+
.content.shift {
+
  top: 335px;
+
 
}
 
}
  
p {
+
/*Table style*/
  max-width: 600px;
+
td {
  font-size: 0.75em;
+
            padding:10px;
  line-height: 1.75em;
+
            text-align: center;
  text-align: left;
+
            border: 1px solid black;
  margin-left: 10px;
+
        }  
}
+
  
#second {
+
table {
  left: 0;
+
          padding:50px;
  width: 100%;
+
          margin:20px 91px;
  background: #999;
+
  height: 600px;
+
  margin-top: 200px;
+
  text-align: center;
+
}
+
#second h1, #second h2 {
+
  margin-right: 20px;
+
}
+
#second h1 {
+
  padding-top: 40px;
+
}
+
#second p {
+
  text-align: center;
+
  margin: 0 auto;
+
  margin-bottom: 20px;
+
 
}
 
}
  
#third {
+
th {  
  background: black;
+
  text-align: center;
  width: 100%;
+
  height: 300px;
+
  padding-top: 50px;
+
}
+
#third h2 {
+
  color: white;
+
  text-align: center;
+
  margin-top: 50px;
+
}
+
#third h5 {
+
  color: white;
+
  font-family: sans-serif;
+
  text-transform: uppercase;
+
  font-weight: 200;
+
  letter-spacing: 0.25em;
+
  text-align: center;
+
 
}
 
}
  
#bar {
 
  width: 40%;
 
  height: 200px;
 
  margin: 0 auto;
 
  border: 1px dashed white;
 
}
 
 
</style>
 
</style>
<script type="text/javascript">
+
</head>
$(".navT").on("click", function(){
+
<body>
  $(this).toggleClass("active");
+
</br>
  $("#menu").toggleClass("open");
+
<div id="bodybackground">
  $(".content").toggleClass("shift");
+
   <div class="container3">
});
+
  <div class="sign">
</script>
+
      <div class="neon-blue" id="title">Glas<span id="fade">glow</span> </div>
 
+
       <div class="neon-blue"><br><span class="neon-purple"><strong>Parts</strong></span></div>
 
+
  </div>
<div id="container">
+
  </div>
   <div class="navT">
+
    <div class="icon"></div>
+
  </div>
+
 
+
  <div id="menu">
+
    <ul>
+
      <li><a>Hom<span class="space">e</span></a></li>
+
      <li><a>Abou<span class="space">t</span></a></li>
+
       <li><a>Wor<span class="space">k</span></a></li>
+
      <li><a>Blo<span class="space">g</span></a></li>
+
      <li><a>Contac<span class="space">t</span></a></li>
+
    </ul>
+
  </div>
+
 
+
</div>
+
<div class='content'>
+
  <div id="first">
+
  <h1> Sample Content </h1>
+
  <h2>A quick example of a nav menu</h2>
+
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></div>
+
  <div id="second">
+
    <h1>The Top Menu</h1>
+
    <h2>Pushes page content down</h2>
+
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
    <div id="bar"></div>
+
  </div>
+
  <div id="third">
+
    <h2>But also allows for scrollling</h2>
+
    <h5>While the menu is down</h5>
+
  </div>
+
 
+
 
</div>
 
</div>
  
 +
<div id="content" class="mw-body" role="main">
 +
    <a id="top"></a>
 +
    <h1 id="firstHeading" class="firstHeading">
 +
        <span dir="auto">Team:Glasgow/Parts test</span>
 +
    </h1>
 +
    <div id="bodyContent">
 +
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><h2><span class="mw-headline" id="Summary_table" style="text-align:center;">Summary table</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/wiki/index.php?title=Team:Glasgow/Parts_test&amp;action=edit&amp;section=1" title="Edit section: Summary table">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
 +
<div id='groupparts' style='min-height:100px;width:700px;'><div style='width:300px;margin:2px;padding:20px;color:gray;border:1px solid gray'>Loading.....</div></div><script>$('#groupparts').load('/cgi/api/groupparts.cgi', { t:'iGEM015', g:'Glasgow' },function(){ $('#groupparts .tablesorter').tablesorter();} );</script>
  
 
</body>
 
</body>
 
</html>
 
</html>
 +
{{Glasgowfooter}}

Latest revision as of 10:49, 15 September 2015


Glasglow

Parts

Team:Glasgow/Parts test

Summary table[edit]

Loading.....

Location

Bower Building, Wilkins Teaching Laboratory
University of Glasgow
University Avenue
G12 8QQ

Follow Us On