diff options
-rw-r--r-- | app/assets/stylesheets/tournaments.css.scss | 11 | ||||
-rw-r--r-- | app/views/tournaments/index.html.erb | 1 |
2 files changed, 11 insertions, 1 deletions
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 %> <div id="tournament-list"> + <%# Each tournament has a div for its listing %> <% @tournaments.each do |t| %> <div class="row tournament-listing"> <div class="col-md-2 ">Gravatar of Host Goes Here</div> |