Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Forked from anonymous/Gemfile
Last active December 10, 2015 01:28
Show Gist options
  • Save tbuehlmann/4358367 to your computer and use it in GitHub Desktop.
Save tbuehlmann/4358367 to your computer and use it in GitHub Desktop.
require 'haml'
require 'sinatra/base'
class Application < Sinatra::Base
configure do
set :server, 'thin'
end
get '/' do
haml :index
end
end
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'application'
run Application
source 'http://rubygems.org/'
gem 'sinatra', '~> 1.3.0'
gem 'thin'
gem 'haml'
!!!
%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
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