Difference between revisions of "Template:HokkaidoU Japan"
(Prototype team template page) |
|||
Line 2: | Line 2: | ||
<!-- 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 */ | |
− | + | /* Change Background color*/ | |
− | + | body { | |
− | + | background-color: #fff; | |
− | + | } | |
− | + | /* Creates a container that will wrap all of the content inside your wiki pages. */ | |
− | + | #content { | |
− | + | width: 100%; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #mainContainer { | |
− | + | width: 960px; | |
− | + | background-color: #fff; | |
− | + | margin:0px auto; | |
− | + | font-family: "Trebuchet MS", Helvetica, sans-serif; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | /* Creates the container for the menu */ | |
− | + | #menuContainer { | |
− | + | float:left; | |
− | + | background-color: #E8E8E9; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /* Creates the container for the content */ | |
− | + | #contentContainer { | |
− | + | padding:10px; | |
− | + | float: left; | |
− | + | background-color: #fff; | |
− | + | } | |
− | + | ||
− | + | /*Set up height place holder for the banner*/ | |
+ | #bannerContainer { | ||
+ | height:200px; | ||
+ | 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-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 { | |
− | + | color: #565656; | |
− | + | text-decoration:none; | |
− | + | font-weight: bold; | |
− | + | } | |
− | + | /* Sets the style for lists inside menuContainer */ | |
− | + | #menuContainer ul { | |
− | + | list-style: none; | |
− | + | margin: 0px; | |
− | + | } | |
− | + | /*Styles the list items to become menu buttons */ | |
− | + | #menuContainer ul li { | |
− | + | text-align: center; | |
− | + | padding: 10px 0px; | |
− | + | width: 160px; | |
− | + | margin: 0px; | |
− | + | float: left; | |
− | + | } | |
− | + | /*For the menu buttons, changes the color when hovering*/ | |
− | + | #menuContainer li:hover { | |
− | + | color: #FFF; | |
− | + | background-color: #24B694; | |
− | + | } | |
− | + | /*Submenus are not displayed as default*/ | |
− | + | #menuContainer li ul { | |
− | + | display: none; | |
− | + | margin-top:10px; | |
− | + | width: 160px; | |
− | + | } | |
− | + | /*Submenus are displayed when hovering the menu button */ | |
− | + | #menuContainer li:hover ul { | |
− | + | display: block; | |
− | + | position: absolute; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*Style the submenu buttons*/ | |
− | + | #menuContainer li ul li{ | |
− | + | background-color: #59BF92; | |
− | + | color: #565656; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*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: #E8E8E9; | ||
+ | margin-bottom: 15px; | ||
+ | margin-top: 15px; | ||
+ | padding: 15px; | ||
+ | padding-top: 5px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | </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 960px by 200px</p> | ||
+ | <p> Remember to call the file: "<i>Team_HokkaidoU_Japan_banner.jpg</i>" </p> | ||
+ | </div> | ||
+ | <!-- Start of menu --> | ||
+ | <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:HokkaidoU_Japan"><li>HOME</li></a> | |
− | + | ||
− | + | <a href="#"><li>MICROBUSTERS | |
− | + | <ul style="margin-left: -160px;"> | |
− | </ | + | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Description"><li>Description</li></a> |
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Description"><li>Overview</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Description"><li>Background</li></a> | ||
+ | </ul> | ||
+ | |||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>#1</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Overview</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Design</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Experiments</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Result</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Conclusion</li></a> | ||
+ | </ul> | ||
+ | |||
+ | <ul style="margin-left: 160px;"> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>#2</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Overview</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Design</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Experiments</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Result</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/#"><li>Conclusion</li></a> | ||
+ | </ul> | ||
+ | </li></a> | ||
+ | |||
+ | <a href="#"><li>PARTS | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Parts"><li>Team Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Basic_Part"><li>Basic Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Composite_Part"><li>Composite Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Part_Collection"><li>Part Collection</li></a> | ||
+ | </ul> | ||
+ | </li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Notebook"><li>NOTEBOOK</li></a> | ||
+ | |||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Practices"><li>HUMAN PRACTICES</li></a> | ||
+ | |||
+ | <a href="#"><li>ABOUT US | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Team"><li>Team</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Attributions"><li>Attributions</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Collaborations"><li>Collaborations</li></a> | ||
+ | <a href="https://2015.igem.org/Team:HokkaidoU_Japan/Safety"><li>Safety</li></a> | ||
+ | </ul> | ||
+ | </li></a> | ||
+ | </ul> | ||
− | + | <!-- | |
− | + | ||
− | + | ||
− | + | ||
<ul> | <ul> | ||
<a href="https://2015.igem.org/Team:HokkaidoU_Japan"><li>HOME</li></a> | <a href="https://2015.igem.org/Team:HokkaidoU_Japan"><li>HOME</li></a> | ||
Line 260: | Line 285: | ||
</ul> | </ul> | ||
− | + | --> | |
− | + | ||
+ | </div> | ||
+ | <!-- End of menu --> | ||
+ | |||
+ | <!-- Start of content --> | ||
+ | <div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> | ||
− | |||
− | |||
</html> | </html> |
Revision as of 10:04, 31 July 2015