Cleanup and replace custom styles with bootstrap classes.

This commit is contained in:
2018-09-17 17:08:46 +02:00
parent e40ba69872
commit 57f5836829
6 changed files with 45 additions and 50 deletions

View File

@@ -1,4 +1,6 @@
| {% extends 'projects/home_layout.html' %}
| {% set title = 'images' %}
| {% set subtab = 'images' %}
| {% set learn_more_btn_url = '/blog/introducing-image-sharing' %}
| {% block currenttab %}

View File

@@ -2,7 +2,7 @@
include ../mixins/components
| {% block body %}
section.node-preview.project
section.node-preview
| {% if header_video_file %}
.embed-responsive.embed-responsive-16by9
video#videoplayer.video-js.vjs-fluid.embed-responsive-item(
@@ -19,8 +19,7 @@ section.node-preview.project
To view this video please enable JavaScript, and consider upgrading to a web browser that
<a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
| {% elif project.picture_header %}
a(href="{{ url_for( 'projects.view', project_url=project.url) }}")
img.header(src="{{ project.picture_header.thumbnail('l', api=api) }}")
img.node-preview-thumbnail(src="{{ project.picture_header.thumbnail('l', api=api) }}")
| {% endif %}
section.px-4