Difference between revisions of "Template:Mingdao"

 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<html>
 
<html>
 +
 
<script>
 
<script>
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
$(document).ready(function() {
 
 
//remove the HQ_page id
 
$("#HQ_page").attr('id','');
 
 
 
//highlight current page on the menu
 
highlight_current_page_menu();
 
 
//accessing submenus
 
$(".menu_item").click(function(){
 
$(".submenu_control_icon", this).toggleClass("open");
 
$(this).next(".submenu").fadeToggle(400);
 
});
 
 
//mobile menu access
 
$(".igem_2019_team_mobile_bar").click(function(){
 
$(this).next().toggleClass("displaying_menu");
 
});
 
 
});
 
 
 
function highlight_current_page_menu() {
 
 
var page_url="https://2019.igem.org/";
 
page_url = page_url + wgPageName;
 
$("a[href$='"+ page_url +"']").children().addClass("current_page");
 
 
//if the page is in a submenu, open the submenu and make the appropiate changes
 
if( $( ".current_page" ).hasClass( "submenu_item" )){
 
 
$(".current_page").parent().parent().fadeToggle(400);
 
$(".current_page").parent().parent().prev().addClass("current_page");
 
$(".menu_item.current_page > .submenu_control_icon").toggleClass("open");
 
 
}
 
}
 
  
  
Line 252: Line 214:
 
/*general styling*/
 
/*general styling*/
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 +
 +
@font-face {
 +
font-family: 'MavenPro';
 +
src: url('https://static.igem.org/mediawiki/2019/0/05/T--Mingdao--MavenPro-Regular.ttf')  format('truetype'),
 +
      url('https://static.igem.org/mediawiki/2019/a/a6/T--Mingdao--MavenPro-Regular.woff') format('woff');
 +
font-weight: normal;
 +
font-style: normal;
 +
}
 +
 +
@font-face {
 +
font-family: 'MavenPro';
 +
src: url('https://static.igem.org/mediawiki/2019/3/34/T--Mingdao--MavenPro-Bold.ttf')  format('truetype'),
 +
      url('https://static.igem.org/mediawiki/2019/7/74/T--Mingdao--MavenPro-Bold.woff') format('woff');
 +
font-weight: bold;
 +
font-style: normal;
 +
}
 +
 +
@font-face {
 +
font-family: 'Barlow Condensed';
 +
src: url('https://static.igem.org/mediawiki/2019/4/4e/T--Mingdao--BarlowCondensed-Regular.ttf')  format('truetype'),
 +
      url('https://static.igem.org/mediawiki/2019/7/76/T--Mingdao--BarlowCondensed-Regular.woff') format('woff');
 +
font-weight: normal;
 +
font-style: normal;
 +
}
  
 
/*size for title h tags*/
 
/*size for title h tags*/
Line 266: Line 252:
 
border-bottom:0px;  
 
border-bottom:0px;  
 
color: #635d5d;
 
color: #635d5d;
font-family: "Comic Sans MS", "Arial Black", Gadget, sans-serif;
+
/*font-family: "Comic Sans MS", "Arial Black", Gadget, sans-serif;*/
 +
                font-family: 'MavenPro', 'Open Sans Condensed', sans-serif;
 
padding: 10px 0px;
 
padding: 10px 0px;
 
}
 
}
Line 277: Line 264:
 
border-bottom:0px;  
 
border-bottom:0px;  
 
color: #635d5d;   
 
color: #635d5d;   
font-family: "Comic Sans MS", "Arial Black", Gadget, sans-serif;
+
/*font-family: "Comic Sans MS", "Arial Black", Gadget, sans-serif;*/
 +
                font-family: 'MavenPro', 'Open Sans Condensed', sans-serif;
 
padding: 5px 0px;
 
padding: 5px 0px;
 
}
 
}
Line 284: Line 272:
 
.igem_2019_team_content .igem_2019_team_column_wrapper p {  
 
.igem_2019_team_content .igem_2019_team_column_wrapper p {  
 
font-size: 130%;
 
font-size: 130%;
font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;
+
/*font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;*/
 +
                font-family: 'MavenPro', 'Open Sans Condensed', sans-serif;
 
padding: 5px 0px;
 
padding: 5px 0px;
 
text-align: left;
 
text-align: left;
 
color: #484848;
 
color: #484848;
 
}
 
}
 
+
.igem_2019_team_content .igem_2019_team_column_wrapper p{
 +
              font-family: 'MavenPro'!important;
 +
        }
 +
.igem_2019_team_content .igem_2019_team_column_wrapper h1, .igem_2019_team_content .igem_2019_team_column_wrapper h2, .igem_2019_team_content .igem_2019_team_column_wrapper h3, .igem_2019_team_content .igem_2019_team_column_wrapper h4, .igem_2019_team_content .igem_2019_team_column_wrapper h5, .igem_2019_team_content .igem_2019_team_column_wrapper h6{
 +
              font-family: 'MavenPro'!important;
 +
        }
 
/* Links a tag*/
 
/* Links a tag*/
 
.igem_2019_team_content .igem_2019_team_column_wrapper a {
 
.igem_2019_team_content .igem_2019_team_column_wrapper a {
Line 317: Line 311:
 
.igem_2019_team_content .igem_2019_team_column_wrapper ul, .igem_2019_team_content .igem_2019_team_column_wrapper ol {
 
.igem_2019_team_content .igem_2019_team_column_wrapper ul, .igem_2019_team_content .igem_2019_team_column_wrapper ol {
 
font-size: 130%;
 
font-size: 130%;
font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;
+
/*font-family: "Comic Sans MS", Arial, Helvetica, sans-serif;*/
 +
                font-family: 'MavenPro', 'Open Sans Condensed', sans-serif;
 
padding:0px 20px;
 
padding:0px 20px;
 
}
 
}
Line 498: Line 493:
  
 
/**************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************/
 +
  
  
Line 513: Line 509:
  
 
<!-- This tells the browser that your page is responsive -->
 
<!-- 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">
 
+
        <link rel="stylesheet" href="https://2019.igem.org/Template:Mingdao/CSS/Font-Awesome?action=raw&ctype=text/css">
 +
        <link rel="stylesheet" href="https://2019.igem.org/Template:Mingdao/CSS/Bootstrap?action=raw&ctype=text/css">
 +
        <script type="text/javascript" src="https://2019.igem.org/Template:Mingdao/JS/jQuery?action=raw&ctype=text/javascript"></script>
 +
        <script type="text/javascript" src="https://2019.igem.org/Template:Mingdao/JS/Popper?action=raw&ctype=text/javascript"></script>
 +
        <script type="text/javascript" src="https://2019.igem.org/Template:Mingdao/JS/Bootstrap?action=raw&ctype=text/javascript"></script>
 
</head>
 
</head>
  

Latest revision as of 01:42, 22 October 2019