Created
June 29, 2016 08:08
-
-
Save Anirudh257/3e2c81dfdc804f2969851e573f115a6f to your computer and use it in GitHub Desktop.
This is the first website I have built after the completion of the web design course at Udemy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Move down content because we have a fixed navbar that is 50px tall */ | |
body { | |
padding-top: 50px; | |
} | |
.jumbotron { | |
text-align:center; | |
background-image: url('../images/hero_image.jpg'); | |
color: white; | |
} | |
ul.nav,.jumbotron h1{ | |
font-family: 'Arvo', serif; | |
} | |
ul.nav{ | |
font-size: 13px; | |
} | |
footer{ | |
background-color: #f74c3c; | |
padding-top: 150px; | |
padding-bottom: 30px; | |
} | |
.jumbotron h1{ | |
margin-top: 0px; | |
margin-bottom: 50px; | |
font-weight: 100; | |
} | |
.jumbotron p{ | |
margin-bottom: 30px; | |
padding: 0px 50px; | |
} | |
.btn-lg{ | |
font-size:36px; | |
} | |
.homepage{ | |
text-align: center; | |
padding: 30px 30px; | |
} | |
.homepage h2, .homepage h3{ | |
color: #e74c3c; | |
font-family: 'Arvo', courier, serif; | |
text-transform: uppercase; | |
} | |
.homepage h2{ | |
font-size: 30px; | |
} | |
#get-involved{ | |
background-color: #f5f5f5; | |
} | |
.homepage h3{ | |
color: #e74c3c; | |
font-family: 'Arvo', courier, serif; | |
text-transform: uppercase; | |
font-size: 26px; | |
} | |
.homepage p{ | |
font-weight: 300; | |
font-size:21px; | |
} | |
.homepage a{ | |
color:#e74c3c; | |
} | |
.homepage hr{ | |
border-top: 1px solid #e74c3d; | |
width: 160px; | |
margin-top: 15px; | |
} | |
.homepage a:hover{ | |
color:#e74c3d; | |
text-decoration: none; | |
opacity: 0; | |
} | |
/*Responsive Styling*/ | |
@media (max-width: -width: 1190px | |
{ | |
.jumbotron h1{ | |
font-size:56px; | |
margin-bottom: 30px; | |
} | |
} | |
@media (max-width: -width: 991px | |
{ | |
.jumbotron h1{ | |
font-size:44px; | |
} | |
.jumbotron p{ | |
padding: 0 10px; | |
} | |
#get-involved .col-md-4{ | |
padding: 20px 20px; | |
} | |
} | |
@media (max-width: -width: 767px | |
{ | |
.jumbotron h1{ | |
font-size:24px; | |
} | |
.jumbotron p{ | |
font-size:16px; | |
padding: 0px; | |
} | |
.btn-lg{ | |
font-size: 18px; | |
} | |
.homepage p{ | |
font-size: 18px | |
} | |
#get-involved .col-md-4{ | |
padding: 20px 20px; | |
} | |
footer img{ | |
width: 80px; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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 --> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link rel="icon" href="../../favicon.ico"> | |
<title>My first website</title> | |
<!--This is our Google arvo font and font-awesome--> | |
<link href='https://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'> | |
<link rel="stylesheet" href="fonts/font-awesome/css/font-awesome.min.css"> | |
<!-- Bootstrap core CSS --> | |
<link href="css/bootstrap.min.css" rel="stylesheet"> | |
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | |
<link href="../../assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet"> | |
<!-- Custom styles for this template --> | |
<link href="css/custom.css" rel="stylesheet"> | |
<!-- Just for debugging purposes. Don't actually copy these 2 lines! --> | |
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]--> | |
<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> | |
<body> | |
<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="#"><img src="images/top_logo.png" alt:"One million lines" title="One million lines"></a> | |
</div> | |
<div id="navbar" class="collapse navbar-collapse"> | |
<ul class="nav navbar-nav navbar-right"> | |
<li><a href="#who">WHO WE ARE</a></li> | |
<li><a href="#get-involved">GET INVOLVED</a></li> | |
</ul> | |
</div><!--/.nav-collapse --> | |
</div> | |
</nav> | |
<div class="container"> | |
</nav> | |
<!-- Main jumbotron for a primary marketing message or call to action --> | |
<div class="jumbotron" > | |
<div class="container"> | |
<h1>Our goal is to inspire <br>Tallahassee to write 1,000,000<br> lines of code_</h1> | |
<p>All over the country people are taking the <strong>HOUR OF CODE</strong> challenge issued by <strong>CODE.org</strong>. Millions of lines of code are being written. In the capital of Florida, Tallahassee, the community is taking the challenge and our goal is to write 1,000,000 lines of code_</p> | |
<p><a class="btn btn-danger btn-lg" href="#" role="button">Learn more »</a></p> | |
<img src="images/code.png" title="Code.org logo" alt="Code.org"> | |
</div> | |
</div> | |
<div id="who"> | |
<div class = "container homepage"> | |
<img src="images/academy_brand_med.png" title="MASSIVE Academy" alt="MASSIVE Academy"> | |
<h2>Who We Are</h2> | |
<hr> | |
<p>We are <a href=http://www.massiveacademy.us target="_blank">MASSIVE Academy.</a> We aim to improve education through both method - effective project-based learning - and material - by teaching skills that are applicable to improving your life today. </p> | |
</div> | |
</div> | |
<div id="get-involved"> | |
<div class="container homepage"> | |
<h2>Get Involved</h2> | |
<hr> | |
<div class="row"> | |
<div class="col-md-4"> | |
<span class="fa-stack fa-4x"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-user fa-stack-1x fa-inverse"></i> | |
</span> | |
<h3>Students</h3> | |
<p>Want to learn how to code? Want to help us get to 1,000,000 lines? Click the button below and we'll let you know how to get involved. </p> | |
<p><a class="btn btn-default" href="https://docs.google.com/forms/d/1oVhc_wszCTg8oN43ZhHNR1ND2f_mJQs1IM0P8jd91bA/viewform" target="_blank" role="button">Start Learning »</a></p> | |
</div> | |
<div class="col-md-4"> | |
<span class="fa-stack fa-4x"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-pencil fa-stack-1x fa-inverse"></i> | |
</span> | |
<h3>Educators</h3> | |
<p>Want to bring this initiative to your school or institution?Awesome! Click the button below and we'll make it happen. </p> | |
<p><a class="btn btn-default" href="https://www.google.co.in/" target="_blank" role="button">Join the initiative »</a></p> | |
</div> | |
<div class="col-md-4"> | |
<span class="fa-stack fa-4x"> | |
<i class="fa fa-circle fa-stack-2x"></i> | |
<i class="fa fa-money fa-stack-1x fa-inverse"></i> | |
</span> | |
<h3>Sponsors</h3> | |
<p>We love all the support we get to help host more events, and empower more lives with the knowledge of coding. Click to get involved.</p> | |
<p><a class="btn btn-default" href="#" role="button">Give Support »</a></p> | |
</div> | |
</div> | |
</div> <!-- /container --> | |
</div> | |
<hr> | |
<footer> | |
<div class="container"> | |
<p><img src="images/One-Million-Lines.png"></p> | |
</div> | |
</footer> | |
<!-- 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.3/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script> | |
<script src="js/bootstrap.min.js"></script> | |
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | |
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment