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

 
(66 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Template_All_Teams}}
 
{{Template_All_Teams}}
 
 
<!-- 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>
 
<html>
Line 49: Line 48:
 
/* 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 {   
 +
                                position: relative;
 +
                                height: 100%;
 
width: 980px;
 
width: 980px;
 
margin: 0 auto;
 
margin: 0 auto;
Line 62: Line 63:
 
font-weight: normal;
 
font-weight: normal;
 
-webkit-font-smoothing: antialiased;
 
-webkit-font-smoothing: antialiased;
 +
                                padding-bottom: 400px;
 
}
 
}
 
/* Creates the container for the menu */
 
#menuContainer  {
 
float:left;
 
width: 200px;
 
padding: 40px 0px;
 
}
 
 
 
/* Creates the container for the content */
 
/* Creates the container for the content */
 
#contentContainer {
 
#contentContainer {
Line 127: Line 121:
 
border-bottom: none;
 
border-bottom: none;
 
font-weight: 600;
 
font-weight: 600;
margin-top: 10px;
+
padding-bottom: 15px;
 
}
 
}
 
#contentContainer h1 {
 
#contentContainer h1 {
Line 134: Line 128:
 
}
 
}
  
 +
#contentContainer code {
 +
    border-radius: 2px;
 +
    padding: 1px 4px;
 +
    border: none;
 +
}
  
 
/*Style of the links - links are different inside the menu */
 
/*Style of the links - links are different inside the menu */
Line 148: Line 147:
 
/*Change the styling of tables */
 
/*Change the styling of tables */
 
         #contentContainer table {
 
         #contentContainer table {
    border: 1px solid #565656;
 
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     width: 90%
 
     width: 90%
Line 161: Line 159:
 
     #contentContainer  td {
 
     #contentContainer  td {
 
     padding: 10px;
 
     padding: 10px;
    border: 1px solid #565656;
 
 
     border-collapse: collapse;
 
     border-collapse: collapse;
 
     vertical-align: text-top;
 
     vertical-align: text-top;
Line 177: Line 174:
  
  
/*MENU STYLING */
 
  
/*Styling for the links in the menu */
 
#menuContainer a {
 
color: #0d1112;
 
text-decoration:none;
 
font-weight: normal;
 
}
 
 
/* 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: left;
 
display: block;
 
width: 100%;
 
padding-top:5px;
 
padding-bottom:5px;
 
border-bottom: 1px solid #bddeff;
 
}
 
 
/*For the menu buttons, changes the color when hovering*/
 
#menuContainer li:hover {
 
color:  #3380f5;
 
}
 
 
/*Submenus are displayed as default*/
 
#menuContainer li ul {
 
display: block;
 
padding-bottom: 10px;
 
}
 
 
/*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;
 
color:  #0f2a58;*/
 
}
 
 
/*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: #0d1112;
 
width: 150px;*/
 
 
padding-left:20px;
 
padding-top:5px;
 
border-bottom: none;
 
}
 
 
 
#menuContainer li.active {
 
color: #0f2a58;
 
font-weight: bold;
 
}
 
  
  
Line 263: Line 193:
 
text-decoration:none;
 
text-decoration:none;
 
font-weight: bold;
 
font-weight: bold;
 +
                                margin: 0px 20px;
 
}
 
}
  
Line 269: Line 200:
 
list-style: none;
 
list-style: none;
 
margin-left:0px;
 
margin-left:0px;
 +
font-size: larger;
 
}
 
}
  
Line 329: Line 261:
 
/* highlight box for special messages */
 
/* highlight box for special messages */
 
     .highlightBox {
 
     .highlightBox {
         width:500px;  
+
         width:700px;  
 
         margin:auto;  
 
         margin:auto;  
         background-color: #d1e0db;  
+
         background-color: #d1e0db;
margin-bottom: 15px;
+
padding: 10px;
margin-top: 15px;
+
margin-top: 10px;
padding: 15px;
+
margin-bottom: 10px;
padding-top: 5px;
+
border-radius: 5px;
 
     }
 
     }
  
Line 364: Line 296:
 
                     text-align: center;
 
                     text-align: center;
 
                     overflow: hidden;
 
                     overflow: hidden;
 +
                }
 +
 +
                .inlineFig {
 +
                    display: inline-block;
 
                 }
 
                 }
  
 
                 .contentSection {
 
                 .contentSection {
 
                     overflow: hidden;
 
                     overflow: hidden;
 +
                    text-align: justify;
 
                 }
 
                 }
  
Line 373: Line 310:
 
                     display: block;
 
                     display: block;
 
                     text-align: left;
 
                     text-align: left;
 +
                    padding-bottom: 3px;
 +
                    margin-top: 8px;
 
                 }
 
                 }
  
 +
 +
                #mainContainerContainer {
 +
                    witdh: 100%;
 +
                    position: relative;
 +
                }
  
 
</style>
 
</style>
 
<!-- End of CSS -->
 
<!-- End of CSS -->
 +
  
 
<div id="bannerContainer">
 
<div id="bannerContainer">
Line 384: Line 329:
 
<div id="bannerMenuContainer">
 
<div id="bannerMenuContainer">
 
<ul>
 
<ul>
<li class="active first"><a href="https://2014.igem.org/Team:TU_Darmstadt">Home</a></li>
+
<li class="active first"><a href="https://2015.igem.org/Team:TU_Darmstadt">Home</a></li>
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Project">Project</a></li>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Tech">SLA 3D-Printer</a></li>
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Results">Results</a></li>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP/LabSurfing">LabSurfing</a></li>
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/PolicyandPractices">Policy &amp; Practices</a></li>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Parts">Bricks</a></li>
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Achievements">Achievements</a></li>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Modeling/sec2">RnD-Nerf</a></li>
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Notebook">Notebook</a></li>
+
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Team">Team</a></li>
+
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Gallery">Gallery</a></li>
+
<li><a href="https://2014.igem.org/Team:TU_Darmstadt/Sitemap">Sitemap</a></li>
+
 
</ul>
 
</ul>
 
</div>
 
</div>
Line 398: Line 340:
  
 
</div>
 
</div>
 +
<div id="mainContainerContainer">
 +
</html>
 +
        {{:Team:TU_Darmstadt/Templates/Footer}}
 +
<html>
  
<!-- Start of the template html elements. -->
+
<div id="mainContainer">
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
</html>
 
+
{{:Team:TU_Darmstadt/Templates/SideBarMenu}}
<!-- Start of menu -->
+
<html>
<div id="menuContainer">
+
<div id="contentContainer">
 
+
<!-- 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:TU_Darmstadt"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Team"><li>TEAM</li></a>
+
 
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project"><li class="active">PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio"><li>Bio
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Monomeres"><li>Monomere
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Monomeres/EthyleneGlycol"><li>Ethylene Glycol</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Monomeres/Haconsaeure"><li>Itaconsäure</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Monomeres/Xylitol"><li>Xylitol</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Monomeres/Results"><li>Results</li></a>
+
</ul>
+
</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/InVitroDegradation"><li><i>In Vitro </i> Degradation</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Safety"><li>Safety</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Modeling"><li>Modeling</li></a>
+
</ul>
+
</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Chem"><li>Chem
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Chem/Methods"><li>Methods</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Chem/Results"><li>Results</li></a>
+
</ul>
+
</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Tech"><li>Tech
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Tech/Hardware"><li>Hardware</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Tech/Software"><li>Software</li></a>
+
</ul>
+
</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP"><li>P & P
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP/LabSurfing"><li>LabSurfing</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP/AS"><li>AS</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP/Collaborations"><li>Collaborations</li></a>
+
</ul>
+
</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Practices"><li>POLICY & PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Modeling"><li>MODELING</li></a>        
+
 
+
<a href="https://2015.igem.org/Team:TU_Darmstadt/Software"><li>SOFTWARE</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>
 
</html>

Latest revision as of 02:58, 19 September 2015