Skip to content

Instantly share code, notes, and snippets.

@matt-barker
Last active July 24, 2016 13:01
Show Gist options
  • Save matt-barker/8023fba3f4bd0d86a44486e13de977c0 to your computer and use it in GitHub Desktop.
Save matt-barker/8023fba3f4bd0d86a44486e13de977c0 to your computer and use it in GitHub Desktop.
Gist for task 1.8
<!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>Home | Matt Barker</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/styles.css">
<!-- Custom styles for this template go here -->
<!-- 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="container-custom">
<div class="nav">
<a href="index.html"><strong>Matt</strong>Barker</a>
<ul>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="#">Work</a></li>
<li><a href="faq.html">FAQ</a></li>
</ul>
</div><!-- end nav -->
</div>
<div class="container container-carousel">
<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/carousel_01_optimised.jpg" alt="...">
<div class="carousel-caption">
<h2>Sheffield</h2>
<p>Sheffield city centre</p>
</div>
</div>
<div class="item">
<img src="img/carousel_02_optimised.jpg" alt="...">
<div class="carousel-caption">
<h2>Ullswater</h2>
<p>Ullswater in the lake district</p>
</div>
</div>
<div class="item">
<img src="img/carousel_03_optimised.jpg" alt="...">
<div class="carousel-caption">
<h2>Fuerteventura</h2>
<p>Mountains in Fuerteventura</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><!-- end carousel -->
</div>
<div class="container container-goals">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2>Portfolio Concept</h2>
<p>This portfolio site will ultimately become my home on the web as I develop my skills and experience.<br> I have some background in web development having put together a website for my current employer (a legal firm).</p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
<div class="col-md-4">
<h2>Project Goals</h2>
<p>I plan to commit at least 15 hours per week to this project with a view to having a fully functioning, responsive portfolio site up and running in the next month.</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>My number 1 goal for this course is to switch careers.<br /> I plan on firstly getting hired as a junior developer in order to build experience and skill and ultimately become a freelance developer.<br>I currently work as a case management developer for a legal firm, which while it can be rewarding, is a very niche skill.<br> On learning web development, I will have a much more generic skillset that is applicable to a wide variety of jobs. </p>
<p><a class="btn btn-default" href="#" role="button">View details &raquo;</a></p>
</div><!-- /col -->
</div><!-- /row -->
<hr>
</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; }
.jumbotron {
background-image: url(../img/background.jpg);
background-size: cover;
padding-top: 10px;
}
.jumbotron p {
color: white;
margin-bottom: 30px;
}
.jumbotron a {
text-decoration: none;
color: #ffffff;
}
.jumbotron a:hover {
text-decoration: none;
color: #b7b7b7;
}
.jumbotron h1 {
font-weight: 400;
font-size: 500%;
color: #f8f8f8;
margin-bottom: 10px;
}
a {
text-decoration: none;
color: #e8e8e8;
}
a:hover {
color: #34495e;
transition: color 0.25s;
-webkit-transition: color 0.25s;
}
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
* html .clearfix { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
body {
color: #fff;
font-family: 'Lato', sans-serif;
padding-top: 21px;
}
.container {
padding-left: 0px;
padding-right: 0px;
}
.container-custom {
width: 80%;
margin: 0px auto auto auto;
background-color: #d35400;
}
.container-carousel {
background-color: #d35400;
width: 80%;
padding-bottom: 40px;
}
.container-goals {
color: #000;
width: 80%;
background-color: #fafafa;
}
.header {
margin-bottom: 25px;
margin-top: 40px;
}
.header h1 {
color: #fff;
font-size: 3em;
}
.image {
display: inline-block;
float: left;
padding: 10px;
}
.column-container {
background-color: #ecf0f1;
}
.column {
display: inline-block;
float: left;
width: 33%;
padding-right: 10px;
}
.contact-card {
background-color: #b14600;
padding: 0;
margin-right: 0px;
width: 23%;
height: auto;
display: inline;
}
.contact-card-row {
display: flex;
justify-content: space-between;
background-color: #c24d00;
padding: 10px;
width: 100%;
text-align: center;
margin-bottom: 20px;
margin-left: 0px;
margin-right: 0px;
}
}
.contact-card p {
margin-bottom: 3px;
margin-top: 2px;
}
#carousel-example-generic {
padding-top: 41px;
}
.carousel-caption {
background: rgba(0, 0, 0, 0.1);
margin: 20% 15% 0% 15%;
}
.main-text {
clear: both;
padding: 40px 20px 20px 20px;
}
.map-row {
margin: 30px 20%;
text-align: center;
width: 60%;
}
.contact-image img {
height: 30px;
}
.map-image-container {
display: inline;
height: 450px;
}
.map-image-container img {
/*background-image: url(../img/map.png);
background-size: 100%;
height: 450px;
background-repeat: no-repeat;*/
width: 100%;
margin: 10px;
border: solid 10px #c24d00;
}
.nav {
background-color: #d35400;
position: fixed;
width: 80%;
top: 0;
padding-top: 20px;
z-index: 1;
}
.nav a {
display: inline-block;
color: #fff;
float: left;
text-transform: uppercase;
padding: 10px 15px 10px 50px;
transition: color 0.25s;
-webkit-transition: color 0.25s;
}
.nav a:hover {
color: #34495e;
}
.nav ul {
margin: 2px 0px;
}
.nav ul li {
display: inline-block;
float: right;
}
.nav ul li a {
color: #fff;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 10px 15px 10px 0px;
}
.about-image {
width: 100%;
}
.intro {
padding: 30px 50px;
}
.skills {
padding-left: 20px;
padding-top: 10px;
margin-top: 55px;
color: #404040;
border: 1px solid white;
}
#skill-list {
padding-left: 50px;
}
.panel-body {
background-color: #c24d00;
}
.panel-default {
border-color: #ff883a;
background-color: #ff9d5c;
}
.panel-default>.panel-heading {
background-color: #ff883a;
color: #fff;
border-color: #ff883a;
}
.panel-heading a {
text-decoration: none;
}
.faq-panel {
padding: 10px 30px;
}
/*---typography---*/
h1 {
font-weight: 300;
font-size: 3em;
}
.header h1 {
text-align: center;
}
.intro p {
font-size: 2em;
font-weight: 100;
-webkit-margin-before: 0;
}
.skills h3 {
margin-top: 0;
text-align: center;
text-transform: uppercase;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment