From 93b69d2dd69f8fc9dc12bb0ec710891f9d660645 Mon Sep 17 00:00:00 2001 From: Tomer Kimia Date: Sun, 30 Mar 2014 19:32:23 -0400 Subject: some more work on the styles --- app/assets/stylesheets/tournaments.css.scss | 11 ++++++++++- app/views/tournaments/index.html.erb | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/stylesheets/tournaments.css.scss b/app/assets/stylesheets/tournaments.css.scss index 8de3d81..8857d38 100644 --- a/app/assets/stylesheets/tournaments.css.scss +++ b/app/assets/stylesheets/tournaments.css.scss @@ -41,6 +41,8 @@ span.default-explanation { } } + +/* Style of a tournament listing div */ div.tournament-listing { margin-top: 10px; border-radius: 5px; @@ -49,7 +51,7 @@ div.tournament-listing { min-height: 100px; padding: 4px; - + /* AKA the listing title */ h3 { margin-top: 0px; color: #F0AD4E; @@ -60,8 +62,15 @@ div.tournament-listing { color: #D09D3E; } + /* host of the tournament */ .host { font-weight: bold; } + .col-md-8 { + padding: 0; + a { + padding: 5px 0 0 0; + } + } } \ No newline at end of file diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb index 804d086..b7c9118 100644 --- a/app/views/tournaments/index.html.erb +++ b/app/views/tournaments/index.html.erb @@ -3,6 +3,7 @@ <% if @tournaments.length > 0 %>
+ <%# Each tournament has a div for its listing %> <% @tournaments.each do |t| %>
Gravatar of Host Goes Here
-- cgit v1.2.3-2-g168b