Difference between revisions of "Template:Washington"
(Prototype team template page) |
|||
Line 8: | Line 8: | ||
/* PAGE LAYOUT */ | /* PAGE LAYOUT */ | ||
− | + | ||
− | /* | + | /* page background color*/ |
body { | body { | ||
− | background-color: # | + | background-color: #A7A9AB; |
} | } | ||
+ | |||
/* Creates a container that will wrap all of the content inside your wiki pages. */ | /* Creates a container that will wrap all of the content inside your wiki pages. */ | ||
#mainContainer { | #mainContainer { | ||
− | width: | + | width: 980px; |
− | overflow:hidden; | + | overflow: hidden; |
float:left; | float:left; | ||
− | margin-left:20px | + | margin-left: 20px; |
− | + | background-color: #EEEDEA; | |
− | background-color: # | + | border-bottom: 6px solid #EE3e53; |
− | border-bottom: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/* Creates the container for the menu */ | /* Creates the container for the menu */ | ||
#menuContainer { | #menuContainer { | ||
− | float: | + | float:right; |
− | width: | + | width: 150px; |
− | + | background-color: #0e232f; | |
− | border-top: | + | height: 100%; |
− | + | border-top: 6px solid #EE3e53; | |
+ | font-family: "Arial", Helvetica, sans-serif; | ||
} | } | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
#contentContainer { | #contentContainer { | ||
− | + | background-color: #EEEDEA; | |
− | + | width: 810px; | |
− | + | ||
− | width: | + | |
− | + | ||
float: left; | float: left; | ||
− | + | padding: 10px; | |
− | border-top: | + | border-top: 6px solid #EE3e53; |
− | + | ||
} | } | ||
+ | |||
/*Set up height place holder for the banner*/ | /*Set up height place holder for the banner*/ | ||
Line 60: | Line 54: | ||
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | ||
+ | |||
/*Change the styling of text for everything inside main container*/ | /*Change the styling of text for everything inside main container*/ | ||
#mainContainer p { | #mainContainer p { | ||
− | font-size: | + | font-family: "Arial", Helvetica, sans-serif; |
− | color: # | + | font-size: 12px; |
+ | color: #0e232f; | ||
} | } | ||
/*This changes the color and font family */ | /*This changes the color and font family */ | ||
#contentContainer h1, h2, h3, h4, h5, h6 { | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
− | color: # | + | font-family: "Arial", Helvetica, sans-serif; |
+ | color: #0e232f; | ||
border-bottom: none; | border-bottom: none; | ||
font-weight: bold; | font-weight: bold; | ||
− | + | text-transform: uppercase; | |
− | + | ||
} | } | ||
Line 79: | Line 75: | ||
#contentContainer a { | #contentContainer a { | ||
font-weight: bold; | font-weight: bold; | ||
− | color: # | + | color: #ee3e53; |
} | } | ||
/* Styling links on hover- links are different inside the menu */ | /* Styling links on hover- links are different inside the menu */ | ||
− | #contentContainer a:hover { | + | #contentContainer a:hover{ |
− | + | color: #f4b248; | |
} | } | ||
/*Change the styling of tables */ | /*Change the styling of tables */ | ||
#contentContainer table { | #contentContainer table { | ||
− | border: 1px solid # | + | border: 1px solid #0e232f; |
border-collapse: collapse; | border-collapse: collapse; | ||
width: 90% | width: 90% | ||
Line 102: | Line 98: | ||
#contentContainer td { | #contentContainer td { | ||
padding: 10px; | padding: 10px; | ||
− | border: 1px solid # | + | border: 1px solid #0e232f; |
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
+ | background-color: #EEEDEA; | ||
} | } | ||
/*Change the styling of table headers */ | /*Change the styling of table headers */ | ||
#contentContainer th { | #contentContainer th { | ||
− | |||
padding: 10px; | padding: 10px; | ||
− | border: 1px solid # | + | border: 1px solid #0e232f; |
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: text-top; | vertical-align: text-top; | ||
+ | background-color: #e8d5b7; | ||
} | } | ||
− | |||
Line 122: | Line 118: | ||
/*Styling for the links in the menu */ | /*Styling for the links in the menu */ | ||
#menuContainer a { | #menuContainer a { | ||
− | color: # | + | color: #EEEDEA; |
text-decoration:none; | text-decoration:none; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | + | /* Sets the style for lists inside menuContainer */ | |
#menuContainer ul { | #menuContainer ul { | ||
+ | width:100%; | ||
list-style: none; | list-style: none; | ||
− | margin- | + | margin: auto; |
+ | padding-top: 10px; | ||
+ | padding-bottom: 10px; | ||
+ | |||
} | } | ||
− | + | /*Styles the list items to become menu buttons */ | |
− | #menuContainer ul li { | + | #menuContainer ul li { |
− | + | ||
display: block; | display: block; | ||
− | + | position: relative; | |
− | + | padding: 10px; | |
− | padding- | + | margin-bottom:5px; |
+ | padding-left: -20px; | ||
} | } | ||
− | + | #menuContainer ul li:hover { | |
− | #menuContainer li:hover { | + | background: #F4B248; |
− | + | color: #0e232f; | |
− | + | ||
} | } | ||
− | + | ||
+ | /*HIde the submenus and removes the padding */ | ||
#menuContainer li ul { | #menuContainer li ul { | ||
display: none; | display: none; | ||
padding-top:15px; | padding-top:15px; | ||
− | margin-left: - | + | margin-left: -9px; |
} | } | ||
− | + | /*Shows the submenus once you hover*/ | |
#menuContainer li:hover ul { | #menuContainer li:hover ul { | ||
− | |||
display: block; | display: block; | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*style the submenu buttons*/ | |
− | #menuContainer li ul li{ | + | #menuContainer li ul li { |
− | background | + | background: #0E232F; |
− | + | width: 100%; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | width: | + | |
} | } | ||
− | + | #menuContainer li ul li:hover { | |
+ | background: #EE3E53; | ||
+ | color: #fff; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*CLASSES */ | ||
/*Clear class for all the pages, adds spacing too*/ | /*Clear class for all the pages, adds spacing too*/ | ||
.clear{ | .clear{ | ||
Line 184: | Line 179: | ||
height: 10px; | height: 10px; | ||
} | } | ||
− | |||
/* highlight box for special messages */ | /* highlight box for special messages */ | ||
.highlightBox { | .highlightBox { | ||
− | + | width:500px; | |
− | + | margin:auto; | |
− | + | background-color: #E8D5B7; | |
− | + | margin-bottom: 15px; | |
− | + | margin-top: 15px; | |
− | + | padding: 15px; | |
− | + | padding-top: 5px; | |
− | + | } | |
− | + | ||
</style> | </style> | ||
Line 203: | Line 196: | ||
<!-- Start of the template html elements. --> | <!-- Start of the template html elements. --> | ||
− | <div id ="mainContainer"><!-- | + | <div id ="mainContainer"><!--This div will close on the page.--> |
− | + | ||
<div id="bannerContainer"> | <div id="bannerContainer"> | ||
Line 211: | Line 203: | ||
<p>You can make the image 980px by 200px</p> | <p>You can make the image 980px by 200px</p> | ||
− | <p> Remember to call the file: "<i> | + | <p> Remember to call the file: "<i>Team_Example_banner.jpg</i>" </p> |
</div> | </div> | ||
<!-- Start of menu --> | <!-- 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 --> | <!-- 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/Team: | + | <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="#"><li>PROJECT | <a href="#"><li>PROJECT | ||
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a> |
− | + | ||
</ul> | </ul> | ||
</li></a> | </li></a> | ||
Line 234: | Line 225: | ||
<a href="#"><li>PARTS | <a href="#"><li>PARTS | ||
<ul> | <ul> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Basic_Part"><li>Basic Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite Parts</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a> |
</ul> | </ul> | ||
</li></a> | </li></a> | ||
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Practices"><li>HUMAN PRACTICES</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Safety"><li>SAFETY</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Modeling"><li>MODELING</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a> |
− | <a href="https://2015.igem.org/Team: | + | <a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a> |
</ul> | </ul> | ||
Line 264: | Line 255: | ||
<!-- Start of content --> | <!-- Start of content --> | ||
− | <div id="contentContainer"> <!-- | + | <div id="contentContainer"><!--This div will close on the page.--> |
</html> | </html> |
Revision as of 05:18, 2 August 2015