Difference between revisions of "Team:British Columbia/Test/Custom CSS"

(Created page with "<html> <head> <!-- NOTE TO THE USER: This is where all the CSS information is stored --> <!-- ========================== Google Fonts ========================== --> <link href...")
 
Line 1: Line 1:
<html>
+
<html lang="en">
<head>
+
  <head>
 +
    <meta charset="utf-8">
 +
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 +
    <meta name="viewport" content="width=device-width, initial-scale=1">
 +
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
 +
    <meta name="description" content="">
 +
    <meta name="author" content="">
 +
    <link rel="icon" href="../../favicon.ico">
  
<!-- NOTE TO THE USER: This is where all the CSS information is stored -->
+
    <title>Starter Template for Bootstrap</title>
  
 +
    <!-- Bootstrap core CSS -->
 +
    <link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
  
<!-- ========================== Google Fonts ========================== -->
+
    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<link href='http://fonts.googleapis.com/css?family=Merriweather' rel='stylesheet' type='text/css'>
+
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
+
    <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
  
 +
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
 +
    <!--[if lt IE 9]>
 +
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
 +
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
 +
    <![endif]-->
 +
  </head>
  
<!-- ========================= MathJax (LaTeX for the web) ================== -->
+
  <body>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
+
  
 +
    <nav class="navbar navbar-inverse navbar-fixed-top">
 +
      <div class="container">
 +
        <div class="navbar-header">
 +
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
 +
            <span class="sr-only">Toggle navigation</span>
 +
            <span class="icon-bar"></span>
 +
            <span class="icon-bar"></span>
 +
            <span class="icon-bar"></span>
 +
          </button>
 +
          <a class="navbar-brand" href="#">Project name</a>
 +
        </div>
 +
        <div id="navbar" class="collapse navbar-collapse">
 +
          <ul class="nav navbar-nav">
 +
            <li class="active"><a href="#">Home</a></li>
 +
            <li><a href="#about">About</a></li>
 +
            <li><a href="#contact">Contact</a></li>
 +
          </ul>
 +
        </div><!--/.nav-collapse -->
 +
      </div>
 +
    </nav>
  
 +
    <div class="container">
  
<!-- ============== ie9.js (fixes all Internet Explorer browsers older than ie9) =========== -->
+
      <div class="starter-template">
<!--[if lt IE 9]>
+
        <h1>Bootstrap starter template</h1>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
+
        <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
<![endif]-->
+
      </div>
  
 +
    </div><!-- /.container -->
  
  
<!-- ========================= Bootstrap core CSS ======================== -->
+
    <!-- Bootstrap core JavaScript
<link href="https://2014.igem.org/Team:British_Columbia/bootstrap.css?action=raw&ctype=text/css" rel="stylesheet">
+
    ================================================== -->
 
+
     <!-- Placed at the end of the document so the pages load faster -->
<!-- ====================== Bootstrap custom styles for this template ==================== -->
+
    <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link href="https://2014.igem.org/Team:British_Columbia/offcanvas.css?action=raw&ctype=text/css" rel="stylesheet">
+
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
 
+
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
<title>2014 UBC iGEM</title>
+
  </body>
 
+
<!-- ================ CUSTOM CSS ===================================== -->
+
 
+
<style type="text/css">
+
 
+
 
+
 
+
 
+
#center_welcome{
+
     top: 50%;
+
}
+
 
+
#top-section {
+
    width: 100%;
+
    margin-left: 0px;
+
    left: 0px;
+
}
+
 
+
.firstHeading {
+
      display:none;
+
}
+
 
+
.panel-default {
+
      border-color: transparent;     
+
}
+
 
+
#ubc_igem_logo {
+
      height: 100%;
+
      width: 100%;
+
}
+
 
+
p {
+
      font-family: 'PT Sans', sans-serif;
+
      font-size: 110%;
+
}
+
 
+
body{
+
    margin: 0 0 0 0;
+
    padding: 0;
+
}
+
 
+
header {
+
background-image: url('https://static.igem.org/mediawiki/2014/b/b9/Banner-01.png');
+
background-repeat: no-repeat;
+
background-position: 50% 50%;
+
background-size: 2200px;
+
height: 200px;
+
}
+
 
+
 
+
 
+
svg {
+
    height: 200px;
+
}
+
 
+
img#sponsor_platinum{
+
    width: 500px;
+
    height: auto;
+
}
+
 
+
img#sponsor_gold{
+
    width: 400px;
+
    height: auto;
+
}
+
 
+
img#sponsor_silver{
+
    width: 250px;
+
    height: auto;
+
}
+
 
+
center-block {
+
  display: block;
+
  margin-left: auto;
+
  margin-right: auto;
+
}
+
 
+
#welcome {
+
display: inline-block;
+
vertical-align: middle;
+
float: none;
+
}
+
 
+
.vertical-align {
+
  display: flex;
+
  align-items: center;   
+
}
+
 
+
 
+
.scrollup {
+
    width: 40px;
+
    height: 40px;
+
    position: fixed;
+
    bottom: 50px;
+
    right: 50px;
+
    float: right;
+
}
+
 
+
.scrollup:hover{
+
opacity: 0.4;
+
}
+
 
+
</style>
+
 
+
<!-- ========================= Bootstrap core JavaScript ===================== -->
+
<!-- Placed at the end of the document so the pages load faster -->
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js?action=raw"></script>
+
<script src="https://2014.igem.org/Team:British_Columbia/bootstrap.js?action=raw"></script>
+
 
+
 
+
 
+
</head>
+
 
</html>
 
</html>

Revision as of 19:15, 30 March 2015

Starter Template for Bootstrap

Bootstrap starter template

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.