Team:HKU-Hong Kong

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<!-- *** What falls between these lines is the Alert Box!  You can remove it from your pages once you have read and understood the alert *** -->
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 +
<html xmlns="http://www.w3.org/1999/xhtml">
 +
<head>
 +
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 +
<title>Team HKU</title>
 +
<style type="text/css">
 +
<!--
 +
body {
 +
margin: 0;
 +
padding: 0;
 +
color: #FFF;
 +
font-family: Georgia, "Georgia Italic", "Georgia Bold Italic", "Georgia Bold";
 +
font-size: 100%;
 +
line-height: 1.4;
 +
background-attachment: scroll;
 +
background-color: #000;
 +
background-image: none;
 +
background-repeat: no-repeat;
 +
background-position: center center;
 +
}
-
<html>
+
/* ~~ Element/tag selectors ~~ */
-
<div id="box" style="width: 700px; margin-left: 137px; padding: 5px; border: 3px solid #000; background-color: #fe2b33;">
+
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 id="template" style="text-align: center; font-weight: bold; font-size: large; color: #f6f6f6; padding: 5px;">
+
padding: 0;
-
This is a template page. READ THESE INSTRUCTIONS.
+
margin: 0;
-
</div>
+
background-color: #000;
-
<div id="instructions" style="text-align: center; font-weight: normal; font-size: small; color: #f6f6f6; padding: 5px;">
+
}
-
You are provided with this team page template with which to start the iGEM season.  You may choose to personalize it to fit your team but keep the same "look." Or you may choose to take your team wiki to a different level and design your own wiki.  You can find some examples <a href="https://2009.igem.org/Help:Template/Examples">HERE</a>.
+
h1, h2, h3, h4, h5, h6, p {
-
</div>
+
margin-top: 0; /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
-
<div id="warning" style="text-align: center; font-weight: bold; font-size: small; color: #f6f6f6; padding: 5px;">
+
padding-right: 15px;
-
You <strong>MUST</strong> have a team description page, a project abstract, a complete project description, a lab notebook, and a safety page. PLEASE keep all of your pages within your teams namespace. 
+
padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
-
</div>
+
background-color: #000;
-
</div>
+
}
-
</html>
+
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
 +
border: none;
 +
}
 +
/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
 +
a:link {
 +
color: #42413C; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
 +
}
 +
a:visited {
 +
color: #6E6C64;
 +
}
 +
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. */
 +
text-decoration: none;
 +
}
-
<!-- *** End of the alert box *** -->
+
/* ~~ this fixed width container surrounds the other divs ~~ */
 +
.container {
 +
width: 960px;
 +
background: #FFF;
 +
margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
 +
}
 +
/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
 +
.header {
 +
background-color: #000;
 +
}
 +
/* ~~ This is the layout information. ~~
-
{|align="justify"
+
1) Padding is only placed on the top and/or bottom of the div. The elements within this div 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 div 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 div and place a second div within it with no width and the padding necessary for your design.
-
|You can write a background of your team here. Give us a background of your team, the members, etc. Or tell us more about something of your choosing.
+
-
|[[Image:HKU-Hong_Kong_logo.png|200px|right|frame]]
+
-
|-
+
-
|
+
-
''Tell us more about your project.  Give us background.  Use this as the abstract of your project. Be descriptive but concise (1-2 paragraphs)''
+
-
|[[Image:HKU-Hong_Kong_team.png|right|frame|Your team picture]]
+
-
|-
+
-
|
+
-
|align="center"|[[Team:HKU-Hong_Kong | Team Example]]
+
-
|}
+
-
<!--- The Mission, Experiments --->
+
*/
-
{| style="color:#1b2c8a;background-color:#0c6;" cellpadding="3" cellspacing="1" border="1" bordercolor="#fff" width="62%" align="center"
+
.content {
-
!align="center"|[[Team:HKU-Hong_Kong|Home]]
+
padding: 10px 0;
-
!align="center"|[[Team:HKU-Hong_Kong/Team|Team]]
+
background-color: #000;
-
!align="center"|[https://igem.org/Team.cgi?year=2011&team_name=HKU-Hong_Kong Official Team Profile]
+
}
-
!align="center"|[[Team:HKU-Hong_Kong/Project|Project]]
+
 
-
!align="center"|[[Team:HKU-Hong_Kong/Parts|Parts Submitted to the Registry]]
+
/* ~~ The footer ~~ */
-
!align="center"|[[Team:HKU-Hong_Kong/Modeling|Modeling]]
+
.footer {
-
!align="center"|[[Team:HKU-Hong_Kong/Notebook|Notebook]]
+
padding: 10px 0;
-
!align="center"|[[Team:HKU-Hong_Kong/Safety|Safety]]
+
background-color: #000;
-
!align="center"|[[Team:HKU-Hong_Kong/Attributions|Attributions]]
+
}
-
|}
+
 
 +
/* ~~ 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 div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
 +
clear:both;
 +
height:0;
 +
font-size: 1px;
 +
line-height: 0px;
 +
}
 +
-->
 +
</style>
 +
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
 +
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
 +
</head>
 +
 
 +
<body>
 +
 
 +
<div class="container">
 +
  <div class="header"><a href="#"><a href="#"></a>
 +
    <!-- end .header --><img name="" src="logo-hku100.jpg" width="256" height="60" alt="" /><img src="slogan.jpg" alt="" width="236" height="33" align="right" /></div>
 +
  <div class="content">
 +
    <ul id="MenuBar1" class="MenuBarHorizontal">
 +
      <li><a href="#">Home</a>      </li>
 +
      <li><a href="#" class="MenuBarItemSubmenu">Team Profile</a>
 +
        <ul>
 +
          <li><a href="#">The Interesting One</a></li>
 +
          <li><a href="#">The Not So Interesting One</a></li>
 +
        </ul>
 +
      </li>
 +
      <li><a class="MenuBarItemSubmenu" href="#">Project</a>
 +
        <ul>
 +
          <li><a class="MenuBarItemSubmenu" href="#">Introduction</a>
 +
            <ul>
 +
              <li><a href="#">Item 3.1.1</a></li>
 +
              <li><a href="#">Item 3.1.2</a></li>
 +
            </ul>
 +
          </li>
 +
          <li><a href="#">Diary</a></li>
 +
          <li><a href="#">Experiments</a></li>
 +
        </ul>
 +
      </li>
 +
      <li><a href="#">Team Parts</a></li>
 +
      <li><a href="#">Modeling</a></li>
 +
      <li><a href="#">Safety</a></li>
 +
      <li><a href="#">Attributions</a></li>
 +
</ul>
 +
    <h1>&nbsp;</h1>
 +
    <p>&nbsp;</p>
 +
    <p>&nbsp;</p>
 +
    <h1>Welcome to the wiki page of Team HKU 2011. We are currently still under construction.</h1>
 +
    <h1>Coming soon: 15th July 2011<!-- end .content --></h1>
 +
  </div>
 +
  <div class="footer">
 +
    <p>&nbsp;</p>
 +
    <!-- end .footer --></div>
 +
  <!-- end .container --></div>
 +
<script type="text/javascript">
 +
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
 +
</script>
 +
</body>
 +
</html>

Revision as of 09:24, 30 June 2011

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Team HKU

 

 

 

Welcome to the wiki page of Team HKU 2011. We are currently still under construction.

Coming soon: 15th July 2011