improve project page look ever so slightly
This commit is contained in:
parent
f33a3845d2
commit
2d78c03fe7
3 changed files with 20 additions and 3 deletions
|
@ -33,8 +33,12 @@
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logo-wrapper {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
height: 10vw;
|
|
||||||
width: 10vw;
|
width: 10vw;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
|
@ -42,12 +46,14 @@
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo-initial {
|
.logo-initial {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 6vw;
|
font-size: 5rem;
|
||||||
font-family: $family-sans-serif;
|
font-family: $family-sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div id="<%= project.identifier.without_ext.split('/')[-1] %>" class="container project content">
|
<div id="<%= project.identifier.without_ext.split('/')[-1] %>" class="container project content">
|
||||||
<article class="columns is-mobile">
|
<article class="columns is-mobile">
|
||||||
<div class="column is-one-quarter">
|
<div class="column is-gapless is-narrow logo-wrapper">
|
||||||
<% if project[:logo_image] %>
|
<% if project[:logo_image] %>
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<%= asset :img, project[:logo_image] %>
|
<%= asset :img, project[:logo_image] %>
|
||||||
|
|
11
package-lock.json
generated
Normal file
11
package-lock.json
generated
Normal 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="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue