|
|
Line 3: |
Line 3: |
| <!-- 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> | | <html> |
| + | <style type="text/css"> |
| + | body { |
| + | background-color: #F0F0F0; |
| + | } |
| + | body,td,th { |
| + | font-family: Calibri, "新細明體", serif; |
| + | } |
| + | #Wrapper { |
| + | margin-right: auto; |
| + | margin-left: auto; |
| + | background-color: #FFF; |
| + | margin-top: 0px; |
| + | margin-bottom: 0px; |
| + | width: 1150px; |
| + | height: 1000px; |
| + | top: 0px; |
| + | bottom: 0px; |
| + | padding-top: 0px; |
| + | padding-bottom: 0px; |
| + | } |
| + | #Wrapper_TOP { |
| + | background-color: #FFF; |
| + | height: 20px; |
| + | width: 1150px; |
| + | position: absolute; |
| + | top: 0px; |
| + | left: 100px; |
| + | right: auto; |
| + | } |
| | | |
− | <!-- Start of CSS-->
| |
− | <style type="text/css">
| |
| | | |
− | /* PAGE LAYOUT */
| + | /*-------------------------------------------*/ |
| + | /*--------------------nav--------------------*/ |
| + | /*-------------------------------------------*/ |
| + | .nav { |
| + | position: absolute; |
| + | top: 200px; |
| + | left: 100px; |
| + | right: auto; |
| + | list-style:none; |
| + | margin:0; |
| + | padding:0; |
| + | } |
| | | |
− | /* Change Background color*/
| + | .nav ul { |
− | body {
| + | *zoom:1; |
− | background-color: #fff;
| + | list-style:none; |
− | }
| + | margin:0; |
| + | padding:0; |
| + | background:#FFF; |
| + | } |
| | | |
− | /* Creates a container that will wrap all of the content inside your wiki pages. */
| + | .nav ul:before,.nav ul:after { |
− | #mainContainer {
| + | content:""; |
− | width: 978px;
| + | display:table; |
− | 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 */
| + | .nav ul:after { |
− | #menuContainer {
| + | clear:both; |
− | float:left;
| + | } |
− | width: 134px;
| + | |
− | padding: 20px 0px;
| + | |
− | border-top: 14px solid #565656;
| + | |
− | background-color: #E8E8E9;
| + | |
− | }
| + | |
| | | |
− | /* Creates the container for the content */
| + | .nav a { |
− | #contentContainer {
| + | text-decoration:none; |
− | padding-top:20px;
| + | display:block; |
− | padding-right:10px;
| + | padding:10px 10px; |
− | margin-bottom: 20px;
| + | line-height:1.2em; |
− | width: 814px;
| + | color:#000; |
− | padding-left: 20px;
| + | text-align: center; |
− | float: left;
| + | vertical-align: middle; |
− | background-color: #fff;
| + | } |
− | border-top: 14px solid #565656;
| + | |
− | font-family: "Trebuchet MS", Helvetica, sans-serif;
| + | |
− | }
| + | |
| | | |
− | /*Set up height place holder for the banner*/
| + | .nav a:hover { |
− | #bannerContainer {
| + | text-decoration:none; |
− | height:200px;
| + | background:#FFF; |
− | margin:auto;
| + | text-align: center; |
− | text-align:center;
| + | vertical-align: middle; |
− | color: #24B694;
| + | } |
− | }
| + | |
| | | |
− | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */
| + | .nav li ul { |
| + | position:absolute; |
| + | left:0; |
| + | top:36px; |
| + | z-index:1; |
| + | } |
| | | |
− | /*Change the styling of text for everything inside main container*/
| + | .nav li ul li { |
− | #mainContainer p {
| + | overflow:hidden; |
− | font-size: 13px;
| + | height:0; |
− | 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 */
| + | .nav li ul a { |
− | #contentContainer a {
| + | border:none; |
− | font-weight: bold;
| + | background:rgba(0,0,0,0.05); |
− | color: #23b593;
| + | -webkit-transition:background 500ms ease-in-out; |
− | }
| + | -moz-transition:background 500ms ease-in-out; |
| + | -o-transition:background 500ms ease-in-out; |
| + | transition:background 500ms ease-in-out; |
| + | } |
| | | |
− | /* Styling links on hover- links are different inside the menu */
| + | .nav li ul a:hover { |
− | #contentContainer a:hover {
| + | background:rgba(0,0,0,0.2); |
− | color: #59bf92;
| + | } |
− | }
| + | |
| | | |
− | /*Change the styling of tables */
| + | .nav ul > li { |
− | #contentContainer table {
| + | text-decoration:none; |
− | border: 1px solid #565656;
| + | float:left; |
− | border-collapse: collapse;
| + | position:relative; |
− | width: 90%
| + | height:36px; |
− | margin: auto;
| + | width: 125px; |
− | margin-bottom: 15px;
| + | } |
− | margin-top: 15px;
| + | |
− | margin-right: 10px;
| + | |
− | margin-left: 10px;
| + | |
− | }
| + | |
| | | |
− | /*Change the styling of table cells*/
| + | .nav ul > li:hover ul.subs { |
− | #contentContainer td {
| + | height:auto; |
− | padding: 10px;
| + | width:300px; |
− | border: 1px solid #565656;
| + | } |
− | border-collapse: collapse;
| + | |
− | vertical-align: text-top;
| + | |
− | }
| + | |
| | | |
− | /*Change the styling of table headers */
| + | .nav ul > li:hover ul li { |
− | #contentContainer th {
| + | line-height: 24px; |
− | background-color: #E8E8E9;
| + | text-decoration:none; |
− | padding: 10px;
| + | height:36px; |
− | border: 1px solid #565656;
| + | width: 300px; |
− | border-collapse: collapse;
| + | text-align: center; |
− | vertical-align: text-top;
| + | vertical-align: middle; |
− | }
| + | border-left:1px solid #6E67A6; |
| + | -webkit-transition:height 250ms ease-in; |
| + | -moz-transition:height 250ms ease-in; |
| + | -o-transition:height 250ms ease-in; |
| + | transition:height 250ms ease-in; |
| + | } |
| | | |
| | | |
| + | /*--------------------------------------------*/ |
| + | /*--------------------nav2--------------------*/ |
| + | /*--------------------------------------------*/ |
| + | .nav2 { |
| + | position: absolute; |
| + | top: 200px; |
| + | left: auto; |
| + | right: 100px; |
| + | list-style:none; |
| + | margin:0; |
| + | padding:0; |
| + | } |
| | | |
− | /*MENU STYLING */
| + | .nav2 ul { |
| + | *zoom:1; |
| + | list-style:none; |
| + | margin:0; |
| + | padding:0; |
| + | background:#FFF; |
| + | } |
| | | |
− | /*Styling for the links in the menu */
| + | .nav2 ul:before,.nav ul:after { |
− | #menuContainer a {
| + | content:""; |
− | color: #565656;
| + | display:table; |
− | text-decoration:none;
| + | } |
− | font-weight: bold;
| + | |
− | }
| + | |
| | | |
− | /* Sets the style for lists inside menuContainer */
| + | .nav2 ul:after { |
− | #menuContainer ul {
| + | clear:both; |
− | list-style: none;
| + | } |
− | margin-left:0px;
| + | |
− | }
| + | |
| | | |
− | /*Styles the list items to become menu buttons */
| + | .nav2 a { |
− | #menuContainer ul li {
| + | text-decoration:none; |
− | text-align: center;
| + | display:block; |
− | display: block;
| + | padding:10px 10px; |
− | width: 100%;
| + | line-height:1.2em; |
− | height:30px;
| + | color:#000; |
− | padding-top:10px;
| + | text-align: center; |
− | }
| + | vertical-align: middle; |
| + | } |
| | | |
− | /*For the menu buttons, changes the color when hovering*/
| + | .nav2 a:hover { |
− | #menuContainer li:hover {
| + | text-decoration:none; |
− | color: #FFF;
| + | background:#FFF; |
− | background-color: #24B694;
| + | text-align: center; |
− | }
| + | vertical-align: middle; |
| + | } |
| | | |
− | /*Submenus are not displayed as default*/
| + | .nav2 li ul { |
− | #menuContainer li ul {
| + | position:absolute; |
− | display: none;
| + | right:0; |
− | padding-top:15px;
| + | top:36px; |
− | margin-left: -19px;
| + | z-index:1; |
− | }
| + | } |
| | | |
− | /*Submenus are displayed when hovering the menu button */
| + | .nav2 li ul li { |
− | #menuContainer li:hover ul {
| + | overflow:hidden; |
− | /*display: inline-block; */
| + | height:0; |
− | display: block;
| + | } |
− | position: absolute;
| + | |
− | float:right;
| + | |
− | margin-left: 134px;
| + | |
− | margin-top:-42px;
| + | |
− | }
| + | |
| | | |
− | /*Style the submenu buttons*/
| + | .nav2 li ul a { |
− | #menuContainer li ul li{
| + | border:none; |
− | background-color: #59BF92;
| + | background:rgba(0,0,0,0.05); |
− | padding-left:20px;
| + | -webkit-transition:background 500ms ease-in-out; |
− | padding-right:20px;
| + | -moz-transition:background 500ms ease-in-out; |
− | height:30px;
| + | -o-transition:background 500ms ease-in-out; |
− | padding-top:10px;
| + | transition:background 500ms ease-in-out; |
− | margin-top:-2px;
| + | } |
− | color: #565656;
| + | |
− | width: 150px;
| + | |
− | }
| + | |
| | | |
− | /*CLASSES */
| + | .nav2 li ul a:hover { |
| + | background:rgba(0,0,0,0.2); |
| + | } |
| | | |
− | /*Clear class for all the pages, adds spacing too*/
| + | .nav2 ul > li { |
− | .clear{
| + | text-decoration:none; |
− | clear:both;
| + | float:right; |
− | height: 10px;
| + | position:relative; |
− | }
| + | height:36px; |
| + | width: 125px; |
| + | } |
| | | |
| + | .nav2 ul > li:hover ul.subs { |
| + | height:auto; |
| + | width:300px; |
| + | } |
| | | |
− | /* highlight box for special messages */
| + | .nav2 ul > li:hover ul li { |
− | .highlightBox {
| + | line-height: 24px; |
− | width:500px;
| + | text-decoration:none; |
− | margin:auto;
| + | height:36px; |
− | background-color: #E8E8E9;
| + | width: 300px; |
− | margin-bottom: 15px;
| + | text-align: center; |
− | margin-top: 15px;
| + | vertical-align: middle; |
− | padding: 15px;
| + | border-right:1px solid #6E67A6; |
− | padding-top: 5px;
| + | -webkit-transition:height 250ms ease-in; |
− | }
| + | -moz-transition:height 250ms ease-in; |
| + | -o-transition:height 250ms ease-in; |
| + | transition:height 250ms ease-in; |
| + | } |
| | | |
− | | + | </style> |
− | </style>
| + | |
− | <!-- End of CSS -->
| + | |
− | | + | |
− | | + | |
− | <!-- Start of the template html elements. -->
| + | |
− | <div id ="mainContainer"><!--The closing tag for mainContainer should be placed at the bottom of each content page.-->
| + | |
− | | + | |
− | | + | |
− | <div id="bannerContainer">
| + | |
− | <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_NTU-LIHPAO-Taiwan_banner.jpg</i>" </p>
| + | |
− | </div>
| + | |
− | | + | |
− | <!-- Start of menu -->
| + | |
− | <div id="menuContainer">
| + | |
− | | + | |
− | <!-- This list is your menu, every list item is a menu button and nested listed become submenu buttons -->
| + | |
− | <ul>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan"><li>HOME</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Team"><li>TEAM</li></a>
| + | |
− | | + | |
− | <a href="#"><li>PROJECT
| + | |
− | <ul>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Description"><li>Description</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Experiments"><li>Experiments & Protocols</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Results"><li>Results</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Design"><li>Design</li></a>
| + | |
− | </ul>
| + | |
− | </li></a>
| + | |
− | | + | |
− | <a href="#"><li>PARTS
| + | |
− | <ul>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Parts"><li>Team Parts</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Basic_Part"><li>Basic Parts</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Composite_Part"><li>Composite Parts</li></a>
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Part_Collection"><li>Part Collection</li></a>
| + | |
− | </ul>
| + | |
− | </li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Notebook"><li>NOTEBOOK</li></a>
| + | |
− |
| + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Attributions"><li>ATTRIBUTIONS</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Collaborations"><li>COLLABORATIONS</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Practices"><li>HUMAN PRACTICES</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Safety"><li>SAFETY</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Modeling"><li>MODELING</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Measurement"><li>MEASUREMENT</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/Software"><li>SOFTWARE</li></a>
| + | |
− | | + | |
− | <a href="https://2015.igem.org/Team:NTU-LIHPAO-Taiwan/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.-->
| + | |
| </html> | | </html> |