Program and Cfp theme
This commit is contained in:
parent
2c4101ab45
commit
4ca7217c70
3 changed files with 29 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
body {
|
body {
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2;
|
||||||
font-family: 'Lato';
|
font-family: 'Lato';
|
||||||
font-weight: 300;
|
font-weight: 350;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
color: #555;
|
color: #555;
|
||||||
|
|
||||||
|
|
@ -89,3 +89,23 @@ a:after {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#program{
|
||||||
|
.tracks:hover{
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#callforpapers{
|
||||||
|
.timer-box{
|
||||||
|
width: 130px;
|
||||||
|
margin: 35px 24px 0 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
border:4px solid #989797;
|
||||||
|
}
|
||||||
|
#cfp-date{
|
||||||
|
font-size: 40px;
|
||||||
|
font-family: 'Coustard', serif;
|
||||||
|
color: #ff6633;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,24 +11,25 @@
|
||||||
%p
|
%p
|
||||||
= @conference.call_for_papers.description
|
= @conference.call_for_papers.description
|
||||||
- if !@conference.call_for_papers.start_date.blank? && !@conference.call_for_papers.end_date.blank?
|
- if !@conference.call_for_papers.start_date.blank? && !@conference.call_for_papers.end_date.blank?
|
||||||
%p Proposals will be accepted between
|
%p.lead Proposals will be accepted between
|
||||||
#{ date_string(@conference.call_for_papers.start_date, @conference.call_for_papers.end_date) }
|
#cfp-date
|
||||||
|
= date_string(@conference.call_for_papers.start_date, @conference.call_for_papers.end_date)
|
||||||
- if @conference.cfp_open?
|
- if @conference.cfp_open?
|
||||||
- if @conference.call_for_papers.end_date.to_time < Time.now
|
- if @conference.call_for_papers.end_date.to_time < Time.now
|
||||||
%p Today is the last day. Hurry Up!
|
%p Today is the last day. Hurry Up!
|
||||||
- else
|
- else
|
||||||
.row
|
.row
|
||||||
.col-md-8.col-md-offset-3
|
.col-md-8.col-md-offset-3
|
||||||
%div.col-md-2
|
%div.col-md-2.timer-box
|
||||||
%h2#days
|
%h2#days
|
||||||
%p Days
|
%p Days
|
||||||
%div.col-md-2
|
%div.col-md-2.timer-box
|
||||||
%h2#hours
|
%h2#hours
|
||||||
%p Hours
|
%p Hours
|
||||||
%div.col-md-2
|
%div.col-md-2.timer-box
|
||||||
%h2#minutes
|
%h2#minutes
|
||||||
%p Minutes
|
%p Minutes
|
||||||
%div.col-md-2
|
%div.col-md-2.timer-box
|
||||||
%h2#seconds
|
%h2#seconds
|
||||||
%p Seconds
|
%p Seconds
|
||||||
.row
|
.row
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
%div.col-md-12
|
%div.col-md-12
|
||||||
%h2 Tracks
|
%h2 Tracks
|
||||||
- @conference.tracks.each do |t|
|
- @conference.tracks.each do |t|
|
||||||
%div{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
|
%div.tracks{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
|
||||||
%h4
|
%h4
|
||||||
= t.name
|
= t.name
|
||||||
%p
|
%p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue