Skip to content

Commit

Permalink
Merge pull request #364 from UniversityRadioYork/ren-additions
Browse files Browse the repository at this point in the history
Adds drop shadow to pride image
  • Loading branch information
JP5457 authored Jun 3, 2024
2 parents 6136661 + 6997f32 commit 42bab48
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions sass/elements/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ $nav-links-color: rgb(2, 45, 89);
color: $nav-links-color;
}

.navbar-pride-logo {
-webkit-filter: drop-shadow(0.75px 0.75px 0 black)
drop-shadow(-0.75px -0.75px 0 black);
filter: drop-shadow(0.75px 0.75px 0 black)
drop-shadow(-0.75px -0.75px 0 black);
}


.navbar-toggler {
line-height: inherit;
right: 0;
Expand All @@ -25,4 +33,5 @@ $nav-links-color: rgb(2, 45, 89);
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
}

}
4 changes: 2 additions & 2 deletions views/elements/navbar.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
</button>
<a class="navbar-brand" href="{{url "/"}}">
{{if .PageContext.Pride}}
<img src="{{url "/images/URY_Rainbow.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
<img class="navbar-pride-logo" src="{{url "/images/URY_Rainbow.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
{{else}}
<img src="{{url "/images/logo.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
<img src="{{url "/images/logo.png"}}" height="34" alt="{{.PageContext.LongName}} Logo" >
{{end}}
</a>
<div class="navbar-collapse collapse" id="collapsed">
Expand Down

0 comments on commit 42bab48

Please sign in to comment.