add app icon to /authors, overall improve the page's design
This commit is contained in:
parent
b9936fb6c9
commit
ceabef96ba
|
@ -1,5 +1,11 @@
|
||||||
|
.mobile-only {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
@media (max-width:667px) {
|
@media (max-width:667px) {
|
||||||
.mobile-hide {
|
.mobile-hide {
|
||||||
display: none
|
display: none
|
||||||
}
|
}
|
||||||
|
.mobile-only {
|
||||||
|
display: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,23 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
|
<link rel="stylesheet" href="/mobile-hide.css" />
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<div style="max-width:95vw;width:fit-content;margin:0 auto;text-align:center">
|
<div style="max-width:95vw;width:fit-content;margin:30px auto">
|
||||||
<h1>Authors</h1>
|
<p style="text-align:center" class="mobile-only">
|
||||||
|
<img src="/android-chrome-192x192.png" width="256" height="256" />
|
||||||
|
</p>
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td style="vertical-align: middle" class="mobile-hide">
|
||||||
|
<img src="/android-chrome-192x192.png" width="192" height="192" />
|
||||||
|
</td>
|
||||||
|
<td style="vertical-align: middle;padding-left: 12px;">
|
||||||
|
<h1 style="margin-left:0">Authors</h1>
|
||||||
<p>
|
<p>
|
||||||
{%- if conf.brand.instance_name != "blek! File" -%}
|
{%- if conf.brand.instance_name != "blek! File" -%}
|
||||||
{{ conf.brand.instance_name }} is powered by
|
{{ conf.brand.instance_name }} is powered by
|
||||||
|
@ -31,6 +45,10 @@
|
||||||
<a style='display:block' class="btn btn-fill" href='/'>
|
<a style='display:block' class="btn btn-fill" href='/'>
|
||||||
Go back
|
Go back
|
||||||
</a>
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue