Difference between revisions of "Template:METU HS Ankara"

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>
+
body {
 +
font-family: "Trebuchet MS", sans-serif;
 +
line-height: 1.5;
 +
font-size: 14px;
 +
background: #36393D;
 +
margin: 0;
 +
padding: 0;
 +
}
  
<!-- Start of CSS-->
+
a { color: #0066cc; text-decoration: none;}
<style type="text/css">
+
a:hover { color: #880000; }
  
/* PAGE LAYOUT */
+
h1 {
 +
margin: 0;
 +
padding-left: 20px;
 +
}
 +
h1 a { text-decoration: none; color: #F9F7ED; }
 +
h1 a:hover { border-bottom: 1px solid #F9F7ED; color: #F9F7ED; }
  
/* Change Background color*/
+
#wrap {  
body {  
+
width: 940px;
background-color: #fff;
+
margin: 20px auto;
}
+
background: #fff;
 +
padding: 20px;
 +
}
  
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#header {
#mainContainer {
+
background: #2C2D2F;
width: 978px;
+
height: 100px;
overflow:hidden;
+
line-height: 100px;
float:left;
+
}
margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #fff;  
+
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;
+
}
+
  
/* Creates the container for the menu */
+
#menu {
#menuContainer  {  
+
background: #356AA0;
float:left;
+
height: 30px;
width: 134px;
+
line-height: 30px;
padding: 20px 0px;
+
}
border-top: 14px solid #565656;
+
background-color: #E8E8E9;
+
}
+
  
/* Creates the container for the content */
+
#menu ul {
#contentContainer {
+
list-style-type: none;
padding-top:20px;
+
margin: 0;
padding-right:10px;
+
padding-left: 0px;
margin-bottom: 20px;
+
}
width: 814px;
+
#menu ul li {
padding-left: 20px;
+
display: block;
float: left;
+
float: left;
background-color: #fff;  
+
}
border-top: 14px solid #565656;
+
#menu ul li a {
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
display: block;
}
+
padding: 0 10px 0 10px;
 +
text-decoration: none;
 +
color: #fff;
 +
font-size: 13px;
 +
font-weight: 600;
 +
}
 +
#menu ul li a:hover {
 +
color: #fff;
 +
background: #CF4D4F;
 +
}
  
/*Set up height place holder for the banner*/
+
#content {
#bannerContainer {
+
float: right;
height:200px;
+
width: 620px;
margin:auto;
+
background: #F9F7ED;
text-align:center;
+
margin-top: 20px;
color: #24B694;
+
}
}
+
#content h2 {
 +
margin: 0;
 +
color: #F9F7ED;
 +
height: 30px;
 +
line-height: 30px;
 +
background: #2C2D2F;
 +
padding: 0 0 0 10px;
 +
font-size: 16px;
 +
}
  
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
#content p { padding: 0 10px 10px 10px; color: #232323;}
 +
#content ul { padding: 0 20px 10px 30px; }
  
/*Change the styling of text for everything inside main container*/
+
#sidebar {
#mainContainer p {  
+
float: left;
font-size: 13px;
+
margin-top: 20px;
color: #000000;
+
width: 300px;
}
+
background: #eee;
+
border-bottom: 5px solid #36393D;
/*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 */
+
#sidebar h3 {
#contentContainer a {  
+
background: #2C2D2F;
font-weight: bold;
+
height: 30px;
color: #23b593;
+
line-height: 30px;
}
+
font-weight: 600;
 +
font-size: 14px;
 +
margin: 0; padding: 0 0 0 10px;  
 +
color: #F9F7ED;
 +
}
  
  /* Styling links on hover- links are different inside the menu */
+
#sidebar p { padding: 0 10px 10px 10px; color: #232323; }
#contentContainer a:hover {  
+
color: #59bf92;
+
}
+
  
/*Change the styling of tables */
+
#sidebar ul {
        #contentContainer table {
+
padding: 10px 0 20px 30px;
    border: 1px solid #565656;
+
margin: 0;
    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*/
+
#sidebar ul li {
    #contentContainer  td {
+
padding: 0;
    padding: 10px;
+
margin: 0;
    border: 1px solid #565656;
+
}
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
/*Change the styling of table headers */
+
#sidebar ul ul { padding: 2px 0 2px 20px; }
    #contentContainer th {
