Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Commit

Permalink
style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Brook committed Apr 25, 2008
1 parent 415e06d commit dd518c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions app/controllers/questions_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class QuestionsController < ApplicationController

def index
@title = "Questions"
@questions = Question.find(:all)
respond_to do |format|
format.html # index.rhtml
Expand Down
8 changes: 3 additions & 5 deletions app/views/layouts/application.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
%html
%head
%title Lords Q+A
- # %link{ :rel=>"stylesheet", :href=>"http://yui.yahooapis.com/2.5.1/build/reset-fonts-grids/reset-fonts-grids.css", :type=>"text/css" }
- # %link{ :rel=>"stylesheet", :type=>"text/css", :href=>"http://yui.yahooapis.com/2.5.1/build/assets/skins/sam/skin.css" }
%style{ :type=>"text/css"}
= "#custom-doc { width: 66%; min-width: 740px; font-size: 1.3em; margin-left: 5em}"
= ".asking_member, .answering { font-weight: bold }"
= stylesheet_link_tag "http://yui.yahooapis.com/2.5.1/build/reset-fonts-grids/reset-fonts-grids.css"
= stylesheet_link_tag "http://yui.yahooapis.com/2.5.1/build/assets/skins/sam/skin.css"
= stylesheet_link_tag "screen"
%body
#custom-doc.yui-t7
#hd
Expand Down
2 changes: 2 additions & 0 deletions public/stylesheets/screen.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#custom-doc { width: 66%; min-width: 740px; font-size: 1.3em; margin-left: 5em}
.asking_member, .answering { font-weight: bold }

0 comments on commit dd518c7

Please sign in to comment.