Difference between revisions of "Team:Amoy"

(Prototype team page)
Line 1: Line 1:
 
{{Amoy}}
 
{{Amoy}}
 
<html>
 
<html>
<h2> Welcome to iGEM 2015! </h2>
+
<head>
<p>Your team has been approved and you are ready to start the iGEM season! </p>
+
  <title>Amoy</title>
  
<h4>Before you start: </h4>
+
<style>
<p> Please read the following pages:</p>
+
* {
<ul>
+
margin:0;
<li> <a href="https://2015.igem.org/Requirements">Requirements page </a> </li>
+
padding:0;
<li> <a href="https://2015.igem.org/Wiki_How-To">Wiki Requirements page</a></li>
+
}
</ul>
+
.grid {
 +
margin: 40px auto 120px;
 +
max-width: 1000px;
 +
width: 90%;
 +
}
 +
.grid a {
 +
float: left;
 +
max-width: 250px;
 +
width: 25%;
 +
color: #333;
 +
}
 +
  .grid a:nth-child(odd) {
 +
margin: 30px 0 -30px 0;
 +
}
 +
.grid figure {
 +
position: relative;
 +
overflow: hidden;
 +
margin: 5px;
 +
background: #333;
 +
}
 +
.grid figure img {
 +
position: relative;
 +
display: block;
 +
width: 100%;
 +
opacity: 0.7;
 +
-webkit-transition: opacity 0.3s;
 +
transition: opacity 0.3s;
 +
}
 +
.grid figcaption {
 +
position: absolute;
 +
top: 0;
 +
z-index: 11;
 +
padding: 10px;
 +
width: 100%;
 +
height: 100%;
 +
text-align: center;
 +
}
 +
.grid figcaption h2 {
 +
margin: 0 0 20px 0;
 +
color: #3498db;
 +
text-transform: uppercase;
 +
letter-spacing: 1px;
 +
font-weight: 300;
 +
font-size: 130%;
 +
-webkit-transition: -webkit-transform 0.3s;
 +
transition: transform 0.3s;
 +
}
 +
.grid figcaption p {
 +
padding: 0 20px;
 +
color: #aaa;
 +
font-weight: 300;
 +
-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
 +
transition: opacity 0.3s, transform 0.3s;
 +
}
 +
.grid figcaption h2, .grid figcaption p {
 +
-webkit-transform: translateY(50px);
 +
transform: translateY(50px);
 +
}
 +
.grid figure button {
 +
position: absolute;
 +
padding: 4px 20px;
 +
border: none;
 +
text-transform: uppercase;
 +
letter-spacing: 1px;
 +
font-weight: bold;
 +
-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
 +
transition: opacity 0.3s, transform 0.3s;
 +
}
 +
.grid figcaption, .grid figcaption h2, .grid figcaption p, .grid figure button {
 +
-webkit-backface-visibility: hidden;
 +
backface-visibility: hidden;
 +
}
 +
/* Style for SVG */
 +
.grid svg {
 +
position: absolute;
 +
top: -1px; /* fixes rendering issue in FF */
 +
z-index: 10;
 +
width: 100%;
 +
height: 100%;
 +
}
 +
.grid svg path {
 +
fill: #fff;
 +
}
 +
/* Hover effects */
 +
.grid a:hover figure img {
 +
opacity: 1;
 +
}
 +
.grid a:hover figcaption h2, .grid a:hover figcaption p {
 +
-webkit-transform: translateY(0);
 +
transform: translateY(0);
 +
}
 +
.grid a:hover figcaption p {
 +
opacity: 0;
 +
}
 +
/* Individual styles */
 +
.demo-1 body {
 +
background: #3498db;
 +
}
 +
.demo-1 .grid figure button, .demo-3 .grid figure button {
 +
top: 50%;
 +
left: 50%;
 +
border: 3px solid #fff;
 +
background: transparent;
 +
color: #fff;
 +
opacity: 0;
 +
-webkit-transform: translateY(-50%) translateX(-50%) scale(0.25);
 +
transform: translateY(-50%) translateX(-50%) scale(0.25);
 +
}
 +
