From e9b16ef71fc25f12e26da79392fa91ae30aabe5d Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sun, 25 Aug 2019 15:25:24 -0700 Subject: Layout: Add themes --- youtube/templates/base.html | 1 + youtube/templates/channel.html | 3 +-- youtube/templates/home.html | 2 +- youtube/templates/login.html | 4 ++-- youtube/templates/watch.html | 12 ++++++------ 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'youtube/templates') diff --git a/youtube/templates/base.html b/youtube/templates/base.html index aaa0351..9127efa 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -4,6 +4,7 @@ {{ page_title }} + diff --git a/youtube/templates/channel.html b/youtube/templates/channel.html index 069e33b..ed04988 100644 --- a/youtube/templates/channel.html +++ b/youtube/templates/channel.html @@ -31,7 +31,7 @@ grid-auto-flow: column; justify-content:start; - background-color: #aaaaaa; + background-color: var(--interface-color); padding: 3px; padding-left: 6px; } @@ -44,7 +44,6 @@ padding-top: 8px; padding-bottom: 8px; padding-left: 6px; - background-color: #bababa; margin-bottom: 10px; } #number-of-results{ diff --git a/youtube/templates/home.html b/youtube/templates/home.html index c7f7666..9890f5e 100644 --- a/youtube/templates/home.html +++ b/youtube/templates/home.html @@ -2,7 +2,7 @@ {% extends "base.html" %} {% block style %} ul { - background-color: #dadada; + background-color: var(--interface-color); padding: 20px; width: 400px; margin: auto; diff --git a/youtube/templates/login.html b/youtube/templates/login.html index 13d37ca..384f1ac 100644 --- a/youtube/templates/login.html +++ b/youtube/templates/login.html @@ -7,7 +7,7 @@ margin: auto; } main form{ - background-color: #dadada; + background-color: var(--interface-color); padding: 10px; margin-top:20px; display:grid; @@ -24,7 +24,7 @@ margin-top:20px; } #tor-note{ - background-color: #dadada; + background-color: var(--interface-color); padding: 10px; margin-top: 40px; } diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 745acdb..14e953b 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -4,7 +4,7 @@ {% import "comments.html" as comments %} {% block style %} details > summary{ - background-color: #dadada; + background-color: var(--interface-color); border-style: outset; border-width: 2px; font-weight: bold; @@ -22,7 +22,7 @@ width: {{ theater_video_target_width }}px; max-height: {{ video_height }}px; margin-bottom: 10px; - background-color: #bcbcbc; + background-color: var(--background-color); } .related-videos-outer{ grid-row: 2 /span 3; @@ -62,7 +62,7 @@ min-width: 0; } .video-info > .is-unlisted{ - background-color: #dadada; + background-color: var(--interface-color); justify-self:start; padding-left:2px; padding-right:2px; @@ -99,7 +99,7 @@ grid-column: 2; } .video-info > .description{ - background-color:#dadada; + background-color:var(--interface-color); margin-top:8px; white-space: pre-wrap; min-width: 0; @@ -111,7 +111,7 @@ .music-list{ grid-row:8; grid-column: 1 / span 2; - background-color: #dadada; + background-color: var(--interface-color); } .music-list table,th,td{ border: 1px solid; @@ -165,7 +165,7 @@ } .download-dropdown-content{ - background-color: #dadada; + background-color: var(--interface-color); padding: 10px; list-style: none; margin: 0px; -- cgit v1.2.3