Skip to content

Instantly share code, notes, and snippets.

@ademsas
Last active February 9, 2016 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ademsas/3404e8870d040bd61bd2 to your computer and use it in GitHub Desktop.
Save ademsas/3404e8870d040bd61bd2 to your computer and use it in GitHub Desktop.
Main Page w/ Grid System
<!DOCTYPE html>
<html lang="en">
<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 -->
<title>Welcome</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Custom styles for this template go here -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Raleway">
<!-- 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>
<body>
<div class="nav">
<ul>
<li><a href="#">Home</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About Me</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>
</div>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="img/mountain1.jpg" alt="mountain">
<div class="carousel-caption">
<h3>The mountains are calling and I must go</h3>
<p>- John Muir</p>
</div>
</div>
<div class="item">
<img src="img/shoes.jpg" alt="shoes">
<div class="carousel-caption">
<h3>In every walk with nature one receives far more than he seeks.</h3>
<p>- John Muir</p>
</div>
</div>
<div class="item">
<img src="img/trees.jpg" alt="trees">
<div class="carousel-caption">
<h3>When we try to pick out anything by itself, we find it hitched to everything else in the universe.</h3>
<p>- John Muir</p>
</div>
</div>
...
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2>Portfolio Concepts</h2>
<p>Any and all work that I complete will be displayed here.</p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
<div class="col-md-4">
<h2>Portfolio Goals</h2>
<p>I want to complete the web development course in 4 months. I can commit 25 hours per week or more depending on my work schedule. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
<div class="col-md-4">
<h2>Course Goals</h2>
<p>I am currently working for a start up. I want to transition from our opertions team to our engineering team. I am hoping this course will equip me with the tools to allow me to do that. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
</div><!-- /row -->
<div class="container">
<div class="row" id="work">
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
<div class="col-lg-3 col-md-3 col-xs-6"><img src="img/anfield.jpg" alt="kop" class="img-responsive"></div>
</div>
</div>
</div> <!-- /container -->
<!-- ============================= -->
<!-- All your JavaScript comes now -->
<!-- ============================= -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Bootstrap core JS -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Can place script tags with JavaScript files here -->
</body>
</html>
* {
box-sizing: border-box; }
body{
background: #649173; /* fallback for old browsers */
background: -webkit-linear-gradient(to left, #649173 , #DBD5A4);
background: linear-gradient(to left, #649173 , #DBD5A4);
font-family: 'Raleway', sans-serif;
color: white;
opacity: 0.8;
}
.nav {
background: #649173;
background: -webkit-linear-gradient(to left, #649173 , #DBD5A4);
background: linear-gradient(to left, #649173 , #DBD5A4);
position: fixed;
width: 100%;
top: 0;
z-index: 1;
}
.nav ul {
float: right;
}
.nav ul li {
font-family: 'Raleway', sans-serif;
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.06em;
padding: 20px 10px 5px;
}
.nav ul li a {
color: white;
}
.col-md-4 {
color: white;
font-family: 'Raleway', sans-serif;
}
.nav a:hover {
color: #ff0;
text-decoration: none;
}
.nav a {
-webkit-transition: color 800ms;
}
/**** Contact Page ****/
#map {
width: 500px;
height: 500px;
position: absolute;
right: 40px
top: 80px;
opacity: 0.8;
}
body {
background: -webkit-linear-gradient(to left, #649173 , #DBD5A4);
background: linear-gradient(to left, #649173 , #DBD5A4);
font-family: 'Raleway', sans-serif;
color: white;
opacity: 0.8;
}
.contact h1 {
font-family: 'Raleway', sans-serif;
color: #FFF;
text-align: center;
font-size: 10em;
font-weight: 100;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 40px;
}
h2 {
font-family: 'Raleway', sans-serif;
color: #FFF;
text-align: center;
font-size: 2em;
font-weight: 100;
}
h2 span:hover {
color: #ff0;
}
.col-md-3 {
padding: 2%;
}
.row {
padding-bottom: 5%;
padding-right: 5%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment