Difference between revisions of "Template:Vanderbilt Header"

 
(217 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!DOCTYPE html>
 
 
<html lang="en">
 
<html lang="en">
  
Line 5: Line 4:
 
<meta charset="utf-8">
 
<meta charset="utf-8">
 
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
+
<meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 user-scalable=no">
 
     <title>Vanderbilt iGEM 2015</title>
 
     <title>Vanderbilt iGEM 2015</title>
  
Line 21: Line 20:
 
 
 
<!-- Scrolling navigation CSS -->
 
<!-- Scrolling navigation CSS -->
    <link href="css/scrolling-nav.css" rel="stylesheet">
+
        <link href="css/scrolling-nav.css" rel="stylesheet">
 
 
    <!-- Scrolling Nav JavaScript -->
+
        <!-- Scrolling Nav JavaScript -->
    <script src="js/jquery.easing.min.js"></script>
+
        <script src="js/jquery.easing.min.js"></script>
    <script src="js/scrolling-nav.js"></script>
+
        <script src="js/scrolling-nav.js"></script>
 
 
 
<!-- get the Google font -->
 
<!-- get the Google font -->
<link href='http://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
 
 
<link href='https://fonts.googleapis.com/css?family=Crimson+Text:700' rel='stylesheet' type='text/css'>
 
<link href='https://fonts.googleapis.com/css?family=Crimson+Text:700' rel='stylesheet' type='text/css'>
 +
        <link href='https://fonts.googleapis.com/css?family=UnifrakturMaguntia' rel='stylesheet' type='text/css'>
 +
        <link href='https://fonts.googleapis.com/css?family=MedievalSharp' rel='stylesheet' type='text/css'>
 +
        <link href='https://fonts.googleapis.com/css?family=Uncial+Antiqua' rel='stylesheet' type='text/css'>
  
 
<!-- Custom CSS -->
 
<!-- Custom CSS -->
 
<link href="https://2015.igem.org/Template:Vanderbilt_Formatting?action=raw&ctype=text/css" rel="stylesheet">
 
<link href="https://2015.igem.org/Template:Vanderbilt_Formatting?action=raw&ctype=text/css" rel="stylesheet">
 +
  
 
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
 
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
Line 40: Line 42:
 
<script src="http://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
 
<script src="http://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
 
<![endif]-->
 
<![endif]-->
 +
 +
<style>
 +
#page-top, .intro-text {
 +
    width: 100%;
 +
    margin: 0px;
 +
}
 +
 +
.span-text
 +
{
 +
  display: inline-block;
 +
  vertical-align: middle;
 +
  line-height: 100%; /* <-- adjust this */
 +
  margin: 5px;
 +
}
 +
 +
.intro-heading {
 +
    text-shadow:
 +
    -1.5px -1.5px 0 #565656,
 +
    1.5px -1.5px 0 #565656,
 +
    -1.5px 1.5px 0 #565656,
 +
    1.5px 1.5px 0 #565656;
 +
}
 +
</style>
 
</head>
 
</head>
  
  
 
   <!-- Header -->
 
   <!-- Header -->
<header class="row">
+
<header id="header" class="row">
 
<div class="container">
 
<div class="container">
 
<div class="intro-text">
 
<div class="intro-text">
<div class="intro-heading crimson-text">Demons in the Code</div>
+
<div class="intro-heading" style="font-style:normal; font-family:Uncial Antiqua; font-size: 2em;">
<div class="intro-lead-in crimson-text">Vanderbilt University</div>
+
                          <font id="header_text" color="#000000">Demons in the Code</font>
 +
                        </div>
 +
                        <img id="vandy_logo" src="https://static.igem.org/mediawiki/2015/5/52/Vanderbilt_2015_igemlogo_visibility.png"
 +
                            alt="vanderbilt's igem logo" width="30%" class="no-shadow"/>
 
</div>
 
</div>
 
</div>
 
</div>
Line 54: Line 82:
  
 
<!-- MAIN CONTAINER -->
 
<!-- MAIN CONTAINER -->
<div id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" class="index container">
+
<div id="page-top" data-spy="scroll" data-target=".navbar-fixed-top" class="index container" style="margin: 0; padding: 0; width: 100%; background-color: #3e0812">
 +
 
 +
<script>
 +
 
 +
if(window.location.href !== "https://2015.igem.org/Team:Vanderbilt") {
 +
    document.getElementById("header").style.backgroundImage =    "url('https://static.igem.org/mediawiki/2015/9/9b/Vanderbilt_2015_plain_sequence_background.png')";
 +
}
 +
</script>
 +
 
 +
 
 +
<style>
 +
@media (min-width: 979px) {
 +
#header_text {
 +
  font-size: 2em;
 +
}
 +
.intro-heading {
 +
  margin-top: -10%;
 +
}
 +
#vandy_logo {
 +
width: 15%;
 +
}
 +
}
 +
</style>
  
 
</html>
 
</html>

Latest revision as of 20:53, 20 November 2015

Vanderbilt iGEM 2015