浏览代码

Added stylesheet

tags/last-sinatra-version
Adrian Short 16 年前
父节点
当前提交
d8ae2aed66
共有 3 个文件被更改,包括 7 次插入0 次删除
  1. +1
    -0
      app.rb
  2. +2
    -0
      config.ru
  3. +4
    -0
      public/style.css

+ 1
- 0
app.rb 查看文件

@@ -27,6 +27,7 @@ __END__
%html
%head
%title Find My Candidates
%link{ :rel => 'stylesheet', :type => 'text/css', :href => 'style.css' }
%body
#main
%h1 Find My Candidates


+ 2
- 0
config.ru 查看文件

@@ -1,2 +1,4 @@
# For deploying on Heroku

require 'app'
run Sinatra::Application

+ 4
- 0
public/style.css 查看文件

@@ -0,0 +1,4 @@
body
{
background-color: beige;
}

正在加载...
取消
保存