Difference between revisions of "Template:TeamTemplateA"

m (Protected "Template:TeamTemplateA" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Template_All_Teams}}
 +
 +
<!-- Declare that you are going to use html code instead of wiki code -->
 
<html>
 
<html>
<style>
 
/* CSS Document */
 
  
/*---------------HEAD start--------------*/
+
<!-- Start of CSS-->
 +
<style type="text/css">
 +
 
 +
/* 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: 978px;
 +
overflow:hidden;
 +
float:left;
 +
margin-left:20px;
 +
margin-bottom: 10px;
 +
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: 134px;
 +
padding: 20px 0px;
 +
border-top: 14px solid #565656;
 +
background-color: #E8E8E9;
 +
}
 +
 
 +
/* Creates the container for the content */
 +
#contentContainer {
 +
padding-top:20px;
 +
padding-right:10px;
 +
margin-bottom: 20px;
 +
width: 814px;
 +
padding-left: 20px;
 +
float: left;
 +
background-color: #fff;
 +
border-top: 14px solid #565656;
 +
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;
 +
}
 +
 
 +
/* 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;
 +
}
  
/*---------------HEAD end----------------*/
+
/*Style the submenu buttons*/
/*---------------To ignore iGEM template start----------*/
+
#menuContainer li ul li{
html, body, .wrapper { /*-- changes default wiki settings --*/
+
background-color: #59BF92;
width: 100%;  
+
padding-left:20px;
height: 100%;  
+
padding-right:20px;
background-color: transparent;
+
height:30px;
}
+
padding-top:10px;
/*---------------To ignore iGEM template end----------*/
+
margin-top:-2px;
 +
color: #565656;
 +
width: 150px;
 +
}
  
/*---------------General start-----------*/
+
/*CLASSES */
/*----------------Colors---------------*/
+
/*compound scheme: #A99059 #E5CC00 #4C4826 #428CBC #00C7E5*/
+
/*compound scheme: #A99059 #DCCE5E #433D08 #8CA4B4 #5ECBDC*/
+
/*triad scheme: #A99059 #5C4C27 #72B699 #643276 #D475F5*/
+
/*complementary scheme: #A99059 #5C4C27 #F5D99A #1E345C #5974A9*/
+
h1, h2, h3, h4, h5 {
+
font-family: Georgia, Times, "Times New Roman", serif;
+
}
+
h3 {
+
    font-weight:bold;
+
    padding-top: 30px;
+
}
+
  
body {
+
/*Clear class for all the pages, adds spacing too*/
background-color: #fff;
+
.clear{
}
+
clear:both;
body{
+
height: 10px;
background-color: #FEF5E1;
+
}
    margin-left:0px;
+
}
+
p {
+
    font-size: 19px;
+
text-align:justify;
+
}
+
p img {
+
    float:left;
+
    padding-right:20px;
+
}
+
  
a:hover{
 
background-color: #A99059;
 
}
 
a.active{
 
background-color: #A99059;
 
}
 
  
ul, li {
+
/* highlight box for special messages */
    margin:0px;
+
    .highlightBox {
}
+
        width:500px;
/*li {
+
        margin:auto;  
    margin:0px;
+
        background-color: #E8E8E9;
}*/
+
margin-bottom: 15px;
 +
margin-top: 15px;
 +
padding: 15px;
 +
padding-top: 5px;
 +
    }
  
/*--------------General end-----------------*/
 
  
/*--------------Global/content start----------------*/
+
</style>
 +
<!-- End of CSS -->
  
#global-wrapper {
 
width: 100%;
 
height: 100%;
 
border: 0px;
 
background-color: transparent;
 
margin: 0px;
 
padding: 0px;
 
    padding-top: 100px;
 
    width: 960px;
 
    text-align: left;
 
    margin-left: auto;
 
    margin-right: auto;
 
 
min-width: 780px;
 
max-width: 1000px
 
}
 
#content { /*-- changes default wiki settings --*/
 
width: 100%;
 
height: 100%;
 
border: 0px;
 
background-color: transparent;
 
margin: 0px;
 
padding: 0px;
 
}
 
  
/*--------------Global end------------------*/
+
<!-- Start of the template html elements. -->
 +
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
  
/*---------------Header start------------*/
 
.firstHeading {
 
width: 975px;
 
margin: 0px auto;
 
padding-top: 100px;
 
margin-bottom: 20px;
 
font-family: Georgia, Times, "Times New Roman", serif;
 
display: none;
 
}
 
  
#spacer{
+
<div id="bannerContainer">
height: 200px;
+
<br><br>
}
+
<h2> Add a banner to your wiki! </h2>
 +
 +
<p>You can make the image 980px  by  200px</p>
 +
<p> Remember to call the file: "<i>Team_Example_banner.jpg</i>" </p>
 +
</div>
  
#headerWrapper {
+
<!-- Start of menu -->
    position:fixed;
+
<div id="menuContainer">
    top:19px;
+
    height: 85px; /*wass 105px*/
+
    width:100%;
+
background-color: black;
+
    z-index:30;
+
}
+
#stripe{
+
width: 100%;
+
background-color: blue;
+
height: 26px;
+
}
+
  
#headerWrapper a,
+
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
#headerWrapper a:hover,
+
<ul>
#headerWrapper a:visited,
+
<a href="https://2015.igem.org/Team:Example"><li>HOME</li></a>
#headerWrapper a:active {
+
    text-decoration:none;
+
    color:white;
+
}
+
#header {
+
    width:950px;
+
    margin: auto;
+
width: 80%;
+
min-width: 780px;
+
max-width: 1000px;
+
}
+
#header-content{
+
+
+
}
+
#logo img {
+
    width: 130px;
+
    float: left;
+
    padding-top: 7px;
+
}
+
  
/*------------------Navigation----------------*/
+
<a href="https://2015.igem.org/Team:Example/Team"><li>TEAM</li></a>
/*
+
#wiki-navigation {
+
    font-size: 8pt;
+
    padding-bottom: 10px;
+
}*/
+
#navigation {
+
    float: right;
+
    font-family: Verdana, Geneva, sans-serif;
+
    font-size: 0.85em;
+
margin: auto;
+
}
+
#navigation ul li {
+
    display: inline;
+
    float:left;
+
}
+
#sub-navigation-content {
+
clear:both;
+
    position:relative;
+
background-color: #A99059;
+
    height: 26px;
+
    padding-top: 5px;
+
margin-left: -5px;
+
    -webkit-box-shadow: 0px 7px 5px -3px rgba(50, 50, 50, 0.75);
+
    -moz-box-shadow:    0px 7px 5px -3px rgba(50, 50, 50, 0.75);
+
    box-shadow:        0px 7px 5px -3px rgba(50, 50, 50, 0.75);
+
}
+
#sub-navigation {
+
    text-align: right;
+
    font-family: Verdana, Geneva, sans-serif;
+
    font-size: 0.8em;
+
    margin:auto;
+
clear:both;
+
    position:relative;
+
width: 80%;
+
min-width: 780px;
+
max-width: 1000px;
+
}
+
#sub-navigation ul li {
+
    display: inline;
+
    float:left;
+
}
+
  
#sub-navigation ul {
+
<a href="#"><li>PROJECT
    display: inline;
+
            <ul>
    float:right;
+
<a href="https://2015.igem.org/Team:Example/Description"><li>Description</li></a>
list-style-type: square;
+
<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>
  
#sub-navigation > ul {
+
<a href="#"><li>PARTS
    display:none;
+
            <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>
  
#sub-navigation li {
+
<a href="https://2015.igem.org/Team:Example/Notebook"><li>NOTEBOOK</li></a>
display: inline;
+
     
    float: left;
+
<a href="https://2015.igem.org/Team:Example/Attributions"><li>ATTRIBUTIONS</li></a>
    padding-left: 10px;
+
padding-right: 10px;
+
}
+
#sub-navigation li:before{
+
    content:"•";
+
/*content: " * ";*/
+
    padding-right:10px;
+
    color:white;
+
}
+
#sub-navigation li:first-child:before{
+
    content:"";
+
}
+
  
#sub-navigation a:hover{
+
<a href="https://2015.igem.org/Team:Example/Collaborations"><li>COLLABORATIONS</li></a>
color: #5F7077;
+
}
+
  
/*-----------------------Navigation items---------------*/
+
<a href="https://2015.igem.org/Team:Example/Practices"><li>HUMAN PRACTICES</li></a>
.nav-item {
+
    display: block;
+
    background-size: 32px;
+
    float: left;
+
    background-position: center bottom 35px;
+
    background-repeat: no-repeat;
+
    line-height: 40px;
+
    text-align:center;
+
    padding-top: 45px;
+
    padding-right:10px;
+
    padding-left:10px;
+
}
+
/*-------------------Images for nav bar--------------*/
+
.project { /*image from openclipart.org*/
+
    background-image: url(https://2015.igem.org/File:CU-Boulder-flask3-white.gif);
+
background-size: 50px;
+
}
+
/*medals*/
+
.medals { /*image from openclipart.org*/
+
    background-image: url(images/medal-white.gif);
+
background-size: 50px;
+
}
+
/*parts*/
+
.parts { /*image from openclipart.org */
+
    background-image: url(images/gear-icon-white.gif);
+
background-size: 50px;
+
}
+
.team { /*image from openclipart.org*/
+
    background-image: url(images/people-white.gif);
+
background-size: 50px 35px;
+
padding-right:13px;
+
    padding-left:13px;
+
}
+
.human-practice { /*image from openclipart.org*/
+
background-image: url(images/rig1-white.gif);
+
background-size: 100px 55px;
+
background-position: center bottom 28px;
+
+
}
+
/*notebook*/
+
.notebook { /*image from openclipart.org*/
+
background-image: url(images/notebook_2-white.gif);
+
background-size: 75px;
+
background-position: center bottom 27px;
+
}
+
  
/*-----------------Header end---------------------*/
+
<a href="https://2015.igem.org/Team:Example/Safety"><li>SAFETY</li></a>
  
/*-----------------Article start------------------*/
+
<a href="https://2015.igem.org/Team:Example/Modeling"><li>MODELING</li></a>
article{
+
width: 80%;
+
min-width: 780px;
+
max-width: 1000px; /* Vertical margins, and auto to center */
+
margin: auto;
+
margin-top: 180px;
+
margin-bottom: 100px;
+
/*Note: There appears to be space already allocated for above the article
+
so top margin may not be necessary */
+
}
+
/* to indent a line, use text-indent: xxx; */
+
/*article h1 {
+
text-decoration: underline;
+
}*/
+
abbr {
+
    border-bottom: 1px dotted #111;
+
    cursor: help;
+
}
+
abbr:hover{
+
color: #5F7077;
+
}
+
.box-float-right {
+
background-color: white;
+
margin: 25px;
+
padding: 5px;
+
width: 200px;
+
border: medium inset gray;
+
float: right;
+
}
+
/*-----------------Article end--------------------*/
+
  
/*-----------------Footer start-------------------*/
+
<a href="https://2015.igem.org/Team:Example/Measurement"><li>MEASUREMENT</li></a>
footer
+
{
+
background-color: #555;
+
text-align: center;
+
height: 200px;
+
}
+
  
#footer-content
+
<a href="https://2015.igem.org/Team:Example/Software"><li>SOFTWARE</li></a>
{
+
padding: 20px;
+
color: snow;
+
}
+
#footer-content h2, #footer-content h3 {
+
border:0;
+
padding:0;
+
margin:0;
+
font-style: italic;
+
font-size: 30px;
+
}
+
#footer-content p {
+
text-align: center;
+
font-size: 20px;
+
}
+
#footer-logos a{
+
background-color: inherit;
+
}
+
#footer-logos a img{
+
height: 80px;
+
margin: 10px;
+
}
+
/*-----------------Footer end---------------------*/
+
  
 +
<a href="https://2015.igem.org/Team:Example/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
  
/*-----------------Citation start-----------------*/
+
</ul>
/*Some of the CSS code on this page was modified from the LMU-Munich 2014 iGEM team
+
</div>
(https://2014.igem.org/Team:LMU-Munich)
+
<!-- End of menu  -->
  
/*-----------------Citation end-------------------*/
+
<!-- Start of content -->
</style>
+
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
 
</html>
 
</html>

Latest revision as of 15:50, 29 July 2015