.demo-1 .grid a:hover figure button, .demo-3 .grid a:hover figure button {
 +
opacity: 1;
 +
-webkit-transform: translateY(-50%) translateX(-50%) scale(1);
 +
transform: translateY(-50%) translateX(-50%) scale(1);
 +
}
 +
.demo-2 body {
 +
background: #e74c3c;
 +
}
 +
.demo-2 .grid figcaption h2 {
 +
color: #e74c3c;
 +
}
 +
.demo-2 .grid figcaption p {
 +
-webkit-transition-delay: 0.05s;
 +
transition-delay: 0.05s;
 +
}
 +
.demo-2 .grid figure button {
 +
bottom: 0;
 +
left: 0;
 +
padding: 15px;
 +
width: 100%;
 +
background: #fff;
 +
color: #333;
 +
font-weight: 300;
 +
-webkit-transform: translateY(100%);
 +
transform: translateY(100%);
 +
}
 +
.demo-2 .grid a:hover figure button {
 +
-webkit-transition-timing-function: ease-out;
 +
transition-timing-function: ease-out;
 +
-webkit-transform: translateY(0);
 +
transform: translateY(0);
 +
}
 +
.demo-2 .grid figcaption h2, .demo-2 .grid figcaption p, .demo-3 .grid figcaption h2, .demo-3 .grid figcaption p {
 +
-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.115, 1); /* older webkit */
 +
-webkit-transition-timing-function: cubic-bezier(0.250, 0.250, 0.115, 1.445);
 +
timing-function: cubic-bezier(0.250, 0.250, 0.115, 1.445);
 +
}
 +
.demo-2 .grid a:hover figcaption p, .demo-3 .grid a:hover figcaption p {
 +
-webkit-transition-delay: 0s;
 +
transition-delay: 0s;
 +
-webkit-transition-duration: 0.1s;
 +
transition-duration: 0.1s;
 +
}
 +
.demo-3 body {
 +
background: #52be7f;
 +
}
 +
.demo-3 .grid figcaption h2 {
 +
color: #52be7f;
 +
}
 +
.demo-3 .grid a:hover figcaption h2 {
 +
-webkit-transform: translateY(5px);
 +
transform: translateY(5px);
 +
}
  
<div class="highlightBox">
+
/* Media Queries */
<h4> Styling your wiki </h4>
+
/* Let's redefine the width of each anchor and the margins */
<p>You may style this page as you like or you can simply leave the style as it is. You can easily keep the styling and edit the content of these default wiki pages with your project information and completely fulfill the requirement to document your project.</p>
+
<p>While you may not win Best Wiki with this styling, your team is still eligible for all other awards. This default wiki meets the requirements, it improves navigability and ease of use for visitors, and you should not feel it is necessary to style beyond what has been provided.</p>
+
</div>
+
  
<h4> Editing your wiki </h4>
+
@media screen and (max-width: 58em) {
<p>On this page you can document your project, introduce your team members, document your progress and share your iGEM experience with the rest of the world! </p>
+
.grid a {
<p> <a href="https://2015.igem.org/wiki/index.php?title=Team:Amoy&action=edit"> Click here to edit this page! </a></p>
+
width: 33.333%;
<p>See tips on how to edit your wiki on the <a href="https://2015.igem.org/TemplatesforTeams_Code_Documentation">Template Documentation</a> page.</p>
+
}
 +
.grid a:nth-child(odd) {
 +
margin: 0;
 +
}
 +
.grid a:nth-child(3n-1) {
 +
margin: 30px 0 -30px 0;
 +
}
 +
}
 +
@media screen and (max-width: 45em) {
 +
.grid {
 +
max-width: 500px;
 +
}
 +
.grid a {
 +
width: 50%;
 +
}
 +
.grid a:nth-child(3n-1) {
 +
margin: 0;
 +
}
 +
.grid a:nth-child(even) {
 +
margin: 30px 0 -30px 0;
 +
}
 +
.grid figcaption h2 {
 +
margin-bottom: 0px;
 +
-webkit-transform: translateY(30px);
 +
transform: translateY(30px);
 +
}
 +
.grid figcaption p {
 +
margin: 0;
 +
padding: 0 10px;
 +
}
 +
}
 +
