* Pretty up default pages
[sinatra.git] / site / index.html
blobace7600f03359f4d6fd51a1d34f29fc5982b925e
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html>
5 <head>
6 <meta http-equiv="Content-type" content="text/html; charset=utf-8">
7 <title>Sinatra : Classy web-development dressed in a DSL</title>
8 </head>
10 <body>
11 <style type="text/css" media="screen">
12 body {
13 background-color: #fff;
14 color: #333;
15 font-size: 0.75em;
18 #container {
19 width: 600px;
20 margin: 0 auto;
21 font-size: 1.5em;
24 #container pre {
25 font-size: .8em;
26 background-color: #F5F6C9;
27 width: 100%;
30 #container note {
31 font-size: .7em;
34 #banner {
35 width: 600px;
36 text-align: center;
39 pre {
40 padding: 10px;
43 .clear {
44 clear: both;
46 </style>
48 <div id="container">
49 <div id="banner">
50 <img src='logo.png' />
51 <h2><em>Classy web-development dressed in a DSL</em></h2>
52 </div>
53 <div class="clear"></div>
54 <div>
55 <div>
56 <p>
57 <strong>Install!</strong><br/>
58 <pre>gem install sinatra -y</pre>
59 </p>
60 <p>
61 <strong>Write!</strong> (any filename you wish)<br/>
62 <pre>
63 # lyrics.rb
64 require 'rubygems'
65 require 'sinatra'</pre>
66 <note>yup.. that's it for a sec</note><br />
67 </p>
68 <p>
69 <strong>Run!</strong><br />
70 <pre>ruby lyrics.rb</pre>
71 </p>
72 <p>
73 <strong>Bask!</strong><br />
74 <pre>http://localhost:4567</pre>
75 </p>
76 <p>
77 <strong>Example!</strong>
78 <pre>
79 get '/' do
80 "Now that's a fine looking dame!"
81 end</pre>
82 </p>
83 </div>
84 </div>
85 </div>
86 </body>
87 </html>