Skip to content

Instantly share code, notes, and snippets.

@yanalex981
Last active March 27, 2016 05:04
Show Gist options
  • Save yanalex981/992a60dd54be82162a45 to your computer and use it in GitHub Desktop.
Save yanalex981/992a60dd54be82162a45 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Aero</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' href='styles/landing.css'/>
</head>
<body>
<div class='button-container'>
<a href='/home.html' class='button'>Come Fly With Us</a>
</div>
<div id='quote-conatiner'>
<h3><em>"When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return" - Leonardo Da Vinci</em></h3>
</div>
</body>
</html>
body {
text-align: center;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
margin: 0;
padding: 0;
}
#quote-conatiner {
position: fixed;
margin: auto auto 24px auto;
bottom: 20%;
left: 0;
right: 0;
text-align: center;
background-color:rgba(180, 180, 180, .4);
}
h3 {
font-family: Garamond sans-serif;
color: white;
width: 80%;
margin: .5em auto .5em auto;
}
.button {
font-family: sans-serif;
text-decoration: none;
padding: .3em 0.6em;
border-radius: 8px;
border: 2px solid #59169c;
background-color: #417;
color: white;
box-shadow: 0 0 64px black;
}
.button-container {
position: fixed;
margin-left: auto;
margin-right: auto;
top: 80%;
left: 0;
right: 0;
}
.button:active {
background-color: #330855;
}
@media only screen and (max-width: 600px) {
body {
background-image: url("../images/back-mobile.jpg");
margin: 0;
padding: 0;
}
h3 {
font-size: 1.2em;
}
.button {
font-size: 1.4em;
}
}
@media only screen and (max-width: 400px) {
body {
background-image: url("../images/back-mobile.jpg");
margin: 0;
padding: 0;
}
h3 {
font-size: 0.8em;
}
.button {
font-size: 1.0em;
}
}
@media only screen and (min-width: 601px) {
body {
background-image: url("../images/back.jpg");
}
h3 {
max-width: 600px;
font-size: 1.3em;
}
.button {
font-size: 1.3em;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment