Difference between revisions of "Team:UNC-Chapel Hill"
Line 1: | Line 1: | ||
{{TeamTemplateA}} | {{TeamTemplateA}} | ||
− | < | + | <!-- Declare that you are going to use html code instead of wiki code --> |
− | + | <html> | |
− | + | ||
− | < | + | <!-- Start of CSS--> |
− | < | + | <style type="text/css"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /* PAGE LAYOUT */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /* Change Background color*/ | |
− | + | body { | |
− | + | background-color: #99BADD; | |
− | + | } | |
+ | ul { | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | li { | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | a{ | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
− | + | /* Creates a container that will wrap all of the content inside your wiki pages. */ | |
− | + | #mainContainer { | |
− | + | width: 978px; | |
+ | overflow:hidden; | ||
+ | float:left; | ||
+ | margin-bottom: 10px; | ||
+ | border-bottom: 14px solid #565656; | ||
+ | border-right: 2px solid #565656; | ||
+ | border-left: 2px solid #565656; | ||
+ | border-top: 2px solid #565656; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | } | ||
− | + | #drop_menu { | |
− | + | background-color: rgb(0,0,0,0.0); | |
− | + | padding:4px; | |
− | + | position: fixed; | |
− | + | margin:0; | |
− | + | margin: auto; | |
− | + | list-style-type: none; | |
− | + | height:90px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | /* Creates the container for the content */ | |
− | + | #contentContainer { | |
− | + | padding-top:20px; | |
− | + | padding-left: 20px; | |
− | + | padding-right:10px; | |
− | + | margin: auto; | |
− | + | width: 100px; | |
− | + | padding-left: 20px; | |
− | + | float: left; | |
− | + | background-color: #fff; | |
+ | border-top: 14px solid #565656; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | } | ||
− | + | /*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-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: 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 #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; | ||
+ | } | ||
+ | |||
+ | /*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; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | .header { | ||
+ | height: 50px; | ||
+ | background-color: rgba(0, 0, 0, 0.4); | ||
+ | border: 1px solid #CCC; | ||
+ | position: fixed; | ||
+ | top: 0px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .drop_menu li { | ||
+ | float:left; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | .drop_menu li a { | ||
+ | padding: 9px 20px; | ||
+ | display:block; | ||
+ | color:#FFF; | ||
+ | text-decoration: bold; | ||
+ | list-style-type: none; | ||
+ | font:24px arial, verdana, sans-serif; | ||
+ | } | ||
+ | |||
+ | /* Submenu */ | ||
+ | .drop_menu ul { | ||
+ | position:absolute; | ||
+ | left:-9999px; | ||
+ | top:-9999px; | ||
+ | list-style-type:none; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover { | ||
+ | position:relative; | ||
+ | color:#5FD367; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover ul { | ||
+ | left:0px; | ||
+ | top:10px; | ||
+ | background:#5FD367; | ||
+ | opacity:.8; | ||
+ | color: #5FD367; | ||
+ | padding:0px; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover ul li a { | ||
+ | padding:5px; | ||
+ | display:block; | ||
+ | color: #5FD367; | ||
+ | width:168px; | ||
+ | text-indent:15px; | ||
+ | } | ||
+ | |||
+ | .drop_menu li:hover ul li a:hover { | ||
+ | background:#005555; | ||
+ | list-style-type: none; | ||
+ | } | ||
+ | |||
+ | </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 980px by 200px</p> | ||
+ | <p> Remember to call the file: "<i>Team_UNC-Chapel_Hill_banner.jpg</i>" </p> | ||
+ | </div> | ||
+ | |||
+ | <!-- Start of menu --> | ||
+ | |||
+ | <div class = "header"> | ||
+ | |||
+ | <div id="drop_menu"> | ||
+ | <ul class="drop_menu"> | ||
+ | <li> <a href="https://2015.igem.org/Team:UNC-Chapel_Hill">HOME</a></li> | ||
+ | <li> <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Team">TEAM</a></li> | ||
+ | <li><a href="#">PROJECT | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Description"><li>Description</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Experiments"><li>Experiments & Protocols</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Results"><li>Results</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Design"><li>Design</li></a> | ||
+ | </ul> | ||
+ | </a></li> | ||
+ | |||
+ | <li><a href="#">PARTS | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Parts"><li>Team Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Basic_Part"><li>Basic Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Composite_Part"><li>Composite Parts</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Part_Collection"><li>Part Collection</li></a> | ||
+ | </ul> | ||
+ | </a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Notebook">NOTEBOOK</a></li> | ||
+ | |||
+ | <li><a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Practices">HUMAN PRACTICES</a></li> | ||
+ | |||
+ | <li><a href =“#”> Other | ||
+ | <ul> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Attributions"><li>ATTRIBUTIONS</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Collaborations"><li>COLLABORATIONS</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Safety"><li>SAFETY</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Modeling"><li>MODELING</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Measurement"><li>MEASUREMENT</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Software"><li>SOFTWARE</li></a> | ||
+ | <a href="https://2015.igem.org/Team:UNC-Chapel_Hill/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a> | ||
+ | <ul> | ||
+ | </a></li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons --> | ||
+ | |||
+ | |||
+ | <!-- End of menu --> | ||
+ | |||
+ | <!-- Start of content --> | ||
+ | <div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> </div> | ||
+ | </div> | ||
</html> | </html> |
Revision as of 17:44, 9 June 2015