improve project page look ever so slightly

This commit is contained in:
Lorin Werthen 2017-06-04 16:29:22 +02:00
parent f33a3845d2
commit 2d78c03fe7
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
3 changed files with 20 additions and 3 deletions

View file

@ -33,8 +33,12 @@
margin-top: 30px;
}
.logo-wrapper {
padding-top: 0;
padding-bottom: 0;
}
.logo {
height: 10vw;
width: 10vw;
min-width: 100px;
min-height: 100px;
@ -42,12 +46,14 @@
margin-right: auto;
display: flex;
align-items: center;
height: 100%;
}
.logo-initial {
margin: auto;
color: white;
font-size: 6vw;
font-size: 5rem;
font-family: $family-sans-serif;
}

View file

@ -1,6 +1,6 @@
<div id="<%= project.identifier.without_ext.split('/')[-1] %>" class="container project content">
<article class="columns is-mobile">
<div class="column is-one-quarter">
<div class="column is-gapless is-narrow logo-wrapper">
<% if project[:logo_image] %>
<div class="logo">
<%= asset :img, project[:logo_image] %>

11
package-lock.json generated Normal file
View file

@ -0,0 +1,11 @@
{
"name": "zeus.ugent.be",
"version": "0.0.1",
"lockfileVersion": 1,
"dependencies": {
"bulma": {
"version": "https://registry.npmjs.org/bulma/-/bulma-0.4.2.tgz",
"integrity": "sha1-O+jIMs9mWL/EIey0H23FqKDHwOU="
}
}
}