Landing: fix styling of gallery

This commit is contained in:
2018-09-18 12:54:32 +02:00
parent 8ff8975dbb
commit 17240f5793
2 changed files with 3 additions and 9 deletions

View File

@@ -139,14 +139,6 @@ $node-latest-gallery-thumbnail-size: 200px
.gallery .gallery
max-width: 1024px max-width: 1024px
margin: 60px auto 0 auto
text-align: center
padding-bottom: 40px
p
color: $almost-white
padding: 0 40px
.thumbnail .thumbnail
float: left float: left
@@ -155,6 +147,7 @@ $node-latest-gallery-thumbnail-size: 200px
padding-bottom: 23% padding-bottom: 23%
margin: 0.83% margin: 0.83%
overflow: hidden overflow: hidden
&:hover &:hover
box-shadow: 2px 2px 50px 0 rgba(0,0,0,0.3) box-shadow: 2px 2px 50px 0 rgba(0,0,0,0.3)

View File

@@ -85,7 +85,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
| {% block body %} | {% block body %}
+jumbotron(null, null, "{{ project.picture_header.thumbnail('h', api=api) }}") +jumbotron(null, null, "{{ project.picture_header.thumbnail('h', api=api) }}")
.container-fluid .container-fluid.landing
.row .row
.col-md-8.mx-auto .col-md-8.mx-auto
h2.pt-5 {{ project.name }} h2.pt-5 {{ project.name }}
@@ -130,6 +130,7 @@ link(href="{{ url_for('static_cloud', filename='assets/css/project-main.css') }}
.row .row
.col-md-10.mx-auto .col-md-10.mx-auto
h2.pb-3.text-center Latest Updates h2.pb-3.text-center Latest Updates
| {% if activity_stream %} | {% if activity_stream %}