Difference between revisions of "Template:Vanderbilt Header"
(231 intermediate revisions by 2 users not shown) | |||
Line 4: | 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> | ||
− | <!-- | + | <!-- latest compiled and minified CSS --> |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"></link> | <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"></link> | ||
+ | |||
+ | <!-- jQuery (bootstrap's javscript plugins need) --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | ||
+ | |||
+ | <!-- latest compiled and minified JavaScript --> | ||
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> | ||
+ | |||
+ | <!-- Normalize JS --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css"></script> | <script src="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css"></script> | ||
+ | |||
+ | <!-- Scrolling navigation CSS --> | ||
+ | <link href="css/scrolling-nav.css" rel="stylesheet"> | ||
+ | |||
+ | <!-- Scrolling Nav JavaScript --> | ||
+ | <script src="js/jquery.easing.min.js"></script> | ||
+ | <script src="js/scrolling-nav.js"></script> | ||
+ | |||
+ | <!-- get the Google font --> | ||
+ | <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 --> | ||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | ||
Line 25: | Line 43: | ||
<![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 id="header" class="row"> | |
− | + | <div class="container"> | |
− | + | <div class="intro-text"> | |
− | + | <div class="intro-heading" style="font-style:normal; font-family:Uncial Antiqua; font-size: 2em;"> | |
− | + | <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> | ||
+ | </header> | ||
+ | |||
+ | <!-- MAIN 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
Demons in the Code