Difference between revisions of "Template:TeamTemplateB"
(Created page with "<!-- Declare that you are going to use html code instead of wiki code --> <html> <!-- This part of the code sets the styling of the webpage, you can modify as you please. --> ...") |
m (Protected "Template:TeamTemplateB" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(40 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: | + | 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; | padding: 10px; | ||
+ | border-top: 6px solid #EE3e53; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*Set up height place holder for the banner*/ | |
− | # | + | #bannerContainer { |
− | text- | + | height:200px; |
− | color: # | + | 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 { | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
font-family: "Arial", Helvetica, sans-serif; | font-family: "Arial", Helvetica, sans-serif; | ||
Line 136: | Line 72: | ||
} | } | ||
− | + | /*Style of the links - links are different inside the menu */ | |
#contentContainer a { | #contentContainer a { | ||
font-weight: bold; | font-weight: bold; | ||
Line 142: | Line 78: | ||
} | } | ||
+ | /* Styling links on hover- links are different inside the menu */ | ||
#contentContainer a:hover{ | #contentContainer a:hover{ | ||
color: #f4b248; | color: #f4b248; | ||
} | } | ||
− | + | /*Change the styling of tables */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#contentContainer table { | #contentContainer table { | ||
border: 1px solid #0e232f; | border: 1px solid #0e232f; | ||
Line 185: | Line 95: | ||
} | } | ||
+ | /*Change the styling of table cells*/ | ||
#contentContainer td { | #contentContainer td { | ||
padding: 10px; | padding: 10px; | ||
Line 193: | Line 104: | ||
} | } | ||
+ | /*Change the styling of table headers */ | ||
#contentContainer th { | #contentContainer th { | ||
padding: 10px; | padding: 10px; | ||
Line 200: | Line 112: | ||
background-color: #e8d5b7; | background-color: #e8d5b7; | ||
} | } | ||
+ | |||
+ | |||
+ | /*MENU STYLING */ | ||
+ | |||
+ | /*Styling for the links in the menu */ | ||
+ | #menuContainer a { | ||
+ | color: #EEEDEA; | ||
+ | text-decoration:none; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | /* Sets the style for lists inside menuContainer */ | ||
+ | #menuContainer ul { | ||
+ | width:100%; | ||
+ | list-style: none; | ||
+ | margin: auto; | ||
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | |||
+ | } | ||
+ | |||
+ | /*Styles the list items to become menu buttons */ | ||
+ | #menuContainer ul li { | ||
+ | display: block; | ||
+ | position: relative; | ||
+ | padding: 10px; | ||
+ | margin-bottom:5px; | ||
+ | padding-left: -20px; | ||
+ | } | ||
+ | |||
+ | #menuContainer ul li:hover { | ||
+ | background: #F4B248; | ||
+ | color: #0e232f; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*HIde the submenus and removes the padding */ | ||
+ | #menuContainer li ul { | ||
+ | display: none; | ||
+ | padding-top:15px; | ||
+ | margin-left: -9px; | ||
+ | } | ||
+ | |||
+ | /*Shows the submenus once you hover*/ | ||
+ | #menuContainer li:hover ul { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | /*style the submenu buttons*/ | ||
+ | #menuContainer li ul li { | ||
+ | background: #0E232F; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | #menuContainer li ul li:hover { | ||
+ | background: #EE3E53; | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*CLASSES */ | ||
+ | /*Clear class for all the pages, adds spacing too*/ | ||
+ | .clear{ | ||
+ | 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 --> | |
− | <div id ="mainContainer"> | + | |
− | < | + | <!-- 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=" | + | <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> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <li> | + | |
+ | <a href="#"><li>PROJECT | ||
<ul> | <ul> | ||
− | <a href=" | + | <a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a> |
− | <a href=" | + | <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> | ||
</ul> | </ul> | ||
− | </li> | + | </li></a> |
− | <li> | + | <a href="#"><li>PARTS |
<ul> | <ul> | ||
− | <a href=" | + | <a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a> |
− | <a href=" | + | <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> | </ul> | ||
− | </li> | + | </li></a> |
− | <a href=" | + | <a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a> |
− | <li> | + | <a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> |
− | + | ||
− | + | <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> | |
− | </li> | + | |
+ | <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> | </ul> | ||
</div> | </div> | ||
+ | <!-- End of menu --> | ||
− | + | <!-- Start of content --> | |
− | <div id="contentContainer"> | + | <div id="contentContainer"><!--This div will close on the page.--> |
− | + | ||
</html> | </html> |
Latest revision as of 15:51, 29 July 2015