docs: jumbo image

This commit is contained in:
jean-emmanuel 2019-03-27 18:05:32 +01:00
parent c640a4b26c
commit 1fb03797cc
4 changed files with 17 additions and 2 deletions

View file

@ -1 +0,0 @@
![](/img/ardour-osc.png)

View file

@ -15,6 +15,7 @@ theme:
extra:
screenshot: img/ardour-osc.png
links:
-
title: Download

View file

@ -105,6 +105,10 @@
<div class="col-right">
{% if page.is_homepage %}
<img src="{{ config.extra.screenshot|url }}" id="jumbotron-img"/>
{% endif %}
{% block content %}
{{ page.content }}
{% endblock %}

View file

@ -104,7 +104,7 @@ body {
#jumbotron {
text-align: center;
position: relative;
padding: 8em 0 4em;
padding: 8em 0 6em;
}
#jumbotron .bg {
position: absolute;
@ -116,6 +116,17 @@ body {
}
#jumbotron-img {
/* width: 50%; */
display: block;
margin: -4em auto 1em;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5);
z-index: 1;
position: relative;
image-rendering: crisp-edges;
-webkit-image-rendering: crisp-edges;
}
#jumbotron + #main {
padding-top: 2em;
padding-bottom: 0;