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

 
(101 intermediate revisions by 7 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 6: Line 5:
 
<!-- Start of CSS-->
 
<!-- Start of CSS-->
 
<style type="text/css">
 
<style type="text/css">
 +
 +
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic);
 +
/*
 +
@import url(https://fonts.googleapis.com/css?family=Indie+Flower);
 +
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300italic,300,100italic,100,400italic,700,700italic,500italic,500);
 +
*/
  
 
/* PAGE LAYOUT */
 
/* PAGE LAYOUT */
  
 
/* Change Background color*/
 
/* Change Background color*/
body {  
+
body {
 
background-color: #fff;
 
background-color: #fff;
color: #0d1112;
 
 
}
 
}
  
 +
#globalWrapper {
 +
position: relative;
 +
font-size: 100%;
 +
width: 100%;
 +
}
 
/* Center contents*/
 
/* Center contents*/
 
#content {   
 
#content {   
Line 30: Line 39:
 
}
 
}
  
 +
/*
 
#top_menu_inside {   
 
#top_menu_inside {   
 
width: 978px;
 
width: 978px;
 
margin: 0 auto;
 
margin: 0 auto;
 
}
 
}
 +
*/
  
 
/* 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: 978px;
+
                                position: relative;
 +
                                height: 100%;
 +
width: 980px;
 
margin: 0 auto;
 
margin: 0 auto;
 
overflow:hidden;
 
overflow:hidden;
 
margin-bottom: 10px;
 
margin-bottom: 10px;
background-color: #fff;  
+
/*background-color: #fff;  
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;*/
}
+
  
/* Creates the container for the menu */
+
background-color: #fff;
#menuContainer  {
+
color: #0d1112;
float:left;
+
font-family: 'Open Sans', Helvetica, sans-serif;
width: 134px;
+
font-size: 14px;
padding: 20px 0px;
+
font-weight: normal;
 +
-webkit-font-smoothing: antialiased;
 +
                                padding-bottom: 400px;
 
}
 
}
 
 
/* Creates the container for the content */
 
/* Creates the container for the content */
 
#contentContainer {
 
#contentContainer {
Line 57: Line 70:
 
padding-right:10px;
 
padding-right:10px;
 
margin-bottom: 20px;
 
margin-bottom: 20px;
width: 814px;
+
width: 750px;
 
padding-left: 20px;
 
padding-left: 20px;
 
float: left;
 
float: left;
 
background-color: #fff;
 
background-color: #fff;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
/*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
 
}
 
}
  
Line 67: Line 80:
 
#bannerContainer {
 
#bannerContainer {
 
width: 100%;
 
width: 100%;
height: 175px;
+
height: 255px;
background-color: #0044f2;
+
background-color: #0f2a58;
border-bottom: 8px solid #e6ff0d;
+
border-bottom: 8px solid #e6eb14;
 +
 
 +
color: #0d1112;
 +
font-family: 'Open Sans', Helvetica, sans-serif;
 +
font-size: 14px;
 +
font-weight: normal;
 +
-webkit-font-smoothing: antialiased;
 
}
 
}
  
 
#bannerContent {
 
#bannerContent {
 
width: 978px;
 
width: 978px;
 +
height: 255px;
 
margin: 0 auto;
 
margin: 0 auto;
padding: 20px;
 
font-size: 28px;
 
 
color: #fff;
 
color: #fff;
 
text-align: center;
 
text-align: center;
 +
background-image: url("https://static.igem.org/mediawiki/2015/1/1b/TU_Darmstadt_banner.png");
 
}
 
}
  
Line 93: Line 112:
 
/*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: 13px;
+
/*font-size: 13px;
color: #000000;
+
color: #000000;*/
 
}
 
}
 
 
 
/*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: #4e7085;
+
color: #0f2a58;
 
border-bottom: none;
 
border-bottom: none;
font-weight: bold;
+
font-weight: 600;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
padding-bottom: 15px;
margin-top:10px;
+
}
 +
#contentContainer h1 {
 +
border-bottom: 1px solid #0f2a58;
 +
padding-bottom: 15px;
 +
}
 +
 
 +
#contentContainer code {
 +
    border-radius: 2px;
 +
    padding: 1px 4px;
 +
    border: none;
 
}
 
}
  
Line 109: Line 137:
 
#contentContainer a {  
 
#contentContainer a {  
 
font-weight: bold;
 
font-weight: bold;
color: #23b593;
+
color: #4e7085;
 
}
 
}
  
 
  /* 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: #59bf92;
+
color: #4e7085;
 
}
 
}
  
 
/*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 132: 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 148: 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%;
 
height:30px;
 
padding-top:10px;
 
border-bottom: 1px solid #4e7085;
 
}
 
 
/*For the menu buttons, changes the color when hovering*/
 
#menuContainer li:hover {
 
color:  #3380f5;
 
}
 
 
/*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;
 
color:  #3380f5;
 
}
 
 
/*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;
 
}
 
  
  
Line 217: Line 185:
 
color: #fff;
 
color: #fff;
 
text-align: center;
 
text-align: center;
padding-top: 100px;
+
padding-top: 215px;
 
font-size: 116%;
 
font-size: 116%;
 
}
 
}
Line 225: Line 193:
 
text-decoration:none;
 
text-decoration:none;
 
font-weight: bold;
 
font-weight: bold;
 +
                                margin: 0px 20px;
 
}
 
}
  
Line 231: Line 200:
 
list-style: none;
 
list-style: none;
 
margin-left:0px;
 
margin-left:0px;
 +
font-size: larger;
 
}
 
}
  
Line 244: Line 214:
 
/*For the menu buttons, changes the color when hovering*/
 
/*For the menu buttons, changes the color when hovering*/
 
#bannerMenuContainer li:hover {
 
#bannerMenuContainer li:hover {
color: #FFF;
+
color: #3380f5;
background-color: #24B694;
+
}
 +
 
 +
#bannerMenuContainer a:hover {
 +
color: #e6eb14;
 
}
 
}
  
Line 288: Line 261:
 
/* highlight box for special messages */
 
/* highlight box for special messages */
 
     .highlightBox {
 
     .highlightBox {
         width:500px;  
+
         width:700px;  
 
         margin:auto;  
 
         margin:auto;  
         background-color: #E8E8E9;  
+
         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;
 
     }
 
     }
  
 +
/* Figure classes to include images */
 +
                .centerFig {
 +
                    color: #4e7085;
 +
                    max-width: 760px;
 +
                    margin:0 auto;
 +
                    text-align: center;
 +
                    overflow: hidden;
 +
 +
                    padding-top: 15px;
 +
                    padding-bottom: 15px;
 +
                }
 +
 +
                .leftFig {
 +
                    color: #4e7085;
 +
                    width: 50%;
 +
                    float: left;
 +
                    text-align: center;
 +
                    overflow: hidden;
 +
                }
 +
 +
                .rightFig {
 +
                    color: #4e7085;
 +
                    width: 50%;
 +
                    float: right;
 +
                    text-align: center;
 +
                    overflow: hidden;
 +
                }
 +
 +
                .inlineFig {
 +
                    display: inline-block;
 +
                }
 +
 +
                .contentSection {
 +
                    overflow: hidden;
 +
                    text-align: justify;
 +
                }
 +
 +
                figcaption {
 +
                    display: block;
 +
                    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">
 
<div id="bannerContent">
 
<div id="bannerContent">
<img src="https://static.igem.org/mediawiki/2015/b/b9/IGEMLogoTUD2015.png" alt="" width="230" height="107" align="left">
 
<img src="https://static.igem.org/mediawiki/igem.org/f/f2/Igemfooterlogo.png" alt="" align="right">
 
</div>
 
 
 
<!-- Banner menu -->
 
<!-- Banner menu -->
 
<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>
 
+
</div>
 
+
  
 
</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:Example"><li>HOME</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
+
 
+
<a href="#"><li>PROJECT
+
            <ul>
+
<a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
+
<a href="https://2015.igem.org/Team:Example/Experiments"><li>Experiments &amp; Protocols</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>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:Example/Parts"><li>Team 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:Example/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Example/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.-->
+
  
<h1>iGEM 2015 Wiki TU Darmstadt: Under Construction!</h1>
 
<br><br>
 
  
 
</html>
 
</html>

Latest revision as of 02:58, 19 September 2015