Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
5deeb8a5
Commit
5deeb8a5
authored
Jun 20, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: Fix hero element centering
parent
2acb0d2e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
56 deletions
+55
-56
website/source/index.html.erb
website/source/index.html.erb
+3
-3
website/source/stylesheets/_components.scss
website/source/stylesheets/_components.scss
+3
-3
website/source/stylesheets/_helpers.scss
website/source/stylesheets/_helpers.scss
+2
-2
website/source/stylesheets/_nav.scss
website/source/stylesheets/_nav.scss
+47
-48
No files found.
website/source/index.html.erb
View file @
5deeb8a5
<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>
...
...
website/source/stylesheets/_components.scss
View file @
5deeb8a5
.hero
{
.hero
{
height
:
$hero-height
;
height
:
$hero-height
;
background
:
#000000
url(/images/hero_image.jpg)
no-repeat
75%
-2
5px
;
background
:
#000000
url(/images/hero_image.jpg)
no-repeat
30px
-
5px
;
background-size
:
1008px
490
px
;
background-size
:
960px
467
px
;
@include
respond-to
(
mobile
)
{
@include
respond-to
(
mobile
)
{
margin-right
:
-20px
;
margin-right
:
-20px
;
margin-left
:
-20px
;
margin-left
:
-20px
;
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
margin-top
:
$baseline
*
4
;
margin-top
:
$baseline
*
4
;
margin-left
:
20px
;
margin-left
:
20px
;
width
:
80%
;
width
:
80%
;
font-size
:
30
px
;
font-size
:
28
px
;
line-height
:
(
35
/
30
);
line-height
:
(
35
/
30
);
}
}
}
}
...
...
website/source/stylesheets/_helpers.scss
View file @
5deeb8a5
...
@@ -68,8 +68,8 @@ $mono: 'Inconsolata', 'courier new', courier, mono-space;
...
@@ -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
;
...
...
website/source/stylesheets/_nav.scss
View file @
5deeb8a5
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
);
margin-left
:
$nav-height
;
margin-left
:
$nav-height
;
@include
respond-to
(
mobile
)
{
@include
respond-to
(
mobile
)
{
margin-left
:
50px
;
margin-left
:
50px
;
margin-top
:
12px
;
margin-top
:
12px
;
}
}
li
{
li
{
display
:
inline-block
;
display
:
inline-block
;
margin-right
:
50px
;
margin-right
:
50px
;
@include
respond-to
(
mobile
)
{
@include
respond-to
(
mobile
)
{
margin-bottom
:
7px
;
margin-bottom
:
7px
;
display
:
block
;
display
:
block
;
}
}
}
}
}
}
.packer-logo
{
.packer-logo
{
background
:
url(/images/logo_nav.png)
no-repeat
center
top
;
background
:
url(/images/logo_nav.png)
no-repeat
center
top
;
height
:
80px
;
height
:
80px
;
width
:
80px
;
width
:
80px
;
background-size
:
34px
50px
;
background-size
:
34px
50px
;
text-indent
:
-999999px
;
text-indent
:
-999999px
;
display
:
inline-block
;
display
:
inline-block
;
margin-top
:
25px
;
margin-top
:
25px
;
@include
respond-to
(
mobile
)
{
@include
respond-to
(
mobile
)
{
margin-top
:
15px
;
margin-top
:
15px
;
}
}
}
}
.active
{
.active
{
color
:
$green
;
color
:
$green
;
}
}
button
{
button
{
margin-top
:
$baseline
;
margin-top
:
$baseline
;
}
}
}
//nav
}
//nav
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment