Difference between revisions of "Template:TCU Taiwan/CSS"

 
(153 intermediate revisions by 3 users not shown)
Line 2: Line 2:
  
 
<style>
 
<style>
 +
html{
 +
  margin-left:10%;
 +
  background-image:url(https://static.igem.org/mediawiki/2016/f/f9/Tcu_bd.jpg);
 +
}
 
/********************************* DEFAULT WIKI SETTINGS  ********************************/
 
/********************************* DEFAULT WIKI SETTINGS  ********************************/
  
 
#sideMenu, #top_title {display:none;}
 
#sideMenu, #top_title {display:none;}
 
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
 
#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}
body {background-color:#FFCC99; }
+
body {background-image:url(https://static.igem.org/mediawiki/2016/f/f9/Tcu_bd.jpg);}
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
 
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
  
 
/********************************* MENU ********************************/
 
/********************************* MENU ********************************/
 +
 
/* Wrapper for the menu */
 
/* Wrapper for the menu */
 
.menu_wrapper {  
 
.menu_wrapper {  
Line 17: Line 22:
 
padding:0px;
 
padding:0px;
 
float:left;  
 
float:left;  
background-color:#FF9999;  
+
background-color:white;
 
text-align:left;
 
text-align:left;
 
}
 
}
Line 26: Line 31:
 
margin:-2px 0px 0px -20px;  
 
margin:-2px 0px 0px -20px;  
 
padding: 10px 10px;   
 
padding: 10px 10px;   
border-bottom: 1px solid #d3d3d3;  
+
/*border-bottom: 1px solid #d3d3d3; */
 
font-weight:bold;
 
font-weight:bold;
 
color:#000000;  
 
color:#000000;  
Line 73: Line 78:
 
text-decoration:none;  
 
text-decoration:none;  
 
color:#000000;  
 
color:#000000;  
list-style-type:none;  
+
list-style-type:none;
 
cursor:pointer;  
 
cursor:pointer;  
 
-webkit-transition: all 0.4s ease;  
 
-webkit-transition: all 0.4s ease;  
Line 124: Line 129:
 
padding: 5px 10px;  
 
padding: 5px 10px;  
 
display: inline-block;
 
display: inline-block;
border-bottom: 1px solid #d3d3d3;
+
background-color:#FFCC99;  
background-color:white;  
+
 
text-decoration:none;
 
text-decoration:none;
 
color:#000000;  
 
color:#000000;  
Line 169: Line 173:
 
padding:10px 0px;  
 
padding:10px 0px;  
 
float:left;  
 
float:left;  
background-color:#FFCC99;  
+
/*background-color:#FFCC99;*/
 +
                background-color:white;
 
}
 
}
  
Line 220: Line 225:
  
 
/* styling for the titles */
 
/* styling for the titles */
 +
        .content_wrapper pre{
 +
          border:0px;
 +
  background-color: white;
 +
        }
 
.content_wrapper h1, .content_wrapper h2 {
 
.content_wrapper h1, .content_wrapper h2 {
 
padding:5px 15px;  
 
padding:5px 15px;  
Line 273: Line 282:
 
}
 
}
  
/* Table */
+
/* Table */
 
.content_wrapper table {  
 
.content_wrapper table {  
 
width: 97%;  
 
width: 97%;  
margin:15px 10px;  
+
margin:15px 10px;
border: 1px solid #d3d3d3;  
+
border: 0px;
border-collapse: collapse;  
+
                line-height: 24px;  
 
}
 
}
  
Line 284: Line 293:
 
.content_wrapper  td {  
 
.content_wrapper  td {  
 
padding: 10px;
 
padding: 10px;
vertical-align: text-top;
+
border: 0px;  
border: 1px solid #d3d3d3;
+
border-collapse: collapse;  
+
 
}
 
}
  
 
/* table headers */
 
/* table headers */
 
.content_wrapper th {  
 
.content_wrapper th {  
padding: 10px;
+
                padding: 20px;
vertical-align: text-top;  
+
border: 3px solid #000000;  
border: 1px solid #d3d3d3;  
+
                border-collapse:collapse;
border-collapse: collapse;
+
background-color:#f2f2f2;  
+
 
}
 
}
  
Line 340: Line 345:
 
.menu_item {display:none;}
 
.menu_item {display:none;}
 
.menu_wrapper { width:100%; height: 15%; position:relative;}
 
.menu_wrapper { width:100%; height: 15%; position:relative;}
.content_wrapper {width:100%; margin-left:0px;}
 
.column.half_size {width:100%; }
 
.column img { width: 100%; padding: 5px 0px;}
 
 
.icon {display:block;}
 
.icon {display:block;}
 
.highlight {padding:15px 5px;}
 
.highlight {padding:15px 5px;}
 
}
 
}
 +
/********************************* RESPONSIVE STYLING ********************************/
  
</style>
+
/* IF THE SCREEN IS LESS THAN 1000PX */
  
 +
