-
-
Save tbuehlmann/4358367 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'haml' | |
require 'sinatra/base' | |
class Application < Sinatra::Base | |
configure do | |
set :server, 'thin' | |
end | |
get '/' do | |
haml :index | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$LOAD_PATH.unshift(File.dirname(__FILE__)) | |
require 'application' | |
run Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org/' | |
gem 'sinatra', '~> 1.3.0' | |
gem 'thin' | |
gem 'haml' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h1 Index |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
%html | |
%head | |
%link{:rel => 'stylesheet', :type => 'text/css', :href => 'styles.css', :media => 'screen'} | |
%title Φαρμακείο Metropolis | |
%body | |
#wrapper | |
#header | |
#content | |
= yield | |
#footer | |
%p Panagiotis Atmatzidis - All rights (c) reserved 2012 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
background-color:#2A4A31; | |
/* -webkit-background-size: cover; */ | |
/* -moz-background-size: cover; */ | |
/* -o-background-size: cover; */ | |
/* background-size: cover; */ | |
} | |
#wrapper{ | |
width:1200px; | |
margin:0 auto; | |
} | |
#content{ | |
text-align:center; | |
margin:auto; | |
} | |
h1 {color:#FFFFFF;} | |
h1 {font-size:100px;} | |
h2 {color:#FFFFFF;} | |
h2 {font-size:60px;} | |
p {color:#FFFFFF;} | |
p {font-size:20px;} | |
p {line-height:200%;} | |
#footer{ | |
font-size:10px; | |
text-align:center; | |
clear:both; | |
/* background-color:#ade; */ | |
font-family:sans-serif; | |
color:#333; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment