Skip to content

Make the navbar retro styled #43

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

Open
wants to merge 1 commit 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
17 changes: 17 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,20 @@ html {
@apply bg-background text-foreground;
}
}

/* Retro styling for navbar */
.retro-navbar {
background-color: #f4f4f4;
font-family: 'Courier New', Courier, monospace;
border: 2px solid #000;
}

.retro-navbar a {
color: #000;
text-decoration: none;
}

.retro-navbar a:hover {
color: #ff0000;
text-decoration: underline;
}
2 changes: 1 addition & 1 deletion components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface HeaderProps {

export default function Header({ user, logoSuffix }: HeaderProps) {
return (
<div className="absolute w-screen">
<div className="absolute w-screen retro-navbar">
<div className="max-w-screen-2xl m-auto p-8 md:p-12 flex items-center justify-between text-2xl">
<div className="flex items-center">
<Link className="flex items-center" href="/">
Expand Down