File: 0002-src-source-_static-custom.css-add-fallback-to-dfsg-f.patch

package info (click to toggle)
pocket-reform-handbook 2025-03-16%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 51,056 kB
  • sloc: sh: 107; ruby: 79; makefile: 18; python: 13
file content (23 lines) | stat: -rw-r--r-- 815 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Debian Reform Team <team+reform@tracker.debian.org>
Date: Sun, 16 Mar 2025 15:12:58 +0100
Subject: src/source/_static/custom.css: add fallback to dfsg-free logo

---
 src/source/_static/custom.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/source/_static/custom.css b/src/source/_static/custom.css
index da56c41..6ddce39 100644
--- a/src/source/_static/custom.css
+++ b/src/source/_static/custom.css
@@ -128,7 +128,9 @@ section > img {
 
 h1.logo > a {
     border: 0;
-    background-image: url(logo.svg);
+    /* the official MNT Research logo in logo.svg is licensed
+     * under CC-BY-NC-4.0. List a DFSG-free fallback here */
+    background-image: url(logo.svg), url(logo_dfsg.svg);
     display: block;
     background-size: contain;
     background-repeat: no-repeat;