Difference between revisions of "Template:TeamTemplateB"
m (Protected "Template:TeamTemplateB" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
(28 intermediate revisions by 3 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"> | ||
− | + | /* PAGE LAYOUT */ | |
− | + | ||
− | /* | + | /* page background color*/ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
body { | body { | ||
− | + | background-color: #A7A9AB; | |
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /* Creates a container that will wrap all of the content inside your wiki pages. */ |
− | + | ||
− | + | ||
#mainContainer { | #mainContainer { | ||
width: 980px; | width: 980px; | ||
− | |||
overflow: hidden; | overflow: hidden; | ||
+ | float:left; | ||
+ | margin-left: 20px; | ||
+ | background-color: #EEEDEA; | ||
border-bottom: 6px solid #EE3e53; | border-bottom: 6px solid #EE3e53; | ||
− | |||
− | |||
− | |||
} | } | ||
− | + | /* Creates the container for the menu */ | |
− | + | ||
#menuContainer { | #menuContainer { | ||
float:right; | float:right; | ||
− | width: | + | width: 150px; |
background-color: #0e232f; | background-color: #0e232f; | ||
height: 100%; | height: 100%; | ||
border-top: 6px solid #EE3e53; | border-top: 6px solid #EE3e53; | ||
− | + | font-family: "Arial", Helvetica, sans-serif; | |
− | + | ||
} | } | ||
− | /* | + | /* Creates the container for the content */ |
+ | #contentContainer { | ||
+ | background-color: #EEEDEA; | ||
+ | width: 810px; | ||
+ | float: left; | ||
+ | padding: 10px; | ||
+ | border-top: 6px solid #EE3e53; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*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-family: "Arial", Helvetica, sans-serif; | ||
+ | font-size: 12px; | ||
+ | color: #0e232f; | ||
+ | } | ||
+ | |||
+ | /*This changes the color and font family */ | ||
+ | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
+ | font-family: "Arial", Helvetica, sans-serif; | ||
+ | color: #0e232f; | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | text-transform: uppercase; | ||
+ | } | ||
+ | |||
+ | /*Style of the links - links are different inside the menu */ | ||
+ | #contentContainer a { | ||
+ | font-weight: bold; | ||
+ | color: #ee3e53; | ||
+ | } | ||
+ | |||
+ | /* Styling links on hover- links are different inside the menu */ | ||
+ | #contentContainer a:hover{ | ||
+ | color: #f4b248; | ||
+ | } | ||
+ | |||
+ | /*Change the styling of tables */ | ||
+ | #contentContainer table { | ||
+ | border: 1px solid #0e232f; | ||
+ | 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 #0e232f; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | background-color: #EEEDEA; | ||
+ | } | ||
+ | |||
+ | /*Change the styling of table headers */ | ||
+ | #contentContainer th { | ||
+ | padding: 10px; | ||
+ | border: 1px solid #0e232f; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | background-color: #e8d5b7; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*MENU STYLING */ | ||
+ | |||
+ | /*Styling for the links in the menu */ | ||
#menuContainer a { | #menuContainer a { | ||
color: #EEEDEA; | color: #EEEDEA; | ||
Line 81: | Line 130: | ||
padding-top: 10px; | padding-top: 10px; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
+ | |||
} | } | ||
Line 89: | Line 139: | ||
padding: 10px; | padding: 10px; | ||
margin-bottom:5px; | margin-bottom:5px; | ||
− | padding-left: 20px; | + | padding-left: -20px; |
} | } | ||
Line 97: | Line 147: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/*HIde the submenus and removes the padding */ | /*HIde the submenus and removes the padding */ | ||
Line 108: | Line 152: | ||
display: none; | display: none; | ||
padding-top:15px; | padding-top:15px; | ||
− | margin-left: - | + | margin-left: -9px; |
} | } | ||
Line 129: | Line 173: | ||
− | + | /*CLASSES */ | |
− | + | /*Clear class for all the pages, adds spacing too*/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.clear{ | .clear{ | ||
clear:both; | clear:both; | ||
+ | height: 10px; | ||
} | } | ||
− | + | /* highlight box for special messages */ | |
− | + | .highlightBox { | |
− | + | width:500px; | |
− | + | margin:auto; | |
− | + | background-color: #E8D5B7; | |
− | + | margin-bottom: 15px; | |
− | + | margin-top: 15px; | |
− | + | padding: 15px; | |
− | + | padding-top: 5px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</style> | </style> | ||
− | + | <!-- End of CSS --> | |
− | |||
− | |||
+ | <!-- Start of the template html elements. --> | ||
+ | <div id ="mainContainer"><!--This div will close on the 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_Example_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> | <ul> | ||
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2"><li>HOME</li></a> |
− | <a href="https://2015.igem.org/ | + | <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/ | + | <a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a> |
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a> |
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> |
− | + | ||
</ul> | </ul> | ||
− | </li> | + | </li></a> |
− | <a href="https://2015.igem.org/ | + | <a href="#"><li>PARTS |
− | + | <ul> | |
− | + | <a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a> | |
+ | <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> | ||
+ | </ul> | ||
+ | </li></a> | ||
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a> |
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> |
− | <a href="https://2015.igem.org/ | + | <a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a> |
− | + | <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/Software"><li>SOFTWARE</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a> | ||
+ | |||
+ | </ul> | ||
+ | </div> | ||
+ | <!-- End of menu --> | ||
− | <div id="contentContainer"> | + | <!-- Start of content --> |
+ | <div id="contentContainer"><!--This div will close on the page.--> | ||
</html> | </html> |
Latest revision as of 15:51, 29 July 2015