+
    background-color: #E8E8E9;
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
  
 
+
#footer {  
 
+
background: #2C2D2F;
/*MENU STYLING */
+
padding: 10px 0;
 
+
text-align: center;
/*Styling for the links in the menu */
+
color: #fff;
#menuContainer a {
+
margin-top: 20px;
color: #565656;
+
}
text-decoration:none;
+
#footer p { padding: 0; margin: 0; }
font-weight: bold;
+
#footer a { color: #fff; }
}
+
#footer a:hover { text-decoration: underline; }
 
+
/* Sets the style for lists inside menuContainer  */
+
#menuContainer ul {
+
list-style: none;
+
margin-left:0px;
+
}
+
 
+
/*Styles the list items to become menu buttons */
+
#menuContainer ul li {
+
text-align: center;
+
display: block;
+
width: 100%;
+
height:30px;
+
padding-top:10px;
+
}
+
 
+
/*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;
+
padding-top:15px;
+
margin-left: -19px;
+
}
+
 
+
/*Submenus are displayed when hovering the menu button */
+
#menuContainer li:hover ul {
+
/*display: inline-block; */
+
display: block;
+
position: absolute;
+
float:right;
+
margin-left: 134px;
+
margin-top:-42px;
+
}
+
 
+
/*Style the submenu buttons*/
+
#menuContainer li ul li{
+
background-color: #59BF92;  
+
padding-left:20px;
+
padding-right:20px;
+
height:30px;
+
padding-top:10px;
+
margin-top:-2px;
+
color: #565656;
+
width: 150px;
+
}
+
 
+
/*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 980px  by  200px</p>
+
<p> Remember to call the file: "<i>Team_METU_HS_Ankara_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:METU_HS_Ankara"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Measurement"><li>MEASUREMENT</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Software"><li>SOFTWARE</li></a>
+
 
+
<a href="https://2015.igem.org/Team:METU_HS_Ankara/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
 
+
</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>
+

Revision as of 12:54, 6 June 2015

body { font-family: "Trebuchet MS", sans-serif; line-height: 1.5; font-size: 14px; background: #36393D; margin: 0; padding: 0; }

a { color: #0066cc; text-decoration: none;} a:hover { color: #880000; }

h1 { margin: 0; padding-left: 20px; } h1 a { text-decoration: none; color: #F9F7ED; } h1 a:hover { border-bottom: 1px solid #F9F7ED; color: #F9F7ED; }

  1. wrap {

width: 940px; margin: 20px auto; background: #fff; padding: 20px; }

  1. header {

background: #2C2D2F; height: 100px; line-height: 100px; }

  1. menu {

background: #356AA0; height: 30px; line-height: 30px; }

  1. menu ul {

list-style-type: none; margin: 0; padding-left: 0px; }

  1. menu ul li {

display: block; float: left; }

  1. menu ul li a {

display: block; padding: 0 10px 0 10px; text-decoration: none; color: #fff; font-size: 13px; font-weight: 600; }

  1. menu ul li a:hover {

color: #fff; background: #CF4D4F; }

  1. content {

float: right; width: 620px; background: #F9F7ED; margin-top: 20px; }

  1. content h2 {

margin: 0; color: #F9F7ED; height: 30px; line-height: 30px; background: #2C2D2F; padding: 0 0 0 10px; font-size: 16px; }

  1. content p { padding: 0 10px 10px 10px; color: #232323;}
  2. content ul { padding: 0 20px 10px 30px; }
  1. sidebar {

float: left; margin-top: 20px; width: 300px; background: #eee; border-bottom: 5px solid #36393D; }

  1. sidebar h3 {

background: #2C2D2F; height: 30px; line-height: 30px; font-weight: 600; font-size: 14px; margin: 0; padding: 0 0 0 10px; color: #F9F7ED; }

  1. sidebar p { padding: 0 10px 10px 10px; color: #232323; }
  1. sidebar ul {

padding: 10px 0 20px 30px; margin: 0; }

  1. sidebar ul li {

padding: 0; margin: 0; }

  1. sidebar ul ul { padding: 2px 0 2px 20px; }
  1. footer {

background: #2C2D2F; padding: 10px 0; text-align: center; color: #fff; margin-top: 20px; }

  1. footer p { padding: 0; margin: 0; }
  2. footer a { color: #fff; }
  3. footer a:hover { text-decoration: underline; }