Line 56: | Line 56: | ||
− | /********************************* DEFAULT WIKI SETTINGS ********************************/ | + | /***************************************************** DEFAULT WIKI SETTINGS ****************************************************/ |
+ | |||
+ | /* Clear the default wiki settings */ | ||
+ | |||
#home_logo, #sideMenu { display:none; } | #home_logo, #sideMenu { display:none; } | ||
#sideMenu, #top_title, .patrollink {display:none;} | #sideMenu, #top_title, .patrollink {display:none;} | ||
Line 63: | Line 66: | ||
#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 */ | ||
.igem_2017_menu_wrapper { | .igem_2017_menu_wrapper { | ||
Line 77: | Line 83: | ||
overflow-x: hidden; | overflow-x: hidden; | ||
border-left: 1px solid #d3d3d3; | border-left: 1px solid #d3d3d3; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* styling for links in the menu, removes the line under text */ | ||
+ | .igem_2017_menu_wrapper a { | ||
+ | text-decoration: none; | ||
} | } | ||
− | /* styling for the images in the | + | /* styling for the images in the menu */ |
.igem_2017_menu_wrapper img { | .igem_2017_menu_wrapper img { | ||
width: 100%; | width: 100%; | ||
} | } | ||
+ | /* styling for the menu buttons */ | ||
+ | .igem_2017_menu_wrapper .menu_button { | ||
+ | width: 100%; | ||
+ | border-bottom: 1px solid #d3d3d3; | ||
+ | padding: 10px 0px 10px 25px; | ||
+ | font-weight: bold; | ||
+ | font-size: 12px; | ||
+ | color: #5e5f5f; | ||
+ | float:left; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | /* styling for the menu buttons on hover */ | ||
+ | .igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover { | ||
+ | color:#ffffff; | ||
+ | background-color: #3399ff; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | /* styling for the submenu buttons */ | ||
+ | .igem_2017_menu_wrapper .submenu_button { | ||
+ | width: 100%; | ||
+ | border-bottom: 1px solid #d3d3d3; | ||
+ | padding: 10px 0px 10px 25px; | ||
+ | font-size: 12px; | ||
+ | color: #5e5f5f; | ||
+ | float:left; | ||
+ | background-color:#f2f2f2; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | /* wrapper for the submenu items, they are hidden by default*/ | ||
+ | .igem_2017_menu_wrapper .submenu_wrapper { | ||
+ | display:none; | ||
+ | } | ||
+ | /* when the page size is bigger than 800px, this show/hide control is hidden by default */ | ||
+ | .igem_2017_menu_wrapper #display_menu_control { | ||
+ | display:none; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
− | /********************************* CONTENT OF THE PAGE ********************************/ | + | /***************************************************** CONTENT OF THE PAGE ****************************************************/ |
/* Wrapper for the content */ | /* Wrapper for the content */ | ||
Line 102: | Line 153: | ||
− | + | /********************************* HTML STYLING *********************************/ | |
− | + | ||
− | /*********************************HTML STYLING *********************************/ | + | |
/* styling for the titles h1 h2 */ | /* styling for the titles h1 h2 */ | ||
Line 124: | Line 173: | ||
/* font and text */ | /* font and text */ | ||
.igem_2017_content_wrapper p { | .igem_2017_content_wrapper p { | ||
− | padding:0px 15px; | + | padding: 0px 15px; |
font-size: 13px; | font-size: 13px; | ||
font-family:Tahoma, Geneva, sans-serif; | font-family:Tahoma, Geneva, sans-serif; | ||
Line 190: | Line 239: | ||
/**********************************LAYOUT CLASSES **********************************/ | /**********************************LAYOUT CLASSES **********************************/ | ||
− | /* class for | + | /* general class for column divs */ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
.igem_2017_content_wrapper .column { | .igem_2017_content_wrapper .column { | ||
padding: 10px 0px; | padding: 10px 0px; | ||
Line 202: | Line 245: | ||
} | } | ||
− | + | /* class for a full width column */ | |
− | + | ||
.column .full_size { | .column .full_size { | ||
width:100%; | width:100%; | ||
} | } | ||
+ | /* styling for images in a full width column*/ | ||
.column.full_size img { | .column.full_size img { | ||
padding: 10px 15px; | padding: 10px 15px; | ||
Line 213: | Line 256: | ||
} | } | ||
+ | /* class for a half width column */ | ||
.column.half_size { | .column.half_size { | ||
width: 50%; | width: 50%; | ||
} | } | ||
− | + | /* styling for images in a half width column*/ | |
.column.half_size img { | .column.half_size img { | ||
padding: 10px 15px; | padding: 10px 15px; | ||
width: 94.5%; | width: 94.5%; | ||
} | } | ||
− | |||
− | |||
− | |||
Line 230: | Line 271: | ||
/********************************* SUPPORT CLASSES ********************************/ | /********************************* SUPPORT CLASSES ********************************/ | ||
− | + | /* class that clears content below*/ | |
.igem_2017_content_wrapper .clear { | .igem_2017_content_wrapper .clear { | ||
clear:both; | clear:both; | ||
} | } | ||
− | + | ||
+ | |||
+ | /* adds extra spacing when clearing content */ | ||
.igem_2017_content_wrapper .clear.extra_space { | .igem_2017_content_wrapper .clear.extra_space { | ||
height: 30px; | height: 30px; | ||
Line 240: | Line 283: | ||
− | + | /* highlight class, makes content slightly smaller */ | |
− | + | ||
− | /* highlight class */ | + | |
− | + | ||
.igem_2017_content_wrapper .highlight { | .igem_2017_content_wrapper .highlight { | ||
padding: 15px 0px; | padding: 15px 0px; | ||
Line 250: | Line 290: | ||
− | /* highlight class */ | + | /* highlight class, adds a gray background */ |
.igem_2017_content_wrapper .highlight.gray { | .igem_2017_content_wrapper .highlight.gray { | ||
background-color: #f2f2f2; | background-color: #f2f2f2; | ||
} | } | ||
− | /* highlight with decoration*/ | + | /* highlight with decoration blue line on top */ |
.igem_2017_content_wrapper .highlight.blue_top { | .igem_2017_content_wrapper .highlight.blue_top { | ||
− | + | border-top: 4px solid #3399ff; | |
− | + | ||
− | + | ||
} | } | ||
− | /* highlight | + | /* highlight with a full blue border decoration */ |
.igem_2017_content_wrapper .highlight.blue_border { | .igem_2017_content_wrapper .highlight.blue_border { | ||
− | + | border: 4px solid #3399ff; | |
} | } | ||
+ | /* button class */ | ||
.igem_2017_content_wrapper .button{ | .igem_2017_content_wrapper .button{ | ||
− | + | max-width: 35%; | |
− | + | background-color: #3399ff; | |
− | + | padding: 12px 10px; | |
− | + | text-align: center; | |
− | + | margin: 30px auto; | |
− | + | color: #ffffff; | |
-webkit-transition: all 0.4s ease; | -webkit-transition: all 0.4s ease; | ||
-moz-transition: all 0.4s ease; | -moz-transition: all 0.4s ease; | ||
Line 281: | Line 320: | ||
} | } | ||
− | + | /* styling for button on hover */ | |
.igem_2017_content_wrapper .button:hover{ | .igem_2017_content_wrapper .button:hover{ | ||
color: #000000; | color: #000000; | ||
Line 289: | Line 328: | ||
− | |||
− | + | /***************************************************** RESPONSIVE STYLING ****************************************************/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /********************************* RESPONSIVE STYLING ********************************/ | + | |
/* IF THE SCREEN IS LESS THAN 1200PX */ | /* IF THE SCREEN IS LESS THAN 1200PX */ | ||
− | |||
@media only screen and (max-width: 1200px) { | @media only screen and (max-width: 1200px) { | ||
Line 333: | Line 339: | ||
#display_menu_control { display:none; } | #display_menu_control { display:none; } | ||
#menu_content { display:block;} | #menu_content { display:block;} | ||
+ | |||
} | } | ||
− | |||
− | |||
− | |||
/* IF THE SCREEN IS LESS THAN 800PX */ | /* IF THE SCREEN IS LESS THAN 800PX */ | ||
− | |||
@media only screen and (max-width: 800px) { | @media only screen and (max-width: 800px) { | ||
Line 347: | Line 350: | ||
.column.full_size img, .column.half_size img { padding: 10px 0px; width: 100%;} | .column.full_size img, .column.half_size img { padding: 10px 0px; width: 100%;} | ||
.highlight {padding:15px 5px;} | .highlight {padding:15px 5px;} | ||
− | |||
#display_menu_control { display:block; } | #display_menu_control { display:block; } | ||
#menu_content { display:none;} | #menu_content { display:none;} | ||
Line 353: | Line 355: | ||
− | + | ||
− | .judges-will-not-evaluate { | + | |
− | + | /* special class that the system uses to make sure the team wants a page to be evaluated */ | |
− | + | .judges-will-not-evaluate { | |
− | + | border: 4px solid #3399ff; | |
− | + | display: block; | |
− | + | margin: 5px 15px; | |
− | } | + | width: 96.6%; |
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
− | |||
− | |||
Line 369: | Line 372: | ||
− | |||
<head> | <head> | ||
+ | |||
+ | <!-- This tells the browser that your page is responsive --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
− | |||
</head> | </head> | ||
Line 380: | Line 383: | ||
<div class="igem_2017_menu_wrapper" > | <div class="igem_2017_menu_wrapper" > | ||
+ | |||
+ | |||
<a href="https://2017.igem.org/Team:Example2"> | <a href="https://2017.igem.org/Team:Example2"> | ||
Line 386: | Line 391: | ||
+ | <!-- this div is hidden by default and will only be displayed if the screen size is too small --> | ||
<div class="menu_button" id="display_menu_control"> | <div class="menu_button" id="display_menu_control"> | ||
MENU | MENU | ||
</div> | </div> | ||
− | <div id="menu_content"> | + | <div id="menu_content"> |
− | <div class="menu_button"> | + | |
− | + | <div class="menu_button"> | |
− | + | TEAM | |
+ | </div> | ||
− | + | <div class="submenu_wrapper"> | |
− | <a href="https://2017.igem.org/Team:Example2/Team"> | + | |
− | + | <a href="https://2017.igem.org/Team:Example2/Team"> | |
− | + | <div class="submenu_button"> | |
− | + | Team | |
− | + | </div> | |
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Collaborations"> | |
− | + | <div class="submenu_button"> | |
− | + | Collaborations | |
− | + | </div> | |
− | + | </a> | |
+ | |||
+ | |||
+ | </div> | ||
− | |||
+ | |||
+ | |||
+ | <div class="menu_button"> | ||
+ | PROJECT | ||
+ | </div> | ||
− | + | <!-- project submenu --> | |
− | + | <div class="submenu_wrapper" id="project_submenu"> | |
− | + | ||
+ | <a href="https://2017.igem.org/Team:Example2/Description"> | ||
+ | <div class="submenu_button"> | ||
+ | Description | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Design"> | |
− | + | <div class="submenu_button"> | |
− | + | Design | |
− | + | </div> | |
− | + | </a> | |
− | + | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Experiments"> | |
− | + | <div class="submenu_button"> | |
− | + | Experiments | |
− | + | </div> | |
− | + | </a> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <a href="https://2017.igem.org/Team:Example2/Notebook"> | |
− | + | <div class="submenu_button"> | |
− | + | Notebook | |
− | + | </div> | |
− | + | </a> | |
+ | <a href="https://2017.igem.org/Team:Example2/InterLab"> | ||
+ | <div class="submenu_button"> | ||
+ | InterLab | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Contribution"> | |
− | + | <div class="submenu_button"> | |
− | + | Contribution | |
− | + | </div> | |
− | + | </a> | |
+ | <a href="https://2017.igem.org/Team:Example2/Model"> | ||
+ | <div class="submenu_button"> | ||
+ | Model | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Results"> | |
− | + | <div class="submenu_button"> | |
− | + | Results | |
− | + | </div> | |
− | + | </a> | |
− | |||
− | + | <a href="https://2017.igem.org/Team:Example2/Demonstrate"> | |
− | + | <div class="submenu_button"> | |
− | + | Demonstrate | |
− | + | </div> | |
− | + | </a> | |
+ | <a href="https://2017.igem.org/Team:Example2/Improve"> | ||
+ | <div class="submenu_button"> | ||
+ | Improve | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Attributions"> | |
− | + | <div class="submenu_button"> | |
− | + | Attribution | |
− | + | </div> | |
− | + | </a> | |
− | < | + | </div> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <a href="https://2017.igem.org/Team:Example2/ | + | <div class="menu_button"> |
− | + | PARTS | |
− | + | </div> | |
− | + | ||
− | + | <!-- parts submenu --> | |
+ | <div class="submenu_wrapper"> | ||
+ | |||
+ | <a href="https://2017.igem.org/Team:Example2/Parts"> | ||
+ | <div class="submenu_button"> | ||
+ | Parts | ||
+ | </div> | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:Example2/Basic_Part"> | ||
+ | <div class="submenu_button"> | ||
+ | Basic Parts | ||
+ | </div> | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:Example2/Composite_Part"> | ||
+ | <div class="submenu_button"> | ||
+ | Composite Parts | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Part_Collection"> | |
+ | <div class="submenu_button"> | ||
+ | Part Collection | ||
+ | </div> | ||
+ | </a> | ||
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
− | + | <a href="https://2017.igem.org/Team:Example2/Safety"> | |
− | + | <div class="menu_button"> | |
− | + | SAFETY | |
− | + | </div> | |
− | + | ||
− | <a href="https://2017.igem.org/Team:Example2/ | + | |
− | <div class=" | + | |
− | + | ||
− | </div> | + | |
</a> | </a> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <div class="menu_button" > | |
− | + | HUMAN PRACTICES | |
− | <div class="menu_button"> | + | |
− | + | ||
</div> | </div> | ||
− | |||
− | + | <!-- human practices submenu --> | |
− | + | <div class="submenu_wrapper"> | |
− | + | ||
− | + | <a href="https://2017.igem.org/Team:Example2/HP/Silver"> | |
+ | <div class="submenu_button"> | ||
+ | Silver HP | ||
+ | </div> | ||
+ | </a> | ||
− | + | <a href="https://2017.igem.org/Team:Example2/HP/Gold_Integrated"> | |
− | + | <div class="submenu_button"> | |
− | + | Integrated and Gold | |
− | + | </div> | |
− | + | </a> | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <a href="https://2017.igem.org/Team:Example2/Engagement"> | ||
+ | <div class="submenu_button"> | ||
+ | Public Engagement | ||
+ | </div> | ||
+ | </a> | ||
− | < | + | </div> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
+ | <div class="menu_button"> | ||
+ | AWARDS | ||
+ | </div> | ||
− | + | <!-- awards submenu --> | |
− | + | <div class="submenu_wrapper"> | |
− | + | ||
− | + | ||
− | + | <a href="https://2017.igem.org/Team:Example2/Applied_Design"> | |
− | + | <div class="submenu_button"> | |
− | + | Applied Design | |
− | + | </div> | |
− | + | </a> | |
− | + | <a href="https://2017.igem.org/Team:Example2/Entrepreneurship"> | |
− | + | <div class="submenu_button"> | |
− | + | Entrepreneurship | |
− | + | </div> | |
− | + | </a> | |
− | + | <a href="https://2017.igem.org/Team:Example2/Hardware"> | |
− | + | <div class="submenu_button"> | |
− | + | Hardware | |
− | + | </div> | |
− | + | </a> | |
− | + | <a href="https://2017.igem.org/Team:Example2/Measurement"> | |
− | + | <div class="submenu_button"> | |
− | + | Measurement | |
− | + | </div> | |
− | + | </a> | |
+ | <a href="https://2017.igem.org/Team:Example2/Model"> | ||
+ | <div class="submenu_button"> | ||
+ | Model | ||
+ | </div> | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:Example2/Plant"> | ||
+ | <div class="submenu_button"> | ||
+ | Plant | ||
+ | </div> | ||
+ | </a> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <a href="https://2017.igem.org/Team:Example2/Software"> | |
− | + | <div class="submenu_button"> | |
− | + | Software | |
− | + | </div> | |
− | + | </a> | |
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <!-- start of content --> | ||
<div class="igem_2017_content_wrapper"> | <div class="igem_2017_content_wrapper"> |
Revision as of 20:33, 8 March 2017