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

 
(115 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;
 
}
 
}
  
 +
#globalWrapper {
 +
position: relative;
 +
font-size: 100%;
 +
width: 100%;
 +
}
 
/* Center contents*/
 
/* Center contents*/
 
#content {   
 
#content {   
 
width: 100%;
 
width: 100%;
 +
height: 100%;
 +
color: #0d1112;
 
}
 
}
  
 
#bodyContent {   
 
#bodyContent {   
width: 960px;
+
width: 100%;
margin: 0 auto;
+
height: 100%;
 +
position: absolute;
 +
top: -0.5em;
 +
color: #0d1112;
 
}
 
}
  
 +
/*
 
#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;
 
overflow:hidden;
 
overflow:hidden;
float:left;
 
 
margin-bottom: 10px;
 
margin-bottom: 10px;
background-color: #fff;
+
/*background-color: #fff;  
border-bottom: 14px solid #565656;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;*/
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 */
+
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;
border-top: 14px solid #565656;
+
-webkit-font-smoothing: antialiased;
background-color: #E8E8E9;
+
                                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;
border-top: 14px solid #565656;
+
/*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
 
}
 
}
  
 
/*Set up height place holder for the banner*/
 
/*Set up height place holder for the banner*/
 
#bannerContainer {
 
#bannerContainer {
height:200px;
+
width: 100%;
margin:auto;
+
height: 255px;
text-align:center;
+
background-color: #0f2a58;
color: #24B694;
+
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 {
 +
width: 978px;
 +
height: 255px;
 +
margin: 0 auto;
 +
color: #fff;
 +
text-align: center;
 +
background-image: url("https://static.igem.org/mediawiki/2015/1/1b/TU_Darmstadt_banner.png");
 +
}
 +
 
 +
#bannerMenu {
 +
width: 978px;
 +
margin: 0 auto;
 +
font-size: 28px;
 +
color: #fff;
 +
text-align: center;
 
}
 
}
  
Line 77: 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: #565656;
+
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 93: 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 116: 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 132: Line 174:
  
  
/*MENU STYLING */
+
 
 +
 
 +
 
 +
/*BANNER MENU STYLING */
  
 
/*Styling for the links in the menu */
 
/*Styling for the links in the menu */
#menuContainer a {
+
#bannerMenuContainer {
color: #565656;
+
width: 978px;
 +
margin: 0 auto;
 +
color: #fff;
 +
text-align: center;
 +
padding-top: 215px;
 +
font-size: 116%;
 +
}
 +
 +
#bannerMenuContainer a {
 +
color: #fff;
 
text-decoration:none;
 
text-decoration:none;
 
font-weight: bold;
 
font-weight: bold;
 +
                                margin: 0px 20px;
 
}
 
}
  
 
/* Sets the style for lists inside menuContainer  */
 
/* Sets the style for lists inside menuContainer  */
#menuContainer ul {  
+
#bannerMenuContainer ul {  
 
list-style: none;
 
list-style: none;
 
margin-left:0px;
 
margin-left:0px;
 +
font-size: larger;
 
}
 
}
  
 
/*Styles the list items to become menu buttons */
 
/*Styles the list items to become menu buttons */
#menuContainer ul li {  
+
#bannerMenuContainer ul li {  
 
text-align: center;
 
text-align: center;
display: block;
+
display: inline;
 
width: 100%;
 
width: 100%;
height:30px;
+
height: 30px;
padding-top:10px;
+
padding-right: 20px;
 
}
 
}
  
 
/*For the menu buttons, changes the color when hovering*/
 
/*For the menu buttons, changes the color when hovering*/
#menuContainer li:hover {
+
#bannerMenuContainer li:hover {
color: #FFF;
+
color: #3380f5;
background-color: #24B694;
+
}
 +
 
 +
#bannerMenuContainer a:hover {
 +
color: #e6eb14;
 
}
 
}
  
 
/*Submenus are not displayed as default*/
 
/*Submenus are not displayed as default*/
#menuContainer li ul {
+
#bannerMenuContainer li ul {
 
display: none;
 
display: none;
 
padding-top:15px;
 
padding-top:15px;
Line 170: Line 229:
  
 
/*Submenus are displayed when hovering the menu button */
 
/*Submenus are displayed when hovering the menu button */
#menuContainer li:hover ul {
+
#bannerMenuContainer li:hover ul {
 
/*display: inline-block; */
 
/*display: inline-block; */
 
display: block;  
 
display: block;  
Line 180: Line 239:
  
 
/*Style the submenu buttons*/
 
/*Style the submenu buttons*/
#menuContainer li ul li{
+
#bannerMenuContainer li ul li{
 
background-color: #59BF92;  
 
background-color: #59BF92;  
 
padding-left:20px;
 
padding-left:20px;
Line 187: Line 246:
 
padding-top:10px;
 
padding-top:10px;
 
margin-top:-2px;
 
margin-top:-2px;
color: #565656;
+
color: #0d1112;
 
width: 150px;
 
width: 150px;
 
}
 
}
Line 202: 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;
  
</style>
+
                    padding-top: 15px;
<!-- End of CSS -->
+
                    padding-bottom: 15px;
 +
                }
  
 +
                .leftFig {
 +
                    color: #4e7085;
 +
                    width: 50%;
 +
                    float: left;
 +
                    text-align: center;
 +
                    overflow: hidden;
 +
                }
  
<!-- Start of the template html elements. -->
+
                .rightFig {
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
                    color: #4e7085;
 +
                    width: 50%;
 +
                    float: right;
 +
                    text-align: center;
 +
                    overflow: hidden;
 +
                }
 +
 +
                .inlineFig {
 +
                    display: inline-block;
 +
                }
  
 +
                .contentSection {
 +
                    overflow: hidden;
 +
                    text-align: justify;
 +
                }
  
<div id="bannerContainer">
+
                figcaption {
<br><br>
+
                    display: block;
<h2> Add a banner to your wiki! </h2>
+
                    text-align: left;
+
                    padding-bottom: 3px;
<p>You can make the image 980px  by  200px</p>
+
                    margin-top: 8px;
<p> Remember to call the file: "<i>Team_Example_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 -->
+
                #mainContainerContainer {
<ul>
+
                    witdh: 100%;
<a href="https://2015.igem.org/Team:Example"><li>HOME</li></a>
+
                    position: relative;
 +
                }
  
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
+
</style>
 +
<!-- End of CSS -->
  
<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
+
<div id="bannerContainer">
            <ul>
+
<div id="bannerContent">
<a href="https://2015.igem.org/Team:Example/Parts"><li>Team Parts</li></a>
+
<!-- Banner menu -->
<a href="https://2015.igem.org/Team:Example/Basic_Part"><li>Basic Parts</li></a>
+
<div id="bannerMenuContainer">
<a href="https://2015.igem.org/Team:Example/Composite_Part"><li>Composite Parts</li></a>
+
<ul>
<a href="https://2015.igem.org/Team:Example/Part_Collection"><li>Part Collection</li></a>
+
<li class="active first"><a href="https://2015.igem.org/Team:TU_Darmstadt">Home</a></li>
</ul>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Tech">SLA 3D-Printer</a></li>
</li></a>
+
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/PnP/LabSurfing">LabSurfing</a></li>
 +
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Parts">Bricks</a></li>
 +
<li><a href="https://2015.igem.org/Team:TU_Darmstadt/Project/Bio/Modeling/sec2">RnD-Nerf</a></li>
 +
 +
</ul>
 +
</div>
 +
</div>
  
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
+
</div>
     
+
<div id="mainContainerContainer">
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
+
</html>
 +
        {{:Team:TU_Darmstadt/Templates/Footer}}
 +
<html>
  
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
+
<div id="mainContainer">
 +
</html>
 +
{{:Team:TU_Darmstadt/Templates/SideBarMenu}}
 +
<html>
 +
<div id="contentContainer">
  
<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.-->
 
 
</html>
 
</html>

Latest revision as of 02:58, 19 September 2015