Added basic styling for each component
This commit is contained in:
parent
ccf2d2361b
commit
8aab1d3655
3 changed files with 47 additions and 30 deletions
|
|
@ -92,16 +92,20 @@ body {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#location{
|
#venue-banner-disp{
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 500px;
|
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
-webkit-background-size:cover;
|
-webkit-background-size:cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
#location li{
|
#venue-banner-disp li{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pad{
|
||||||
|
padding-top: 35px;
|
||||||
|
padding-bottom: 35px;
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,8 @@
|
||||||
%a{ href: '#location' } Location
|
%a{ href: '#location' } Location
|
||||||
|
|
||||||
|
|
||||||
%div.container.text-center
|
%div#venue-banner-disp
|
||||||
|
%div.container.text-center
|
||||||
.div.row.col-md-12
|
.div.row.col-md-12
|
||||||
- unless @conference.venue.name.blank?
|
- unless @conference.venue.name.blank?
|
||||||
%h1
|
%h1
|
||||||
|
|
@ -31,6 +32,7 @@
|
||||||
var photo = "#{@conference.venue.photo}";
|
var photo = "#{@conference.venue.photo}";
|
||||||
if(photo)
|
if(photo)
|
||||||
{
|
{
|
||||||
$('#location').css('background-image', 'url('+photo+')');
|
$('#venue-banner-disp').css('min-height','500px');
|
||||||
|
$('#venue-banner-disp').css('background-image', 'url('+photo+')');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -3,20 +3,31 @@
|
||||||
|
|
||||||
- unless @conference.description.blank?
|
- unless @conference.description.blank?
|
||||||
%p= @conference.description
|
%p= @conference.description
|
||||||
%div#program
|
%section{ id: 'program' }
|
||||||
|
.pad
|
||||||
= render 'program'
|
= render 'program'
|
||||||
%div#registration
|
|
||||||
|
%section{ id: 'registration' }
|
||||||
|
.pad
|
||||||
= render 'registration'
|
= render 'registration'
|
||||||
|
|
||||||
-unless @conference.call_for_papers.blank?
|
-unless @conference.call_for_papers.blank?
|
||||||
%div#callforpapers
|
%section{ id:'callforpapers' }
|
||||||
|
.pad
|
||||||
= render 'call_for_papers'
|
= render 'call_for_papers'
|
||||||
-unless @conference.venue.blank?
|
-unless @conference.venue.blank?
|
||||||
%div#location
|
%section{ id: 'location' }
|
||||||
|
.pad
|
||||||
= render 'location'
|
= render 'location'
|
||||||
- if @conference.venue
|
- if @conference.venue
|
||||||
- unless @conference.venue.lodgings.empty?
|
- unless @conference.venue.lodgings.empty?
|
||||||
= render 'lodging'
|
= render 'lodging'
|
||||||
%div#sponsors
|
|
||||||
|
%section{ id: 'sponsors' }
|
||||||
|
.pad
|
||||||
= render 'sponsor'
|
= render 'sponsor'
|
||||||
%div#social-media
|
|
||||||
|
%section{ id: 'social-media' }
|
||||||
|
.pad
|
||||||
= render 'social_media'
|
= render 'social_media'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue