Browse Source

Add files via upload

Extravi 2 years ago
parent
commit
3e9d1822ac

+ 1 - 1
donate.php

@@ -8,7 +8,7 @@
     </head>
     <body>
         <div class="misc-container">
-              <h1>Donate</h1>
+              <h1>Donate to the developer</h1>
                <h3>Bitcoin (BTC):</h3>
                <p>bc1qs43kh6tvhch02dtsp7x7hcrwj8fwe4rzy7lp0h</p>
                <img src="static/images/btc.png" alt="btc qr code" width="150" height="150"/>

+ 1 - 1
engines/brave/video.php

@@ -53,7 +53,7 @@
                 echo "<a href=\"$url\">";
                 echo "$base_url";
                 echo "<h2>$title</h2>";
-                echo "<img src=\"image_proxy.php?url=$thumbnail\">";
+                echo "<img class=\"video-img\" src=\"image_proxy.php?url=$thumbnail\">";
                 echo "<br>";
                 echo "<span>$date - $views</span>";
                 echo "</a>";

+ 0 - 1
search.php

@@ -9,7 +9,6 @@
     <body>
         <form class="sub-search-container" method="get" autocomplete="off">
             <h1 class="logomobile"><a class="noDecoration" href="./">Libre<span class="X">X</span></a></h1>
-            <a href="./"><img class="logo" src="static/images/librex.png" alt="librex logo"></a>
             <input type="text" name="q"
                 <?php
                     $query_encoded = urlencode($query);

+ 3 - 1
settings.php

@@ -61,11 +61,13 @@
                 <select name="theme">
                 <?php
                     $themes = "<option value=\"dark\">Dark</option>
+                    <option value=\"amoled\">AMOLED</option>
                     <option value=\"light\">Light</option>
                     <option value=\"auto\">Auto</option>
                     <option value=\"nord\">Nord</option>
                     <option value=\"night_owl\">Night Owl</option>
-                    <option value=\"discord\">Discord</option>";
+                    <option value=\"discord\">Discord</option>
+                    <option value=\"github_night\">GitHub Night</option>";
 
                     if (isset($_COOKIE["theme"]))
                     {

+ 24 - 0
static/css/amoled.css

@@ -0,0 +1,24 @@
+:root {
+    --main-bg: #000000;
+    --main-fg: #F1F3F4;
+
+    --result-link-fg: #8AB4F8;
+    --result-fg: #BABCBE;
+
+    --button-bg: #141414;
+
+    --special-result-border: opacity: 0;
+    --special-text-background: #080808;
+    --special-text-color: #F1F3F4;
+
+    --search-container-text-color: #F1F3F4;
+    --search-container-background-color: #141414;
+    --search-container-background-border: #202124;
+
+    --search-form-background-color: #080808;
+
+    --border: #202124;
+
+    --footer-fg: #BABCBE;
+    --footer-bg: #080808;
+}

+ 3 - 0
static/css/dark.css

@@ -13,8 +13,11 @@
 
     --search-container-text-color: #e8eaed;
     --search-container-background-color: #333333;
+    --search-container-background-border: #5f6368;
 
     --search-form-background-color: #161616;
+    
+    --border: #303134;
 
     --footer-fg: #999da2;
     --footer-bg: #161616;

+ 11 - 1
static/css/discord.css

@@ -7,7 +7,17 @@
 
     --button-bg: #36393f;
 
-    --special-result-border: #dcddde;
+    --special-result-border: opacity: 0;
+    --special-text-background: #36393f;
+    --special-text-color: #dcddde;
+
+    --search-container-text-color: #dcddde;
+    --search-container-background-color:  #282b30;
+    --search-container-background-border: opacity: 0;
+
+    --search-form-background-color: #36393f;
+
+    --border: opacity: 0;
 
     --footer-fg: #dcddde;
     --footer-bg: #36393f;

+ 25 - 0
static/css/github_night.css

@@ -0,0 +1,25 @@
+:root {
+    --main-bg: #0d1117;
+    --main-fg: #f0f6fc;
+
+    --result-link-fg: #58a6ff;
+    --result-fg: #8b949e;
+
+    --button-bg: #1f242b;
+
+    --special-result-border: opacity: 0;
+    --special-text-background: #161b22;
+    --special-text-color: #f0f6fc;
+
+    --search-container-text-color: #f0f6fc;
+    --search-container-background-color: #1f242b;
+    --search-container-background-border: #303842;
+
+    --search-form-background-color: #161b22;
+    
+    --border: #303842;
+
+    --footer-fg: #8b949e;
+    --footer-bg: #161b22;
+    /* GitHub's Border Colours: #444c56 */
+}

+ 14 - 4
static/css/light.css

@@ -1,14 +1,24 @@
 :root {
-    --main-bg: #fff;
+    --main-bg: #f2f4f7;
     --main-fg: #202124;
 
     --result-link-fg: #1a0dab;
     --result-fg: #70757a;
 
-    --button-bg: #f2f2f2;
+    --button-bg: #fff;
 
-    --special-result-border: #bdc1c6;
+    --special-result-border: opacity: 0;
+    --special-text-background: #fff;
+    --special-text-color: #202124;
 
-    --footer-fg: #70757a;
+    --search-container-text-color: #202124;
+    --search-container-background-color: #fff;
+    --search-container-background-border: #dadce0;
+
+    --search-form-background-color: #f9fafd;
+    
+    --border: #dadce0;
+
+    --footer-fg: #202124;
     --footer-bg: #f2f2f2;
 }

+ 12 - 2
static/css/night_owl.css

@@ -7,8 +7,18 @@
 
     --button-bg: #122d42;
 
-    --special-result-border: #d6deeb;
+    --special-result-border: opacity: 0;
+    --special-text-background: #122d42;
+    --special-text-color: #d6deeb;
+
+    --search-container-text-color: #d6deeb;
+    --search-container-background-color:  #535470;
+    --search-container-background-border: opacity: 0;
+
+    --search-form-background-color: #122d42;
+
+    --border: opacity: 0;
 
     --footer-fg: #d6deeb;
-    --footer-bg: #011627;
+    --footer-bg: #535470;
 }

+ 11 - 1
static/css/nord.css

@@ -7,7 +7,17 @@
 
     --button-bg: #4C566A;
 
-    --special-result-border: #D8DEE9;
+    --special-result-border: opacity: 0;
+    --special-text-background: #4C566A;
+    --special-text-color: #E5E9F0;
+
+    --search-container-text-color: #E5E9F0;
+    --search-container-background-color:  #2E3440;
+    --search-container-background-border: opacity: 0;
+
+    --search-form-background-color: #4C566A;
+    
+    --border: opacity: 0;
 
     --footer-fg: #D8DEE9;
     --footer-bg: #2E3440;