website: Fix hero element centering
This commit is contained in:
parent
c0981c412e
commit
5448a997cc
|
@ -1,11 +1,11 @@
|
||||||
<div class="home">
|
<div class="home">
|
||||||
|
|
||||||
<header class="hero dark-background text-left">
|
<header class="dark-background">
|
||||||
<div class="container">
|
<div class="container hero">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span6 offset1">
|
<div class="span6 offset1">
|
||||||
<h2>
|
<h2>
|
||||||
<span class="text-green">Packer</span> is a tool for creating identical machine images for multiple platforms from a single source configuration
|
<span class="text-green">Packer</span> is a tool for creating identical machine images for multiple platforms from a single source configuration.
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.hero {
|
.hero {
|
||||||
height: $hero-height;
|
height: $hero-height;
|
||||||
background: #000000 url(/images/hero_image.jpg) no-repeat 75% -25px;
|
background: #000000 url(/images/hero_image.jpg) no-repeat 30px -5px;
|
||||||
background-size: 1008px 490px;
|
background-size: 960px 467px;
|
||||||
@include respond-to(mobile) {
|
@include respond-to(mobile) {
|
||||||
margin-right: -20px;
|
margin-right: -20px;
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
margin-top: $baseline * 4;
|
margin-top: $baseline * 4;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
width: 80%;
|
width: 80%;
|
||||||
font-size: 30px;
|
font-size: 28px;
|
||||||
line-height: (35/30);
|
line-height: (35/30);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,8 +68,8 @@ $mono: 'Inconsolata', 'courier new', courier, mono-space;
|
||||||
|
|
||||||
//color
|
//color
|
||||||
.dark-background {
|
.dark-background {
|
||||||
background-color: inherit;
|
background-color: #000;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
nav {
|
nav {
|
||||||
height: $nav-height;
|
height: $nav-height;
|
||||||
padding: $baseline 0;
|
padding: $baseline 0;
|
||||||
background-color: $black !important;
|
padding: 0;
|
||||||
padding: 0;
|
margin: 0;
|
||||||
margin: 0;
|
text-transform: uppercase;
|
||||||
text-transform: uppercase;
|
color: $white;
|
||||||
color: $white;
|
font-family: $sans;
|
||||||
font-family: $sans;
|
font-size: 16px;
|
||||||
font-size: 16px;
|
border-bottom: 1px solid $border-dark;
|
||||||
border-bottom: 1px solid $border-dark;
|
@include respond-to(mobile) {
|
||||||
@include respond-to(mobile) {
|
margin-right: -20px;
|
||||||
margin-right: -20px;
|
margin-left: -20px;
|
||||||
margin-left: -20px;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
margin-top: ($baseline * 2);
|
margin-top: ($baseline * 2);
|
||||||
|
|
Loading…
Reference in New Issue