Skip to content

Commit 18bd1a8

Browse files
Change background color (#1432)
In dark mode the dark navbar is not that visible and looks like it's part of the browser. I changed the color to orange, so it's visible in both dark and light modes. --------- Co-authored-by: Niko <[email protected]>
1 parent 41ab512 commit 18bd1a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/components/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import links from "@data/links.json";
1111
<section
1212
id="navbar"
1313
>
14-
<a href="/remote" class="hover:underline hover:text-primary-hover text-center px-2 bg-secondary text-white font-bold fixed top-0 w-full h-[40px] z-50 flex items-center justify-center">Can’t join us in Prague? Attend remotely — online options available!</a>
14+
<a href="/remote" class="bg-top-notification text-white hover:text-white hover:underline text-center px-2 font-bold fixed top-0 w-full h-[40px] z-50 flex items-center justify-center">Can’t join us in Prague? Attend remotely — online options available!</a>
1515
<div
1616
class="container max-w-[1150px] mx-auto px-6 py-2 mt-12 lg:p-2 lg:mt-14 flex items-center justify-between relative z-40 bg-white/80 rounded-full backdrop-blur-md shadow-lg"
1717
>

src/styles/tailwind.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
--color-sponsor-bronze: #6e6151;
5858
--color-sponsor-patron: #a11217;
5959

60+
--color-top-notification: #ee714b;
61+
6062
/* Aspect Ratios */
6163
--aspect-hero: 2.4380530973;
6264

0 commit comments

Comments
 (0)