Skip to content
Browse files

init

  • Loading branch information...
0 parents commit 54449138c3374991622f73ca62196547dd4c498e @stefl committed Jun 17, 2012
7 .components
@@ -0,0 +1,7 @@
+---
+:orm: none
+:test: none
+:mock: none
+:script: none
+:renderer: haml
+:stylesheet: none
7 .gitignore
@@ -0,0 +1,7 @@
+.DS_Store
+log/**/*
+tmp/**/*
+bin/*
+vendor/gems/*
+!vendor/gems/cache/
+.sass-cache/*
29 Gemfile
@@ -0,0 +1,29 @@
+source :rubygems
+
+# Server requirements (defaults to WEBrick)
+# gem 'thin'
+# gem 'mongrel'
+
+# Project requirements
+gem 'rake'
+gem 'sinatra-flash', :require => 'sinatra/flash'
+
+# Component requirements
+gem 'haml'
+gem "compass", "0.12.2.rc.0"
+gem "susy", "1.0.rc.0"
+gem 'unicorn'
+gem 'json'
+
+# Test requirements
+
+# Padrino Stable Gem
+gem 'padrino', '0.10.5'
+
+# Or Padrino Edge
+# gem 'padrino', :git => 'git://github.com/padrino/padrino-framework.git'
+
+# Or Individual Gems
+# %w(core gen helpers cache mailer admin).each do |g|
+# gem 'padrino-' + g, '0.10.5'
+# end
96 Gemfile.lock
@@ -0,0 +1,96 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.1.6)
+ multi_json (>= 1.0, < 1.3)
+ chunky_png (1.2.5)
+ compass (0.12.2.rc.0)
+ chunky_png (~> 1.2)
+ fssm (>= 0.2.7)
+ sass (~> 3.1)
+ diff-lcs (1.1.3)
+ fssm (0.2.9)
+ grit (2.4.1)
+ diff-lcs (~> 1.1)
+ mime-types (~> 1.15)
+ haml (3.1.6)
+ http_router (0.10.2)
+ rack (>= 1.0.0)
+ url_mount (~> 0.2.1)
+ i18n (0.6.0)
+ json (1.7.0)
+ kgio (2.7.4)
+ mail (2.3.3)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.18)
+ multi_json (1.2.0)
+ padrino (0.10.5)
+ padrino-admin (= 0.10.5)
+ padrino-cache (= 0.10.5)
+ padrino-core (= 0.10.5)
+ padrino-gen (= 0.10.5)
+ padrino-helpers (= 0.10.5)
+ padrino-mailer (= 0.10.5)
+ padrino-admin (0.10.5)
+ padrino-core (= 0.10.5)
+ padrino-helpers (= 0.10.5)
+ padrino-cache (0.10.5)
+ padrino-core (= 0.10.5)
+ padrino-core (0.10.5)
+ activesupport (~> 3.1.0)
+ http_router (~> 0.10.2)
+ sinatra (~> 1.3.1)
+ thor (~> 0.14.3)
+ tilt (~> 1.3.0)
+ padrino-gen (0.10.5)
+ bundler (~> 1.0)
+ grit (~> 2.4.1)
+ padrino-core (= 0.10.5)
+ padrino-helpers (0.10.5)
+ i18n (~> 0.6)
+ padrino-core (= 0.10.5)
+ padrino-mailer (0.10.5)
+ mail (~> 2.3.0)
+ padrino-core (= 0.10.5)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-protection (1.2.0)
+ rack
+ raindrops (0.9.0)
+ rake (0.9.2.2)
+ sass (3.2.0.alpha.244)
+ sinatra (1.3.2)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ sinatra-flash (0.3.0)
+ sinatra (>= 1.0.0)
+ susy (1.0.rc.0)
+ compass (>= 0.12.2.rc.0)
+ sass (>= 3.2.0.alpha.237)
+ thor (0.14.6)
+ tilt (1.3.3)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ unicorn (4.3.1)
+ kgio (~> 2.6)
+ rack
+ raindrops (~> 0.7)
+ url_mount (0.2.1)
+ rack
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ compass (= 0.12.2.rc.0)
+ haml
+ json
+ padrino (= 0.10.5)
+ rake
+ sinatra-flash
+ susy (= 1.0.rc.0)
+ unicorn
1 Procfile
@@ -0,0 +1 @@
+web: bundle exec unicorn -p $PORT -c ./unicorn.rb
59 app/app.rb
@@ -0,0 +1,59 @@
+class YeBay < Padrino::Application
+ register Padrino::Rendering
+ register Padrino::Mailer
+ register Padrino::Helpers
+
+ enable :sessions
+
+ ##
+ # Caching support
+ #
+ # register Padrino::Cache
+ # enable :caching
+ #
+ # You can customize caching store engines:
+ #
+ # set :cache, Padrino::Cache::Store::Memcache.new(::Memcached.new('127.0.0.1:11211', :exception_retry_limit => 1))
+ # set :cache, Padrino::Cache::Store::Memcache.new(::Dalli::Client.new('127.0.0.1:11211', :exception_retry_limit => 1))
+ # set :cache, Padrino::Cache::Store::Redis.new(::Redis.new(:host => '127.0.0.1', :port => 6379, :db => 0))
+ # set :cache, Padrino::Cache::Store::Memory.new(50)
+ # set :cache, Padrino::Cache::Store::File.new(Padrino.root('tmp', app_name.to_s, 'cache')) # default choice
+ #
+
+ ##
+ # Application configuration options
+ #
+ # set :raise_errors, true # Raise exceptions (will stop application) (default for test)
+ # set :dump_errors, true # Exception backtraces are written to STDERR (default for production/development)
+ # set :show_exceptions, true # Shows a stack trace in browser (default for development)
+ # set :logging, true # Logging in STDOUT for development and file for production (default only for development)
+ # set :public_folder, "foo/bar" # Location for static assets (default root/public)
+ # set :reload, false # Reload application files (default in development)
+ # set :default_builder, "foo" # Set a custom form builder (default 'StandardFormBuilder')
+ # set :locale_path, "bar" # Set path for I18n translations (default your_app/locales)
+ # disable :sessions # Disabled sessions by default (enable if needed)
+ # disable :flash # Disables sinatra-flash (enabled by default if Sinatra::Flash is defined)
+ # layout :my_layout # Layout can be in views/layouts/foo.ext or views/foo.ext (default :application)
+ #
+
+ ##
+ # You can configure for a specified environment like:
+ #
+ # configure :development do
+ # set :foo, :bar
+ # disable :asset_stamp # no asset timestamping for dev
+ # end
+ #
+
+ ##
+ # You can manage errors like:
+ #
+ # error 404 do
+ # render 'errors/404'
+ # end
+ #
+ # error 505 do
+ # render 'errors/505'
+ # end
+ #
+end
19 app/controllers/page.rb
@@ -0,0 +1,19 @@
+require 'open-uri'
+require 'json'
+
+YeBay.controllers :page do
+ get :index, :map => "/" do
+ @items = []
+ json = ::JSON.parse(open("http://myshakespeare.worldshakespearefestival.org.uk/api/?dateRange=10-06-2012,17-06-2012").read)
+ json.keys.each do |key|
+ begin
+ day = ::JSON.parse(json[key]) if json[key]
+ day.select {|d| d["Publisher"] == "ebay" }.each {|item| @items << item} if day
+ rescue
+ # crappy json format
+ end
+ end
+ render :index
+ end
+
+end
7 app/helpers/page_helper.rb
@@ -0,0 +1,7 @@
+# Helper methods defined here can be accessed in any controller or view in the application
+
+YeBay.helpers do
+ # def simple_helper_method
+ # ...
+ # end
+end
183 app/stylesheets/application.scss
@@ -0,0 +1,183 @@
+$base-font-size: 18px;
+@import "compass/reset";
+@import "compass/typography";
+@import "compass/css3";
+@import "compass/typography/vertical_rhythm";
+@import "compass/utilities/links/link-colors";
+
+$total-columns : 12; // a 12-column grid
+$column-width : 4em; // each column is 4em wide
+$gutter-width : 1em; // 1em gutters between columns
+$grid-padding : $gutter-width; // grid-padding equal to gutters
+
+$media-layout: 12; // Use 12-col layout at matching min-width.
+$media-layout: 30em; // At min 30em, use closest fitting layout.
+$media-layout: 30em 12; // At min 30em, use 12-col layout.
+$media-layout: 12 60em; // Use 12 cols up to max 60em.
+$media-layout: 30em 60em; // Between min 30em & max 60em, use closest layout.
+$media-layout: 30em 12 60em;// Use 12 cols between min 30em & max 60em.
+$media-layout: 60em 12 30em;// Same. Larger length will always be max-width.
+$media-layout: 12 lt-ie9; // Output is included under `.lt-ie9` class,
+$container-style: magic;
+$background-color: #eeddcc;
+$link-color: #322;
+
+$body_face: "lapture-display", serif;
+$title_face: "lapture-display", serif;
+$logo_face: "baroque-text", serif;
+
+
+@import "susy";
+
+@include establish-baseline;
+
+body {
+ background-color: $background-color;
+ font-family: $body_face;
+ a {
+ @include link-colors($link-color, lighten($link-color,10), lighten($link-color,15), lighten($link-color,20), lighten($link-color,25));
+ }
+ h1 a {
+ text-decoration: none;
+ }
+ color: desaturate(darken($background-color,75),10);
+}
+
+.page {
+ font-family: $body_face;
+ @include container;
+
+ header{
+ clear: both;
+ }
+
+ footer {
+ clear: both;
+ text-align: center;
+ @include reset-columns;
+ @include leader(1);
+ @include trailer(1);
+ }
+ .twitter-follow-button {
+ position: relative;
+ top: 6px;
+ }
+
+ @include at-breakpoint(60em 12) {
+ .content {
+ @include prefix(1);
+ @include span-columns(10,12);
+ }
+ }
+}
+
+h1 {
+ @include adjust-font-size-to($base-font-size * 2, $lines:2);
+ font-family: $title_face;
+ @include at-breakpoint(60em 12) {
+ @include adjust-font-size-to($base-font-size * 2, $lines:2);
+ }
+}
+
+
+header#header {
+ h1 {
+ &#logo {
+ text-align: center;
+ font-family: $logo_face;
+ font-weight: light;
+ }
+ }
+ h2 {
+ font-family: $title_face;
+ font-weight: 200;
+ @include adjust-font-size-to($base-font-size * 0.5, $lines:1);
+ text-weight: light;
+ font-style: italic;
+ text-align: center;
+ color: darken($background-color,40);
+ @include at-breakpoint(60em 12) {
+ @include adjust-font-size-to($base-font-size * 1, $lines:2);
+ }
+ }
+ @include padding-leader(1);
+
+ @include leader(1);
+ h1#logo {
+ @include adjust-font-size-to($base-font-size * 3, $lines:3);
+ @include at-breakpoint(60em 12) {
+ @include adjust-font-size-to($base-font-size * 6, $lines:5);
+ }
+ }
+ h2 {
+ @include adjust-font-size-to($base-font-size * 1, $lines:1);
+ @include at-breakpoint(60em 12) {
+ @include adjust-font-size-to($base-font-size * 1.33, $lines:3);
+ }
+ }
+}
+
+section.content {
+ section {
+ background-color: rgba(255,255,255,0.7);
+ @include box-shadow(rgba(0,0,0,0.1) 0px 0px 12px);
+ @include padding-leader(1);
+ @include padding-trailer(1);
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ @include trailer;
+ @include at-breakpoint(60em 12) {
+ padding-left: 1.5em;
+ padding-right: 1.5em;
+ }
+ header {
+ @include trailer(1);
+ }
+ h1 {
+ a, a:visited {
+ color: darken($background-color,50);
+ }
+ }
+ h2.comments {
+ text-align: center;
+ @include leader(1);
+ @include trailer(1);
+ }
+ }
+}
+
+h2 {
+ font-weight: bold;
+ @include adjust-font-size-to($base-font-size * 1, $lines:1);
+ font-family: $title_face;
+ @include trailer;
+}
+
+.item {
+ @include span-columns(4,12);
+ &:nth-child(n+3) {
+ &:nth-child(3n) { @include omega; }
+ }
+ p {
+ font-family: $body_face;
+ .price {
+ color: darken($background-color,50);
+ @include adjust-font-size-to($base-font-size * 2, $lines:2);
+ }
+ i {
+ font-style: italic;
+ }
+ @include trailer();
+ }
+ img {
+ width: 100%;
+ filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
+ filter: gray; /* IE6-9 */
+ -webkit-filter: grayscale(1); /* Google Chrome & Webkit Nightlies */
+ }
+}
+
+section#items {
+ @include box-sizing(border-box);
+ @include clearfix();
+}
15 app/views/index.haml
@@ -0,0 +1,15 @@
+%section#items
+ - @items.each do |item|
+ .item
+ %h2
+ %a{:href=>item["Source"]}= item["Title"]
+
+ - unless item["Image"].blank?
+ %a{:href=>item["Source"]}
+ %img{:src=>item["Image"]}
+ %p
+ %i.location= item["Location"]
+ %br
+ %i.price
+ = item["Price"]
+ Groates
60 app/views/layouts/application.haml
@@ -0,0 +1,60 @@
+-# coding: utf-8
+!!! 5
+%html{:lang => "en", :xmlns => "http://www.w3.org/1999/xhtml"}
+ %head
+ %title
+ YeBay
+ %meta{:charset => "utf-8"}/
+ %link{:rel => "shortcut icon", :href=>"/icons/icon57x57.png"}/
+ %link{:rel => "apple-touch-icon-precomposed", :sizes=>"57x57", :href=>"/icons/icon57x57.png"}/
+ %link{:rel => "apple-touch-icon-precomposed", :sizes=>"72x72", :href=>"/icons/icon72x72.png"}/
+ %link{:rel => "apple-touch-icon-precomposed", :sizes=>"114x114", :href=>"/icons/icon114x114.png"}/
+
+ %meta{:name => "keywords", :value => "YeBay"}
+ %meta{:name => "description", :value => "Itemes of importe of which ye may purchase to thine heart's content"}
+ %meta{:name => "MSSmartTagsPreventParsing", :content => "true"}/
+ %meta{:"http-equiv" => "X-UA-Compatible", :content => "chrome=1"}/
+ %meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1;maximum-scale=1;minimum-scale=1;user-scalable=no;"}/
+ %meta{:name=>"apple-mobile-web-app-capable", :content=>"yes"}/
+ %meta{:name=>"apple-mobile-web-app-status-bar-style", :content=>"black"}/
+ %link{:href => "/stylesheets/application.css", :media => "screen, projection", :rel => "stylesheet", :type => "text/css"}/
+
+ = favicon_tag '/favicon.ico'
+ %script{:src=>"/assets/modernizr.js",:type=>"text/javascript"}
+
+ <script type="text/javascript" src="http://use.typekit.com/udt4qyx.js"></script>
+ <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
+
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
+ <![endif]-->
+ - if Padrino.env == :production
+ :javascript
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-32703744-1']);
+ _gaq.push(['_setDomainName', 'talesyouwin.com']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ %body{:id=>(request.path.split("/")[1] rescue "")}
+ .page
+ %header#header{:class=>("large" if @home)}
+ %h1#logo
+ %a{:title=>"YeBay", :href=>"/"} YeBay
+ %h2
+ Itemes of importe of which ye may purchase to thine heart's content.
+
+ %section.content
+ = yield
+ %footer
+ %p
+ A Culture Hack by
+ %a{:href=>"http://stef.io"} Stef
+
+ = yield_content :scripts
+ = "<!-- Rendered at #{Time.now} -->"
11 config.rb
@@ -0,0 +1,11 @@
+require "susy"
+
+http_path = "/"
+cache_dir = "tmp/sass-cache"
+css_dir = "public/stylesheets"
+sass_dir = "app/stylesheets"
+images_dir = "public/images"
+javascripts_dir = "public/javascripts"
+fonts_dir = "/fonts"
+# To enable relative paths to assets via compass helper functions. Uncomment:
+relative_assets = true
9 config.ru
@@ -0,0 +1,9 @@
+#!/usr/bin/env rackup
+# encoding: utf-8
+
+# This file can be used to start Padrino,
+# just execute it from the command line.
+
+require File.expand_path("../config/boot.rb", __FILE__)
+
+run Padrino.application
34 config/apps.rb
@@ -0,0 +1,34 @@
+##
+# This file mounts each app in the Padrino project to a specified sub-uri.
+# You can mount additional applications using any of these commands below:
+#
+# Padrino.mount("blog").to('/blog')
+# Padrino.mount("blog", :app_class => "BlogApp").to('/blog')
+# Padrino.mount("blog", :app_file => "path/to/blog/app.rb").to('/blog')
+#
+# You can also map apps to a specified host:
+#
+# Padrino.mount("Admin").host("admin.example.org")
+# Padrino.mount("WebSite").host(/.*\.?example.org/)
+# Padrino.mount("Foo").to("/foo").host("bar.example.org")
+#
+# Note 1: Mounted apps (by default) should be placed into the project root at '/app_name'.
+# Note 2: If you use the host matching remember to respect the order of the rules.
+#
+# By default, this file mounts the primary app which was generated with this project.
+# However, the mounted app can be modified as needed:
+#
+# Padrino.mount("AppName", :app_file => "path/to/file", :app_class => "BlogApp").to('/')
+#
+
+##
+# Setup global project settings for your apps. These settings are inherited by every subapp. You can
+# override these settings in the subapps as needed.
+#
+Padrino.configure_apps do
+ # enable :sessions
+ set :session_secret, 'a0f620d37f548809778733201e81ca3992e1537578c001bed93893672381424f'
+end
+
+# Mounts the core application for this project
+Padrino.mount("YeBay").to('/')
29 config/boot.rb
@@ -0,0 +1,29 @@
+# Defines our constants
+PADRINO_ENV = ENV["PADRINO_ENV"] ||= ENV["RACK_ENV"] ||= "development" unless defined?(PADRINO_ENV)
+PADRINO_ROOT = File.expand_path('../..', __FILE__) unless defined?(PADRINO_ROOT)
+
+# Load our dependencies
+require 'rubygems' unless defined?(Gem)
+require 'bundler/setup'
+Bundler.require(:default, PADRINO_ENV)
+
+##
+# Enable devel logging
+#
+# Padrino::Logger::Config[:development] = { :log_level => :devel, :stream => :stdout }
+# Padrino::Logger.log_static = true
+#
+
+##
+# Add your before load hooks here
+#
+Padrino.before_load do
+end
+
+##
+# Add your after load hooks here
+#
+Padrino.after_load do
+end
+
+Padrino.load!
0 public/favicon.ico
No changes.
315 public/stylesheets/application.css
@@ -0,0 +1,315 @@
+/* line 17, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font: inherit;
+ font-size: 100%;
+ vertical-align: baseline;
+}
+
+/* line 22, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+html {
+ line-height: 1;
+}
+
+/* line 24, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+ol, ul {
+ list-style: none;
+}
+
+/* line 26, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+/* line 28, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+caption, th, td {
+ text-align: left;
+ font-weight: normal;
+ vertical-align: middle;
+}
+
+/* line 30, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+q, blockquote {
+ quotes: none;
+}
+/* line 103, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+q:before, q:after, blockquote:before, blockquote:after {
+ content: "";
+ content: none;
+}
+
+/* line 32, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+a img {
+ border: none;
+}
+
+/* line 116, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/reset/_utilities.scss */
+article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
+ display: block;
+}
+
+/* line 61, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss */
+* html {
+ font-size: 112.5%;
+}
+
+/* line 64, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/_vertical_rhythm.scss */
+html {
+ font-size: 18px;
+ line-height: 1.333em;
+}
+
+/* line 34, ../../app/stylesheets/application.scss */
+body {
+ background-color: #eeddcc;
+ font-family: "lapture-display", serif;
+ color: #2a1e12;
+}
+/* line 37, ../../app/stylesheets/application.scss */
+body a {
+ color: #332222;
+}
+/* line 18, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
+body a:visited {
+ color: #704b4b;
+}
+/* line 21, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
+body a:focus {
+ color: #805555;
+}
+/* line 24, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
+body a:hover {
+ color: #523636;
+}
+/* line 27, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/typography/links/_link-colors.scss */
+body a:active {
+ color: #614141;
+}
+/* line 40, ../../app/stylesheets/application.scss */
+body h1 a {
+ text-decoration: none;
+}
+
+/* line 46, ../../app/stylesheets/application.scss */
+.page {
+ font-family: "lapture-display", serif;
+ *zoom: 1;
+ max-width: 59em;
+ _width: 59em;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 1em;
+ padding-right: 1em;
+}
+/* line 38, ../../../../Users/stef/.rvm/gems/ruby-1.9.3-head/gems/compass-0.12.2.rc.0/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss */
+.page:after {
+ content: "";
+ display: table;
+ clear: both;
+}
+/* line 50, ../../app/stylesheets/application.scss */
+.page header {
+ clear: both;
+}
+/* line 54, ../../app/stylesheets/application.scss */
+.page footer {
+ clear: both;
+ text-align: center;
+ float: none;
+ width: auto;
+ margin-right: auto;
+ #margin-left: auto;
+ display: block;
+ margin-top: 1.333em;
+ margin-bottom: 1.333em;
+}
+/* line 61, ../../app/stylesheets/application.scss */
+.page .twitter-follow-button {
+ position: relative;
+ top: 6px;
+}
+@media (min-width: 67.5em) {
+ /* line 67, ../../app/stylesheets/application.scss */
+ .page .content {
+ padding-left: 8.475%;
+ width: 83.051%;
+ float: left;
+ margin-right: 1.695%;
+ display: inline;
+ }
+}
+
+/* line 74, ../../app/stylesheets/application.scss */
+h1 {
+ font-size: 2em;
+ line-height: 1.333em;
+ font-family: "lapture-display", serif;
+}
+@media (min-width: 67.5em) {
+ /* line 74, ../../app/stylesheets/application.scss */
+ h1 {
+ font-size: 2em;
+ line-height: 1.333em;
+ }
+}
+
+/* line 83, ../../app/stylesheets/application.scss */
+header#header {
+ padding-top: 1.333em;
+ margin-top: 1.333em;
+}
+/* line 85, ../../app/stylesheets/application.scss */
+header#header h1#logo {
+ text-align: center;
+ font-family: "baroque-text", serif;
+ font-weight: light;
+}
+/* line 91, ../../app/stylesheets/application.scss */
+header#header h2 {
+ font-family: "lapture-display", serif;
+ font-weight: 200;
+ font-size: 0.5em;
+ line-height: 2.667em;
+ text-weight: light;
+ font-style: italic;
+ text-align: center;
+ color: #b3773c;
+}
+@media (min-width: 67.5em) {
+ /* line 91, ../../app/stylesheets/application.scss */
+ header#header h2 {
+ font-size: 1em;
+ line-height: 2.667em;
+ }
+}
+/* line 106, ../../app/stylesheets/application.scss */
+header#header h1#logo {
+ font-size: 3em;
+ line-height: 1.333em;
+}
+@media (min-width: 67.5em) {
+ /* line 106, ../../app/stylesheets/application.scss */
+ header#header h1#logo {
+ font-size: 6em;
+ line-height: 1.111em;
+ }
+}
+/* line 112, ../../app/stylesheets/application.scss */
+header#header h2 {
+ font-size: 1em;
+ line-height: 1.333em;
+}
+@media (min-width: 67.5em) {
+ /* line 112, ../../app/stylesheets/application.scss */
+ header#header h2 {
+ font-size: 1.33em;
+ line-height: 3.008em;
+ }
+}
+
+/* line 121, ../../app/stylesheets/application.scss */
+section.content section {
+ background-color: rgba(255, 255, 255, 0.7);
+ -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px;
+ -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px;
+ box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px;
+ padding-top: 1.333em;
+ padding-bottom: 1.333em;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ margin-bottom: 1.333em;
+}
+@media (min-width: 67.5em) {
+ /* line 121, ../../app/stylesheets/application.scss */
+ section.content section {
+ padding-left: 1.5em;
+ padding-right: 1.5em;
+ }
+}
+/* line 133, ../../app/stylesheets/application.scss */
+section.content section header {
+ margin-bottom: 1.333em;
+}
+/* line 137, ../../app/stylesheets/application.scss */
+section.content section h1 a, section.content section h1 a:visited {
+ color: #8c5e2f;
+}
+/* line 141, ../../app/stylesheets/application.scss */
+section.content section h2.comments {
+ text-align: center;
+ margin-top: 1.333em;
+ margin-bottom: 1.333em;
+}
+
+/* line 149, ../../app/stylesheets/application.scss */
+h2 {
+ font-weight: bold;
+ font-size: 1em;
+ line-height: 1.333em;
+ font-family: "lapture-display", serif;
+ margin-bottom: 1.333em;
+}
+
+/* line 156, ../../app/stylesheets/application.scss */
+.item {
+ width: 32.203%;
+ float: left;
+ margin-right: 1.695%;
+ display: inline;
+}
+/* line 159, ../../app/stylesheets/application.scss */
+.item:nth-child(n+3):nth-child(3n) {
+ float: right;
+ margin-right: 0;
+ #margin-left: -1em;
+ display: inline;
+}
+/* line 161, ../../app/stylesheets/application.scss */
+.item p {
+ font-family: "lapture-display", serif;
+ margin-bottom: 1.333em;
+}
+/* line 163, ../../app/stylesheets/application.scss */
+.item p .price {
+ color: #8c5e2f;
+ font-size: 2em;
+ line-height: 1.333em;
+}
+/* line 167, ../../app/stylesheets/application.scss */
+.item p i {
+ font-style: italic;
+}
+/* line 172, ../../app/stylesheets/application.scss */
+.item img {
+ width: 100%;
+ filter: url(filters.svg#grayscale);
+ /* Firefox 3.5+ */
+ filter: gray;
+ /* IE6-9 */
+ -webkit-filter: grayscale(1);
+ /* Google Chrome & Webkit Nightlies */
+}
+
+/* line 180, ../../app/stylesheets/application.scss */
+section#items {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ overflow: hidden;
+ *zoom: 1;
+}
2 unicorn.rb
@@ -0,0 +1,2 @@
+worker_processes 2 # amount of unicorn workers to spin up
+timeout 30 # restarts workers that hang for 30 seconds

0 comments on commit 5444913

Please sign in to comment.
Something went wrong with that request. Please try again.