More theming hooks
This commit is contained in:
parent
16c12c9873
commit
cb185a4500
6 changed files with 8 additions and 5 deletions
1
umap/static/umap/theme.css
Normal file
1
umap/static/umap/theme.css
Normal file
|
@ -0,0 +1 @@
|
|||
/* Override this file for theming uMap easily */
|
|
@ -334,7 +334,7 @@ footer {
|
|||
line-height: 140px;
|
||||
color: #8F96A3;
|
||||
}
|
||||
footer a {
|
||||
footer a.branding {
|
||||
background-image: url("./img/logo_filigree.png");
|
||||
background-position: left center;
|
||||
background-repeat: no-repeat;
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<!-- Included CSS Files (Compressed) -->
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.default.css">
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/umap.css">
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}umap/theme.css">
|
||||
{% endcompress css %}
|
||||
<!-- IE Fix for HTML5 Tags -->
|
||||
<!--[if lt IE 9]>
|
||||
|
|
|
@ -74,7 +74,5 @@
|
|||
|
||||
{% block footer %}
|
||||
{{ block.super }}
|
||||
<footer>
|
||||
<a href="/">umap</a> an OpenStreetMap project (version {{ UMAP_VERSION }})
|
||||
</footer>
|
||||
{% include "umap/content_footer.html" %}
|
||||
{% endblock footer %}
|
||||
|
|
3
umap/templates/umap/content_footer.html
Normal file
3
umap/templates/umap/content_footer.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<footer>
|
||||
<a href="/" class="branding">umap</a> an OpenStreetMap project (version {{ UMAP_VERSION }})
|
||||
</footer>
|
|
@ -2,7 +2,7 @@
|
|||
<nav>
|
||||
<section class="col quarter branding twide">
|
||||
<ul>
|
||||
<li class="name"><h1><a href="/">umap</a></h1></li>
|
||||
<li class="name"><h1><a href="/">{{ SITE_NAME }}</a></h1></li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue