Add new librarian modifications
This commit is contained in:
parent
d597fffd6b
commit
b8dc028d15
|
@ -1,62 +1,139 @@
|
|||
From 1adf1574c82c6bf5fd0b21cfdb3d1e08f14b0367 Mon Sep 17 00:00:00 2001
|
||||
From: Arya Kiran <aryak@vern.cc>
|
||||
Date: Sat, 4 Jun 2022 16:28:14 +0530
|
||||
Subject: [PATCH] Add-Doom-One-ColourScheme
|
||||
From 1b8e6bebdf22a5b1bbf9babb35fb04df80332f26 Mon Sep 17 00:00:00 2001
|
||||
Date: Mon, 4 Jul 2022 12:22:44 -0400
|
||||
Subject: [PATCH] test
|
||||
|
||||
---
|
||||
static/css/base.css | 24 +++++-------------------
|
||||
static/css/video.css | 6 ++++--
|
||||
static/img/librarian.svg | 2 +-
|
||||
views/partials/head.hbs | 3 ---
|
||||
4 files changed, 10 insertions(+), 25 deletions(-)
|
||||
config.example.yml | 56 --------------------------------------
|
||||
static/css/themes/dark.css | 22 +++++++--------
|
||||
static/css/video.css | 4 +--
|
||||
views/partials/head.hbs | 5 ----
|
||||
4 files changed, 13 insertions(+), 74 deletions(-)
|
||||
delete mode 100644 config.example.yml
|
||||
|
||||
diff --git a/static/css/base.css b/static/css/base.css
|
||||
index 08e00d0..c2eb198 100644
|
||||
--- a/static/css/base.css
|
||||
+++ b/static/css/base.css
|
||||
@@ -1,7 +1,7 @@
|
||||
diff --git a/config.example.yml b/config.example.yml
|
||||
deleted file mode 100644
|
||||
index 50c43e1..0000000
|
||||
--- a/config.example.yml
|
||||
+++ /dev/null
|
||||
@@ -1,56 +0,0 @@
|
||||
-DOMAIN: 'https://domain.tld'
|
||||
-PORT: '3000'
|
||||
-# Optional: Set address to bind to, example: 127.0.0.1
|
||||
-ADDRESS: ''
|
||||
-# Running a custom API server is not recommended and is not suitable for a public instance
|
||||
-API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||
-# Use a custom video streaming endpoint (if using custom API server or proxying videos)
|
||||
-VIDEO_STREAMING_URL: ''
|
||||
-STREAMING_API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||
-USE_HTTP3: false
|
||||
-FIBER_PREFORK: false
|
||||
-# Block access to claims in case of DMCA
|
||||
-BLOCKED_CLAIMS:
|
||||
- - claimId
|
||||
-# AUTH_TOKEN and HMAC_KEY is automatically generated
|
||||
-AUTH_TOKEN: ''
|
||||
-HMAC_KEY: ''
|
||||
-# Create IMAGE_CACHE_DIR before enabling image caching
|
||||
-IMAGE_CACHE: false
|
||||
-IMAGE_CACHE_DIR: '/var/cache/librarian'
|
||||
-IMAGE_CACHE_CLEANUP_INTERVAL: 24h
|
||||
-# Live streams are proxied through the instance (unless LIVE_STREAMING_URL is set)
|
||||
-# and may cause increased bandwidth usage.
|
||||
-ENABLE_LIVE_STREAM: false
|
||||
-# Using an external proxy (such as https://codeberg.org/librarian/stream-proxy)
|
||||
-# for livestreams is recommended. Due to limitations with Go's HTTP library,
|
||||
-# resolution with the built-in proxy is limited to 480p.
|
||||
-LIVE_STREAMING_URL: ''
|
||||
-# Rewrite links to other frontends
|
||||
-FRONTEND:
|
||||
- youtube: 'https://yt.domain.tld'
|
||||
- twitter: 'https://twitter.domain.tld'
|
||||
- imgur: 'https://imgur.domain.tld'
|
||||
- instagram: 'https://insta.domain.tld'
|
||||
- tiktok: 'https://tiktok.domain.tld'
|
||||
- reddit: 'https://reddit.domain.tld'
|
||||
-# Instance privacy: This is required to get your instance listed. For more info,
|
||||
-# See: https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
-INSTANCE_PRIVACY:
|
||||
-# This is the default if you are using NGINX and have not disabled data collection.
|
||||
-# Read https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
- DATA_NOT_COLLECTED: false
|
||||
- DATA_COLLECTED_IP: true
|
||||
- DATA_COLLECTED_URL: true
|
||||
- DATA_COLLECTED_DEVICE: true
|
||||
- DATA_COLLECTED_DIAGNOSTIC_ONLY: false
|
||||
- # The country your instance is located. Leave blank if hosting on darknet.
|
||||
- INSTANCE_COUNTRY: "United States"
|
||||
- # Put the name of your hosting provider. If hosting from home, use the name of your ISP. Leave blank if hosting on darknet.
|
||||
- INSTANCE_PROVIDER: "Amazon Web Services"
|
||||
- # Cloudflare use is discouraged. You can set this to false if it is not proxied (gray cloud icon)
|
||||
- INSTANCE_CLOUDFLARE: false
|
||||
- # Optional: Explain your usage of data (if collected) and how it is stored.
|
||||
- MESSAGE: ""
|
||||
- # Link to your privacy policy, leave blank if you don't have one.
|
||||
- PRIVACY_POLICY: ""
|
||||
\ No newline at end of file
|
||||
diff --git a/static/css/themes/dark.css b/static/css/themes/dark.css
|
||||
index f9755b6..d81058e 100644
|
||||
--- a/static/css/themes/dark.css
|
||||
+++ b/static/css/themes/dark.css
|
||||
@@ -1,12 +1,12 @@
|
||||
:root {
|
||||
- --text: #000;
|
||||
- --bg-100: #f1f1f1;
|
||||
- --bg-200: #e1e1e1;
|
||||
- --text: #fff;
|
||||
- --bg-100: #414141;
|
||||
- --bg-200: #515151;
|
||||
+ --text: #bbc2cf;
|
||||
+ --bg-100: #282c34;
|
||||
+ --bg-200: #686b70;
|
||||
--accent: #1e88e5;
|
||||
--plyr-color-main: var(--accent);
|
||||
--warning: #ffe9b4;
|
||||
@@ -10,6 +10,8 @@
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
|
||||
- background-color: #000;
|
||||
- color: #fff;
|
||||
+ background-color: #282c34;
|
||||
+ color: #bbc2cf;
|
||||
}
|
||||
|
||||
.center {
|
||||
@@ -267,19 +269,3 @@ footer {
|
||||
}
|
||||
.logo {
|
||||
@@ -14,11 +14,11 @@ body {
|
||||
}
|
||||
|
||||
-@media (prefers-color-scheme: dark) {
|
||||
- :root {
|
||||
- --text: #fff;
|
||||
- --bg-100: #414141;
|
||||
- --bg-200: #515151;
|
||||
- }
|
||||
-
|
||||
- body {
|
||||
- background-color: #000;
|
||||
- color: #fff;
|
||||
- }
|
||||
-
|
||||
- .logo {
|
||||
- filter: invert(1) hue-rotate(180deg);
|
||||
- }
|
||||
.comments__expandBtn__label {
|
||||
- color: #fff
|
||||
+ color: #bbc2cf
|
||||
}
|
||||
.spinner:after {
|
||||
- border: 3px solid #fff;
|
||||
- border-color: #fff transparent #fff transparent;
|
||||
+ border: 3px solid #bbc2cf;
|
||||
+ border-color: #bbc2cf transparent #bbc2cf transparent;
|
||||
}
|
||||
|
||||
.badge {
|
||||
@@ -26,17 +26,17 @@ body {
|
||||
}
|
||||
|
||||
.relVid__link {
|
||||
- color: #ffffff;
|
||||
+ color: #bbc2cf;
|
||||
}
|
||||
.streamOffline {
|
||||
background-color: --var(--purple);
|
||||
}
|
||||
|
||||
select {
|
||||
- color: #fff;
|
||||
+ color: #bbc2cf;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #616161;
|
||||
color: white;
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
diff --git a/static/css/video.css b/static/css/video.css
|
||||
index e7b5ae2..fcaf6e9 100644
|
||||
index a694db7..1db0103 100644
|
||||
--- a/static/css/video.css
|
||||
+++ b/static/css/video.css
|
||||
@@ -69,7 +69,7 @@ li br {
|
||||
|
@ -68,42 +145,27 @@ index e7b5ae2..fcaf6e9 100644
|
|||
}
|
||||
|
||||
.relVid__thumbnailWrapper {
|
||||
@@ -92,6 +92,8 @@ li br {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
justify-content: space-between;
|
||||
+ color: #bbc2cf;
|
||||
+
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 812px) {
|
||||
@@ -130,4 +132,4 @@ li br {
|
||||
.streamOffline {
|
||||
background-color: --var(--purple);
|
||||
@@ -135,4 +135,4 @@ li br {
|
||||
margin-top: -1.75em;
|
||||
height: 1.5em;
|
||||
}
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
||||
diff --git a/static/img/librarian.svg b/static/img/librarian.svg
|
||||
index d940146..b3ecc8c 100644
|
||||
--- a/static/img/librarian.svg
|
||||
+++ b/static/img/librarian.svg
|
||||
@@ -1 +1 @@
|
||||
-<svg height="512" viewBox="0 0 135.46667 135.46667" width="512" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(3.3696776 0 0 3.3696776 -163.81612 -195.26225)"><path d="m55.573347 78.900191 11.544091 5.622949 15.770016-10.092791-14.95511-7.569843-16.037576 9.968815v4.890691l15.289318 7.516191 16.099823-10.12888" fill="none" stroke="#000007" stroke-width="1.05833"/><ellipse cx="83.832458" cy="78.30751" fill="#1e88e5" fill-opacity=".997229" rx="2.23316" ry="2.379934"/></g></svg>
|
||||
\ No newline at end of file
|
||||
+<svg height="512" viewBox="0 0 135.46667 135.46667" width="512" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(3.3696776 0 0 3.3696776 -163.81612 -195.26225)"><path d="m55.573347 78.900191 11.544091 5.622949 15.770016-10.092791-14.95511-7.569843-16.037576 9.968815v4.890691l15.289318 7.516191 16.099823-10.12888" fill="none" stroke="#ffffff" stroke-width="1.05833"/><ellipse cx="83.832458" cy="78.30751" fill="#1e88e5" fill-opacity=".997229" rx="2.23316" ry="2.379934"/></g></svg>
|
||||
diff --git a/views/partials/head.hbs b/views/partials/head.hbs
|
||||
index 125deec..973e3a2 100644
|
||||
index 7ec6edd..fe328f0 100644
|
||||
--- a/views/partials/head.hbs
|
||||
+++ b/views/partials/head.hbs
|
||||
@@ -14,6 +14,3 @@
|
||||
|
||||
@@ -15,8 +15,3 @@
|
||||
<link rel="stylesheet" href="/static/css/base.css"/>
|
||||
<link rel="stylesheet" href="/static/fonts/Material-Icons-Outlined.css" />
|
||||
<link rel="stylesheet" media="(prefers-color-scheme: dark)" href="/static/css/themes/dark.css"/>
|
||||
-{{#if theme}}
|
||||
-{{#noteq theme "system"}}
|
||||
-<link rel="stylesheet" href="/static/css/themes/{{theme}}.css"/>
|
||||
-{{/noteq}}
|
||||
-{{/if}}
|
||||
\ No newline at end of file
|
||||
--
|
||||
2.36.1
|
||||
2.30.2
|
||||
|
||||
|
|
Loading…
Reference in New Issue