From c3c2f692865577ecdec63cc995524d2c12e34393 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 27 Mar 2019 18:05:32 +0100 Subject: [PATCH] docs: jumbo image --- resources/docs/index.md | 1 - resources/mkdocs.yml | 1 + resources/theme/base.html | 4 ++++ resources/theme/styles.css | 13 ++++++++++++- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/resources/docs/index.md b/resources/docs/index.md index 2ee8686f..e69de29b 100644 --- a/resources/docs/index.md +++ b/resources/docs/index.md @@ -1 +0,0 @@ -![](/img/ardour-osc.png) diff --git a/resources/mkdocs.yml b/resources/mkdocs.yml index 1ce9b210..d2348b90 100644 --- a/resources/mkdocs.yml +++ b/resources/mkdocs.yml @@ -15,6 +15,7 @@ theme: extra: + screenshot: img/ardour-osc.png links: - title: Download diff --git a/resources/theme/base.html b/resources/theme/base.html index 17a703b4..997a51aa 100644 --- a/resources/theme/base.html +++ b/resources/theme/base.html @@ -105,6 +105,10 @@
+ {% if page.is_homepage %} + + {% endif %} + {% block content %} {{ page.content }} {% endblock %} diff --git a/resources/theme/styles.css b/resources/theme/styles.css index cbc30cb1..56d68a59 100644 --- a/resources/theme/styles.css +++ b/resources/theme/styles.css @@ -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;