Team:Tsinghua

From 2014.igem.org

(Difference between revisions)
 
(64 intermediate revisions not shown)
Line 1: Line 1:
-
<!doctype html>
+
{{Team:Tsinghua/css/slides_styles_v4}}
 +
{{Team:Tsinghua/css/slides_animations}}
 +
{{Team:Tsinghua/css/jquery-1.10.1.min.js}}
<html>
<html>
-
<head>
+
<body onload=' location.href="#anchor1" '>
-
<meta charset="utf-8">
+
<div class="container">
-
<title>Tsinghua iGEM</title>
+
<div id="sheet1">
-
<style type="text/css">
+
<a id='anchor1' href='#'></a>
-
@charset "utf-8";
+
<div class="contentbox">
-
body {
+
<span>
-
font: Verdana, Arial, Helvetica, sans-serif;
+
<div id="image1" class="floating">
-
background-color: #42413C;
+
<img src="https://static.igem.org/mediawiki/2014/6/63/Tsinghua_Emoji-4.png" width="200" height="250"  alt=""/>
-
margin: 0;
+
</div>
-
padding: 0;
+
<div id="text1" class="slideLeft">
-
color: #333;
+
<h1 class="customtext">Hi! We are <font color="990099">Team Tsinghua</font>. We present to you a <font color="990099">gene therapy</font> for Type 1 Diabetes Mellitus (T1DM).</h1>
-
}
+
</div>
-
/* ~~ Element/tag selectors ~~ */
+
</span>
-
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
+
</div>
-
padding: 0;
+
<div class="arrow">
-
margin: 0;
+
<img src="https://static.igem.org/mediawiki/2014/f/f2/Tsinghua_arrow.png" width="22" height="27"  alt=""/>
-
}
+
<p>Scroll down</p>
-
h1, h2, h3, h4, h5, h6, p {
+
</div>
-
padding-right: 15px;
+
</div>
-
padding-left: 15px;
+
<div id="sheet2">
-
}
+
<div class="contentbox">
-
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
+
<span>
-
border: none;
+
<div id="image2" class="tossing">
-
}
+
<img src="https://static.igem.org/mediawiki/2014/2/23/Tsinghua_Emoji-2.png" width="200" height="250"  alt=""/>
-
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
+
</div>
-
a:link {
+
<div id="text2">
-
color: #42413C;
+
<h1 class="customtext"><font color="990099">T1DM</font> results from autoimmune destruction of pancreatic beta cells. Our approach converts somatic cells into regulated insulin-producing cells, thus eliminating the need for continuous insulin therapy.</h1>
-
text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
+
</div>
-
}
+
</span>
-
a:visited {
+
</div>
-
color: #6E6C64;
+
<div class="arrow">
-
text-decoration: none;
+
<img src="https://static.igem.org/mediawiki/2014/f/f2/Tsinghua_arrow.png" width="22" height="27"  alt=""/>
-
}
+
<p>Scroll down</p>
-
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
+
</div>
-
text-decoration: none;
+
</div>
-
}
+
<div id="sheet3">
-
/* ~~ This fixed width container surrounds all other blocks ~~ */
+
<div class="contentbox">
-
.container {
+
<span>
-
width: 960px;
+
<div id="image3">
-
background-color: #FFFFFF;
+
<img src="https://static.igem.org/mediawiki/2014/4/4a/Tsinghua_Logo300x409.png" width="150" height="204.5"  alt=""/>
-
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
+
</div>
-
}
+
<div id="text3">
-
/* ~~ The header is not given a width. It will extend the full width of your layout. ~~ */
+
<h1 class="customtext">We use <font color="990099">Adeno-associated virus (AAV)</font> as a transfection vector to introduce genes, which has proven to be safe… Well, that’s a whole other story, want to know more? </h1>
-
header {
+
</div>
-
background-color: #ffffff;
+
</span>
-
}
+
</div>
 +
<div class="arrow">
 +
<img src="https://static.igem.org/mediawiki/2014/f/f2/Tsinghua_arrow.png" width="22" height="27"  alt=""/>
 +
<p>Scroll down</p>
 +
</div>
 +
</div>
 +
<div id="sheet4">
 +
<a href="https://2014.igem.org/Team:Tsinghua/Main_page">Get Started!</a>
 +
</div>
 +
</div>
 +
<script>
 +
