more retheming, including footers

This commit is contained in:
Alexandar Mechev 2020-10-17 14:57:06 +02:00
parent 0e6c020975
commit beb76300ca
No known key found for this signature in database
GPG Key ID: 1B754EA636091772
2 changed files with 18 additions and 12 deletions

View File

@ -75,6 +75,7 @@ class Filter:
page = page.replace('fff', theme_colors['background-color'].replace("#","")) page = page.replace('fff', theme_colors['background-color'].replace("#",""))
if self.dark: if self.dark:
page = page.replace('202124', 'ddd').replace('1967D2', '3b85ea') page = page.replace('202124', 'ddd').replace('1967D2', '3b85ea')
page = page.replace('<footer>', '<footer class="dark">')
return page return page

View File

@ -1,5 +1,5 @@
html { html {
background-color: #D8DEE9b3 !important; background-color: #D8DEE9 !important;
} }
html.dark { html.dark {
@ -12,20 +12,21 @@ body.dark {
color: #ECEFF4 !important; color: #ECEFF4 !important;
} }
div { body.dark>a:link div{
color: #3B4252
}
div.dark {
color: #ECEFF4 !important; color: #ECEFF4 !important;
} }
div {
color: #3B4252;
}
a:visited h3 div { a:visited h3 div {
color: #A3BE8C !important; color: #A3BE8C !important;
} }
a:link h3 div { a:link h3 div {
color: #4C566A !important; color: #4C566A
} }
a:link div { a:link div {
@ -36,6 +37,10 @@ div span {
color: #3B4252; color: #3B4252;
} }
div span.dark {
color: #f9fafb;
}
input { input {
background-color: #f9fafb !important; background-color: #f9fafb !important;
color: #3B4252 !important; color: #3B4252 !important;
@ -47,18 +52,18 @@ input {
} }
footer { footer {
background-color: #ECEFF4 !important; background-color: #D8DEE9 ;
color: #3B4252; color: #3B4252;
} }
footer.dark { footer.dark {
background-color: #ECEFF4 !important; background-color: #292E39 !important;
color: #3B4252; color: #ECEFF4;
} }
.reskin { .reskin {
background-color: #292E39; background-color: #f9fafb;
color: #ECEFF4; color: #3B4252;
} }
.reskin-dark { .reskin-dark {