@media only screen and (max-width: 1000px) {
  
 +
#content {width:100%; }
 +
.menu_wrapper {width:15%;}
 +
.content_wrapper {margin-left: 15%;}
 +
.menu_item {display:block;}
 +
.icon {display:none;}
 +
.highlight {padding:10px 0px;}
 +
}
  
  
<!--- THIS IS WHERE THE HTML BEGINS --->
+
/* IF THE SCREEN IS LESS THAN 680PX */
 
+
 
+
<!-- This tells the browser that your page is responsive -->
+
 
+
<head>
+
<meta name="viewport" content="width=device-width, initial-scale=1">
+
</head>
+
  
 +
@media only screen and (max-width: 680px) {
 +
.collapsable_menu_control { display:block;}
 +
.menu_item {display:none;}
 +
.menu_wrapper { width:100%; height: 15%; position:relative;}
 +
.content_wrapper {width:100%; margin-left:0px;}
 +
.column.half_size {width:100%; }
 +
.column img { width: 100%; padding: 5px 0px;}
 +
.icon {display:block;}
 +
.highlight {padding:15px 5px;}
 +
}
  
 +
</style>
  
 +
<body>
  
 
<div class="menu_wrapper" >
 
<div class="menu_wrapper" >
 +
<ul id="accordion" class="accordion">
 +
<li class="menu_item"> <a href="https://2016.igem.org/Team:TCU_Taiwan">
 +
<img src="https://static.igem.org/mediawiki/2016/e/ea/Tcu_mark.png" name="Image2" height=100 width=100  border="0" id="Image2" />
 +
<br><br>
 +
</a></li>
  
 +
<li class="menu_item"> <a href="https://2016.igem.org/Team:TCU_Taiwan/Team">TEAM</a></li>
  
 +
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Project">PROJECT</a></li>
  
 +
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Parts">PARTS</a></li>
  
<div class="collapsable_menu_control"> MENU ▤ </div>
+
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Model">MODELING</a></li>
  
<ul id="accordion" class="accordion">
+
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Safety">SAFETY</a></li>
  
<li class="menu_item"> <a href="https://2016.igem.org/Team:TCU_Taiwan">
+
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Results">RESULTS</a></li>
<img src="https://static.igem.org/mediawiki/2015/1/1e/2015TCU_TaiwanLogo_02.jpg" name="Image2" width=100  border="0" id="Image2" /></a> </li>
+
  
 +
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Human_Practices">HP&Award</a></li>
  
<li class="menu_item"> <div class="icon plus"></div>
+
<li class="menu_item"><a href="https://2016.igem.org/Team:TCU_Taiwan/Notebook">NOTEBOOK</a></li>
<img src="https://static.igem.org/mediawiki/2015/6/62/2015TCU_TaiwanLogo_03.jpg" name="Image3" width=70%  border="0" id="Image3" />
+
<ul class="submenu">
+
<li> <a href=" https://2016.igem.org/Team:TCU_Taiwan/Team">TEAM</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Team/Members">Members成員</a></li>
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Team/Instructor">Instructors講師 指導老師</a></li>
+
                                   
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Collaborations">Collaborations合作廠商</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Attributions">★Attributions贊助</a></li>                           
+
                    </ul>
+
                </li>
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/0/00/2015TCU_TaiwanLogo_09.jpg" name="Image9" width=70%  border="0" id="Image9" />
+
<ul class="submenu">
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Practices">Practices</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Engagement">★ Engagement聘用人員 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Human_Practices"> Human Practices人體試驗 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Integrated_Practices"> ★ Integrated Practices試驗(實驗)整合 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/HP/Silver">★ Silver銀牌 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/HP/Gold">★ Gold金牌 </a></li>
+
+
+
                    </ul>
+
                </li>
+
 
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/6/6d/2015TCU_TaiwanLogo_04.jpg" name="Image4" width=70%  border="0" id="Image4" />
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Project"> Project</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Description"> ★  Description計畫描述(說明) </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Design"> ★ Design 設計(想法)</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Demonstrate"> ★ Demonstrate(Medical Dressing) 設計實驗步驟</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Experiments"> Experiments實驗 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Proof"> ★ Proof of Concept 證明理論 </a></li>
+
                    </ul>
+
                </li>
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/4/46/2015TCU_TaiwanLogo_06.jpg" name="Image6" width=70% border="0" id="Image6" /> <ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Model">★ MODEL </a></li>
+
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Measurement">★  Measurement標準 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Software">★ Software 軟體</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Hardware"> ★ Hardware 硬體</a></li>
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Entrepreneurship"> ★ Entrepreneurship創新 </a></li>
+
 
+
                    </ul>
+
                </li>
+
<li class="menu_item"> <a href="https://2016.igem.org/Team:TCU_Taiwan/Results">
+
<img src="https://static.igem.org/mediawiki/2015/2/21/2015TCU_TaiwanLogo_08.jpg" name="Image8" width=70%  border="0" id="Image8" /></a> </li>
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/9/98/2015TCU_TaiwanLogo_05.jpg" name="Image5" width=70%  border="0" id="Image5" /> 
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Parts">Parts </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Composite_Part"> ★ Composite Parts整體架構 </a>
+
</li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Basic_Part"> ★ Basic Parts基礎架構 </a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Part_Collection"> ★ Part Collection整合</a></li> 
+
+
+
                    </ul>
+
                </li>
+
 
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/1/14/2015TCU_TaiwanLogo_07.jpg" name="Image7" width=70%  border="0" id="Image7" /> 
+
<ul class="submenu">
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Safety"> SAFETY </a></li>
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Safety/overview">Overview安全性(用去年)</a></il>
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Safety/Laboratory">Laboratory Practices實驗室規定(用去年)</a></li>
+
+
                    </ul>
+
                </li>
+
<li class="menu_item"> <div class="icon plus"></div>
+
<img src="https://static.igem.org/mediawiki/2015/b/b3/2015TCU_TaiwanLogo_10.jpg" name="Image10" width=70%  border="0" id="Image10" /> <ul class="submenu">
+
<li><a href="https://2016.igem.org/Team:TCU_Taiwan/Notebook/Life">Life(開會紀錄)</a></li>
+
              <li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Notebook/Lab">Lab(實驗全部流程)</a></li>
+
<li> <a href="https://2016.igem.org/Team:TCU_Taiwan/Notebook/Total">Total Teams</a></li>
+
+
                    </ul>
+
                </li>
+
</ul>
+
  
 
</div>
 
</div>
  
 +
<div class="content_wrapper">
 +
<img src="https://static.igem.org/mediawiki/2016/b/b1/White1.jpg" name="Image2" height=50 width=5  border="0" id="Image2" />
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Team">
 +
<img src="https://static.igem.org/mediawiki/2016/f/ff/Tcu_team.jpg" name="Image2" height=100 width=100  border="0" id="Image2" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Project">
 +
<img src="https://static.igem.org/mediawiki/2016/b/be/Tcu_project.jpg" name="Image2" height=100 width=100  border="0" id="Image2" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Parts">
 +
<img src="https://static.igem.org/mediawiki/2016/3/3c/Tcu_part.jpg" name="Image2" height=100 width=100  border="0" id="Image2" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Model">
 +
<img src="https://static.igem.org/mediawiki/2016/b/b4/Tcu_model.jpg" name="Image2" height=100 width=100  border="0" id="Image2" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Safety">
 +
<img src="https://static.igem.org/mediawiki/2016/8/86/Tcu_safety.jpg" name="Image8" height=100 width=100  border="0" id="Image8" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Results">
 +
<img src="https://static.igem.org/mediawiki/2016/1/1f/Tcu_result.jpg" name="Image8" height=100 width=100  border="0" id="Image8" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Human_Practices">
 +
<img src="https://static.igem.org/mediawiki/2016/a/a8/Tcu_award.jpg" name="Image8" height=100 width=100  border="0" id="Image8" /></a>
 +
<a href="https://2016.igem.org/Team:TCU_Taiwan/Notebook">
 +
<img src="https://static.igem.org/mediawiki/2016/f/fa/Tcu_note.jpg" name="Image10" height=100 width=100 border="0" id="Image10" /></a>
  
 +
</body>
  
  
 +
<!--- THIS IS WHERE THE HTML BEGINS --->
  
  
<div class="content_wrapper">
+
<!-- This tells the browser that your page is responsive -->
 
+
  
 +
<head>
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
 +
</head>
  
 
<script>
 
<script>
Line 528: Line 495:
  
 
});
 
});
 +
</script>
  
 
+
<script type="text/javascript">
 
+
<!--
 
+
var timeout = 100;
 +
var closetimer = 10;
 +
var ddmenuitem = 0;
 +
// open hidden layer
 +
function mopen(id)
 +
{
 +
// cancel close timer
 +
mcancelclosetime();
 +
// close old layer
 +
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 +
// get new layer and show it
 +
ddmenuitem = document.getElementById(id);
 +
ddmenuitem.style.visibility = 'visible';
 +
}
 +
// close showed layer
 +
function mclose()
 +
{
 +
if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 +
}
 +
// go close timer
 +
function mclosetime()
 +
{
 +
closetimer = window.setTimeout(mclose, timeout);
 +
}
 +
// cancel close timer
 +
function mcancelclosetime()
 +
{
 +
if(closetimer)
 +
{
 +
window.clearTimeout(closetimer);
 +
closetimer = null;
 +
}
 +
}
 +
// close layer when click-out
 +
document.onclick = mclose;
 +
// -->
 
</script>
 
</script>
 +
  
  
 
</html>
 
</html>

Latest revision as of 09:01, 18 October 2016