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("#",""))
if self.dark:
page = page.replace('202124', 'ddd').replace('1967D2', '3b85ea')
page = page.replace('<footer>', '<footer class="dark">')
return page

View File

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