From 77b71b6fff0ea08c6f792a1b1a968e2f5c11cca5 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Fri, 13 Oct 2017 13:30:56 +0200 Subject: [PATCH] Fix several scaling issues --- content/about/contact.erb | 105 ++++++++---------- .../assets/stylesheets/includes/about.scss | 9 ++ 2 files changed, 58 insertions(+), 56 deletions(-) diff --git a/content/about/contact.erb b/content/about/contact.erb index da10ad0..2ceb27a 100644 --- a/content/about/contact.erb +++ b/content/about/contact.erb @@ -1,91 +1,84 @@ --- narrow_page: true +icon_size: 2x +contact_links: + - icon: facebook + link: https://www.facebook.com/zeus.wpi/ + description: FACEBOOK + action: 'Like us' + - icon: envelope + link: mailto:bestuur@zeus.ugent + description: EMAIL + action: bestuur@zeus.ugent + - icon: twitter + link: https://twitter.com/zeuswpi + description: TWITTER + action: 'Follow us' + - icon: slack + link: https://zeuswpi.slack.com/ + description: SLACK + action: Message us --- -<% @icon_size = '2x' %> <%= render '/partials/_about_sub_navbar.*', selected: 'contact' %> -

Contact

+

Contact

-
+
+ + <%# TODO: Put in a loop for all entries %> +

Zeus WPI is located in the basement of the S9 building on Campus Sterre, by it's members often named “de kelder”.

- <%# TODO: Put in a loop for all entries %> - - - +
\ No newline at end of file diff --git a/content/assets/stylesheets/includes/about.scss b/content/assets/stylesheets/includes/about.scss index 19b601a..c1bcd47 100644 --- a/content/assets/stylesheets/includes/about.scss +++ b/content/assets/stylesheets/includes/about.scss @@ -1,6 +1,15 @@ #contact-icons { + display: flex; + justify-content: center; + align-items: center; + + > .column { + max-width: 70vw; + } + .contact-circle-option { display: block; + max-width: 70vw; .contact-circle-wrapper { display: block;