From 915480087182d06e94af4b23e5ace1bcab22b5aa Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 25 Nov 2020 13:15:49 -0500 Subject: [PATCH] Make plaintext project summary transparent --- hubsrht/templates/project-summary.html | 4 +++- scss/main.scss | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/hubsrht/templates/project-summary.html b/hubsrht/templates/project-summary.html index af8395e..21285b4 100644 --- a/hubsrht/templates/project-summary.html +++ b/hubsrht/templates/project-summary.html @@ -149,7 +149,9 @@ {% else %} {% if not summary_error %} - {{summary}} +
+ {{summary}} +
{% else %}
An internal error occured fetching the README for this project. diff --git a/scss/main.scss b/scss/main.scss index 82d56a0..6730e2d 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -154,3 +154,7 @@ h5 .tags { font-weight: normal; font-size: 0.9rem; } + +.readme > pre { + background: transparent; +}