Difference between revisions of "Template:Example2"
m (Protected "Template:Example2" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
(46 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Template_All_Teams}} | ||
+ | |||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
<html> | <html> | ||
− | + | <!-- Start of CSS--> | |
− | + | ||
− | + | ||
<style type="text/css"> | <style type="text/css"> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* PAGE LAYOUT */ | |
− | + | ||
− | + | ||
− | + | /* Change Background color*/ | |
+ | body { | ||
background-color: #fff; | background-color: #fff; | ||
} | } | ||
− | + | /* Creates a container that will wrap all of the content inside your wiki pages. */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#mainContainer { | #mainContainer { | ||
− | + | width: 978px; | |
− | + | ||
− | width: | + | |
overflow:hidden; | overflow:hidden; | ||
− | margin: | + | float:left; |
+ | margin-left:20px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
− | |||
− | |||
background-color: #fff; | background-color: #fff; | ||
border-bottom: 14px solid #565656; | border-bottom: 14px solid #565656; | ||
Line 67: | Line 29: | ||
} | } | ||
− | + | /* Creates the container for the menu */ | |
#menuContainer { | #menuContainer { | ||
− | |||
− | |||
float:left; | float:left; | ||
− | width: | + | width: 134px; |
padding: 20px 0px; | padding: 20px 0px; | ||
− | |||
− | |||
border-top: 14px solid #565656; | border-top: 14px solid #565656; | ||
background-color: #E8E8E9; | background-color: #E8E8E9; | ||
} | } | ||
− | + | /* Creates the container for the content */ | |
#contentContainer { | #contentContainer { | ||
− | |||
− | |||
padding-top:20px; | padding-top:20px; | ||
padding-right:10px; | padding-right:10px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
− | width: | + | width: 814px; |
padding-left: 20px; | padding-left: 20px; | ||
float: left; | float: left; | ||
− | |||
− | |||
background-color: #fff; | background-color: #fff; | ||
border-top: 14px solid #565656; | border-top: 14px solid #565656; | ||
Line 97: | Line 51: | ||
} | } | ||
+ | /*Set up height place holder for the banner*/ | ||
+ | #bannerContainer { | ||
+ | height:200px; | ||
+ | margin:auto; | ||
+ | text-align:center; | ||
+ | color: #24B694; | ||
+ | } | ||
− | /* | + | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ |
+ | |||
+ | /*Change the styling of text for everything inside main container*/ | ||
+ | #mainContainer p { | ||
+ | font-size: 13px; | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | /*This changes the color and font family */ | ||
+ | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
+ | color: #565656; | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | margin-top:10px; | ||
+ | } | ||
+ | |||
+ | /*Style of the links - links are different inside the menu */ | ||
+ | #contentContainer a { | ||
+ | font-weight: bold; | ||
+ | color: #23b593; | ||
+ | } | ||
+ | |||
+ | /* Styling links on hover- links are different inside the menu */ | ||
+ | #contentContainer a:hover { | ||
+ | color: #59bf92; | ||
+ | } | ||
+ | |||
+ | /*Change the styling of tables */ | ||
+ | #contentContainer table { | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | width: 90% | ||
+ | margin: auto; | ||
+ | margin-bottom: 15px; | ||
+ | margin-top: 15px; | ||
+ | margin-right: 10px; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | |||
+ | /*Change the styling of table cells*/ | ||
+ | #contentContainer td { | ||
+ | padding: 10px; | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | |||
+ | /*Change the styling of table headers */ | ||
+ | #contentContainer th { | ||
+ | background-color: #E8E8E9; | ||
+ | padding: 10px; | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*MENU STYLING */ | ||
+ | |||
+ | /*Styling for the links in the menu */ | ||
#menuContainer a { | #menuContainer a { | ||
color: #565656; | color: #565656; | ||
Line 105: | Line 127: | ||
} | } | ||
− | + | /* Sets the style for lists inside menuContainer */ | |
− | + | ||
#menuContainer ul { | #menuContainer ul { | ||
list-style: none; | list-style: none; | ||
Line 112: | Line 133: | ||
} | } | ||
− | + | /*Styles the list items to become menu buttons */ | |
#menuContainer ul li { | #menuContainer ul li { | ||
text-align: center; | text-align: center; | ||
Line 121: | Line 142: | ||
} | } | ||
− | + | /*For the menu buttons, changes the color when hovering*/ | |
#menuContainer li:hover { | #menuContainer li:hover { | ||
color: #FFF; | color: #FFF; | ||
Line 127: | Line 148: | ||
} | } | ||
− | + | /*Submenus are not displayed as default*/ | |
#menuContainer li ul { | #menuContainer li ul { | ||
display: none; | display: none; | ||
− | + | padding-top:15px; | |
− | margin- | + | margin-left: -19px; |
} | } | ||
− | + | /*Submenus are displayed when hovering the menu button */ | |
#menuContainer li:hover ul { | #menuContainer li:hover ul { | ||
− | display: inline-block; | + | /*display: inline-block; */ |
+ | display: block; | ||
position: absolute; | position: absolute; | ||
float:right; | float:right; | ||
− | + | margin-left: 134px; | |
+ | margin-top:-42px; | ||
} | } | ||
− | + | /*Style the submenu buttons*/ | |
#menuContainer li ul li{ | #menuContainer li ul li{ | ||
background-color: #59BF92; | background-color: #59BF92; | ||
Line 151: | Line 174: | ||
margin-top:-2px; | margin-top:-2px; | ||
color: #565656; | color: #565656; | ||
+ | width: 150px; | ||
} | } | ||
+ | /*CLASSES */ | ||
− | + | /*Clear class for all the pages, adds spacing too*/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.clear{ | .clear{ | ||
clear:both; | clear:both; | ||
+ | height: 10px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* highlight box for special messages */ | ||
.highlightBox { | .highlightBox { | ||
width:500px; | width:500px; | ||
Line 224: | Line 196: | ||
padding-top: 5px; | padding-top: 5px; | ||
} | } | ||
− | |||
</style> | </style> | ||
− | + | <!-- End of CSS --> | |
− | + | ||
− | + | ||
+ | |||
+ | <!-- Start of the template html elements. --> | ||
+ | <div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.--> | ||
+ | |||
+ | |||
+ | <div id="bannerContainer"> | ||
+ | <br><br> | ||
+ | <h2> Add a banner to your wiki! </h2> | ||
+ | |||
+ | <p>You can make the image 980px by 200px</p> | ||
+ | <p> Remember to call the file: "<i>Team_Example2_banner.jpg</i>" </p> | ||
+ | </div> | ||
+ | |||
+ | <!-- Start of menu --> | ||
<div id="menuContainer"> | <div id="menuContainer"> | ||
− | + | ||
+ | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | ||
+ | <ul> | ||
<a href="https://2015.igem.org/Team:Example2"><li>HOME</li></a> | <a href="https://2015.igem.org/Team:Example2"><li>HOME</li></a> | ||
<a href="https://2015.igem.org/Team:Example2/Team"><li>TEAM</li></a> | <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:Example2/Description"><li>Description</li></a> | <a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a> | ||
− | <a href="https://2015.igem.org/Team:Example2/ | + | <a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a> |
<a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> | <a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> | ||
+ | <a href="https://2015.igem.org/Team:Example2/Design"><li>Design</li></a> | ||
</ul> | </ul> | ||
− | </li> | + | </li></a> |
− | <a href="#"><li>PARTS | + | <a href="#"><li>PARTS |
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team:Example2/Parts"><li> | + | <a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a> |
− | <a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite | + | <a href="https://2015.igem.org/Team:Example2/Basic_Part"><li>Basic Parts</li></a> |
+ | <a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite Parts</li></a> | ||
<a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a> | <a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a> | ||
− | |||
</ul> | </ul> | ||
− | </li> | + | </li></a> |
− | <a href="https://2015.igem.org/Team:Example2/ | + | <a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a> |
− | + | ||
− | + | ||
<a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> | <a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> | ||
− | <a href="https://2015.igem.org/Team:Example2/ | + | <a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a> |
− | <a href="https://2015.igem.org/Team:Example2/ | + | <a href="https://2015.igem.org/Team:Example2/Practices"><li>HUMAN PRACTICES</li></a> |
+ | |||
+ | <a href="https://2015.igem.org/Team:Example2/Safety"><li>SAFETY</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:Example2/Modeling"><li>MODELING</li></a> | ||
<a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a> | <a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a> | ||
<a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a> | <a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a> | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | <!-- End of menu --> | ||
− | + | <!-- Start of content --> | |
− | <div id="contentContainer"> | + | <div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> |
</html> | </html> |
Latest revision as of 15:22, 18 June 2015