Difference between revisions of "Team:TU Darmstadt/Templates/CSS"

(Created page with "{{Template_All_Teams}} <!-- Declare that you are going to use html code instead of wiki code --> <html> <!-- Start of CSS--> <style type="text/css"> /* since the b...")
 
Line 6: Line 6:
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
 
<style type="text/css">
 
<style type="text/css">
 
 
 
 
 
/* since the background is dark, we change the color of the text and links so they are visible on "show preview" mode */
 
 
p, #content {
 
color:#808284;
 
}
 
 
a, a:visited {
 
color:#22BCB9;
 
}
 
 
 
  
 
/* PAGE LAYOUT */
 
/* PAGE LAYOUT */
  
+
/* Change Background color*/
/* Set up a width, height and color of the body wrapper*/
+
 
body {  
 
body {  
background-color: #29221F;
+
background-color: #fff;
 
}
 
}
  
 
/* 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: 980px;
+
width: 978px;
 
overflow:hidden;
 
overflow:hidden;
 
float:left;
 
float:left;
Line 39: Line 22:
 
margin-bottom: 10px;
 
margin-bottom: 10px;
 
background-color: #fff;  
 
background-color: #fff;  
border-bottom: 20px solid #14747D;
+
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;
 
}
 
}
  
Line 45: Line 32:
 
#menuContainer  {  
 
#menuContainer  {  
 
float:left;
 
float:left;
width: 150px;
+
width: 134px;
 
padding: 20px 0px;
 
padding: 20px 0px;
background-color: #DB1E39;
+
border-top: 14px solid #565656;
border-top: 20px solid #14747D;
+
background-color: #E8E8E9;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
 
}
 
}
  
Line 57: Line 43:
 
padding-right:10px;
 
padding-right:10px;
 
margin-bottom: 20px;
 
margin-bottom: 20px;
width: 800px;
+
width: 814px;
 
padding-left: 20px;
 
padding-left: 20px;
 
float: left;
 
float: left;
border-top: 20px solid #14747D;
 
 
background-color: #fff;  
 
background-color: #fff;  
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
border-top: 14px solid #565656;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
}
 
}
 
  
 
/*Set up height place holder for the banner*/
 
/*Set up height place holder for the banner*/
Line 84: Line 69:
 
/*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 {  
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
+
color: #565656;
color: #29221F;
+
 
border-bottom: none;
 
border-bottom: none;
 
font-weight: bold;
 
font-weight: bold;
 +
font-family: "Trebuchet MS", Helvetica, sans-serif;
 
margin-top:10px;
 
margin-top:10px;
 
}
 
}
Line 94: Line 79:
 
#contentContainer a {  
 
#contentContainer a {  
 
font-weight: bold;
 
font-weight: bold;
color: #22BCB9;
+
color: #23b593;
 
}
 
}
  
 
  /* 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: #14747D;
+
color: #59bf92;
 
}
 
}
  
 
/*Change the styling of tables */
 
/*Change the styling of tables */
 
         #contentContainer table {
 
         #contentContainer table {
     border: 2px solid #29221F;
+
     border: 1px solid #565656;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 +
    width: 90%
 
     margin: auto;
 
     margin: auto;
 
     margin-bottom: 15px;
 
     margin-bottom: 15px;
Line 115: Line 101:
 
/*Change the styling of table cells*/
 
/*Change the styling of table cells*/
 
     #contentContainer  td {
 
     #contentContainer  td {
    background-color: #fff;
 
 
     padding: 10px;
 
     padding: 10px;
     border: 2px solid #29221F;
+
     border: 1px solid #565656;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     vertical-align: text-top;
 
     vertical-align: text-top;
 
     }
 
     }
 
  
 
/*Change the styling of table headers */
 
/*Change the styling of table headers */
 
     #contentContainer th {
 
     #contentContainer th {
     background-color: #F4F0D8;
+
     background-color: #E8E8E9;
 
     padding: 10px;
 
     padding: 10px;
     border: 2px solid #29221F;
+
     border: 1px solid #565656;
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     vertical-align: text-top;
 
     vertical-align: text-top;
 
     }
 
     }
 
  
  
Line 139: Line 122:
 
/*Styling for the links in the menu */
 
/*Styling for the links in the menu */
 
#menuContainer a {
 
#menuContainer a {
color: #fff;
+
color: #565656;
 
text-decoration:none;
 
text-decoration:none;
 
font-weight: bold;
 
font-weight: bold;
Line 162: Line 145:
 
#menuContainer li:hover {
 
#menuContainer li:hover {
 
color:  #FFF;
 
color:  #FFF;
background-color: #14747D;
+
background-color: #24B694;
 
}
 
}
  
Line 178: Line 161:
 
position: absolute;  
 
position: absolute;  
 
float:right;
 
float:right;
margin-left: 150px;
+
margin-left: 134px;
 
margin-top:-42px;
 
margin-top:-42px;
 
  }
 
  }
Line 184: Line 167:
 
/*Style the submenu buttons*/
 
/*Style the submenu buttons*/
 
#menuContainer li ul li{
 
#menuContainer li ul li{
background-color: #22BCB9;  
+
background-color: #59BF92;  
 
padding-left:20px;
 
padding-left:20px;
 
padding-right:20px;
 
padding-right:20px;
Line 190: Line 173:
 
padding-top:10px;
 
padding-top:10px;
 
margin-top:-2px;
 
margin-top:-2px;
color: #28221E;
+
color: #565656;
width: 170px;
+
width: 150px;
 
}
 
}
  
Line 204: Line 187:
  
 
/* highlight box for special messages */
 
/* highlight box for special messages */
          .highlightBox {
+
    .highlightBox {
            width:500px;  
+
        width:500px;  
            margin:auto;  
+
        margin:auto;  
            background-color: #F4F0D8;  
+
        background-color: #E8E8E9;  
    margin-bottom: 15px;
+
margin-bottom: 15px;
    margin-top: 15px;
+
margin-top: 15px;
    padding: 15px;
+
padding: 15px;
    padding-top: 5px;
+
padding-top: 5px;
            }
+
    }
  
  
Line 220: Line 203:
  
 
<!-- Start of the template html elements. -->
 
<!-- Start of the template html elements. -->
<div id ="mainContainer"><!--This div will close on the page.-->
+
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 +
 
  
 
 
<div id="bannerContainer">
 
<div id="bannerContainer">
 
<br><br>
 
<br><br>
Line 236: Line 219:
 
<!-- 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:Example2"><li>HOME</li></a>
+
<a href="https://2015.igem.org/Team:Example"><li>HOME</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Team"><li>TEAM</li></a>
+
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
  
 
<a href="#"><li>PROJECT
 
<a href="#"><li>PROJECT
 
             <ul>
 
             <ul>
<a href="https://2015.igem.org/Team:Example2/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
<a href="https://2015.igem.org/Team:Example2/Experiments"><li>Experiments & Protocols</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Experiments"><li>Experiments &amp; Protocols</li></a>   
<a href="https://2015.igem.org/Team:Example2/Results"><li>Results</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Results"><li>Results</li></a>   
 +
<a href="https://2015.igem.org/Team:Example/Design"><li>Design</li></a>
 
</ul>
 
</ul>
 
</li></a>
 
</li></a>
Line 250: Line 234:
 
<a href="#"><li>PARTS
 
<a href="#"><li>PARTS
 
             <ul>
 
             <ul>
<a href="https://2015.igem.org/Team:Example2/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:Example/Parts"><li>Team Parts</li></a>
<a href="https://2015.igem.org/Team:Example2/Basic_Part"><li>Basic Parts</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Basic_Part"><li>Basic Parts</li></a>   
<a href="https://2015.igem.org/Team:Example2/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:Example/Composite_Part"><li>Composite Parts</li></a>
<a href="https://2015.igem.org/Team:Example2/Part_Collection"><li>Part Collection</li></a>   
+
<a href="https://2015.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a>   
 
</ul>
 
</ul>
 
</li></a>
 
</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Notebook"><li>NOTEBOOK</li></a>
+
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
 
        
 
        
<a href="https://2015.igem.org/Team:Example2/Attributions"><li>ATTRIBUTIONS</li></a>
+
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Collaborations"><li>COLLABORATIONS</li></a>
+
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Practices"><li>HUMAN PRACTICES</li></a>
+
<a href="https://2015.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Safety"><li>SAFETY</li></a>
+
<a href="https://2015.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Modeling"><li>MODELING</li></a>
+
<a href="https://2015.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Measurement"><li>MEASUREMENT</li></a>
+
<a href="https://2015.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Software"><li>SOFTWARE</li></a>
+
<a href="https://2015.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
  
<a href="https://2015.igem.org/Team:Example2/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
<a href="https://2015.igem.org/Team:Example/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
  
 
</ul>
 
</ul>
Line 280: Line 264:
  
 
<!-- Start of content -->
 
<!-- Start of content -->
<div id="contentContainer"> <!--This div will close on the page.-->
+
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Revision as of 10:47, 1 September 2015