Difference between revisions of "Template:Korea U Seoul"

(Prototype team template page)
 
 
Line 1: Line 1:
{{Template_All_Teams}}
 
 
<!-- Declare that you are going to use html code instead of wiki code -->
 
 
<html>
 
<html>
 +
<head>
 +
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 +
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  
<!-- 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;
 
}
 
 
/*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>
 +
.content_wrapper{
 +
                top: -10px;
 +
                width: 80%; min-width:1000px; max-width:1000px; margin:0 auto;overflow: auto; background-color:#FFFFFF; padding: 0 20px; min-height: 1000px;
 +
                background-image: url('https://static.igem.org/mediawiki/2013/6/6e/Natural_paper.png');
 +
            }
 +
            .title{
 +
                width: 100%;
 +
                margin-top : 40px;
 +
                margin-bottom: 20px;
 +
            }
 +
                .title > .title_ {color: #8b0027; font-weight: bold; font-size: 15pt; margin-top: 10px;}
 +
                .title > .left_line{float: left; width: 30%; background-color: #8B0029; height: 5px;}
 +
                .title > .right_line{float: left; width: 70%; background-color: #eb89a5; height: 2px;}
 +
               
 +
            .content_{
 +
                margin-top: 20px;
 +
                font-size: 10pt;padding-bottom:40px;
 +
line-height: 130%;
 +
            }
 +
            .content_ .float_img{
 +
                float: right;
 +
                width: 150px;
 +
                margin: 10px;
 +
            }
 +
            .image_line {margin-top: 20px; text-align: center;}
 +
            .image_line img{
 +
                height: 150px;
 +
                margin-right: 3%;
 +
            }
 +
            p:first-child:first-letter{font-weight: bold; font-size: 150%;}
 +
</style>
  
</style>
 
<!-- End of CSS -->
 
  
  
<!-- Start of the template html elements. -->
+
<style>
<div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
+
/*
 +
** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
 +
** Copyright Gabriel Wicke - http://wikidev.net/
 +
** License: GPL (http://www.gnu.org/copyleft/gpl.html)
 +
**
 +
** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
 +
** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
 +
** Michael Zeltner and Geir Bækholt)
 +
** All you guys rock :)
 +
*/
  
  
<div id="bannerContainer">
+
/* Font size:
<br><br>
+
** We take advantage of keyword scaling- browsers won't go below 9px
<h2> Add a banner to your wiki! </h2>
+
** More at http://www.w3.org/2003/07/30-font-size
+
** http://style.cleverchimp.com/font_size_intervals/altintervals.html
<p>You can make the image 980px  by  200px</p>
+
*/
<p> Remember to call the file: "<i>Team_Korea_U_Seoul_banner.jpg</i>" </p>
+
</div>
+
  
<!-- Start of menu -->
+
body {
<div id="menuContainer">
+
    font: x-small sans-serif;
 +
    color: black;
 +
    margin: 0;
 +
    padding: 0;
 +
}
  
<!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
+
/* scale back up to a sane default */
<ul>
+
#globalWrapper {
<a href="https://2015.igem.org/Team:Korea_U_Seoul"><li>HOME</li></a>
+
    position: relative;
 +
    font-size: 127%;
 +
    width: 100%;
 +
    margin: 0;
 +
    padding: 0;
 +
    padding-bottom: 10px;
 +
}
 +
#catlinks {
 +
    display: none;
 +
}
 +
.visualClear {
 +
    clear: both;
 +
}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Team"><li>TEAM</li></a>
+
/* The top section contains the banner, the search box, and the left and right menus */
  
<a href="#"><li>PROJECT
+
#top-section {
            <ul>
+
    background-color: #8b0029;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Description"><li>Description</li></a>
+
    height:18px  ! important;  /* 메인 배너 이미지 높이 */
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Experiments"><li>Experiments &amp; Protocols</li></a> 
+
    margin: 0px;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Results"><li>Results</li></a> 
+
    margin-left: auto; 
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Design"><li>Design</li></a>
+
    margin-right: auto;  
</ul>
+
    margin-bottom: 0 !important;
</li></a>
+
    padding:0;
 +
    border: none;
 +
    position: relative;
 +
    width: 100%;
 +
}
  
<a href="#"><li>PARTS
+
#p-logo {
            <ul>
+
    position: absolute;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Parts"><li>Team Parts</li></a>
+
    z-index: 1;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Basic_Part"><li>Basic Parts</li></a> 
+
    height: 107px;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Composite_Part"><li>Composite Parts</li></a>
+
    width: 975px;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Part_Collection"><li>Part Collection</li></a> 
+
    display: none;
</ul>
+
}
</li></a>
+
.firstHeading {display:none; }
 +
#search-controls {
 +
position: absolute;
 +
top:   20px;
 +
right: 15px;
 +
width: 150px;
 +
height: 40px;
 +
background-color: transparent;
 +
    text-align: center;
 +
    z-index: 3;
 +
        display: none;
 +
}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Notebook"><li>NOTEBOOK</li></a>
+
menubar.ul {    color: #ffffff;
     
+
    list-style: none;
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Attributions"><li>ATTRIBUTIONS</li></a>
+
}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Collaborations"><li>COLLABORATIONS</li></a>
+
.left-menu:hover {
 +
    color: #ffffff;
 +
background-color: #8b0029;  /* 수정 */
 +
   
 +
}     
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Practices"><li>HUMAN PRACTICES</li></a>
 
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Safety"><li>SAFETY</li></a>
+
.left-menu a {
 +
    color: #ffffff;
 +
    background-color: #8b0029;
 +
}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Modeling"><li>MODELING</li></a>
+
.left-menu .selected {
 +
#    color: #ffffff;
 +
}
 +
#.left-menu .selected:hover {
 +
#    color: #ffffff;
 +
#}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Measurement"><li>MEASUREMENT</li></a>
+
.left-menu:hover a {
 +
    color: #ffffff;
 +
}
 +
.right-menu li {
 +
#    background-color: #8b0029;
 +
}
 +
.right-menu li a {
 +
    padding: 0px 15px 0px 0px;
 +
    color: #ffffff;
 +
    background-color: #8b0029;
 +
}
 +
.right-menu li a:hover {
 +
    color: #ffffff;
 +
    text-decoration: underline;
 +
}   
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Software"><li>SOFTWARE</li></a>
+
#header {
 +
    width: 100%;
 +
height:90px;
 +
position:relative;
 +
    z-index:999;   
 +
background:#d8d3cd;
 +
}
 +
#nav {
 +
    margin: 0 auto;
 +
background:#d8d3cd;
 +
width: 1100px
 +
}
 +
#nav ul, #nav li {
 +
margin:0;
 +
padding:0;
 +
text-align: center;
 +
}
 +
#nav ul{
 +
}
 +
#nav > ul > li > a > img{
 +
    height: 40px;
 +
    margin-bottom: 10px;
 +
    margin-top: 10px;
 +
}
 +
#nav li {
 +
position:relative;
 +
list-style:none;
 +
float:left;
 +
margin:0px; /* 0이엇음 */
 +
padding:0px 0px 0px 0px;
 +
width: 180px;
 +
}
 +
#nav li:hover{
 +
    background-color: #8B0029
 +
}
  
<a href="https://2015.igem.org/Team:Korea_U_Seoul/Entrepreneurship"><li>ENTREPRENEURSHIP</li></a>
+
#nav a {
 +
display:block;
 +
font-weight:bold;
 +
text-decoration:none;
 +
    margin:0px;
 +
    padding:5px 15px 5px 15px; /* 어디까지 hover 효과 먹히는지 */
 +
}
 +
#nav li ul {
 +
position:absolute;
 +
    top:92px;  /* 서브가 아래로 열리게하는 */
 +
display:none;
 +
text-align: center;
 +
background-color: #8B0029
 +
}
 +
#nav li.on ul {
 +
display:block;
 +
}
 +
/* color */
 +
#header {background:#8b0029;}
 +
#nav a {background:#8b0029; color:#ffffff;}
 +
#nav .on a,
 +
#nav li li a {background:#d8d3cd; color:#8b0029;}
 +
#nav > ul > li > ul > li :hover{
 +
    background-color: #8B0029;
 +
    color: #FFFFFF;
 +
    font-weight: bold;
 +
}
 +
/* contents */
 +
#content {
 +
    position: relative;
 +
    width:  100%;
 +
    margin: 0 auto;
 +
    padding: 5px 0px 5px 0px;
 +
    color: black;
 +
    border-left: none;
 +
    border-right: none;
 +
    line-height: 1.5em;
 +
    z-index: 2;
 +
}
  
</ul>
+
</style>
</div>
+
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- End of menu  -->
+
</head>
  
<!-- Start of content -->
+
<body>
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.-->
+
<div id="header">
 +
  <div id="nav">
 +
    <ul>
 +
      <li><a href="https://2014.igem.org/Team:Korea_U_Seoul"><img src="https://static.igem.org/mediawiki/2014/c/c1/Logo_white.png"><br />Home</a></li>
 +
      <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Team/Korea_University"><img src="https://static.igem.org/mediawiki/2013/1/13/Introduction.png"><br />Team</a>
 +
        <ul>
 +
          <!--<li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Korea University</a>
 +
          </li>-->
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Team/Korea_University">Our members</a>
 +
          </li>
 +
          <li><a href="https://igem.org/Team.cgi?year=2014&team_name=Korea_U_Seoul">Official Team Profile</a>
 +
          </li>
 +
        </ul>
 +
      </li>
 +
      <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Description"><img src="https://static.igem.org/mediawiki/2013/0/00/Review.png"><br />Project</a>
 +
        <ul>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Description">Description</a></li>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Design">Design & Parts</a></li>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Protocols">Experiment & Protocol</a></li>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Judging">Judging Critiera</a></li>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Project/Application">Application & Improvement</a></li>
 +
</ul>
 +
      </li>
 +
      <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Notebook"><img src="https://static.igem.org/mediawiki/2013/7/7d/Howto.png"><br />Notebook</a>
 +
      </li>
 +
      <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach"><img src="https://static.igem.org/mediawiki/2013/d/de/Mypage.png"><br />Human Practice</a>
 +
        <ul>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Human_Practice/Outreach">Outreach</a>
 +
          </li>
 +
          <li><a href="https://2014.igem.org/Team:Korea_U_Seoul/Human_Practice/Safety">Safety Questions</a>
 +
          </li>
 +
        </ul>
 +
      </li>
 +
      <li>
 +
        <a href="https://igem.org/"><img src="https://static.igem.org/mediawiki/2013/c/ce/Logos.png"><br />iGEM</a>
 +
      </li>
 +
    </ul>
 +
  </div>
 +
</div>
 +
<script>
 +
$('#nav li').bind('mouseenter keyup mouseleave', function() {
 +
$(this) .addClass('on').siblings().removeClass();
 +
 +
$(this).unbind('mouseenter keyup mouseleave', function(){
 +
   
 +
})
 +
});
 +
</script>
 +
</body>
 
</html>
 
</html>

Latest revision as of 12:25, 15 September 2015