@media screen and (max-width: 27em) {
 +
.grid {
 +
max-width: 250px;
 +
}
 +
.grid a {
 +
width: 100%;
 +
}
 +
.grid a:nth-child(even) {
 +
margin: 0;
 +
}
 +
}
  
 +
</style>
 +
</head>
 +
<body>
 +
  <div>
 +
    <p>THIS IS OUR PROJECT NAME</p>
 +
    <p>WELCOME TO AMOY CHINA</p>
 +
    <img src="#"/>
 +
    <p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
 +
    <p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
 +
    <p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
 +
    <p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
 +
  </div>
  
<h4>Templates </h4>
+
  <div class="container">
<p> This year we have created templates for teams to use freely. More information on how to use and edit the templates can be found on the
+
    <section id="grid" class="grid clearfix">
<a href="https://2015.igem.org/TemplatesforTeams_Code_Documentation">Template Documentation </a> page.</p>  
+
    <a href="http://www.lanrenzhijia.com/" data-path-hover="M 0,0 0,38 90,58 180.5,38 180,0 z">
 +
      <figure>
 +
        <img src="http://demo.lanrenzhijia.com/2015/svg0116/images/lanrenzhijia1.png" />
 +
        <svg viewBox="0 0 180 320" preserveAspectRatio="none"><path d="M 0 0 L 0 182 L 90 126.5 L 180 182 L 180 0 L 0 0 z "/></svg>
 +
        <figcaption>
 +
  <h2>Crystalline</h2>
 +
  <p>Soko radicchio bunya nuts gram dulse.</p>
 +
  <button>View</button>
 +
        </figcaption>
 +
      </figure>
 +
    </a>
 +
    <a href="http://www.lanrenzhijia.com/" data-path-hover="M 0,0 0,38 90,58 180.5,38 180,0 z">
 +
      <figure>
 +
<img src="http://demo.lanrenzhijia.com/2015/svg0116/images/lanrenzhijia2.png" />
 +
<svg viewBox="0 0 180 320" preserveAspectRatio="none"><path d="M 0 0 L 0 182 L 90 126.5 L 180 182 L 180 0 L 0 0 z "/></svg>
 +
        <figcaption>
 +
          <h2>Cacophony</h2>
 +
          <p>Two greens tigernut soybean radish.</p>
 +
          <button>View</button>
 +
</figcaption>
 +
      </figure>
 +
    </a>
 +
    <a href="http://www.lanrenzhijia.com/" data-path-hover="M 0,0 0,38 90,58 180.5,38 180,0 z">
 +
      <figure>
 +
        <img src="http://demo.lanrenzhijia.com/2015/svg0116/images/lanrenzhijia3.png" />
 +
        <svg viewBox="0 0 180 320" preserveAspectRatio="none"><path d="M 0 0 L 0 182 L 90 126.5 L 180 182 L 180 0 L 0 0 z "/></svg>
 +
        <figcaption>
 +
          <h2>Languid</h2>
 +
  <p>Beetroot water spinach okra water.</p>
 +
  <button>View</button>
 +
