Tweak CSS, fix loding order

This commit is contained in:
Michael Ball 2020-01-07 23:58:25 -08:00
parent 722bd8c008
commit 350371f79d
5 changed files with 18 additions and 9 deletions

View file

@ -9,12 +9,12 @@
}
section:nth-child(even) {
background: none repeat scroll 0 0 #e0e0e0;
color: #555;
background: none repeat scroll 0 0 #eee;
color: #333;
}
section:nth-child(odd) {
background: none repeat scroll 0 0 #ffffff;
color: #7b7b7b;
color: #333;
.thumbnail {
background: none repeat scroll 0 0 #e0e0e0;
}
@ -93,6 +93,14 @@
}
}
#tickets {
a {
&:hover, &:focus {
text-decoration: none;
}
}
}
#sponsors {
.img-sponsor {
max-height: 100px;

View file

@ -14,7 +14,7 @@ body {
}
#content {
padding-bottom: 45px;
padding-bottom: 60px;
}
#footer {

View file

@ -54,7 +54,7 @@ class ConferencesController < ApplicationController
@tickets = @conference.tickets.order('price_cents')
end
if splashpage.include_lodgings
@lodgings = @conference.lodgings.order('name')
@lodgings = @conference.lodgings.order('id')
end
if splashpage.include_sponsors
@sponsorship_levels = @conference.sponsorship_levels.eager_load(

View file

@ -16,7 +16,7 @@
We recommend the following accommodations for your visit.
.row.row-centered
- lodgings.order(created_at: :asc).each do |lodging|
- lodgings.each do |lodging|
.col-md-6.col-sm-4.col-centered.col-top
.thumbnail
- if lodging.picture?

View file

@ -7,9 +7,10 @@
.container
.row
.col-md-12.text-center
%h2
Support
= conference.title
%h3 Sign Up for Campus Housing
-# %h2
-# Support
-# = conference.title
.row.row-centered
- tickets.each do |ticket|
.col-md-3.col-sm-3.col-centered.col-top