$(window).scroll(function() {
 +
$('#text2').each(function(){
 +
var imagePos = $(this).offset().top;
 +
var topOfWindow = $(window).scrollTop();
 +
if (imagePos < topOfWindow+400) {
 +
$(this).addClass("expandUp");
 +
}
 +
});
 +
});
 +
</script>
 +
<script>
 +
$(window).scroll(function() {
 +
$('#image3').each(function(){
 +
var imagePos = $(this).offset().top;
-
/* ~~ These are the columns for the layout. ~~
+
var topOfWindow = $(window).scrollTop();
 +
if (imagePos < topOfWindow+400) {
 +
$(this).addClass("expandOpen");
 +
}
 +
});
 +
});
 +
</script>
 +
<script>
 +
$(window).scroll(function() {
 +
$('#text3').each(function(){
 +
var imagePos = $(this).offset().top;
-
1) Padding is only placed on the top and/or bottom of the block elements. The elements within these blocks have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the block itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the block element and place a second block element within it with no width and the padding necessary for your design.
+
var topOfWindow = $(window).scrollTop();
-
 
+
if (imagePos < topOfWindow+400) {
-
2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a block set to float right). Many times, padding can be used instead. For blocks where this rule must be broken, you should add a "display:inline" declaration to the block element's rule to tame a bug where some versions of Internet Explorer double the margin.
+
$(this).addClass("bigEntrance");
-
 
+
}
-
3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar blocks could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.
+
});
-
 
+
});
-
4) If you prefer your nav on the left instead of the right, simply float these columns the opposite direction (all left instead of all right) and they'll render in reverse order. There's no need to move the blocks around in the HTML source.
+
</script>
-
 
+
-
*/
+
-
.sidebar1 {
+
-
float: left;
+
-
width: 176px;
+
-
background-color: #959595;
+
-
padding-bottom: 15px;
+
-
padding-top: 15px;
+
-
border-right: 4px solid #ffffff;
+
-
}
+
-
.content {
+
-
padding: 10px 0;
+
-
width: 780px;
+
-
float: left;
+
-
}
+
-
aside {
+
-
float: left;
+
-
width: 180px;
+
-
background-color: #EADCAE;
+
-
padding: 10px 0;
+
-
}
+
-
 
+
-
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
+
-
.content ul, .content ol {
+
-
padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
+
-
}
+
-
 
+
-
/* ~~ Drop right nav bar menu ~~ */
+
-
nav {
+
-
padding: 0;
+
-
margin: 0;
+
-
border: 0;
+
-
line-height: 1;
+
-
}
+
-
nav ul li a:link {
+
-
color: #ffffff;
+
-
text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
+
-
}
+
-
nav ul li a:visited {
+
-
color: #ffffff;
+
-
text-decoration: none;
+
-
}
+
-
 
+
-
nav ul,
+
-
nav ul li,
+
-
nav ul ul {
+
-
list-style: none;
+
-
margin: 0;
+
-
padding: 0;
+
-
}
+
-
nav ul {
+
-
position: relative;
+
-
z-index: 597;
+
-
float: left;
+
-
}
+
-
nav ul li {
+
-
float: left;
+
-
min-height: 1px;
+
-
line-height: 1em;
+
-
vertical-align: middle;
+
-
position: relative;
+
-
}
+
-
nav ul li.hover,
+
-
nav ul li:hover {
+
-
position: relative;
+
-
z-index: 599;
+
-
cursor: default;
+
-
}
+
-
nav ul ul {
+
-
visibility: hidden;
+
-
position: absolute;
+
-
top: 100%;
+
-
left: 0px;
+
-
z-index: 598;
+
-
width: 100%;
+
-
}
+
-
nav ul ul li {
+
-
float: none;
+
-
}
+
-
nav ul ul ul {
+
-
top: -2px;
+
-
right: 0;
+
-
}
+
-
nav ul li:hover > ul {
+
-
visibility: visible;
+
-
}
+
-
nav ul ul {
+
-
top: 1px;
+
-
left: 99%;
+
-
}
+
-
nav ul li {
+
-
float: none;
+
-
}
+
-
nav ul ul {
+
-
margin-top: 1px;
+
-
}
+
-
nav ul ul li {
+
-
font-weight: normal;
+
-
}
+
-
/* Custom CSS Styles */
+
-
nav {
+
-
width: 180px;
+
-
background: #333333;
+
-
font-family: 'Oxygen Mono', Tahoma, Arial, sans-serif;
+
-
zoom: 1;
+
-
font-size: 12px;
+
-
}
+
-
nav:before {
+
-
content: '';
+
-
display: block;
+
-
}
+
-
nav:after {
+
-
content: '';
+
-
display: table;
+
-
clear: both;
+
-
}
+
-
nav a {
+
-
display: block;
+
-
padding: 15px 20px;
+
-
color: #ffffff;
+
-
text-decoration: none;
+
-
text-transform: uppercase;
+
-
}
+
-
nav > ul {
+
-
width: 184px;
+
-
}
+
-
nav ul ul {
+
-
width: 180px;
+
-
}
+
-
nav > ul > li > a {
+
-
border-right: 8px solid #1b9bff;
+
-
color: #ffffff;
+
-
}
+
-
nav > ul > li > a:hover {
+
-
color: #ffffff;
+
-
}
+
-
nav > ul > li.active a {
+
-
background: #1b9bff;
+
-
}
+
-
nav > ul > li a:hover,
+
-
nav > ul > li:hover a {
+
-
background: #1b9bff;
+
-
}
+
-
nav li {
+
-
position: relative;
+
-
}
+
-
nav ul li.has-sub > a:after {
+
-
content: '+';
+
-
position: absolute;
+
-
top: 50%;
+
-
right: 15px;
+
-
margin-top: -6px;
+
-
}
+
-
nav ul ul li.first {
+
-
-webkit-border-radius: 0 3px 0 0;
+
-
-moz-border-radius: 0 3px 0 0;
+
-
border-radius: 0 3px 0 0;
+
-
}
+
-
nav ul ul li.last {
+
-
-webkit-border-radius: 0 0 3px 0;
+
-
-moz-border-radius: 0 0 3px 0;
+
-
border-radius: 0 0 3px 0;
+
-
border-bottom: 0;
+
-
}
+
-
nav ul ul {
+
-
-webkit-border-radius: 0 3px 3px 0;
+
-
-moz-border-radius: 0 3px 3px 0;
+
-
border-radius: 0 3px 3px 0;
+
-
}
+
-
nav ul ul {
+
-
border: 1px solid #0082e7;
+
-
}
+
-
nav ul ul a {
+
-
font-size: 12px;
+
-
color: #ffffff;
+
-
}
+
-
nav ul ul a:hover {
+
-
color: #ffffff;
+
-
}
+
-
nav ul ul li {
+
-
border-bottom: 1px solid #0082e7;
+
-
}
+
-
nav ul ul li:hover > a {
+
-
background: #4eb1ff;
+
-
color: #ffffff;
+
-
}
+
-
nav.align-right > ul > li > a {
+
-
border-left: 4px solid #1b9bff;
+
-
border-right: none;
+
-
}
+
-
nav.align-right {
+
-
float: right;
+
-
}
+
-
nav.align-right li {
+
-
text-align: right;
+
-
}
+
-
nav.align-right ul li.has-sub > a:before {
+
-
content: '+';
+
-
position: absolute;
+
-
top: 50%;
+
-
left: 15px;
+
-
margin-top: -6px;
+
-
}
+
-
nav.align-right ul li.has-sub > a:after {
+
-
content: none;
+
-
}
+
-
nav.align-right ul ul {
+
-
visibility: hidden;
+
-
position: absolute;
+
-
top: 0;
+
-
left: -100%;
+
-
z-index: 598;
+
-
width: 100%;
+
-
}
+
-
nav.align-right ul ul li.first {
+
-
-webkit-border-radius: 3px 0 0 0;
+
-
-moz-border-radius: 3px 0 0 0;
+
-
border-radius: 3px 0 0 0;
+
-
}
+
-
nav.align-right ul ul li.last {
+
-
-webkit-border-radius: 0 0 0 3px;
+
-
-moz-border-radius: 0 0 0 3px;
+
-
border-radius: 0 0 0 3px;
+
-
}
+
-
nav.align-right ul ul {
+
-
-webkit-border-radius: 3px 0 0 3px;
+
-
-moz-border-radius: 3px 0 0 3px;
+
-
border-radius: 3px 0 0 3px;
+
-
}
+
-
 
+
-
/*******************************************
+
-
iGEM top section
+
-
*******************************************/
+
-
#top-section {
+
-
    position: relative;
+
-
    height: 20px;
+
-
    width: 960px;
+
-
margin: 0 auto 0 auto;
+
-
}
+
-
 
+
-
#p-logo {
+
-
    position: absolute;
+
-
    z-index: 1;
+
-
    height: 20px;
+
-
    width: 960px;
+
-
}
+
-
#p-logo h5 {
+
-
    display: none;
+
-
}
+
-
 
+
-
#p-logo a,
+
-
#p-logo a:hover {
+
-
    text-decoration: none;
+
-
}
+
-
 
+
-
#search-controls {
+
-
position: absolute;
+
-
right: 15px;
+
-
width: 150px;
+
-
height: 20px;
+
-
background-color: transparent;
+
-
    text-align: center;
+
-
    z-index: 3;
+
-
}
+
-
input.searchButton {
+
-
margin: 1px 5px 0 10px;
+
-
font-size: 100%;
+
-
background: none;
+
-
border: none;
+
-
color: #AAAAFF;
+
-
font-weight: bold;
+
-
}
+
-
input.searchButton:hover {
+
-
color: white;
+
-
}
+
-
#searchInput {
+
-
    width: 10.9em;
+
-
    margin: 0;
+
-
    font-size: 95%;
+
-
}
+
-
#searchGoButton {
+
-
margin-right: 0px;
+
-
margin-left: 35px;
+
-
}
+
-
 
+
-
 
+
-
#menubar {
+
-
    position: absolute;
+
-
    white-space: nowrap;
+
-
    top: 0px;
+
-
    width: 400px;
+
-
    z-index: 5;
+
-
    font-family: sans-serif;
+
-
    font-size: 95%;
+
-
height: 20px;
+
-
    line-height: 0px;
+
-
}
+
-
 
+
-
.left-menu, .left-menu a {
+
-
    left: 0px;
+
-
    text-align: left;
+
-
    color:transparent;
+
-
    text-transform: lowercase;
+
-
}
+
-
 
+
-
.left-menu:hover {
+
-
    color: white;
+
-
    background-color: #555555
+
-
}
+
-
.right-menu, .right-menu a {
+
-
    right: 0px;
+
-
    text-align: right;
+
-
    color: white;
+
-
}
+
-
#menubar ul {
+
-
    color: #555555;
+
-
    list-style: none;
+
-
}
+
-
#menubar li {
+
-
display: inline;
+
-
position: relative;
+
-
cursor: pointer;
+
-
padding-top: 0px;
+
-
}
+
-
.left-menu li a {
+
-
    padding: 0px 0px 0px 0px;
+
-
}
+
-
.left-menu .selected {
+
-
#    color: white;
+
-
}
+
-
#.left-menu .selected:hover {
+
-
#    color: #5555FF;
+
-
#}
+
-
 
+
-
.left-menu:hover a {
+
-
    color: white;
+
-
}
+
-
.right-menu li {
+
-
#    background-color: #606060;
+
-
}
+
-
.right-menu li a {
+
-
    padding: 0px 0px 0px 0px;
+
-
    color: white;
+
-
    background-color: #606060;
+
-
}
+
-
.right-menu li a:hover {
+
-
    color: #aaaaff;
+
-
    text-decoration: underline;
+
-
}
+
-
 
+
-
 
+
-
/* ~~ The footer ~~ */
+
-
footer {
+
-
padding: 10px 0;
+
-
background-color: #CCC49F;
+
-
position: relative;/* this gives IE6 hasLayout to properly clear */
+
-
clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
+
-
}
+
-
/* ~~ Miscellaneous float/clear classes ~~ */
+
-
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
+
-
float: right;
+
-
margin-left: 8px;
+
-
}
+
-
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
+
-
float: left;
+
-
margin-right: 8px;
+
-
}
+
-
.clearfloat { /* this class can be placed on a <br /> or empty block element as the final element following the last floated block (within the .container) if the footer is removed or taken out of the .container */
+
-
clear:both;
+
-
height:0;
+
-
font-size: 1px;
+
-
line-height: 0px;
+
-
}
+
-
 
+
-
/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
+
-
header, section, footer, aside, article, figure {
+
-
display: block;
+
-
}
+
-
 
+
-
 
+
-
</style>
+
-
 
+
-
<!--[if lt IE 9]>
+
-
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+
-
<![endif]-->
+
-
</head>
+
-
 
+
-
 
+
-
<body>
+
-
 
+
-
<div class="container">
+
-
  <header>
+
-
  <img src="rsc/logo.jpg" width="180" height="101"  alt=""/></header>
+
-
  <div class="sidebar1">
+
-
  <nav>
+
-
    <ul>
+
-
      <li><a href="#">MAIN PAGE</a></li>
+
-
      <li><a href="#">INTRODUCTION</a></li>
+
-
      <li><a href="#">PROJECT</a>
+
-
<ul>
+
-
          <li><a href="#">Tet-Insulin</a></li>
+
-
          <li><a href="#">HXT1-MIN-Insulin</a></li>
+
-
          <li><a href="#">PDX-1/MafA</a></li>
+
-
      </ul>
+
-
      </li>
+
-
      <li><a href="#">RESULTS</a>
+
-
<ul>
+
-
          <li><a href="#">Tet-Insulin</a></li>
+
-
          <li><a href="#">HXT1-MIN-Insulin</a></li>
+
-
          <li><a href="#">PDX-1/MafA</a></li>
+
-
      </ul>
+
-
      </li>
+
-
      <li><a href="#">SAFETY</a></li>
+
-
      <li><a href="#">NOTEBOOK</a>
+
-
<ul>
+
-
          <li><a href="#">PROTOCOL</a></li>
+
-
          <li><a href="#">LABLOG</a></li>
+
-
      </ul>
+
-
      </li> 
+
-
      <li><a href="#">HUMAN PRACTICE</a></li>
+
-
      <li><a href="#">TEAM</a></li>
+
-
    </ul>
+
-
  </nav>
+
-
  <!-- end .sidebar1 --></div>
+
-
  <article class="content">
+
-
    <h1>Header 1</h1>
+
-
    <section>
+
-
    <h2>Header 2</h2>
+
-
      <p>Be aware that the CSS for these layouts is heavily commented. If you do most of your work in Design view, have a peek at the code to get tips on working with the CSS for the fixed layouts. You can remove these comments before you launch your site. To learn more about the techniques used in these CSS Layouts, read this article at Adobe's Developer Center - <a href="http://www.adobe.com/go/adc_css_layouts">http://www.adobe.com/go/adc_css_layouts</a>.</p>
+
-
    </section>
+
-
    <section>
+
-
      <h2>Header 2</h2>
+
-
      <p>Because all the columns are floated, this layout uses a clear:both declaration in the footer rule.  This clearing technique forces the .container to understand where the columns end in order to show any borders or background colors you place on the .container. If your design requires you to remove the footer from the .container, you'll need to use a different clearing method. The most reliable will be to add a &lt;br class=&quot;clearfloat&quot; /&gt; or &lt;div  class=&quot;clearfloat&quot;&gt;&lt;/div&gt; after your final floated column (but before the .container closes). This will have the same clearing effect. </p>
+
-
    </section>
+
-
    <section>
+
-
      <h2>Header2</h2>
+
-
      <p>An image placeholder was used in this layout in the header where you'll likely want to place  a logo. It is recommended that you remove the placeholder and replace it with your own linked logo. </p>
+
-
      <p> Be aware that if you use the Property inspector to navigate to your logo image using the SRC field (instead of removing and replacing the placeholder), you should remove the inline background and display properties. These inline styles are only used to make the logo placeholder show up in browsers for demonstration purposes. </p>
+
-
      <p>To remove the inline styles, make sure your CSS Styles panel is set to Current. Select the image, and in the Properties pane of the CSS Styles panel, right click and delete the display and background properties. (Of course, you can always go directly into the code and delete the inline styles from the image or placeholder there.)</p>
+
-
    </section>
+
-
  <!-- end .content --></article>
+
-
  <footer>
+
-
    <p>This footer contains the declaration position:relative; to give Internet Explorer 6 hasLayout for the footer and cause it to clear correctly. If you're not required to support IE6, you may remove it.</p>
+
-
    <address>
+
-
      Address Content
+
-
    </address>
+
-
  </footer>
+
-
  <!-- end .container --></div>
+
</body>
</body>
-
</html>
 
-
 
</html>
</html>

Latest revision as of 18:20, 15 October 2014

Hi! We are Team Tsinghua. We present to you a gene therapy for Type 1 Diabetes Mellitus (T1DM).

Scroll down

T1DM results from autoimmune destruction of pancreatic beta cells. Our approach converts somatic cells into regulated insulin-producing cells, thus eliminating the need for continuous insulin therapy.

Scroll down

We use Adeno-associated virus (AAV) as a transfection vector to introduce genes, which has proven to be safe… Well, that’s a whole other story, want to know more?

Scroll down