-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fix links on darkmode navbar #99
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up some things, otherwise the solution of making the navbar transparent seems conceptually sound to me. Manual adjustment of site-navbar is unfortunate but acceptable in this case.
planetterp/static/css/darktheme.css
Outdated
#site-navbar { | ||
background-color: black !important; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this !important
isn't necessary. Each use of !important
should be carefully considered as it can lead to difficult to debug bugs.
home/templates/base_main.html
Outdated
@@ -182,8 +182,7 @@ | |||
|
|||
{% comment %} TODO rewrite star generation so this isn't necessary {% endcomment %} | |||
{% if request.session.color_scheme == "dark" %} | |||
<!-- make sure we're above bootstrap's navbar --> | |||
<canvas id="navbar-canvas" style="z-index: 1100"></canvas> | |||
<canvas id="navbar-canvas" style="z-index: 1000"></canvas> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pretty sure no z-index is necessary here at all now that the navbar is transparent.
Closes #47