Difference between revisions of "Template:WHU-Pharm"
(Prototype team template page) |
|||
Line 6: | Line 6: | ||
<!-- Start of CSS--> | <!-- Start of CSS--> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* since the background is dark, we change the color of the text and links so they are visible on "show preview" mode */ | ||
+ | |||
+ | p, #content { | ||
+ | color:#808284; | ||
+ | } | ||
+ | |||
+ | a, a:visited { | ||
+ | color:#22BCB9; | ||
+ | } | ||
+ | |||
+ | |||
/* PAGE LAYOUT */ | /* PAGE LAYOUT */ | ||
− | /* | + | |
+ | /* Set up a width, height and color of the body wrapper*/ | ||
body { | body { | ||
− | background-color: # | + | background-color: #29221F; |
} | } | ||
/* Creates a container that will wrap all of the content inside your wiki pages. */ | /* Creates a container that will wrap all of the content inside your wiki pages. */ | ||
#mainContainer { | #mainContainer { | ||
− | width: | + | width: 980px; |
overflow:hidden; | overflow:hidden; | ||
float:left; | float:left; | ||
Line 22: | Line 39: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
background-color: #fff; | background-color: #fff; | ||
− | border-bottom: | + | border-bottom: 20px solid #14747D; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 32: | Line 45: | ||
#menuContainer { | #menuContainer { | ||
float:left; | float:left; | ||
− | width: | + | width: 150px; |
padding: 20px 0px; | padding: 20px 0px; | ||
− | border-top: | + | background-color: #DB1E39; |
− | + | border-top: 20px solid #14747D; | |
+ | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | ||
} | } | ||
Line 43: | Line 57: | ||
padding-right:10px; | padding-right:10px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
− | width: | + | width: 800px; |
padding-left: 20px; | padding-left: 20px; | ||
float: left; | float: left; | ||
+ | border-top: 20px solid #14747D; | ||
background-color: #fff; | background-color: #fff; | ||
− | + | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; | |
− | font-family: " | + | |
} | } | ||
+ | |||
/*Set up height place holder for the banner*/ | /*Set up height place holder for the banner*/ | ||
Line 69: | Line 84: | ||
/*This changes the color and font family */ | /*This changes the color and font family */ | ||
#contentContainer h1, h2, h3, h4, h5, h6 { | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
− | color: # | + | font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; |
+ | color: #29221F; | ||
border-bottom: none; | border-bottom: none; | ||
font-weight: bold; | font-weight: bold; | ||
− | |||
margin-top:10px; | margin-top:10px; | ||
} | } | ||
Line 79: | Line 94: | ||
#contentContainer a { | #contentContainer a { | ||
font-weight: bold; | font-weight: bold; | ||
− | color: # | + | color: #22BCB9; |
} | } | ||
/* Styling links on hover- links are different inside the menu */ | /* Styling links on hover- links are different inside the menu */ | ||
#contentContainer a:hover { | #contentContainer a:hover { | ||
− | color: # | + | color: #14747D; |
} | } | ||
/*Change the styling of tables */ | /*Change the styling of tables */ | ||
#contentContainer table { | #contentContainer table { | ||
− | border: | + | border: 2px solid #29221F; |
border-collapse: collapse; | border-collapse: collapse; | ||
− | |||
margin: auto; | margin: auto; | ||
margin-bottom: 15px; | margin-bottom: 15px; | ||
Line 101: | Line 115: | ||
/*Change the styling of table cells*/ | /*Change the styling of table cells*/ | ||
#contentContainer td { | #contentContainer td { | ||
+ | background-color: #fff; | ||
padding: 10px; | padding: 10px; | ||
− | border: | + | border: 2px solid #29221F; |
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
} | } | ||
+ | |||
/*Change the styling of table headers */ | /*Change the styling of table headers */ | ||
#contentContainer th { | #contentContainer th { | ||
− | background-color: # | + | background-color: #F4F0D8; |
padding: 10px; | padding: 10px; | ||
− | border: | + | border: 2px solid #29221F; |
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
} | } | ||
+ | |||
Line 122: | Line 139: | ||
/*Styling for the links in the menu */ | /*Styling for the links in the menu */ | ||
#menuContainer a { | #menuContainer a { | ||
− | color: # | + | color: #fff; |
text-decoration:none; | text-decoration:none; | ||
font-weight: bold; | font-weight: bold; | ||
Line 145: | Line 162: | ||
#menuContainer li:hover { | #menuContainer li:hover { | ||
color: #FFF; | color: #FFF; | ||
− | background-color: # | + | background-color: #14747D; |
} | } | ||
Line 161: | Line 178: | ||
position: absolute; | position: absolute; | ||
float:right; | float:right; | ||
− | margin-left: | + | margin-left: 150px; |
margin-top:-42px; | margin-top:-42px; | ||
} | } | ||
Line 167: | Line 184: | ||
/*Style the submenu buttons*/ | /*Style the submenu buttons*/ | ||
#menuContainer li ul li{ | #menuContainer li ul li{ | ||
− | background-color: # | + | background-color: #22BCB9; |
padding-left:20px; | padding-left:20px; | ||
padding-right:20px; | padding-right:20px; | ||
Line 173: | Line 190: | ||
padding-top:10px; | padding-top:10px; | ||
margin-top:-2px; | margin-top:-2px; | ||
− | color: # | + | color: #28221E; |
− | width: | + | width: 170px; |
} | } | ||
Line 187: | Line 204: | ||
/* highlight box for special messages */ | /* highlight box for special messages */ | ||
− | + | .highlightBox { | |
− | + | width:500px; | |
− | + | margin:auto; | |
− | + | background-color: #F4F0D8; | |
− | + | margin-bottom: 15px; | |
− | + | margin-top: 15px; | |
− | + | padding: 15px; | |
− | + | padding-top: 5px; | |
− | + | } | |
Line 203: | Line 220: | ||
<!-- Start of the template html elements. --> | <!-- Start of the template html elements. --> | ||
− | <div id ="mainContainer"><!-- | + | <div id ="mainContainer"><!--This div will close on the page.--> |
− | + | ||
+ | |||
<div id="bannerContainer"> | <div id="bannerContainer"> | ||
<br><br> | <br><br> | ||
Line 211: | Line 228: | ||
<p>You can make the image 980px by 200px</p> | <p>You can make the image 980px by 200px</p> | ||
− | <p> Remember to call the file: "<i> | + | <p> Remember to call the file: "<i>Team_Example_banner.jpg</i>" </p> |
</div> | </div> | ||
Line 219: | Line 236: | ||
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | ||
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2"><li>HOME</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Team"><li>TEAM</li></a> |
<a href="#"><li>PROJECT | <a href="#"><li>PROJECT | ||
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> |
− | + | ||
</ul> | </ul> | ||
</li></a> | </li></a> | ||
Line 234: | Line 250: | ||
<a href="#"><li>PARTS | <a href="#"><li>PARTS | ||
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Basic_Part"><li>Basic Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a> |
</ul> | </ul> | ||
</li></a> | </li></a> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Practices"><li>HUMAN PRACTICES</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Safety"><li>SAFETY</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Modeling"><li>MODELING</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a> |
</ul> | </ul> | ||
Line 264: | Line 280: | ||
<!-- Start of content --> | <!-- Start of content --> | ||
− | <div id="contentContainer"> <!-- | + | <div id="contentContainer"> <!--This div will close on the page.--> |
</html> | </html> |
Revision as of 04:37, 2 September 2015