</figcaption>
 +
      </figure>
 +
    </a>
 +
    <a href="http://www.lanrenzhijia.com/" data-path-hover="M 0,0 0,38 90,58 180.5,38 180,0 z">
 +
      <figure>
 +
        <img src="http://demo.lanrenzhijia.com/2015/svg0116/images/lanrenzhijia4.png" />
 +
        <svg viewBox="0 0 180 320" preserveAspectRatio="none"><path d="M 0 0 L 0 182 L 90 126.5 L 180 182 L 180 0 L 0 0 z "/></svg>
 +
        <figcaption>
 +
          <h2>Serene</h2>
 +
          <p>Water spinach arugula pea tatsoi.</p>
 +
          <button>View</button>
 +
        </figcaption>
 +
      </figure>
 +
    </a>
 +
    </section>
 +
  </div>
  
 +
  <script src="http://www.lanrenzhijia.com/ajaxjs/snap.svg-min.js"></script>
 +
  <!--[if IE]>
 +
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
 +
  <![endif]-->
 +
  <script>
 +
  (function() {
 +
    function init() {
 +
      var speed = 300,
 +
      easing = mina.backout;
 +
      [].slice.call ( document.querySelectorAll( '#grid > a' ) ).forEach( function( el ) {
 +
        var s = Snap( el.querySelector( 'svg' ) ), path = s.select( 'path' ),
 +
        pathConfig = {
 +
        from : path.attr( 'd' ),
 +
        to : el.getAttribute( 'data-path-hover' )
 +
      };
  
<h4>Tips</h4>
+
      el.addEventListener( 'mouseenter', function() {
<p>This wiki will be your team’s first interaction with the rest of the world, so here are a few tips to help you get started: </p>
+
        path.animate( { 'path' : pathConfig.to }, speed, easing );
<ul>
+
      } );
<li>State your accomplishments! Tell people what you have achieved from the start. </li>
+
<li>Be clear about what you are doing and how you plan to do this.</li>
+
<li>You have a global audience! Consider the different backgrounds that your users come from.</li>
+
<li>Make sure information is easy to find; nothing should be more than 3 clicks away.  </li>
+
<li>Avoid using very small fonts and low contrast colors; information should be easy to read.  </li>
+
<li>Start documenting your project as early as possible; don’t leave anything to the last minute before the Wiki Freeze. For a complete list of deadlines visit the <a href="https://2015.igem.org/Calendar_of_Events">iGEM 2015 calendar</a> </li>
+
<li>Have lots of fun! </li>
+
</ul>
+
  
 +
      el.addEventListener( 'mouseleave', function() {
 +
        path.animate( { 'path' : pathConfig.from }, speed, easing );
 +
      } );
 +
    } );
 +
  }
  
<h4>Inspiration</h4>
+
  init();
<p> You can also view other team wikis for inspiration! Here are some examples:</p>
+
<ul>
+
<li> <a href="https://2014.igem.org/Team:SDU-Denmark/"> 2014 SDU Denmark </a> </li>
+
<li> <a href="https://2014.igem.org/Team:Aalto-Helsinki">2014 Aalto-Helsinki</a> </li>
+
<li> <a href="https://2014.igem.org/Team:LMU-Munich">2014 LMU-Munich</a> </li>
+
<li> <a href="https://2014.igem.org/Team:Michigan"> 2014 Michigan</a></li>
+
<li> <a href="https://2014.igem.org/Team:ITESM-Guadalajara">2014 ITESM-Guadalajara </a></li>
+
<li> <a href="https://2014.igem.org/Team:SCU-China"> 2014 SCU-China </a></li>
+
</ul>
+
  
<h4> Uploading pictures and files </h4>
+
  })();
<p> You can upload your pictures and files to the iGEM 2015 server. Remember to keep all your pictures and files within your team's namespace or at least include your team's name in the file name. <br />
+
  </script>
When you upload, set the "Destination Filename" to <code>Team:YourOfficialTeamName/NameOfFile.jpg</code>. (If you don't do this, someone else might upload a different file with the same "Destination Filename", and your file would be erased!)</p>
+
 
+
<a href="https://2015.igem.org/Special:Upload">CLICK HERE TO UPLOAD FILES</a>
+
 
+
 
+
 
+
</div></div> <!--These are the closing tags for div id="mainContainer" and div id="contentContainer". The corresponding opening tags appear in the template that is {{included}} at the top of this page.-->
+
  
 +
</body>
 
</html>
 
</html>

Revision as of 13:31, 2 May 2015

Amoy

THIS IS OUR PROJECT NAME

WELCOME TO AMOY CHINA

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa