Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit 8085d4b2a4d8dc77f7f6cb3965fd5add3860d2d1 0 parents
@ratbeard authored
1  .gitignore
@@ -0,0 +1 @@
+.sass-cache
20 REAMDE.md
@@ -0,0 +1,20 @@
+colors
+======
+http://www.colorhunter.com/tag/shitake/1
+http://colorschemedesigner.com/
+
+
+817057
+
+Bridesmaid dress:
+62504C
+
+maybe background
+E3D8CD
+
+
+fonts:
+http://www.google.com/webfonts/family?family=Arimo&subset=latin
+http://www.google.com/webfonts/family?family=Molengo&subset=latin
+http://www.google.com/webfonts/family?family=Cuprum&subset=latin
+http://www.google.com/webfonts/family?family=Josefin+Sans&subset=latin
56 config.rb
@@ -0,0 +1,56 @@
+# CodeRay syntax highlighting in Haml
+# activate :code_ray
+
+# Automatic sitemaps (gem install middleman-slickmap)
+# require "middleman-slickmap"
+# activate :slickmap
+
+# Automatic image dimension calculations
+# activate :automatic_image_sizes
+
+# Per-page layout changes
+# With no layout
+# page "/path/to/file.html", :layout => false
+# With alternative layout
+# page "/path/to/file.html", :layout => :otherlayout
+
+# Helpers
+helpers do
+ def some_helper(*args)
+ "Helping"
+ end
+end
+
+# Change the CSS directory
+# set :css_dir, "alternative_css_directory"
+
+# Change the JS directory
+# set :js_dir, "alternative_js_directory"
+
+# Change the images directory
+# set :images_dir, "alternative_image_directory"
+
+# Build-specific configuration
+configure :build do
+ # For example, change the Compass output style for deployment
+ # activate :minify_css
+
+ # Minify Javascript on build
+ # activate :minify_javascript
+
+ # Enable cache buster
+ # activate :cache_buster
+
+ # Use relative URLs
+ # activate :relative_assets
+
+ # Compress PNGs after build (gem install middleman-smusher)
+ # require "middleman-smusher"
+ # activate :smusher
+
+ # Generate ugly/obfuscated HTML from Haml
+ # activate :ugly_haml
+
+ # Or use a different image path
+ # set :http_path, "/Content/images/"
+end
4 config.ru
@@ -0,0 +1,4 @@
+require 'rubygems'
+require 'middleman'
+
+run Middleman::Server
13 views/header.html.haml
@@ -0,0 +1,13 @@
+/ - content_for :header do
+%header
+ = image_tag "http://placehold.it/400x200"
+
+ .content
+ %h1= link_to "Mike & Carolyn", "/"
+
+ %nav
+ %ul
+ %li= link_to "Ceremony & Accommodations", "ceremony.html"
+ %li= link_to "About us", "about-us.html"
+ %li= link_to "Registered", "registered.html"
+
4 views/index.html.haml
@@ -0,0 +1,4 @@
+- content_for :head do
+ %title The Middleman!
+
+%h1 The Middleman is watching.
19 views/layout.haml
@@ -0,0 +1,19 @@
+!!! 5
+%html{ :lang => "en" }
+ %head
+ %meta{ :charset => "utf-8" }
+
+ / Comment in layout
+
+ = stylesheet_link_tag "site.css"
+
+ :javascript
+ // Comment in javascript
+
+ = yield_content :head
+
+ %body{ :class => page_classes }
+
+ = render :header
+ #main{ :role => "main" }
+ = yield
5 views/registered.html.haml
@@ -0,0 +1,5 @@
+%p
+ We are registered at
+ <a href="#">Target</a>,
+ <a href="#">Crate & Barrel</a>, and
+ <a href="#">Macy's</a>.
52 views/stylesheets/site.css.sass
@@ -0,0 +1,52 @@
+@import "compass"
+@import "blueprint"
+
+$font-color: #2a2a2a
+$link-color: #0388a6
+$link-hover-color: #009ce0
+$link-focus-color: $link-color
+$link-active-color: $link-color
+$link-visited-color: $link-color
+
+$blueprint-font-family: 'Century Gothic', 'Apple Gothic', 'Helvetica Neue', arial, sans-serif
+$blueprint-font-size: 13px
+$blueprint-grid-columns: 12
+$blueprint-grid-width: 60px
+$blueprint-grid-margin: 20px
+
++global-reset
+
++blueprint-typography
+
+a
+ +link-colors($link-color, $link-hover-color, $link-focus-color, $link-active-color, $link-visited-color)
+
+#main
+ padding: 50px
+ text-align: center
+ +container
+
+img
+ float: left
+ margin-right: 3em
+
+ul,ol
+ list-style-type: none
+
+nav li
+ float: left
+ border: 1px solid black
+ margin: 0 20px
+ padding: .5em .9em
+
+body
+ // background: #E3D8CD
+
+header
+ width: 1024px
+ margin: 40px auto
+
+header a
+ color: black
+ text-decoration: none
+
Please sign in to comment.
Something went wrong with that request. Please try again.