Difference between revisions of "Template:Amsterdam2"

(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"> #globalWrapper, #conte...")
 
Line 1: Line 1:
{{Template_All_Teams}}
+
<html>
 
+
<!-- Declare that you are going to use html code instead of wiki code -->
+
<html>
+
 
+
<!-- Start of CSS-->
+
<style type="text/css">
+
 
+
#globalWrapper, #content{
+
                      width: 100%;
+
                      border: 0px;
+
                      position: relative;
+
                  }
+
 
+
 
+
/* PAGE LAYOUT */
+
 
+
/* Change Background color*/
+
body {
+
background-color: #fff;
+
}
+
 
+
/* Creates a container that will wrap all of the content inside your wiki pages. */
+
#mainContainer { 
+
width: 98%;
+
overflow:hidden;
+
/*  float:left;*/
+
/* margin-left:20px;*/
+
margin-bottom: 10px;
+
                margin: auto;
+
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 */
+
#menuContainer  {
+
float:left;
+
width: 100%;
+
padding: 20px 0px;
+
border-top: 4px solid #565656;
+
                border-bottom: 4px solid #565656;
+
background-color: #E8E8E9;
+
}
+
 
+
/* Creates the container for the content */
+
#contentContainer {
+
padding-top:20px;
+
padding-bottom:20px;
+
                                width: 50%;
+
              /*                float: left;*/
+
                                margin: auto;
+
                                display : table;
+
background-color: #fff;
+
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
 
+
/*Set up height place holder for the banner*/
+
#bannerContainer {
+
height:200px;
+
margin:auto;
+
text-align:center;
+
color: #24B694;
+
}
+
 
+
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
+
 
+
/*Change the styling of text for everything inside main container*/
+
#mainContainer p {
+
font-size: 13px;
+
color: #000000;
+
}
+
+
/*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 */
+
#contentContainer a {
+
font-weight: bold;
+
color: #23b593;
+
}
+
 
+
  /* Styling links on hover- links are different inside the menu */
+
#contentContainer a:hover {
+
color: #59bf92;
+
}
+
 
+
/*Change the styling of tables */
+
        #contentContainer table {
+
    border: 1px solid #565656;
+
    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*/
+
    #contentContainer  td {
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
 
+
/*Change the styling of table headers */
+
    #contentContainer th {
+
    background-color: #E8E8E9;
+
    padding: 10px;
+
    border: 1px solid #565656;
+
    border-collapse: collapse;
+
    vertical-align: text-top;
+
    }
+
 
+
 
+
 
+
/*MENU STYLING */
+
 
+
/*Styling for the links in the menu */
+
#menuContainer a {
+
color: #565656;
+
text-decoration:none;
+
font-weight: bold;
+
/*
+
                padding-left: 2px;
+
                padding-right: 2px;
+
               
+
*/
+
}
+
 
+
/* Sets the style for lists inside menuContainer  */
+
#menuContainer ul {
+
/*
+
list-style: inline;
+
margin-left:0px;
+
           
+
*/
+
                font-family: Arial, Verdana;
+
                font-size: 14px;
+
                margin: 0;
+
                padding-left: 50px;
+
                list-style: none;
+
}
+
 
+
/*Styles the list items to become menu buttons */
+
#menuContainer ul li {
+
text-align: center;
+
               
+
/* display: inline;*/
+
/* width: 100%;*/
+
height:30px;
+
padding-top:10px;
+
                padding-left: 5px;
+
                padding-right: 5px;
+
                display: block;
+
                position: relative;
+
                float: left;
+
}
+
 
+
/*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;
+
}
+
 
+
           
+
            #menuContainer ul li a {
+
              display: block;
+
               
+
/*
+
              text-decoration: none;
+
              color: #ffffff;
+
              border-top: 1px solid #ffffff;
+
              padding: 5px 15px 5px 15px;
+
              background: #2C5463;
+
              margin-left: 1px;
+
              white-space: nowrap;
+
*/
+
            }
+
/*Submenus are displayed when hovering the menu button */
+
#menuContainer li:hover ul {
+
display: none;
+
position: absolute;
+
float:right;
+
/*
+
margin-left: 134px;
+
margin-top:-42px;
+
*/
+
 
+
            }
+
 
+
            /*#menuContainer ul li a:hover {
+
                background: #617F8A;
+
            }*/
+
            #menuContainer li:hover ul {
+
                display: block;
+
                position: absolute;
+
}
+
            #menuContainer li:hover li {
+
                float: none;
+
                font-size: 11px;
+
}
+
/*
+
            #menuContainer li:hover a {
+
                background: #617F8A;
+
            }
+
*/            /*
+
            #menuContainer li:hover li a:hover {
+
                background: #95A9B1;
+
            }
+
            */
+
           
+
/*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.-->
+
 
+
 
+
+
<!-- Start of menu -->
+
 
<body>
 
<body>
  
Line 283: Line 8:
  
 
     <!-- Bootstrap core CSS -->
 
     <!-- Bootstrap core CSS -->
<link href="https://2015.igem.org/Team:Amsterdam/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+
<link href="https://2015.igem.org/Team:Amsterdam/bootstrap/css/bootstrap.min.css?action=raw&ctype=text/javascript" rel="stylesheet">
  
 
<!-- SmartMenus jQuery Bootstrap Addon CSS -->
 
<!-- SmartMenus jQuery Bootstrap Addon CSS -->
<link href="https://2015.igem.org/Team:Amsterdam/smartmenus/addons/bootstrap/jquery.smartmenus.bootstrap.css" rel="stylesheet">
+
<link href="https://2015.igem.org/Team:Amsterdam/smartmenus/addons/bootstrap/jquery.smartmenus.bootstrap.css?action=raw&ctype=text/javascript" rel="stylesheet">
 
   </head>
 
   </head>
 
      
 
      
Line 350: Line 75:
 
<!-- Placed at the end of the document so the pages load faster -->
 
<!-- Placed at the end of the document so the pages load faster -->
 
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
 
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://2015.igem.org/Team:Amsterdam/bootstrap/js/bootstrap.min.js"></script>
+
<script src="https://2015.igem.org/Team:Amsterdam/bootstrap/js/bootstrap.min.js?action=raw&ctype=text/javascript"></script>
  
 
<!-- SmartMenus jQuery plugin -->
 
<!-- SmartMenus jQuery plugin -->
<script type="text/javascript" src="https://2015.igem.org/Team:Amsterdam/smartmenus/jquery.smartmenus.js"></script>
+
<script type="text/javascript" src="https://2015.igem.org/Team:Amsterdam/smartmenus/jquery.smartmenus.js?action=raw&ctype=text/javascript"></script>
  
 
<!-- SmartMenus jQuery Bootstrap Addon -->
 
<!-- SmartMenus jQuery Bootstrap Addon -->
<script type="text/javascript" src="https://2015.igem.org/Team:Amsterdam/smartmenus/addons/bootstrap/jquery.smartmenus.bootstrap.js"></script>   
+
<script type="text/javascript" src="https://2015.igem.org/Team:Amsterdam/smartmenus/addons/bootstrap/jquery.smartmenus.bootstrap.js?action=raw&ctype=text/javascript"></script>   
  
 
      
 
      
Line 365: Line 90:
 
<!-- End of menu  -->
 
<!-- 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>

Revision as of 22:24, 31 July 2015