Add navbar and first content block

This commit is contained in:
Guillaume DOTT 2013-01-31 13:52:01 +01:00 committed by Guillaume DOTT
parent 805c217be0
commit 0569a79428
4 changed files with 39 additions and 10 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -26,5 +26,8 @@
= image_tag 'pdf.png' = image_tag 'pdf.png'
%p= I18n.t(:download_resume) %p= I18n.t(:download_resume)
%section %nav
%ul
.content
= yield = yield

View File

@ -2,7 +2,8 @@
title: Welcome to Middleman title: Welcome to Middleman
--- ---
.welcome %section.welcome
%h1 Middleman is Watching = image_tag 'github-original.png'
%p.doc %p
= link_to "Read Online Documentation", "http://middlemanapp.com" = I18n.t(:find_me_github)
= link_to 'gdott9', 'https://github.com/gdott9'

View File

@ -4,10 +4,6 @@ body {
font: 14px Verdana, sans-serif; font: 14px Verdana, sans-serif;
background: #99a; background: #99a;
color: #eee; color: #eee;
& > section {
margin: 0 4em;
margin-top: 220px;
}
} }
a { a {
@ -34,7 +30,7 @@ a {
a { a {
text-decoration: none; text-decoration: none;
text-transform: uppercase; font-variant: small-caps;
} }
} }
} }
@ -81,3 +77,32 @@ header {
} }
} }
} }
nav {
margin-top: 50px;
padding: 10px;
padding-left: 28em;
background-color: rgba(0, 0, 0, 0.6);
border: white solid;
border-width: 2px 0;
ul {
padding: 0;
margin: 0;
li {
list-style: none;
display: inline-block;
}
}
}
.content {
margin: 0 4em;
margin-top: 140px;
section {
background-color: rgba(0,0,0,0.7);
border: 2px solid white;
padding: 1.2em;
}
}