Changed Links Layout

This commit is contained in:
Leo Maroni 2018-06-23 18:17:49 +02:00
parent a650e81b7e
commit 275bfb653e
2 changed files with 19 additions and 5 deletions

View File

@ -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;"

View File

@ -60,12 +60,26 @@ main {
}
}
#links {
.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%;
}
}
}
}
}
#kontakt {