Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the text logo to image #274

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,12 @@ nav #links svg {
}

nav #redlib {
vertical-align: -2px;
margin-right: 10px;
}

nav #redlib img {
width: 38px;
vertical-align: middle;
}

figcaption {
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<nav class="
{% if prefs.fixed_navbar == "on" %} fixed_navbar{% endif %}">
<div id="logo">
<a id="redlib" href="/"><span id="lib">red</span><span id="reddit">lib.</span></a>
<a id="redlib" href="/"><img src="/logo.png" alt="RedLib logo"></a>
{% block subscriptions %}{% endblock %}
</div>
{% block search %}{% endblock %}
Expand Down
Loading