Skip to content

Commit

Permalink
admin & api logos/css
Browse files Browse the repository at this point in the history
  • Loading branch information
adambreznicky committed Nov 27, 2017
1 parent 37e6d49 commit 7b5be7a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions lakegallery/api/static/rest_framework/api_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
.navbar-brand {
padding-top: 5px;
color: white;
text-shadow: 2px 2px 4px #383838;
}

.navbar-brand > img {
Expand Down
2 changes: 1 addition & 1 deletion lakegallery/api/templates/rest_framework/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% block branding %}
<link rel="stylesheet" href="{% static 'rest_framework/api_style.css' %}" type="text/css">
<a class="navbar-brand" rel="nofollow" href="/"><img class="apiHeaderLogo" src="{% static 'map/images/texas_solid.png' %}" />Texas Lake Gallery</a>
<a class="navbar-brand" rel="nofollow" href="/"><img class="apiHeaderLogo" src="{% static 'map/images/twdb_splash2.png' %}" />Texas Lake Gallery</a>
{% endblock %}

{% block bootstrap_navbar_variant %}lake-api-header{% endblock %}
3 changes: 2 additions & 1 deletion lakegallery/map/static/map/admin_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ body {
}

.adminHeaderLogo {
max-height: 40px;
max-height: 30px;
}

#brandTitle {
color: white !important;
text-shadow: 2px 2px 4px #383838;
}

.breadcrumbs {
Expand Down
2 changes: 1 addition & 1 deletion lakegallery/templates/admin/base_site.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

{% block branding %}
<h1 id="site-name">
<img class="adminHeaderLogo" src="{% static 'map/images/texas_solid.png' %}" />
<img class="adminHeaderLogo" src="{% static 'map/images/twdb_splash2.png' %}" />
<a id="brandTitle" href="{% url 'admin:index' %}">Texas Lake Gallery - Administration</a>
</h1>
{% endblock %}
Expand Down

0 comments on commit 7b5be7a

Please sign in to comment.