diff --git a/content/assets/stylesheets/includes/events.scss b/content/assets/stylesheets/includes/events.scss index f49e964..b517c6a 100644 --- a/content/assets/stylesheets/includes/events.scss +++ b/content/assets/stylesheets/includes/events.scss @@ -1,3 +1,63 @@ -.subevent { - margin-left: 20px; +.box.event-preview { + border-radius: 0px; + display: flex; + align-items: center; + box-shadow : none; + margin-bottom: 0px; + + border-top: 1px solid lighten(gray, 15%); + + .image-holder { + border-radius: 50%; + padding: 10px; + border: 1px solid lighten(gray, 30%); + width: 15%; + height: 15%; + } + + .image { + border-radius: 50%; + vertical-align: middle; + border: 1px solid gray; + } + + .info { + margin: 1.5em; + box-shadow : none; + + .title { + font-size: 1.7em; + font-weight: 500; + margin-bottom: 0; + a { + color: darken(gray, 20%); + } + a:hover { + border-bottom: none; + color: #FF7F00; + } + } + + .location { + font-size: .9em; + a { + color: lighten(gray, 10%); + } + } + + .description { + font-size: 1.7em; + font-weight: 200; + color: #FF7F00; + } + + .time { + font-size: 1.6em; + font-weight: 400; + } + + .subevent { + margin-left: 20px; + } + } } diff --git a/content/events.erb b/content/events.erb index 107c531..b91e179 100644 --- a/content/events.erb +++ b/content/events.erb @@ -9,17 +9,39 @@ title: Events <% all_events.each do |event| %> -
- - <%= event[:title] %> - - <% sub_events(event).each do |sub_event| %> -
- - <%= sub_event[:title] %> - +
+
+ +
+ +
+ + + +
+ <%= event[:description] %> +
+ +
+ <%= event[:time] %> +
+ + <% sub_events(event).each do |sub_event| %> + + <% end %> +
- <% end %> -
<% end %>
diff --git a/content/events/15-16/awk.md b/content/events/15-16/awk.md index 3a49a7a..825debd 100644 --- a/content/events/15-16/awk.md +++ b/content/events/15-16/awk.md @@ -4,6 +4,7 @@ banner: https://zeus.ugent.be/wp-content/uploads/2016/02/awkles-768x1007.jpg created_at: 01-02-2016 time: 23-02-2016 location: Auditorium A1, Campus Sterre, Gebouw S9 +description: Dit is een description van het awk event! --- Op **dinsdag 23 februari 18:00** (na de les Scriptingtalen) in **Auditorium A1** organiseren we een **AWK-les** gegeven door **professor Peter Dawyndt**.