From 9bdd729cacd1c3c72e3305f00ba621fba1007041 Mon Sep 17 00:00:00 2001
From: idk <idk@laptop.idk.i2p>
Date: Wed, 21 Oct 2020 16:37:42 -0400
Subject: [PATCH] WIP: Add permissive license for background image on homepage

---
 LICENSE.txt                            | 3 +++
 i2p2www/static/styles/duck/default.css | 8 +-------
 i2p2www/static/styles/duck/desktop.css | 2 +-
 3 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/LICENSE.txt b/LICENSE.txt
index 62a70df7f..ed9ae63ff 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -53,3 +53,6 @@ See https://creativecommons.org/licenses/by-sa/4.0/
      - All other flag icons: public domain, courtesy mjames@gmail.com http://www.famfamfam.com/
    OS icons (i2p2www/static/images/download/):
      - Courtesy dakirby309 http://dakirby309.deviantart.com/art/Metro-UI-Icon-Set-725-Icons-280724102
+   Homepage Background Image:
+     - Used with permission of pexels.com https://www.pexels.com/license/
+     - original source: https://www.pexels.com/photo/time-lapse-photo-of-stars-on-night-924824/
diff --git a/i2p2www/static/styles/duck/default.css b/i2p2www/static/styles/duck/default.css
index 79500450c..58dbe5272 100644
--- a/i2p2www/static/styles/duck/default.css
+++ b/i2p2www/static/styles/duck/default.css
@@ -16,7 +16,6 @@
 
 body {
     font-family: Droid Sans, Helvetica, sans-serif;
-/*    background-color : #9795b214;*/
     background-color: #FFFAF0;
     width: 100%;
 }
@@ -31,7 +30,7 @@ a {
 }
 
 a:hover {
-    color: #ED8936 /*var(--i2pmossy);*/
+    color: #ED8936;
 }
 
 dl p.first {
@@ -64,7 +63,6 @@ div#topbar .title, div#content > .title {
     font-family: "URW Gothic L", "Century Gothic", sans-serif;
     font-size: 2.1875rem;
     font-weight: bold;
-/*    text-shadow: 1px 1px 1px rgba(0,0,0,.2);*/
     color: #333333;
     line-height:41px;
     vertical-align:middle;
@@ -107,19 +105,15 @@ div#content .main {
     background: url('../../images/dots.png') 0 10% no-repeat;
     background: url('/_static/images/pexels-jakub-novacek.jpg');
     background-size: auto;
-/*    background: linear-gradient(-45deg, #265ea7 1%,#9dadb5 26%, #222187 56%,#323638 100%);
-    background: -webkit-linear-gradient(-45deg, #265ea7 1%,#9dadb5 26%, #222187 56%,#323638 100%);*/
     background-size: 100% auto;
     width: auto;
     padding: 4em 10% 4em 10%;
     position: relative;
     margin: 0 auto;
-/*    text-shadow: 1px 1px 1px rgba(255,255,255,.5);*/
     line-height: 1.5em;
     border: 2px solid #4456B7;
     border-left: none;
     border-right: none;
-    /*box-shadow: 0px 2px 8px rgba(0,0,0,.2);*/
 }
 
 div#content .main h1 {
diff --git a/i2p2www/static/styles/duck/desktop.css b/i2p2www/static/styles/duck/desktop.css
index b2727e536..7fb8bdad9 100644
--- a/i2p2www/static/styles/duck/desktop.css
+++ b/i2p2www/static/styles/duck/desktop.css
@@ -407,7 +407,7 @@ div##global-footer .aside.fifth {
 }
 
 #footermenu div.footeritem {
-    color: #FFFAF0; /*var(--i2pcharcoal);*/
+    color: #FFFAF0;
     display: inline-block;
     font-family: "URW Gothic L", "Century Gothic", sans-serif;
     font-size: 1.25em;
-- 
GitLab