Created
April 24, 2014 00:42
-
-
Save trub/11237511 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<link href='http://fonts.googleapis.com/css?family=Lusitana:400,700' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Merriweather+Sans:400,300,300italic,400italic,700italic,700,800,800italic' rel='stylesheet' type='text/css'> | |
<header class="navigation"> | |
<div class="menu-wrapper"> | |
<a href="javascript:void(0)" class="logo"> | |
<img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt=""> | |
</a> | |
<p class="navigation-menu-button" id="js-mobile-menu">MENU</p> | |
<div class="nav"> | |
<ul id="navigation-menu"> | |
<li><a href="javascript:void(0)">Products</a></li> | |
<li><a href="javascript:void(0)">About Us</a></li> | |
<li><a href="javascript:void(0)">Contact</a></li> | |
<li class="navigation-search-bar"> | |
<div class="search-bar"> | |
<div class="search-and-submit"> | |
<input type="search" placeholder="Enter Search" /> | |
<button type="submit"> | |
<img src="https://raw.githubusercontent.com/Magnus-G/Random/master/search-icon.png" alt=""> | |
</button> | |
</div> | |
</div> | |
</li> | |
<li class="sign-up"><a href="javascript:void(0)">Sign Up</a></li> | |
</ul> | |
</div> | |
</div> | |
</header> | |
<!-- ==================================== | |
header --> | |
<div class="hero"> | |
<div class="hero-inner"> | |
<a href="" class="hero-logo"><img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt=""></a> | |
<div class="hero-copy"> | |
<h1>Short description of Product</h1> | |
<p>A few reasons why this product is worth using, who is it for and why do they need it.</p> | |
</div> | |
<button>Learn More</button> | |
</div> | |
</div> |
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
// ---- | |
// Sass (v3.3.5) | |
// Compass (v1.0.0.alpha.18) | |
// Bitters (v) | |
// Bourbon (v) | |
// Neat (v) | |
// ---- | |
@import "bourbon/bourbon"; | |
@import "neat/neat"; | |
@import "bitters/bitters"; | |
$large-screen: 10em; | |
$medium-screen: 3em; | |
header.navigation { | |
$navigation-background: $dark-gray; | |
$navigation-color: transparentize(white, 0.3); | |
$navigation-color-hover: white; | |
$navigation-height: 60px; | |
$navigation-nav-button-background: $base-accent-color; | |
$navigation-nav-button-background-hover: lighten($navigation-background, 10); | |
$navigation-nav-button-border: 1px solid lighten($navigation-nav-button-background, 20); | |
$navigation-search-background: lighten($navigation-background, 5); | |
$navigation-search-border: 1px solid darken($navigation-background, 5); | |
background-color: $navigation-background; | |
border-bottom: 1px solid darken($navigation-background, 10); | |
font-family: $sans-serif; | |
height: $navigation-height; | |
width: 100%; | |
z-index: 999; | |
.menu-wrapper { | |
@include outer-container; | |
position: relative; | |
z-index: 9999; | |
} | |
.logo { | |
float: left; | |
max-height: $navigation-height; | |
padding-left: 1em; | |
padding-right: 2em; | |
img { | |
max-height: $navigation-height; | |
padding: .8em 0; | |
} | |
} | |
.navigation-menu-button { | |
color: $navigation-color; | |
cursor: pointer; | |
display: block; | |
float: right; | |
font-family: $sans-serif; | |
font-weight: 700; | |
line-height: $navigation-height; | |
margin: 0; | |
padding-right: 1em; | |
text-transform: uppercase; | |
@include media ($large-screen) { | |
display: none; | |
} | |
&:hover { | |
color: $navigation-color-hover; | |
} | |
} | |
.nav { | |
@include media ($large-screen) { | |
float: left; | |
} | |
} | |
ul#navigation-menu { | |
clear: both; | |
-webkit-transform-style: preserve-3d; // stop webkit flicker | |
display: none; | |
margin: 0 auto; | |
overflow: hidden; | |
padding: 0; | |
width: 100%; | |
z-index: 9999; | |
@include media ($large-screen) { | |
display: inline; | |
margin: 0; | |
padding: 0; | |
} | |
} | |
ul li { | |
background: $navigation-background; | |
display: block; | |
line-height: $navigation-height; | |
overflow: hidden; | |
padding-right: .8em; | |
text-align: right; | |
width: 100%; | |
z-index: 9999; | |
@include media ($large-screen) { | |
background: transparent; | |
display: inline; | |
line-height: $navigation-height; | |
padding-right: 2em; | |
text-decoration: none; | |
width: auto; | |
} | |
a { | |
font-weight: 400; | |
color: $navigation-color; | |
&:hover { | |
color: $navigation-color-hover; | |
} | |
} | |
} | |
.sign-up { | |
@include media ($large-screen) { | |
@include position(absolute, 0px 0px 0 0); | |
padding-right: 1em; | |
a { | |
@include transition (all 0.2s ease-in-out); | |
background: $navigation-nav-button-background; | |
border-radius: $base-border-radius; | |
color: white; | |
font-size: .8em; | |
font-weight: 800; | |
padding: .6em 1em; | |
text-transform: uppercase; | |
&:hover { | |
background: lighten($navigation-nav-button-background, 10); | |
} | |
} | |
} | |
} | |
li.navigation-search-bar { | |
display: none; | |
@include media($large-screen) { | |
@include position(absolute, 0px 76px 0 0); | |
display: inline-block; | |
line-height: 0 !important; | |
padding: 13px 30px; // this to get around Firefox/Opera line-height "bug" | |
} | |
} | |
.search-bar { | |
$search-bar-border-color: $base-border-color; | |
$search-bar-border: 1px solid $search-bar-border-color; | |
$search-bar-background: lighten($search-bar-border-color, 10); | |
width: 19em; | |
position: relative; | |
display: inline-block; | |
input { | |
@include box-sizing(border-box); | |
display: block; | |
} | |
.search-and-submit { | |
position: relative; | |
input[type=search] { | |
background: $navigation-search-background; | |
border: $navigation-search-border; | |
padding: .6em .8em; | |
font-size: .9em; | |
font-style: italic; | |
color: $navigation-color; | |
border-radius: $base-border-radius * 2; | |
margin: 0; | |
} | |
button[type=submit] { | |
@include button(simple, lighten($navigation-search-background, 10)); | |
@include position(absolute, 0.3em 0.3em 0.3em 0); | |
outline: none; | |
padding: 5px 15px; | |
img { | |
height: 12px; | |
opacity: .7; | |
} | |
} | |
} | |
} | |
} | |
// HEADER | |
.hero { | |
$hero-background: desaturate(darken($base-accent-color, 20), 30); | |
$hero-color: white; | |
background: url(https://raw.github.com/Magnus-G/Random/master/lake-transparent.png); | |
background-color: $hero-background; | |
background-repeat: no-repeat; | |
background-position: top; | |
background-size: cover; | |
padding-bottom: 4em; | |
.hero-logo img { | |
height: 3em; | |
margin-bottom: 1em; | |
} | |
.hero-inner { | |
@include outer-container; | |
@include clearfix; | |
padding: 3em; | |
margin: auto; | |
text-align: center; | |
color: $hero-color; | |
button { | |
@include button(simple, $base-accent-color); | |
font-size: $base-font-size; | |
outline: none; | |
} | |
.hero-copy { | |
text-align: center; | |
h1 { | |
font-size: 1.4em; | |
margin-bottom: .2em; | |
@include media($large-screen) { | |
font-size: 1.8em; | |
} | |
} | |
p { | |
margin: auto; | |
margin-bottom: 3em; | |
font-weight: 200; | |
@include media($large-screen) { | |
font-size: 1.2em; | |
max-width: 40%; | |
} | |
} | |
} | |
} | |
} | |
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
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
button, | |
input[type="submit"] { | |
border: 1px solid #2459a6; | |
border-radius: 3px; | |
box-shadow: inset 0 1px 0 0 #89a8d5; | |
color: white; | |
display: inline-block; | |
font-size: inherit; | |
font-weight: bold; | |
background-color: #477dca; | |
background-image: -webkit-linear-gradient(#477dca, #2760b2); | |
background-image: linear-gradient(#477dca, #2760b2); | |
padding: 7px 18px; | |
text-decoration: none; | |
text-shadow: 0 1px 0 #1b4f9a; | |
background-clip: padding-box; | |
font-size: 1em; | |
} | |
button:hover:not(:disabled), | |
input[type="submit"]:hover:not(:disabled) { | |
box-shadow: inset 0 1px 0 0 #628cc8; | |
cursor: pointer; | |
background-color: #3c71bb; | |
background-image: -webkit-linear-gradient(#3c71bb, #255aa5); | |
background-image: linear-gradient(#3c71bb, #255aa5); | |
} | |
button:active:not(:disabled), | |
input[type="submit"]:active:not(:disabled) { | |
border: 1px solid #2459a6; | |
box-shadow: inset 0 0 8px 4px #235397, inset 0 0 8px 4px #235397, 0 1px 1px 0 #eeeeee; | |
} | |
button:disabled, | |
input[type="submit"]:disabled { | |
opacity: 0.5; | |
cursor: not-allowed; | |
} | |
body { | |
color: #333333; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
-webkit-font-smoothing: antialiased; | |
line-height: 1.5em; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
line-height: 1.25em; | |
margin: 0; | |
text-rendering: optimizeLegibility; | |
} | |
h1 { | |
font-size: 2.25em; | |
} | |
h2 { | |
font-size: 2em; | |
} | |
h3 { | |
font-size: 1.75em; | |
} | |
h4 { | |
font-size: 1.5em; | |
} | |
h5 { | |
font-size: 1.25em; | |
} | |
h6 { | |
font-size: 1em; | |
} | |
p { | |
margin: 0 0 0.75em; | |
} | |
a { | |
color: #477dca; | |
text-decoration: none; | |
-webkit-transition: color 0.1s linear; | |
-moz-transition: color 0.1s linear; | |
transition: color 0.1s linear; | |
} | |
a:hover { | |
color: #2c5999; | |
} | |
a:active, a:focus { | |
color: #2c5999; | |
outline: none; | |
} | |
hr { | |
border-bottom: 1px solid #dddddd; | |
border-left: none; | |
border-right: none; | |
border-top: none; | |
margin: 1.5em 0; | |
} | |
img { | |
margin: 0; | |
max-width: 100%; | |
} | |
abbr, acronym { | |
border-bottom: 1px dotted #dddddd; | |
cursor: help; | |
} | |
address { | |
display: block; | |
margin: 0 0 0.75em; | |
} | |
hgroup { | |
margin-bottom: 0.75em; | |
} | |
del { | |
color: #595959; | |
} | |
blockquote { | |
border-left: 2px solid #dddddd; | |
color: #595959; | |
margin: 1.5em 0; | |
padding-left: 0.75em; | |
} | |
cite { | |
color: #737373; | |
font-style: italic; | |
} | |
cite:before { | |
content: '\2014 \00A0'; | |
} | |
fieldset { | |
background: #f7f7f7; | |
border: 1px solid #dddddd; | |
margin: 0 0 0.75em 0; | |
padding: 1.5em; | |
} | |
input, | |
label, | |
select { | |
display: block; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
} | |
label { | |
font-weight: bold; | |
margin-bottom: 0.375em; | |
} | |
label.required:after { | |
content: "*"; | |
} | |
label abbr { | |
display: none; | |
} | |
textarea, | |
input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"] { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
-webkit-transition: border-color; | |
-moz-transition: border-color; | |
transition: border-color; | |
background-color: white; | |
border-radius: 0.1875em; | |
border: 1px solid #dddddd; | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06); | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-size: 1em; | |
margin-bottom: 0.75em; | |
padding: 0.5em 0.5em; | |
resize: vertical; | |
width: 100%; | |
} | |
textarea:hover, | |
input[type="email"]:hover, input[type="number"]:hover, input[type="password"]:hover, input[type="search"]:hover, input[type="tel"]:hover, input[type="text"]:hover, input[type="url"]:hover, input[type="color"]:hover, input[type="date"]:hover, input[type="datetime"]:hover, input[type="datetime-local"]:hover, input[type="month"]:hover, input[type="time"]:hover, input[type="week"]:hover { | |
border-color: #c4c4c4; | |
} | |
textarea:focus, | |
input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus { | |
border-color: #477dca; | |
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 5px rgba(55, 112, 192, 0.7); | |
outline: none; | |
} | |
input[type="search"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-ms-appearance: none; | |
-o-appearance: none; | |
appearance: none; | |
} | |
input[type="checkbox"], input[type="radio"] { | |
display: inline; | |
margin-right: 0.375em; | |
} | |
input[type="file"] { | |
width: 100%; | |
} | |
select { | |
width: auto; | |
margin-bottom: 1.5em; | |
} | |
button, | |
input[type="submit"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
-ms-appearance: none; | |
-o-appearance: none; | |
appearance: none; | |
cursor: pointer; | |
user-select: none; | |
vertical-align: middle; | |
white-space: nowrap; | |
} | |
table { | |
border-collapse: collapse; | |
margin: 0.75em 0; | |
table-layout: fixed; | |
width: 100%; | |
} | |
th { | |
border-bottom: 1px solid #b7b7b7; | |
font-weight: bold; | |
padding: 0.75em 0; | |
text-align: left; | |
} | |
td { | |
border-bottom: 1px solid #dddddd; | |
padding: 0.75em 0; | |
} | |
tr, td, th { | |
vertical-align: middle; | |
} | |
ul, ol { | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
} | |
dl { | |
line-height: 1.5em; | |
margin-bottom: 0.75em; | |
} | |
dl dt { | |
font-weight: bold; | |
margin-top: 0.75em; | |
} | |
dl dd { | |
margin: 0; | |
} | |
.error, #flash_failure { | |
background: #fbe3e4; | |
color: #96151b; | |
font-weight: bold; | |
margin-bottom: 0.75em; | |
padding: 0.75em; | |
} | |
.error a, #flash_failure a { | |
color: #6a0f13; | |
} | |
.error a:hover, #flash_failure a:hover { | |
color: #110203; | |
} | |
.notice, #flash_notice { | |
background: #fff6bf; | |
color: #8c7800; | |
font-weight: bold; | |
margin-bottom: 0.75em; | |
padding: 0.75em; | |
} | |
.notice a, #flash_notice a { | |
color: #594c00; | |
} | |
.notice a:hover, #flash_notice a:hover { | |
color: black; | |
} | |
.success, #flash_success { | |
background: #e6efc2; | |
color: #56651a; | |
font-weight: bold; | |
margin-bottom: 0.75em; | |
padding: 0.75em; | |
} | |
.success a, #flash_success a { | |
color: #333c10; | |
} | |
.success a:hover, #flash_success a:hover { | |
color: black; | |
} | |
header.navigation { | |
background-color: #333333; | |
border-bottom: 1px solid #1a1a1a; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
height: 60px; | |
width: 100%; | |
z-index: 999; | |
} | |
header.navigation .menu-wrapper { | |
max-width: 68em; | |
margin-left: auto; | |
margin-right: auto; | |
position: relative; | |
z-index: 9999; | |
} | |
header.navigation .menu-wrapper:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
header.navigation .logo { | |
float: left; | |
max-height: 60px; | |
padding-left: 1em; | |
padding-right: 2em; | |
} | |
header.navigation .logo img { | |
max-height: 60px; | |
padding: .8em 0; | |
} | |
header.navigation .navigation-menu-button { | |
color: rgba(255, 255, 255, 0.7); | |
cursor: pointer; | |
display: block; | |
float: right; | |
font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; | |
font-weight: 700; | |
line-height: 60px; | |
margin: 0; | |
padding-right: 1em; | |
text-transform: uppercase; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation .navigation-menu-button { | |
display: none; | |
} | |
} | |
header.navigation .navigation-menu-button:hover { | |
color: white; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation .nav { | |
float: left; | |
} | |
} | |
header.navigation ul#navigation-menu { | |
clear: both; | |
-webkit-transform-style: preserve-3d; | |
display: none; | |
margin: 0 auto; | |
overflow: hidden; | |
padding: 0; | |
width: 100%; | |
z-index: 9999; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation ul#navigation-menu { | |
display: inline; | |
margin: 0; | |
padding: 0; | |
} | |
} | |
header.navigation ul li { | |
background: #333333; | |
display: block; | |
line-height: 60px; | |
overflow: hidden; | |
padding-right: .8em; | |
text-align: right; | |
width: 100%; | |
z-index: 9999; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation ul li { | |
background: transparent; | |
display: inline; | |
line-height: 60px; | |
padding-right: 2em; | |
text-decoration: none; | |
width: auto; | |
} | |
} | |
header.navigation ul li a { | |
font-weight: 400; | |
color: rgba(255, 255, 255, 0.7); | |
} | |
header.navigation ul li a:hover { | |
color: white; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation .sign-up { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
padding-right: 1em; | |
} | |
header.navigation .sign-up a { | |
-webkit-transition: all 0.2s ease-in-out; | |
-moz-transition: all 0.2s ease-in-out; | |
transition: all 0.2s ease-in-out; | |
background: #477dca; | |
border-radius: 0.1875em; | |
color: white; | |
font-size: .8em; | |
font-weight: 800; | |
padding: .6em 1em; | |
text-transform: uppercase; | |
} | |
header.navigation .sign-up a:hover { | |
background: #6f99d5; | |
} | |
} | |
header.navigation li.navigation-search-bar { | |
display: none; | |
} | |
@media screen and (min-width: 10em) { | |
header.navigation li.navigation-search-bar { | |
position: absolute; | |
top: 0px; | |
right: 76px; | |
display: inline-block; | |
line-height: 0 !important; | |
padding: 13px 30px; | |
} | |
} | |
header.navigation .search-bar { | |
width: 19em; | |
position: relative; | |
display: inline-block; | |
} | |
header.navigation .search-bar input { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
display: block; | |
} | |
header.navigation .search-bar .search-and-submit { | |
position: relative; | |
} | |
header.navigation .search-bar .search-and-submit input[type=search] { | |
background: #404040; | |
border: 1px solid #262626; | |
padding: .6em .8em; | |
font-size: .9em; | |
font-style: italic; | |
color: rgba(255, 255, 255, 0.7); | |
border-radius: 0.375em; | |
margin: 0; | |
} | |
header.navigation .search-bar .search-and-submit button[type=submit] { | |
border: 1px solid #363636; | |
border-radius: 3px; | |
box-shadow: inset 0 1px 0 0 gray; | |
color: white; | |
display: inline-block; | |
font-size: inherit; | |
font-weight: bold; | |
background-color: #595959; | |
background-image: -webkit-linear-gradient(#595959, #3d3d3d); | |
background-image: linear-gradient(#595959, #3d3d3d); | |
padding: 7px 18px; | |
text-decoration: none; | |
text-shadow: 0 1px 0 #2b2b2b; | |
background-clip: padding-box; | |
position: absolute; | |
top: 0.3em; | |
right: 0.3em; | |
bottom: 0.3em; | |
outline: none; | |
padding: 5px 15px; | |
} | |
header.navigation .search-bar .search-and-submit button[type=submit]:hover:not(:disabled) { | |
box-shadow: inset 0 1px 0 0 #666666; | |
cursor: pointer; | |
background-color: #4d4d4d; | |
background-image: -webkit-linear-gradient(#4d4d4d, #363636); | |
background-image: linear-gradient(#4d4d4d, #363636); | |
} | |
header.navigation .search-bar .search-and-submit button[type=submit]:active:not(:disabled) { | |
border: 1px solid #363636; | |
box-shadow: inset 0 0 8px 4px #2e2e2e, inset 0 0 8px 4px #2e2e2e, 0 1px 1px 0 #eeeeee; | |
} | |
header.navigation .search-bar .search-and-submit button[type=submit]:disabled { | |
opacity: 0.5; | |
cursor: not-allowed; | |
} | |
header.navigation .search-bar .search-and-submit button[type=submit] img { | |
height: 12px; | |
opacity: .7; | |
} | |
.hero { | |
background: url(https://raw.github.com/Magnus-G/Random/master/lake-transparent.png); | |
background-color: #40526b; | |
background-repeat: no-repeat; | |
background-position: top; | |
background-size: cover; | |
padding-bottom: 4em; | |
} | |
.hero .hero-logo img { | |
height: 3em; | |
margin-bottom: 1em; | |
} | |
.hero .hero-inner { | |
max-width: 68em; | |
margin-left: auto; | |
margin-right: auto; | |
padding: 3em; | |
margin: auto; | |
text-align: center; | |
color: white; | |
} | |
.hero .hero-inner:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
.hero .hero-inner:after { | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
.hero .hero-inner button { | |
border: 1px solid #2459a6; | |
border-radius: 3px; | |
box-shadow: inset 0 1px 0 0 #89a8d5; | |
color: white; | |
display: inline-block; | |
font-size: inherit; | |
font-weight: bold; | |
background-color: #477dca; | |
background-image: -webkit-linear-gradient(#477dca, #2760b2); | |
background-image: linear-gradient(#477dca, #2760b2); | |
padding: 7px 18px; | |
text-decoration: none; | |
text-shadow: 0 1px 0 #1b4f9a; | |
background-clip: padding-box; | |
font-size: 1em; | |
outline: none; | |
} | |
.hero .hero-inner button:hover:not(:disabled) { | |
box-shadow: inset 0 1px 0 0 #628cc8; | |
cursor: pointer; | |
background-color: #3c71bb; | |
background-image: -webkit-linear-gradient(#3c71bb, #255aa5); | |
background-image: linear-gradient(#3c71bb, #255aa5); | |
} | |
.hero .hero-inner button:active:not(:disabled) { | |
border: 1px solid #2459a6; | |
box-shadow: inset 0 0 8px 4px #235397, inset 0 0 8px 4px #235397, 0 1px 1px 0 #eeeeee; | |
} | |
.hero .hero-inner button:disabled { | |
opacity: 0.5; | |
cursor: not-allowed; | |
} | |
.hero .hero-inner .hero-copy { | |
text-align: center; | |
} | |
.hero .hero-inner .hero-copy h1 { | |
font-size: 1.4em; | |
margin-bottom: .2em; | |
} | |
@media screen and (min-width: 10em) { | |
.hero .hero-inner .hero-copy h1 { | |
font-size: 1.8em; | |
} | |
} | |
.hero .hero-inner .hero-copy p { | |
margin: auto; | |
margin-bottom: 3em; | |
font-weight: 200; | |
} | |
@media screen and (min-width: 10em) { | |
.hero .hero-inner .hero-copy p { | |
font-size: 1.2em; | |
max-width: 40%; | |
} | |
} |
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
<link href='http://fonts.googleapis.com/css?family=Lusitana:400,700' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> | |
<link href='http://fonts.googleapis.com/css?family=Merriweather+Sans:400,300,300italic,400italic,700italic,700,800,800italic' rel='stylesheet' type='text/css'> | |
<header class="navigation"> | |
<div class="menu-wrapper"> | |
<a href="javascript:void(0)" class="logo"> | |
<img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt=""> | |
</a> | |
<p class="navigation-menu-button" id="js-mobile-menu">MENU</p> | |
<div class="nav"> | |
<ul id="navigation-menu"> | |
<li><a href="javascript:void(0)">Products</a></li> | |
<li><a href="javascript:void(0)">About Us</a></li> | |
<li><a href="javascript:void(0)">Contact</a></li> | |
<li class="navigation-search-bar"> | |
<div class="search-bar"> | |
<div class="search-and-submit"> | |
<input type="search" placeholder="Enter Search" /> | |
<button type="submit"> | |
<img src="https://raw.githubusercontent.com/Magnus-G/Random/master/search-icon.png" alt=""> | |
</button> | |
</div> | |
</div> | |
</li> | |
<li class="sign-up"><a href="javascript:void(0)">Sign Up</a></li> | |
</ul> | |
</div> | |
</div> | |
</header> | |
<!-- ==================================== | |
header --> | |
<div class="hero"> | |
<div class="hero-inner"> | |
<a href="" class="hero-logo"><img src="https://raw.github.com/Magnus-G/Random/master/placeholder_logo_1.png" alt=""></a> | |
<div class="hero-copy"> | |
<h1>Short description of Product</h1> | |
<p>A few reasons why this product is worth using, who is it for and why do they need it.</p> | |
</div> | |
<button>Learn More</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment