Template:Peking2012 Color Prologue

From 2012.igem.org

(Difference between revisions)
m
m
 
(43 intermediate revisions not shown)
Line 4: Line 4:
/*
/*
  * Peking 2012 Header
  * Peking 2012 Header
-
  * by Sun Sibai
+
  * Copyleft (C) Sun Sibai <sun.niasw@gmail.com>
  * this = /Template:Peking2012_Color_Prologue
  * this = /Template:Peking2012_Color_Prologue
  */
  */
Line 28: Line 28:
   background-position: 50% 0;
   background-position: 50% 0;
   background-repeat: no-repeat;
   background-repeat: no-repeat;
-
   background-image: url("/wiki/images/5/50/Peking2012_Color_Background.jpg");
+
   background-image: url("/wiki/images/d/d7/Peking2012_Color_Background_Large.jpg");
   overflow: hidden;
   overflow: hidden;
}
}
Line 75: Line 75:
#content a:hover
#content a:hover
{
{
-
   color: #b3f3ff;
+
   color: #fff350;
   display: inline;
   display: inline;
}
}
Line 94: Line 94:
   display: inline;
   display: inline;
}
}
-
 
+
ul,li
-
ul , li
+
{
{
   margin: 0;
   margin: 0;
Line 101: Line 100:
   list-style-image: none;
   list-style-image: none;
   list-style-type: none;
   list-style-type: none;
 +
}
 +
table
 +
{
 +
  border-collapse:collapse;
 +
  background-color: transparent;
 +
  color: #ffffff;
 +
  text-align: justify;
}
}
h3
h3
Line 237: Line 243:
#PKU_banner_logo
#PKU_banner_logo
{
{
-
   width: 244px;
+
   width: 60px;
   height: 60px;
   height: 60px;
   text-align: center;
   text-align: center;
Line 280: Line 286:
#PKU_banner_submenu > li ul
#PKU_banner_submenu > li ul
{
{
-
   height: 120px;
+
   height: 130px;
   overflow: hidden;
   overflow: hidden;
   text-align: center;
   text-align: center;
Line 343: Line 349:
#text-body ul#PKU_subsubmenu > li
#text-body ul#PKU_subsubmenu > li
{
{
-
   width: 224px;
+
   width: 184px;
   overflow: hidden;
   overflow: hidden;
   line-height: 20px;
   line-height: 20px;
Line 363: Line 369:
#text-body ul#PKU_subsubmenu > li.branch
#text-body ul#PKU_subsubmenu > li.branch
{
{
-
   padding: 7px 19px;
+
   padding: 7px 17px;
   margin: 0;
   margin: 0;
   border-style: solid;
   border-style: solid;
Line 369: Line 375:
   border-color: #70a0ff;
   border-color: #70a0ff;
   font-size: 14px;
   font-size: 14px;
 +
  height: 0;
}
}
#text-body ul#PKU_subsubmenu > li.branch li
#text-body ul#PKU_subsubmenu > li.branch li
Line 379: Line 386:
{
{
   background-color: transparent;
   background-color: transparent;
 +
  color: #ffffff;
   padding: 25px;
   padding: 25px;
-
   margin: 0;
+
   margin: 20px 0;
   border-style: solid;
   border-style: solid;
   border-width: 1px;
   border-width: 1px;
Line 387: Line 395:
   font-family: Arial, sans-serif;
   font-family: Arial, sans-serif;
}
}
-
 
+
#text-body .PKU_context.first
 +
{
 +
  margin-top: 0;
 +
}
#text-body .PKU_context *
#text-body .PKU_context *
{
{
   margin: 0;
   margin: 0;
 +
}
 +
#text-body .PKU_context table
 +
{
 +
  margin: 0 auto;
 +
  width: 560px;
 +
  font-size: 15px;
 +
}
 +
#text-body .PKU_context table td
 +
{
 +
  border-style: solid;
 +
  border-color: #ffffff;
 +
  border-width: 1px;
}
}
#text-body .PKU_context p
#text-body .PKU_context p
Line 404: Line 427:
   font-size: 30px;
   font-size: 30px;
   padding: 10px;
   padding: 10px;
 +
  line-height: 33px;
 +
}
 +
#text-body .PKU_context ul,
 +
#text-body .PKU_context li
 +
{
 +
  text-align: justify;
 +
  font-size: 16px;
 +
}
 +
#text-body .PKU_context ul.refer li
 +
{
 +
  font-size: 15px;
 +
}
 +
#text-body .PKU_context ul.refer
 +
{
 +
  padding-left: 10px;
 +
  width: 655px;
 +
}
 +
#text-body .PKU_context ul
 +
{
 +
  padding-left: 20px;
 +
  width: 570px;
}
}
#text-body .PKU_context.floatC p
#text-body .PKU_context.floatC p
Line 411: Line 455:
#text-body .PKU_context.floatR p
#text-body .PKU_context.floatR p
{
{
-
   width: 600px;
+
   width: 655px;
}
}
-
#text-body .PKU_context img ,
+
#text-body .PKU_context.floatR p.description
-
#text-body .PKU_context object
+
-
{
+
-
  padding: 0;
+
-
}
+
-
#text-body .PKU_context p.description
+
{
{
   font-style: italic;
   font-style: italic;
Line 425: Line 464:
   padding: 10px 10px;
   padding: 10px 10px;
   text-align: justify;
   text-align: justify;
-
   width: 500px;
+
   width: 550px;
}
}
-
 
+
#text-body .PKU_context img ,
-
.w
+
#text-body .PKU_context object
{
{
-
   color: #fffecc;
+
   padding: 0;
}
}
Line 563: Line 602:
  </div>
  </div>
  <div class="floatR">
  <div class="floatR">
-
   <p id="PKU_banner_logo"><img style="width:50px;margin-right:15px;" src="/wiki/images/8/85/Peking2012_Color_Logo_128.png" alt="" />Peking University</p>
+
   <p id="PKU_banner_logo"><img style="width:50px;margin-right:0;" src="/wiki/images/8/85/Peking2012_Color_Logo_128.png" alt="" /></p>
  </div>
  </div>
  <div class="floatR">
  <div class="floatR">
Line 573: Line 612:
   </li>
   </li>
   <li style="width:60px;">
   <li style="width:60px;">
-
     <a onmouseover="TriggerSubmenu(1);" onmouseout="TriggerSubmenu(0);" href="/Team:Peking/Team">
+
     <a onmouseover="TriggerSubmenu(1);" onmouseout="TriggerSubmenu(0);">
Team
Team
     </a>
     </a>
   </li>
   </li>
   <li style="width:70px;">
   <li style="width:70px;">
-
     <a onmouseover="TriggerSubmenu(2);" onmouseout="TriggerSubmenu(0);" href="/Team:Peking/Project">
+
     <a onmouseover="TriggerSubmenu(2);" onmouseout="TriggerSubmenu(0);">
Project
Project
     </a>
     </a>
   </li>
   </li>
   <li style="width:85px;">
   <li style="width:85px;">
-
     <a onmouseover="TriggerSubmenu(0);" href="/Team:Peking/DataPage">
+
     <a onmouseover="TriggerSubmenu(3);" onmouseout="TriggerSubmenu(0);">
Data Page
Data Page
     </a>
     </a>
   </li>
   </li>
   <li style="width:80px;">
   <li style="width:80px;">
-
     <a onmouseover="TriggerSubmenu(3);" onmouseout="TriggerSubmenu(0);" href="/Team:Peking/Modeling">
+
     <a onmouseover="TriggerSubmenu(4);" onmouseout="TriggerSubmenu(0);">
Modeling
Modeling
     </a>
     </a>
   </li>
   </li>
   <li style="width:130px;">
   <li style="width:130px;">
-
     <a onmouseover="TriggerSubmenu(4);" onmouseout="TriggerSubmenu(0);" href="/Team:Peking/HumanPractice">
+
     <a onmouseover="TriggerSubmenu(5);" onmouseout="TriggerSubmenu(0);">
Human Practice
Human Practice
     </a>
     </a>
Line 617: Line 656:
     </li>
     </li>
     <li class="submenu_team">
     <li class="submenu_team">
-
       <a href="/Team:Peking/Team/Attribution">
+
       <a href="/Team:Peking/Team/Protocol">
-
Attribution
+
Protocol
       </a>
       </a>
     </li>
     </li>
     <li class="submenu_team">
     <li class="submenu_team">
-
       <a href="/Team:Peking/Team/Diary">
+
       <a href="/Team:Peking/Team/AA">
-
Diary
+
Attribution
-
      </a>
+
-
    </li>
+
-
    <li class="submenu_team">
+
-
      <a href="/Team:Peking/Team/History">
+
-
History
+
       </a>
       </a>
     </li>
     </li>
Line 635: Line 669:
   <li>
   <li>
     <ul onmouseover="TriggerSubmenu(2);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:200px;display:block;">
     <ul onmouseover="TriggerSubmenu(2);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:200px;display:block;">
 +
    <li class="submenu_project">
 +
      <a href="/Team:Peking/Project">
 +
Overview
 +
      </a>
 +
    </li>
     <li class="submenu_project">
     <li class="submenu_project">
       <a href="/Team:Peking/Project/Luminesensor">
       <a href="/Team:Peking/Project/Luminesensor">
Line 641: Line 680:
     </li>
     </li>
     <li class="submenu_project">
     <li class="submenu_project">
-
       <a href="/Team:Peking/Project/LightCommunication">
+
       <a href="/Team:Peking/Project/Communication">
Light Communication
Light Communication
       </a>
       </a>
     </li>
     </li>
     <li class="submenu_project">
     <li class="submenu_project">
-
       <a href="/Team:Peking/Project/Synthetic3D">
+
       <a href="/Team:Peking/Project/3D">
Synbio in 2D & 3D
Synbio in 2D & 3D
       </a>
       </a>
Line 658: Line 697:
   </li>
   </li>
   <li>
   <li>
-
     <ul onmouseover="TriggerSubmenu(3);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:250px;display:block;">
+
     <ul onmouseover="TriggerSubmenu(3);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:170px;display:block;">
-
     <li class="submenu_modeling">
+
     <li class="submenu_project">
-
       <a href="/Team:Peking/Modeling/Luminesensor">
+
       <a href="/Team:Peking/DataPage">
-
Luminesensor Optimization
+
Data Page
       </a>
       </a>
     </li>
     </li>
 +
    <li class="submenu_project">
 +
      <a href="/Team:Peking/DataPage/Judging">
 +
Judging Criteria
 +
      </a>
 +
    </li>
 +
    </ul>
 +
  </li>
 +
  <li>
 +
    <ul onmouseover="TriggerSubmenu(4);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:250px;display:block;">
     <li class="submenu_modeling">
     <li class="submenu_modeling">
-
       <a href="/Team:Peking/Modeling/Channel">
+
       <a href="/Team:Peking/Modeling">
-
New Communication Channel
+
Overview
       </a>
       </a>
     </li>
     </li>
-
<!-- <li class="submenu_modeling">
+
    <li class="submenu_modeling">
-
       <a href="/Team:Peking/Modeling/Ring">
+
       <a href="/Team:Peking/Modeling/Luminesensor">
-
Ring-Pattern Formation
+
Luminesensor
       </a>
       </a>
-
     </li> -->
+
     </li>
     <li class="submenu_modeling">
     <li class="submenu_modeling">
       <a href="/Team:Peking/Modeling/Phototaxis">
       <a href="/Team:Peking/Modeling/Phototaxis">
Phototaxis Simulation
Phototaxis Simulation
 +
      </a>
 +
    </li>
 +
    <li class="submenu_modeling">
 +
      <a href="/Team:Peking/Modeling/Ring">
 +
Ring Pattern
       </a>
       </a>
     </li>
     </li>
Line 682: Line 735:
   </li>
   </li>
   <li>
   <li>
-
     <ul onmouseover="TriggerSubmenu(4);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:320px;display:block;">
+
     <ul onmouseover="TriggerSubmenu(5);" onmouseout="TriggerSubmenu(0);" class="vertical" style="width:320px;display:block;">
     <li class="submenu_humanpractice">
     <li class="submenu_humanpractice">
-
       <a href="/Team:Peking/HumanPractice/SowingTomorrowSyntheticBiologists">
+
       <a href="/Team:Peking/HumanPractice/Sowing">
-
Sowing Tomorrow Synthetic Biologists
+
Sowing Tomorrow's Synthetic Biologists
       </a>
       </a>
     </li>
     </li>
     <li class="submenu_humanpractice">
     <li class="submenu_humanpractice">
-
       <a href="/Team:Peking/HumanPractice/HistoriciGEMProjectsReview">
+
       <a href="/Team:Peking/HumanPractice/Review">
Historic iGEM Projects Review
Historic iGEM Projects Review
       </a>
       </a>
     </li>
     </li>
     <li class="submenu_humanpractice">
     <li class="submenu_humanpractice">
-
       <a href="/Team:Peking/HumanPractice/OutreachAndWorkshop">
+
       <a href="/Team:Peking/HumanPractice/Outreach/Visiting">
Outreach & Workshop
Outreach & Workshop
       </a>
       </a>
Line 711: Line 764:
  */
  */
-
var Submenu_Size_Cur = [120, 0, 0, 0, 0];
+
var Submenu_Size_Cur = [130, 0, 0, 0, 0, 0];
-
var Submenu_Item_Num = 4;
+
var Submenu_Item_Num = 5;
var Submenu_Item_Des = 0;
var Submenu_Item_Des = 0;
var Submenu_Item_Cur = 0;
var Submenu_Item_Cur = 0;
-
var Submenu_BlankWidth = [0, 445, 470, 608, 640]; //Unit: Pixel
+
var Submenu_BlankWidth = [0, 445, 470, 562, 608, 640]; //Unit: Pixel
-
var Submenu_ListHeight = [120, 100, 100, 75, 75]; //Unit: Pixel
+
var Submenu_ListHeight = [130, 75, 125, 50, 100, 75]; //Unit: Pixel
var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither
var Submenu_Handle_State = 0; //0:Null, 1:Growth, 2:Waiting, 3:Wither
var Submenu_Handle = null;
var Submenu_Handle = null;

Latest revision as of 05:09, 26 October 2012