Difference between revisions of "Template:TeamTemplateB"
Line 2: | Line 2: | ||
<html> | <html> | ||
− | + | <!-- Start of CSS--> | |
+ | <style type="text/css"> | ||
− | + | /* WIKI SETTINGS*/ | |
− | + | ||
− | + | ||
− | /* | + | |
− | + | /* Remove footer, catlinks and logos */ | |
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading { | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading { | ||
display: none; | display: none; | ||
} | } | ||
− | + | ||
− | + | /* Set up a width, height and color of the body wrapper*/ | |
body { | body { | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | background-color: # | + | background-color: #fff; |
} | } | ||
− | + | /*-- Make page full width and remove borders */ | |
#globalWrapper, #content { | #globalWrapper, #content { | ||
width: 100%; | width: 100%; | ||
Line 31: | Line 29: | ||
} | } | ||
− | + | /*Clear wiki default settings for the top part of the wiki page */ | |
#top-section { | #top-section { | ||
border: 0 none; | border: 0 none; | ||
Line 42: | Line 40: | ||
} | } | ||
+ | /*left align Black Menu Bar */ | ||
#top_menu_inside { | #top_menu_inside { | ||
margin-left: 20px; | margin-left: 20px; | ||
} | } | ||
+ | |||
+ | |||
+ | /* PAGE LAYOUT */ | ||
− | + | /* Creates a container that will wrap all of the content inside your wiki pages. */ | |
#mainContainer { | #mainContainer { | ||
width: 980px; | width: 980px; | ||
Line 56: | Line 58: | ||
} | } | ||
− | + | /* Creates the container for the menu */ | |
− | + | ||
#menuContainer { | #menuContainer { | ||
float:right; | float:right; | ||
Line 67: | Line 68: | ||
} | } | ||
− | + | /* Creates the container for the content */ | |
#contentContainer { | #contentContainer { | ||
background-color: #EEEDEA; | background-color: #EEEDEA; | ||
Line 77: | Line 78: | ||
− | /* | + | |
+ | /*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 134: | Line 199: | ||
− | + | /*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 222: | Line 217: | ||
} | } | ||
+ | </style> | ||
+ | <!-- End of CSS --> | ||
− | |||
− | |||
− | |||
− | |||
+ | <!-- Start of the template html elements. --> | ||
+ | <div id ="mainContainer"><!--This div will close on the page.--> | ||
+ | <img src="https://static.igem.org/mediawiki/2015/0/09/Banner_templateB.jpg"> | ||
+ | <!-- 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> | ||
Line 272: | Line 270: | ||
</ul> | </ul> | ||
</div> | </div> | ||
+ | <!-- End of menu --> | ||
− | + | <!-- Start of content --> | |
− | + | <div id="contentContainer"><!--This div will close on the page.--> | |
− | <div id="contentContainer"> | + | |
</html> | </html> |
Revision as of 17:15, 13 March 2015