From 275bfb653ea27f1798f359c3257a09355ab17710 Mon Sep 17 00:00:00 2001 From: Leo Maroni Date: Sat, 23 Jun 2018 18:17:49 +0200 Subject: [PATCH] Changed Links Layout --- Dockerfile | 2 +- _scss/_main-section.scss | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d9d29b..d0adb57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,6 @@ RUN apt-get update -y && apt-get install -y git ruby ruby-dev rubygems build-ess RUN gem install bundle RUN git init && git remote add origin https://github.com/Freifunk-Rhein-Sieg/freifunk-rhein-sieg.net.git RUN touch /etc/cron.d/update && touch /srv/update.sh && chmod 775 /srv/update.sh && chmod 644 /etc/cron.d/update && touch /var/log/cron.log -RUN echo "cd /project && git pull origin master && /usr/local/bin/bundle exec jekyll build && rm -rf /usr/share/nginx/html/* && cp -r _site/* /usr/share/nginx/html" > /srv/update.sh +RUN echo "cd /project && git pull origin master && /usr/local/bin/jekyll build && rm -rf /usr/share/nginx/html/* && cp -r _site/* /usr/share/nginx/html" > /srv/update.sh RUN echo "*/30 * * * * root /srv/update.sh >> /var/log/cron.log 2>&1" > /etc/cron.d/update CMD git fetch && git pull origin master && bundle install && bundle exec jekyll build && rm -rf /usr/share/nginx/html/* && cp -r _site/* /usr/share/nginx/html && echo "ready" && /etc/init.d/cron start && nginx -g "daemon off;" diff --git a/_scss/_main-section.scss b/_scss/_main-section.scss index 8c2bc84..bac3674 100644 --- a/_scss/_main-section.scss +++ b/_scss/_main-section.scss @@ -60,10 +60,24 @@ main { } } #links { - .card { - .card-content { - a { - color: $black !important; + .row { + display: flex; + .col { + flex: 1; + .card { + height: 100%; + .card-content { + padding: 24px 24px 40px 24px; + a { + color: $black !important; + } + } + .card-action { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + } } } }