Created
November 14, 2014 15:17
-
-
Save Papillard/cf44e3cafd273ac231c9 to your computer and use it in GitHub Desktop.
Web-design demo @lewagon
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> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>My App</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"> | |
<link rel="stylesheet" href="stylesheets/style.css"> | |
<link rel="stylesheet" href="stylesheets/navbar.css"> | |
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700|Pacifico' rel='stylesheet' type='text/css'> | |
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | |
<!-- Leave those next 4 lines if you care about users using IE8 --> | |
<!--[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-default navbar-fixed-top navbar-airbnb" role="navigation"> | |
<div class="container-fluid"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> | |
<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/logo.png" id="logo" alt=""> | |
</a> | |
</div> | |
<!-- Collect the nav links, forms, and other content for toggling --> | |
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | |
<ul class="nav navbar-nav navbar-right"> | |
<li><a href="#">Contact</a></li> | |
<li class="dropdown"> | |
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Suivez-nous <span class="caret"></span></a> | |
<ul class="dropdown-menu" role="menu"> | |
<li><a href="#"><i class="fa fa-youtube-square"></i> Youtube</a></li> | |
<li><a href="#"><i class="fa fa-facebook-square"></i> Facebook</a></li> | |
</ul> | |
</li> | |
<li><a href="#" class="btn btn-primary" id="nav-btn">Publish an announce</a></li> | |
</ul> | |
</div><!-- /.navbar-collapse --> | |
</div><!-- /.container-fluid --> | |
</nav> | |
<div class="background text-center"> | |
<h1>My App</h1> | |
<p>This is the important line</p> | |
<a href="" class="btn btn-blue">JOIN</a> | |
</div> | |
<div class="spacer"></div> | |
<div class="container text-center"> | |
<div class="row"> | |
<div class="col-xs-12 col-sm-6 col-md-3"> | |
<div class="card"> | |
<h2>Simple</h2> | |
<img src="images/rocket.png" alt=""> | |
<p>This is a simple app, <strong>very simple</strong> app</p> | |
</div> | |
</div> | |
<div class="col-xs-12 col-sm-6 col-md-3"> | |
<div class="card"> | |
<h2>Quick</h2> | |
<img src="images/rocket.png" alt=""> | |
<p>This is a quick app, <strong>very quick</strong> app</p> | |
</div> | |
</div> | |
<div class="col-xs-12 col-sm-6 col-md-3"> | |
<div class="card"> | |
<h2>Dirty</h2> | |
<img src="images/rocket.png" alt=""> | |
<p>This is a dirty app, <strong>very dirty</strong> app</p> | |
</div> | |
</div> | |
<div class="col-xs-12 col-sm-6 col-md-3"> | |
<div class="card"> | |
<h2>Magic</h2> | |
<img src="images/rocket.png" alt=""> | |
<p>This is a magic app, <strong>very magic</strong> app</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="spacer"></div> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-6"> | |
<h2>Free Gifts</h2> | |
<p>During your entire life. Don't hesitate, <strong>subscribe</strong>.</p> | |
</div> | |
<div class="col-xs-6 text-right"> | |
<form action="http://lewagon.us7.list-manage.com/subscribe/post?u=1a8343824ef6660eaf45a4ab9&id=b90ec0618e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate form-inline newsletter" target="_blank" novalidate> | |
<div class="form-group"> | |
<label for="mce-EMAIL">Your email</label> | |
<input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL"> | |
</div> | |
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-primary "> | |
</form> | |
</div> | |
</div> | |
</div> | |
<div class="spacer"></div> | |
<div id="map" style="width: 100%; height: 400px;"></div> | |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script> | |
<script type="text/javascript"> | |
var myLatlng = new google.maps.LatLng(48.852937,2.364178); | |
var myOptions = { | |
zoom: 14, | |
center: myLatlng, | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
styles: [{"stylers":[{"visibility":"off"}]},{"featureType":"road","stylers":[{"visibility":"on"},{"color":"#ffffff"}]},{"featureType":"road.arterial","stylers":[{"visibility":"on"},{"color":"#fee379"}]},{"featureType":"road.highway","stylers":[{"visibility":"on"},{"color":"#fee379"}]},{"featureType":"landscape","stylers":[{"visibility":"on"},{"color":"#f3f4f4"}]},{"featureType":"water","stylers":[{"visibility":"on"},{"color":"#7fc8ed"}]},{},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"poi.park","elementType":"geometry.fill","stylers":[{"visibility":"on"},{"color":"#83cead"}]},{"elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"landscape.man_made","elementType":"geometry","stylers":[{"weight":0.9},{"visibility":"off"}]}] | |
}; | |
var map = new google.maps.Map(document.getElementById('map'), myOptions); | |
var marker = new google.maps.Marker({ | |
position: myLatlng, | |
map: map, | |
title:"You are here!" | |
}); | |
</script> | |
<div id="footer"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-4"> | |
<ul class="list-inline"> | |
<li><a href=""><i class="fa fa-youtube"></i></a></li> | |
<li><a href=""><i class="fa fa-instagram"></i></a></li> | |
<li><a href=""><i class="fa fa-facebook"></i></a></li> | |
<li><a href=""><i class="fa fa-twitter"></i></a></li> | |
</ul> | |
</div> | |
<div class="col-xs-8 text-right"> | |
<p>Ce footer est d'un ennui mortel</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Including Bootstrap JS (with its jQuery dependency) so that dynamic components work --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | |
</body> | |
</html> |
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
body{ | |
font-family: 'Open Sans', sans-serif; | |
} | |
.background{ | |
background-image: url(../images/sf.jpg); | |
color: white; | |
padding: 150px 0; | |
background-size: cover; | |
} | |
.background h1 { | |
font-family: 'Pacifico', cursive; | |
font-size: 50px; | |
text-shadow: 1px 1px 2px #323232; | |
} | |
.background p { | |
font-size: 25px; | |
font-weight: 100; | |
} | |
.spacer{ | |
height: 5em; | |
} | |
.btn-blue{ | |
background: #23AAFD; | |
color: white; | |
font-weight: 300; | |
padding: 10px 20px; | |
transition: all 0.2s ease-in; | |
border-radius: 0; | |
} | |
.btn-blue:hover{ | |
color: white; | |
background: #41A85F; | |
} | |
.card { | |
border: 1px solid lightgrey; | |
padding: 30px; | |
box-shadow: 1px 1px 4px rgb(220, 220, 220); | |
transition: all 0.4s ease; | |
margin-bottom: 50px; | |
} | |
.card p { | |
font-size: 15px; | |
font-weight: 300; | |
} | |
.card img { | |
padding: 10px; | |
background: #05AC54; | |
border-radius: 50%; | |
transition: all 0.3s ease; | |
margin: 20px auto; | |
} | |
.card:hover{ | |
transform: translate(0, -10px); | |
} | |
.card:hover img { | |
background: orange; | |
} | |
.newsletter{ | |
margin-top: 50px; | |
} | |
#footer{ | |
background: rgb(20, 20, 20); | |
padding: 30px 0; | |
color: rgb(220, 220, 220); | |
} | |
#footer a { | |
color: rgb(220, 220, 220); | |
font-size: 30px; | |
letter-spacing: 20px; | |
transition: color 0.5s ease; | |
} | |
#footer a:hover{ | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment