Difference between revisions of "Template:Virginia"

Line 2: Line 2:
  
 
<link href="http://fonts.googleapis.com/css?family=Lato:300|Grand+Hotel" rel="stylesheet" type="text/css" />
 
<link href="http://fonts.googleapis.com/css?family=Lato:300|Grand+Hotel" rel="stylesheet" type="text/css" />
 +
 +
<head>
 +
 +
<!-- This tells the browser that your page is responsive -->
 +
<meta name="viewport" content="width=device-width, initial-scale=1">
 +
 +
<link href="https://2017.igem.org/wiki/index.php?title=Team:Virginia/css/bootstrap.css&action=raw&ctype=text/css" type="text/css" rel="stylesheet">
 +
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
 +
        <script type="text/javascript" src="https://2017.igem.org/wiki/index.php?title=Team:Virginia/js/bootstrap.min.js&action=raw&ctype=text/javascript"></script>
 +
 +
</head>
  
 
<script>
 
<script>
Line 87: Line 98:
  
 
</script>
 
</script>
 
 
 
 
  
  
Line 99: Line 106:
  
 
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 
/***************************************************** DEFAULT WIKI SETTINGS  ****************************************************/
 +
 
/* Clear the default wiki settings */
 
/* Clear the default wiki settings */
 +
 +
#home_logo, #sideMenu { display:none; }
 +
#sideMenu, #top_title, .patrollink  {display:none;}
 +
#content { width:100%; padding:0px; margin-left:0px; padding-top:30px;}
 +
body {background-color:white;}
 +
#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }
  
 
#sideMenu,
 
#top_title {
 
  display: none;
 
}
 
 
.centertext{
 
  border:dashed;
 
  margin:0px 30% 0px 30%;
 
  text-align:center;
 
  padding-left:8%;
 
}
 
 
#content {
 
  padding:0px;
 
  width:100%;
 
}
 
 
#body {
 
  background-color: white;
 
  width: 100%;
 
}
 
 
#bodyContent h1,
 
#bodyContent h2,
 
#bodyContent h3,
 
#bodyContent h4,
 
#bodyContent h5 {
 
  margin:auto;
 
}
 
 
#bodyContent {
 
  padding-right: 0px;
 
}
 
 
#globalWrapper {
 
  padding: 0px;
 
  margin: -10px -20px -20px -10px;
 
}
 
 
.navbar-collapse {
 
  padding-left: 0px;
 
}
 
 
#banner {
 
  margin-top: 50px;
 
  z-index: 5;
 
}
 
 
#sideMenu {
 
  margin-top: 10px;
 
}
 
 
.dropdown-menu li:hover .sub-menu {
 
  visibility: visible;
 
}
 
 
.dropdown:hover .dropdown-menu {
 
  display: block;
 
}
 
 
.navbar-nav .dropdown-menu,
 
.navbar .dropdown-menu {
 
  margin-top: 0;
 
}
 
 
#myDIV {
 
    width: 100%;
 
    padding: 50px 0;
 
    background-color:blue;
 
    margin-top:20px;
 
}
 
  
  
 +
  
 
/***************************************************** CONTENT OF THE PAGE ****************************************************/
 
/***************************************************** CONTENT OF THE PAGE ****************************************************/
 
  
 
/* Wrapper for the content */
 
/* Wrapper for the content */
 
.igem_2017_content_wrapper {
 
.igem_2017_content_wrapper {
 
width: 98%;
 
width: 98%;
 +
padding-top: -30px;
 
display:block;
 
display:block;
padding-top: 100px;
 
 
float:left;  
 
float:left;  
 
background-color: #F5F5F5; /* TAG::BKGD */
 
background-color: #F5F5F5; /* TAG::BKGD */
                /*background-image: url('https://static.igem.org/mediawiki/2014/2/21/UCD_2014_Picked-olives-ii-Recovered2-9.jpg'); */
 
font-family: 'Lato', sans-serif;
 
}
 
 
/**************************************************************** MENU ***************************************************************/
 
/* Wrapper for the menu */
 
.igem_2017_menu_wrapper {
 
width: 15%;
 
height:100vh;
 
position:fixed;
 
right:0%;
 
padding:0px;
 
float:right;
 
border-left: 1px solid #d3d3d3;
 
background-color:#dddddd;
 
text-align:left;
 
 
font-family:Tahoma, Geneva, sans-serif;  
 
font-family:Tahoma, Geneva, sans-serif;  
overflow-y: auto;
 
overflow-x: hidden;
 
 
}
 
}
  
/* this hides the scrollbar to keep view consistency */
 
