From ab47dfea500db0b1c02d1003595d3123cbcedcf5 Mon Sep 17 00:00:00 2001 From: Jacek Lebioda <jacek.lebioda@uni.lu> Date: Thu, 20 May 2021 13:00:18 +0200 Subject: [PATCH] feat: revamped event info box --- _sass/elixir/_eventinfo.scss | 29 +++++++++++++++++++++++++++-- elixir-theme.gemspec | 2 +- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/_sass/elixir/_eventinfo.scss b/_sass/elixir/_eventinfo.scss index c712c77..d40c266 100644 --- a/_sass/elixir/_eventinfo.scss +++ b/_sass/elixir/_eventinfo.scss @@ -5,8 +5,9 @@ border: solid 2px rgb(2, 52, 82); border-radius: 5px; padding: 10px; - margin-bottom: 100px; - margin-left: 15px; + margin-bottom: 60px; + margin-left: 50px; + text-align: center; span { display: block; @@ -25,7 +26,31 @@ &:after { content: ')'; } + font-size: smaller; + text-align: center; + } + + .event-info-no-participants { + text-align: center; } + .event-info-register-link { + a { + font-size: x-large; + color: $COLOR_LINK_ELIXIR; + text-align: center; + } + } + + .event-info-image { + max-width: 220px; + margin-top: 40px; + border: solid 1px #f5f5f5; + } } + +.event-small-image { + max-width: 100px; + border: solid 1px #f5f5f5; +} \ No newline at end of file diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec index deb3b05..978b5c9 100644 --- a/elixir-theme.gemspec +++ b/elixir-theme.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "jekyll-elixir-theme" - spec.version = "0.9.27" + spec.version = "0.9.28" spec.authors = ["jacek.lebioda"] spec.email = ["jacek.lebioda@uni.lu"] -- GitLab