Skip to content

Commit

Permalink
Fix smaller design issues caused by minimization
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzschmid committed Nov 17, 2020
1 parent 65e677b commit c5aaedc
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
jekyll-theme-conference (2.5.3)
jekyll-theme-conference (2.5.4)
jekyll (~> 4.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion _data/lang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ de:
now: jetzt
location:
title: Örtlichkeit
directions: Anfahrt
directions: Anreise
talks: Vorträge in diesem Raum
no_talks: keine Vorträge geplant
focus_conf: Karte auf den Konferenz-Ort zentrieren
Expand Down
3 changes: 3 additions & 0 deletions _includes/js/conference-live.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@
document.getElementById('stream-info-time').dataset.time = talkNow.start;
updateLive();

streamModal.find('#stream-info-color').removeClass(function (index, className) {
return (className.match(/(^|\s)border-soft-\S+/g) || []).join(' ');
});
streamModal.find('#stream-info-color').addClass('border-soft-' + talkNow.color);

streamModal.find('#stream-info-talk').text(talkNow.name).attr('href', talkNow.href);
Expand Down
4 changes: 2 additions & 2 deletions _includes/partials/show_room.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if room.hide or site.conference.location.hide %}
<span class="badge badge-light font-weight-normal text-left"><i class="far fa-square"></i> {{ room.name }}</span><!--
<span class="badge badge-light font-weight-normal text-left"><i class="far fa-square"></i>&nbsp;{{ room.name }}</span><!--
{% else %}
<a href="{{ room.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal"><i class="far fa-square"></i> {{ room.name }}</a><!--
<a href="{{ room.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal"><i class="far fa-square"></i>&nbsp;{{ room.name }}</a><!--
{% endif %}-->
2 changes: 1 addition & 1 deletion _includes/partials/show_talk_duration.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<span class="badge badge-light font-weight-normal text-left">
<i class="fas fa-stopwatch"></i> {{ talk_duration_min }}min
<i class="fas fa-stopwatch"></i>&nbsp;{{ talk_duration_min }}min
</span>
2 changes: 1 addition & 1 deletion _includes/partials/show_talk_time.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="badge badge-light font-weight-normal text-left">
<i class="far fa-clock"></i> {{ talk_start_hour }}:{% if talk_start_min == 0 %}0{%endif %}{{ talk_start_min }}
<i class="far fa-clock"></i>&nbsp;{{ talk_start_hour }}:{% if talk_start_min == 0 %}0{%endif %}{{ talk_start_min }}
</a>
6 changes: 2 additions & 4 deletions _layouts/speaker.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ <h1 class="font-weight-light mb-3">
{% if link_icon %}
<li class="mb-1 ml-2">
{{ link_tag }}
<i class="fas fa-{{ link_icon }} pr-1"></i>
{{ link.name }}
<i class="fas fa-{{ link_icon }} pr-1"></i>&nbsp;{{ link.name }}
</a>
</li>
{% endif %}
Expand Down Expand Up @@ -100,8 +99,7 @@ <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].speaker.talks | de

<p class="d-print-none mt-5">
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
<i class="fas fa-users"></i>
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
<i class="fas fa-users"></i>&nbsp;{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
</a>
</p>

Expand Down
9 changes: 3 additions & 6 deletions _layouts/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ <h1 class="font-weight-light">{{ talk.name }}</h1>
{% if link_icon %}
<li class="mb-1 ml-2">
{{ link_tag }}
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i>
{{ link.name }}
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i>&nbsp;{{ link.name }}
</a>
</li>
{% endif %}
Expand Down Expand Up @@ -110,13 +109,11 @@ <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information |

<p class="d-print-none mt-5">
<a href="{{ page.collection | prepend: '/' | prepend: site.baseurl }}" class="btn btn-light">
<i class="fas fa-bullhorn"></i>
{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
<i class="fas fa-bullhorn"></i>&nbsp;{{ site.data.lang[site.conference.lang].overview | default: "Overview" }}
</a>

<a href="{{ site.conference.program.url | prepend: site.baseurl }}" class="btn btn-light">
<i class="far fa-calendar-alt"></i>
{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
<i class="far fa-calendar-alt"></i>&nbsp;{{ site.data.lang[site.conference.lang].program.title | default: "Program" }}
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-conference.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-theme-conference"
spec.version = "2.5.3"
spec.version = "2.5.4"
spec.authors = ["Lorenz Schmid"]
spec.email = ["lorenzschmid@users.noreply.github.com"]

Expand Down

0 comments on commit c5aaedc

Please sign in to comment.