Skip to content

Commit

Permalink
Merge pull request #217 from TheSecretOrganization/153-make-navbar-br…
Browse files Browse the repository at this point in the history
…anding-rediret-to-home-clickable

153 make navbar branding rediret to home clickable
  • Loading branch information
Neffi42 authored Oct 11, 2024
2 parents 816af4d + f0d5de5 commit 772adc1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion django/src/pages/templates/extends/base.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="navbar-wrapper">
<nav class="navbar">
<b class="navbar-brand nav navbar-nav navbar-left">Johnny Depp</b>
<a class="navbar-brand nav navbar-nav navbar-left link-info text-decoration-none" data-route href="/">Johnny Depp</a>
{% if user.is_authenticated %}
<div class="container-dropdown">
<div class="dropdown">
Expand Down
6 changes: 3 additions & 3 deletions nginx/src/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

.navbar-brand {
color: white;
padding-left: 5rem;
}
margin-left: 5rem;
}

.div-navbar-profile {
display: inline;
Expand Down Expand Up @@ -38,4 +38,4 @@

.dropdown-toggle::after {
display: none;
}
}
6 changes: 6 additions & 0 deletions nginx/src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--text-clr: #000;
--accent-clr: #470d0d;
--secondary-text-clr: #000;
--selection-clr: #257AFD;

--navbar-height: 4.2rem;
--sidebar-width: 6rem;
Expand Down Expand Up @@ -58,3 +59,8 @@ body {
display: flex;
width: 100%;
}

a:focus {
border: 0.1rem solid var(--selection-clr) !important;
border-radius: 0.3rem !important;
}

0 comments on commit 772adc1

Please sign in to comment.