From 03a155c17bff22070dbe202c77eebf3738c33caa Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 21 Dec 2018 16:06:52 +0000 Subject: [PATCH] Improve package page style further --- app/scss/main.scss | 6 ++++++ app/templates/packages/view.html | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app/scss/main.scss b/app/scss/main.scss index d5836c0d..4f9e1ef3 100644 --- a/app/scss/main.scss +++ b/app/scss/main.scss @@ -11,3 +11,9 @@ .nav-link > img { max-height: 1em; } + +.jumbotron { + background-size: cover; + background-repeat: no-repeat; + background-position: center; +} diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index bedbe82a..f2496281 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -1,3 +1,5 @@ +{% set query=package.name %} + {% extends "base.html" %} {% block title %} @@ -80,7 +82,7 @@ {% endif %} {% endif %} -
+

{{ package.title }} by {{ package.author.display_name }}

@@ -91,7 +93,7 @@
-
+
{% if package.getDownloadRelease() %} Download @@ -119,7 +121,7 @@
-