forked from 3wordchant/capsul-flask
Custom theme fixes
This commit is contained in:
parent
40aa3bccd3
commit
6f3ecf991d
@ -159,9 +159,8 @@ app.logger.info(f"is_running_server: {is_running_server}")
|
|||||||
|
|
||||||
if app.config['THEME'] != "":
|
if app.config['THEME'] != "":
|
||||||
my_loader = jinja2.ChoiceLoader([
|
my_loader = jinja2.ChoiceLoader([
|
||||||
app.jinja_loader,
|
|
||||||
jinja2.FileSystemLoader(
|
jinja2.FileSystemLoader(
|
||||||
[os.path.join('capsulflask', 'themes', app.config['THEME']),
|
[os.path.join('capsulflask', 'theme', app.config['THEME']),
|
||||||
'capsulflask/templates']),
|
'capsulflask/templates']),
|
||||||
])
|
])
|
||||||
app.jinja_loader = my_loader
|
app.jinja_loader = my_loader
|
||||||
|
@ -1,30 +1,35 @@
|
|||||||
html {
|
html {
|
||||||
color: #241e1e;
|
color: #241e1e !important;
|
||||||
background-color: #bdc7b8;
|
background-color: #bdc7b8 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color:#00517a;
|
color:#00517a !important;
|
||||||
text-shadow: 1px 1px 0px #eee;
|
text-shadow: 1px 1px 0px #eee !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover, a:active, a:visited {
|
a:hover, a:active, a:visited {
|
||||||
color: #323417;
|
color: #323417 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-links a {
|
.nav-links a {
|
||||||
text-shadow: 2px 2px 0px #eee;
|
text-shadow: 2px 2px 0px #eee !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5 {
|
||||||
|
text-shadow: 2px 2px 0px #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
border: 1px dashed #241e1e;
|
border: 1px dashed #241e1e !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
input, select, textarea {
|
input, select, textarea {
|
||||||
color: #241e1e;
|
color: #241e1e !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
border-right: 1px solid #eee;
|
border-right: 1px solid #eee !important;
|
||||||
text-align: left;
|
text-align: left !important;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user