aboutsummaryrefslogtreecommitdiffstats
path: root/template.jinja2
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-28 14:45:37 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-28 14:45:37 +0000
commitbf935c9c2cd4555c4206cbb0c0c0f3b2c522bfa4 (patch)
tree609d3105f846eac164d0d424e67b735d487f2366 /template.jinja2
parentaligning images in the center, now checks whether models already exist before... (diff)
downloadmagni-bf935c9c2cd4555c4206cbb0c0c0f3b2c522bfa4.tar.gz
magni-bf935c9c2cd4555c4206cbb0c0c0f3b2c522bfa4.zip
updates for the template
Diffstat (limited to '')
-rw-r--r--template.jinja222
1 files changed, 21 insertions, 1 deletions
diff --git a/template.jinja2 b/template.jinja2
index 1ba2f40..0c6ede3 100644
--- a/template.jinja2
+++ b/template.jinja2
@@ -5,12 +5,32 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{% block title %}{% endblock %}</title>
+ <style>
+ img {
+ filter: sepia(1) brightness(.5) contrast(1) saturate(.6);
+ }
+
+ img:hover {
+ filter: none;
+ }
+
+ .container-chapter-reader {
+ background-color: #000000;
+ }
+
+ .center {
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
+ }
+ </style>
</head>
<body style="font-size:14px;">
<p align="center">
<div>
{% for image in image_list %}
- <img src={{image}} alt="" align="middle">
+ <img src={{image}} alt="" align="middle" class="center">
{% endfor %}
</div>
</p>