Team:HKU-Hong Kong

From 2011.igem.org

(Difference between revisions)
(Prototype team page)
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 *** -->
 
-
 
<html>
<html>
-
<div id="box" style="width: 700px; margin-left: 137px; padding: 5px; border: 3px solid #000; background-color: #fe2b33;">
+
<head>
-
<div id="template" style="text-align: center; font-weight: bold; font-size: large; color: #f6f6f6; padding: 5px;">
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-
This is a template page. READ THESE INSTRUCTIONS.
+
<title>Team HKU iGEM 2011</title>
-
</div>
+
<style type="text/css">
-
<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>.
+
body {
-
</div>
+
margin: 0;
-
<div id="warning" style="text-align: center; font-weight: bold; font-size: small; color: #f6f6f6; padding: 5px;">
+
padding: 0;
-
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. 
+
color: #000;
-
</div>
+
font-family: Verdana, Arial, Helvetica, sans-serif;
-
</div>
+
font-size: 100%;
-
</html>
+
line-height: 1.4;
 +
background-color: #E8E8E8;
 +
background-image: url(http://100.hku.hk/images/hku100symbol.jpg);
 +
background-position: center center;
 +
}
-
<!-- *** End of the alert box *** -->
+
/* ~~ Element/tag selectors ~~ */
 +
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. */
 +
padding: 0;
 +
margin: 0;
 +
}
 +
h1, h2, h3, h4, h5, h6, p {
 +
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. */
 +
padding-right: 15px;
 +
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. */
 +
}
 +
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:#414958;
 +
text-decoration: underline; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
 +
}
 +
a:visited {
 +
color: #4E5869;
 +
text-decoration: underline;
 +
}
 +
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;
 +
}
 +
/* ~~ this container surrounds all other divs giving them their percentage-based width ~~ */
 +
.container {
 +
width: auto;
 +
max-width: 1260px;/* a max-width may be desirable to keep this layout from getting too wide on a large monitor. This keeps line length more readable. IE6 does not respect this declaration. */
 +
min-width: 780px;/* a min-width may be desirable to keep this layout from getting too narrow. This keeps line length more readable in the side columns. IE6 does not respect this declaration. */
 +
background: #FFF; /* the auto value on the sides, coupled with the width, centers the layout. It is not needed if you set the .container's width to 100%. */
 +
height: auto;
 +
margin: 1.5cm;
 +
}
-
{|align="justify"
+
/* ~~ This is the layout information. ~~
-
|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 --->
+
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.
-
{| style="color:#1b2c8a;background-color:#0c6;" cellpadding="3" cellspacing="1" border="1" bordercolor="#fff" width="62%" align="center"
+
*/
-
!align="center"|[[Team:HKU-Hong_Kong|Home]]
+
.content {
-
!align="center"|[[Team:HKU-Hong_Kong/Team|Team]]
+
padding: 10px 0;
-
!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]]
+
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
-
!align="center"|[[Team:HKU-Hong_Kong/Modeling|Modeling]]
+
.content ul, .content ol {
-
!align="center"|[[Team:HKU-Hong_Kong/Notebook|Notebook]]
+
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. */
-
!align="center"|[[Team:HKU-Hong_Kong/Safety|Safety]]
+
}
-
!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 overflow:hidden on the .container is removed */
 +
clear:both;
 +
height:0;
 +
font-size: 1px;
 +
line-height: 0px;
 +
}
 +
-->
 +
</style></head>
 +
 
 +
<body>
 +
</body>
 +
</html>

Revision as of 14:26, 14 June 2011

Team HKU iGEM 2011