.igem_2017_menu_wrappe::-webkit-scrollbar {
 
display: none;
 
}
 
 
 
/* 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 menu */
 
.igem_2017_menu_wrapper img {
 
width: 100%;
 
}
 
 
/* styling for the menu buttons */
 
.igem_2017_menu_wrapper .menu_button {
 
width: 100%;
 
padding: 10px 0px 10px 15px;
 
float:left;
 
border-bottom: 1px solid #d3d3d3;
 
font-size: 12px;
 
font-weight: bold;
 
color: #5e5f5f;
 
cursor: pointer;
 
}
 
 
 
.igem_2017_menu_wrapper .menu_bottom_padding {
 
width: 100%;
 
height: 30px;
 
float:left;
 
}
 
 
.menu_button.direct_to_page {
 
padding-left: 36px;
 
}
 
 
 
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
 
width:10%;
 
float:left;
 
}
 
 
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
 
content: "+"; 
 
}
 
 
.open::before {
 
content: "-" !important; 
 
}
 
 
 
 
/* styling for the menu buttons on hover */
 
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {
 
background-color: #3399ff;
 
text-decoration: none;
 
color:#ffffff;
 
}
 
 
/* styling for the menu button when it is the current page */
 
.current_page {
 
background-color:#7fc1f7  !important;
 
color:#5e5f5f !important;
 
}
 
 
 
/* styling for the submenu buttons */
 
.igem_2017_menu_wrapper .submenu_button {
 
width: 100%;
 
padding: 10px 0px 10px 34px;
 
float:left;
 
background-color:#f2f2f2;
 
border-bottom: 1px solid #d3d3d3;
 
font-size: 12px;
 
color: #5e5f5f;
 
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;
 
}
 
  
 
/********************************* HTML STYLING  *********************************/
 
/********************************* HTML STYLING  *********************************/
Line 327: Line 159:
 
padding: 0px 25px;  
 
padding: 0px 25px;  
 
font-size: 16px;
 
font-size: 16px;
 +
                font-family: 'Lato', sans-serif;
 
                 color: #0F1626; /* TAG::LETTERS */
 
                 color: #0F1626; /* TAG::LETTERS */
 
}
 
}
Line 334: Line 167:
 
/*padding: 0px 25px; */
 
/*padding: 0px 25px; */
 
font-size: 16px;
 
font-size: 16px;
 +
                font-family: 'Lato', sans-serif;
 
                 color: #0F1626; /* TAG::LETTERS */
 
                 color: #0F1626; /* TAG::LETTERS */
 
}
 
}
Line 431: Line 265:
 
padding: 10px 15px;
 
padding: 10px 15px;
 
}
 
}
 
  
  
Line 474: Line 307:
 
/* button class */
 
/* button class */
 
.igem_2017_content_wrapper .button{
 
.igem_2017_content_wrapper .button{
max-width: auto;
+
max-width: 35%;
 
  margin: 30px auto;
 
  margin: 30px auto;
 
padding: 12px 10px;
 
padding: 12px 10px;
     background-color: #A31621;
+
     background-color: #3399ff;
        border: 2px solid black;
+
        border-radius: 20px;
+
 
     text-align: center;
 
     text-align: center;
 
   color: #ffffff;
 
   color: #ffffff;
Line 487: Line 318:
 
-o-transition: all 0.4s ease; transition: all 0.4s ease;   
 
-o-transition: all 0.4s ease; transition: all 0.4s ease;   
 
}
 
}
 
.igem_2017_content_wrapper .toggle{
 
max-width: 35%;
 
margin: 30px auto;
 
padding: 12px 10px;
 
    background-color: #A31621;
 
        border: 2px solid black;
 
        border-radius: 20px;
 
  color: #ffffff;
 
-webkit-transition: all 0.4s ease;
 
-moz-transition: all 0.4s ease;
 
-ms-transition: all 0.4s ease;
 
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
 
}
 
  
 
/* styling for button on hover */
 
/* styling for button on hover */
 
.igem_2017_content_wrapper .button:hover{
 
.igem_2017_content_wrapper .button:hover{
background-color: #d66d75;
+
background-color: #3399ff;
     color: white;
+
     color: #000000;
 
}
 
}
 
/* styling for toggle on hover */
 
.igem_2017_content_wrapper .toggle:hover{
 
background-color: #d66d75;
 
    color: white;
 
}
 
 
 
 
 
/***************************************************** RESPONSIVE STYLING ****************************************************/
 
 
/* IF THE SCREEN IS LESS THAN 1200PX */
 
@media only screen and (max-width: 1200px) {
 
 
#content {width:100%; }
 
.igem_2017_menu_wrapper {width:15%; right:0;}
 
.highlight {padding:10px 0px;}
 
.igem_2017_menu_wrapper #display_menu_control { display:none; }
 
#menu_content { display:block;}
 
.menu_button.direct_to_page {padding-left: 17px;}
 
 
}
 
 
/* IF THE SCREEN IS LESS THAN 800PX */
 
@media only screen and (max-width: 800px) {
 
 
.igem_2017_menu_wrapper { width:100%; height: 15%; position:relative; left:0%;}
 
.igem_2017_content_wrapper {width:100%; margin-left:0px;}
 
.column.half_size  {width:100%; }
 
.column.full_size img, .column.half_size img {  width: 100%; padding: 10px 0px;}
 
.highlight {padding:15px 5px;}
 
.igem_2017_menu_wrapper #display_menu_control { display:block; }
 
#menu_content { display:none;}
 
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon { width: 5%; }
 
.menu_bottom_padding {display:none;}
 
.menu_button.direct_to_page { padding-left: 36px; }
 
}
 
 
 
 
 
 
 
Line 554: Line 331:
 
   margin: 5px 15px;
 
   margin: 5px 15px;
 
   display: block;
 
   display: block;
border: 4px solid #BFD7EA;
+
border: 4px solid #3399ff;
 
     font-weight: bold;
 
     font-weight: bold;
 
}
 
}
 
 
 
 
</style>
 
</style>
  
<script>
 
<!-- DO NOT REMOVE! Toggle button script. Ask Ilya if you have questions -->
 
function toggleDiv() {
 
    var x = document.getElementById('myDIV');
 
    if (x.style.display === 'none') {
 
        x.style.display = 'block';
 
    } else {
 
        x.style.display = 'none';
 
    }
 
}
 
</script>
 
  
 
<!--- THIS IS WHERE THE HTML BEGINS --->
 
<!--- THIS IS WHERE THE HTML BEGINS --->
  
<head>
 
 
<!-- This tells the browser that your page is responsive -->
 
<meta name="viewport" content="width=device-width, initial-scale=1">
 
 
 
 
<script type="text/x-mathjax-config">
 
  MathJax.Hub.Config({ TeX: { extensions: ["mhchem.js"] }});
 
</script>
 
<script type="text/javascript" async
 
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML">
 
</script>
 
 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
 
<script type="text/javascript" src="https://2017.igem.org/Team:Virginia/smoothscrolljs?
 
action=raw&ctype=text/javascript"></script>
 
<link href="https://2017.igem.org/Team:Virginia/bootstrap?action=raw&ctype=text/css" rel="stylesheet">
 
        <link href="https://2017.igem.org/Team:Virginia/CSS?action=raw&ctype=text/css" rel="stylesheet">
 
        <link href="https://2017.igem.org/Team:Virginia/fontawesome?action=raw&ctype=text/css" rel="stylesheet">
 
        <script type="text/javascript" src="https://2017.igem.org/Team:Virginia/bootstrapjs?
 
action=raw&ctype=text/javascript"></script>
 
 
</head>
 
 
 
 
<body>
 
<body>
 
+
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse" style="top:15px;">
<nav class="navbar navbar-default navbar-fixed-top" style="top:18px;">
+
 
             <!-- Brand and toggle get grouped for better mobile display -->
 
             <!-- Brand and toggle get grouped for better mobile display -->
 
         <div class="navbar-header">
 
         <div class="navbar-header">
Line 612: Line 350:
 
             <span class="icon-bar"></span>
 
             <span class="icon-bar"></span>
 
           </button>
 
           </button>
             <a class="navbar-brand page-scroll" href="/Team:Virginia" style="padding:0px 20px; line-height:60px;">
+
             <a class="navbar-brand" href="/Team:Virginia" style="padding:0px 20px; line-height:60px;">
             <img src="https://static.igem.org/mediawiki/2017/a/a4/T--Virginia--vGEMlogo_150_a.png" alt="Brand" id="navbrand">Virginia</a>
+
             <img src="https://static.igem.org/mediawiki/2017/a/a4/T--Virginia--vGEMlogo_150_a.png" alt="Brand" id="navbrand" height="50px"></a>
 
         </div>
 
         </div>
 
   
 
   
Line 686: Line 424:
 
           </ul>
 
           </ul>
 
         </div><!-- /.navbar-collapse -->
 
         </div><!-- /.navbar-collapse -->
        </nav>
+
    </nav>
 +
 
 +
 
 
</body>
 
</body>
 +
  
  

Revision as of 21:12, 1 August 2017