Difference between revisions of "Template:Kent"

(Prototype team template page)
 
 
(260 intermediate revisions by 4 users not shown)
Line 2: Line 2:
  
 
<!-- 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>
 +
 +
<!-- Start of CSS-->
 +
<style type="text/css">
 +
 +
/* WIKI SETTINGS*/
 +
 +
/* Hide first heading */
 +
.firstHeading {
 +
display: none;
 +
}
 +
 +
/*-- Remove borders, float content left and remove padding/margin */
 +
#globalWrapper, #content{
 +
background-color: transparent;
 +
border: 0px;
 +
float: left;
 +
                                width: 100%;
 +
margin-left:auto;
 +
                                margin-right:auto;
 +
padding-top: -5px;
 +
}
 +
 +
/*left align Black Menu Bar */
 +
#top_menu_inside {
 +
margin-left: 20px;
 +
}
 +
</style>
 +
 
<html>
 
<html>
  
Line 13: Line 43:
 
background-color: #fff;
 
background-color: #fff;
 
}
 
}
 +
 +
/*JA Added 1st July */
 +
                      .site-wrapper {
 +
                        display: table;
 +
                        width: 100%;
 +
                        height: 100%; /* For at least Firefox */
 +
                        min-height: 90%;
 +
                        background: url('https://static.igem.org/mediawiki/2015/8/8a/Team_Kent_banner18thsep.jpg') no-repeat center center fixed;
 +
                        -webkit-background-size: cover;
 +
                        -moz-background-size: cover;
 +
                        -o-background-size: cover;
 +
                        background-size: cover;
 +
                        padding: 0px;
 +
                        margin: 0px;
 +
       
 +
                      }
 +
 +
                      .site-wrapper-sub-1 {
 +
                        display: table;
 +
                        width: 100%;
 +
                        height: 100%; /* For at least Firefox */
 +
                        min-height: 100%;
 +
                        background: url('https://static.igem.org/mediawiki/2015/0/0d/Team_Kent_igem58.jpg') no-repeat center center fixed;
 +
                        -webkit-background-size: cover;
 +
                        -moz-background-size: cover;
 +
                        -o-background-size: cover;
 +
                        background-size: cover;
 +
                        padding: 0px;
 +
                        margin: 0px;
 +
                      }
 +
                      .site-wrapper-sub-2 {
 +
                        display: table;
 +
                        width: 100%;
 +
                        height: 100%; /* For at least Firefox */
 +
                        min-height: 100%;
 +
                        background: url('https://static.igem.org/mediawiki/2015/6/68/Team_Kent_igem50.jpg') no-repeat center center fixed;
 +
                        -webkit-background-size: cover;
 +
                        -moz-background-size: cover;
 +
                        -o-background-size: cover;
 +
                        background-size: cover;
 +
                        padding: 0px;
 +
                        margin: 0px;
 +
                      }
 +
 +
                      .site-wrapper-sub-team {
 +
                        display: table;
 +
                        width: 100%;
 +
                        height: 100%; /* For at least Firefox */
 +
                        min-height: 100%;
 +
                        background: url('https://static.igem.org/mediawiki/2015/4/41/Team_Kent_TeamPhoto.jpg') no-repeat center center fixed;
 +
                        -webkit-background-size: cover;
 +
                        -moz-background-size: cover;
 +
                        -o-background-size: cover;
 +
                        background-size: cover;
 +
                        padding: 0px;
 +
                        margin: 0px;
 +
                      }   
 +
 +
           
 +
 +
 +
                    .calendarside{
 +
                      display: table;
 +
                      float: left;
 +
                      width: 4%;
 +
                      height: 6%;
 +
                      }
 +
 +
                    .notesideimage{
 +
                    width="20%"
 +
                    }
 +
 +
                 
 +
 +
                    a.anchor {
 +
                    display: block;
 +
                    position: relative;
 +
                    top: -70px;
 +
                    visibility: hidden;
 +
                  }
 +
 +
                    #float{
 +
                    position:fixed;
 +
                    top:50px;
 +
                    left:0;
 +
                    }
  
 
/* 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;
+
width: 100%;
overflow:hidden;
+
                        height: 100%;
float:left;
+
overflow:auto;
margin-left:20px;
+
float:center;
margin-bottom: 10px;
+
margin-left: auto;
 +
                                margin-right: auto;
 +
margin-bottom: auto;
 
background-color: #fff;  
 
background-color: #fff;  
border-bottom: 14px solid #565656;
+
font-family: Tahoma, Geneva, sans-serif; !important
border-right: 2px solid #565656;
+
border-left: 2px solid #565656;
+
border-top: 2px solid #565656;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
 
}
 
}
 
+
#body{
/* Creates the container for the menu */
+
width: 100%;
#menuContainer  {  
+
                        height: 100%;
float:left;
+
overflow:auto;
width: 134px;
+
float:center;
padding: 20px 0px;
+
margin-left: 50px;
border-top: 14px solid #565656;
+
                                margin-right: 50px;
background-color: #E8E8E9;
+
margin-bottom: auto;
 +
background-color: #fff;
 +
font-family: Tahoma, Geneva, sans-serif; !important
 
}
 
}
 
 
/* Creates the container for the content */
 
/* Creates the container for the content */
 
#contentContainer {
 
#contentContainer {
padding-top:20px;
+
padding-top:5px;
padding-right:10px;
+
padding-right:0px;
 
margin-bottom: 20px;
 
margin-bottom: 20px;
width: 814px;
+
width: 100%;
padding-left: 20px;
+
padding-left: 0px;
 
float: left;
 
float: left;
 
background-color: #fff;  
 
background-color: #fff;  
border-top: 14px solid #565656;
+
border-top: 0px;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
font-family: Tahoma, Geneva, sans-serif; !important
 
}
 
}
 +
 +
                      .modelbody {
 +
                        background-color: #f4f4f4
 +
                      }
  
 
/*Set up height place holder for the banner*/
 
/*Set up height place holder for the banner*/
Line 56: Line 175:
 
margin:auto;
 
margin:auto;
 
text-align:center;
 
text-align:center;
color: #24B694;
+
color: #000000;
 +
}
 +
                  /* Creates the container for the footer */
 +
#footerContainer {
 +
padding-top: 20px;
 +
padding-right:10px;
 +
                                background-color: #000000;
 +
margin-bottom: 20px;
 +
width: 100%;
 +
padding-left: 20px;
 +
float: bottom;
 +
 +
border-top: none;
 +
font-family: Tahoma, Geneva, sans-serif; !important
 
}
 
}
 
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
 
 
/*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: 15px;
 
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: #000000;
 
border-bottom: none;
 
border-bottom: none;
 
font-weight: bold;
 
font-weight: bold;
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
font-family: Tahoma, Geneva, sans-serif; !important
 
margin-top:10px;
 
margin-top:10px;
 +
 
}
 
}
 
 
/*Style of the links - links are different inside the menu */
 
/*Style of the links - links are different inside the menu */
 
#contentContainer a {  
 
#contentContainer a {  
 
font-weight: bold;
 
font-weight: bold;
color: #23b593;
+
color: #C96333;
 
}
 
}
 
 
  /* 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: #009000;
 
}
 
}
 
 
/*Change the styling of tables */
 
/*Change the styling of tables */
 
         #contentContainer table {
 
         #contentContainer table {
Line 95: Line 222:
 
     margin-bottom: 15px;
 
     margin-bottom: 15px;
 
     margin-top: 15px;
 
     margin-top: 15px;
     margin-right: 10px;
+
     margin-right: 0%;
     margin-left: 10px;
+
     margin-left: 2.5%;
 
     }
 
     }
 
 
/*Change the styling of table cells*/
 
/*Change the styling of table cells*/
 
     #contentContainer  td {
 
     #contentContainer  td {
Line 106: Line 232:
 
     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: #E8E8E9;
+
     background-color: #FFF;
 
     padding: 10px;
 
     padding: 10px;
 
     border: 1px solid #565656;
 
     border: 1px solid #565656;
Line 115: Line 240:
 
     vertical-align: text-top;
 
     vertical-align: text-top;
 
     }
 
     }
 
 
 
/*MENU STYLING */
 
 
/*Styling for the links in the menu */
 
#menuContainer a {
 
color: #565656;
 
text-decoration:none;
 
font-weight: bold;
 
}
 
 
/* 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: center;
 
display: block;
 
width: 100%;
 
height:30px;
 
padding-top:10px;
 
}
 
 
/*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;
 
}
 
 
/*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;
 
}
 
 
/*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 */
 
/*CLASSES */
 
 
/*Clear class for all the pages, adds spacing too*/
 
/*Clear class for all the pages, adds spacing too*/
 
.clear{
 
.clear{
Line 184: Line 246:
 
height: 10px;
 
height: 10px;
 
}
 
}
 
 
 
/* highlight box for special messages */
 
/* highlight box for special messages */
 
     .highlightBox {
 
     .highlightBox {
Line 197: Line 257:
 
     }
 
     }
  
 +
                      .site-wrapper-text {
 +
                        background-color: #F6F6F6;
 +
                        border-color: #F6F6F6;
 +
                        padding: 0px;
 +
                        margin: 0px;
 +
                        }     
  
</style>
+
<!------.slider{
<!-- End of CSS -->
+
    position: relative;
 +
    width: 300px;
 +
    height: 300px;
 +
    margin: auto;
 +
    overflow: hidden;
 +
    z-index: 13;
 +
}
 +
.slider .slider_left{
 +
    position: absolute;
 +
    background-color:black;
 +
    top: 0px;   
 +
    left: 0px;
 +
    width: 50px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
 +
}
 +
.slider .slider_left img{
 +
    position: relative;
 +
    width: 100%;
 +
    height: 200px;
 +
    top: 25%;
 +
    left: 10px;
 +
}
 +
.slider .slider_right{
 +
    position: absolute;
 +
    background-color:black;
 +
    top: 0px;
 +
    left: 300px;
 +
    width: 300px;
 +
    height: 100%;
 +
    opacity: 0.5;
 +
    z-index: 2;
 +
}
 +
.slider .slider_right img{
 +
    position: relative;
 +
    width: 100%;
 +
    height: 200px;
 +
    top: 25%;
 +
    left: -10px;
 +
}
 +
.slider .slider_imgs{
 +
    position: absolute;
 +
}
 +
.slider .slider_imgs div{
 +
  float: left;
 +
  width: 300px;
 +
  height: 300px;
 +
}
 +
.slider .slider_imgs #slide1{
 +
  float: left;
  
 +
}
 +
.slider .slider_imgs #slide2{
 +
  float: left;
 +
    background-size: cover;
 +
    background-repeat: no-repeat;
 +
    background-position: 0% 50%;
 +
}
 +
.slider .slider_imgs #slide3{
 +
  float: left;
 +
}
 +
.slider .slider_imgs #slide4{
 +
  float: left;
 +
} ------>
 +
                     
 +
@media screen and (max-width: 1024px) {
 +
  .sidecontents{
 +
  position:none; !important
 +
  }
 +
}
  
<!-- Start of the template html elements. -->
 
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
 
  
 +
@media (max-width: 1200px){
 +
  /* no fixed navbar for small devices */
 +
  .navbar-fixed-top{
 +
    position: absolute;
 +
  }
 +
}
  
<div id="bannerContainer">
+
@media only screen and (min-width: 320px) and (max-width: 989px) {
<br><br>
+
.parallax {
<h2> Add a banner to your wiki! </h2>
+
background-attachment: scroll !important;
+
}
<p>You can make the image 980px  by  200px</p>
+
}
<p> Remember to call the file: "<i>Team_Kent_banner.jpg</i>" </p>
+
</div>
+
  
<!-- Start of menu -->
+
@media (max-width: 767px) {
<div id="menuContainer">
+
  .hidden-xs {
 +
    display: none !important;
 +
  }
 +
}
 +
@media (min-width: 768px) and (max-width: 991px) {
 +
  .hidden-sm {
 +
    display: none !important;
 +
  }
 +
}
 +
@media (min-width: 992px) and (max-width: 1199px) {
 +
  .hidden-md {
 +
    display: none !important;
 +
  }
 +
}
 +
@media (min-width: 1200px) {
 +
  .hidden-lg {
 +
    display: none !important;
 +
  }
 +
}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
@media screen and (max-width: 1024px) {
<ul>
+
.site-wrapper {
<a href="https://2015.igem.org/Team:Kent"><li>HOME</li></a>
+
background-size: cover !important;
 
+
}
<a href="https://2015.igem.org/Team:Kent/Team"><li>TEAM</li></a>
+
}
 
+
</style>
<a href="#"><li>PROJECT
+
<!-- End of CSS -->
            <ul>
+
<!-- Start of the template html elements. -->
<a href="https://2015.igem.org/Team:Kent/Description"><li>Description</li></a>
+
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
<a href="https://2015.igem.org/Team:Kent/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
<!---------<div id="bannerContainer"> <br><br> </div>------->
<a href="https://2015.igem.org/Team:Kent/Results"><li>Results</li></a> 
+
<a href="https://2015.igem.org/Team:Kent/Design"><li>Design</li></a>
+
</ul>
+
</li></a>
+
 
+
<a href="#"><li>PARTS
+
            <ul>
+
<a href="https://2015.igem.org/Team:Kent/Parts"><li>Team Parts</li></a>
+
<a href="https://2015.igem.org/Team:Kent/Basic_Part"><li>Basic Parts</li></a> 
+
<a href="https://2015.igem.org/Team:Kent/Composite_Part"><li>Composite Parts</li></a>
+
<a href="https://2015.igem.org/Team:Kent/Part_Collection"><li>Part Collection</li></a> 
+
</ul>
+
</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Notebook"><li>NOTEBOOK</li></a>
+
     
+
<a href="https://2015.igem.org/Team:Kent/Attributions"><li>ATTRIBUTIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Collaborations"><li>COLLABORATIONS</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Practices"><li>HUMAN PRACTICES</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Safety"><li>SAFETY</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Modeling"><li>MODELING</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Measurement"><li>MEASUREMENT</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/Software"><li>SOFTWARE</li></a>
+
 
+
<a href="https://2015.igem.org/Team:Kent/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.-->
 
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Latest revision as of 18:15, 18 September 2015