Skip to content

Commit

Permalink
added dark mode for homepage.
Browse files Browse the repository at this point in the history
  • Loading branch information
swedishfrenchpress committed Dec 12, 2024
1 parent da3510f commit 5f5d7a4
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 79 deletions.
23 changes: 23 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,29 @@
/* Add custom navbar styling */
.navbar {
border-bottom: 1px solid rgba(147, 51, 234, 0.1);
padding: 0;
}

/* Container for the entire navbar */
.navbar__inner {
width: 100%;
margin: 0 auto;
padding: 0;
}

/* Main content wrapper to match page content */
.container {
max-width: var(--ifm-container-width) !important;
margin: 0 auto;
padding: 0 var(--ifm-spacing-horizontal);
}

/* Ensure navbar items are properly spaced */
.navbar__items {
margin: 0 auto;
max-width: var(--ifm-container-width);
padding: 0 var(--ifm-spacing-horizontal);
width: 100%;
}

[data-theme="dark"] .navbar {
Expand Down
Loading

0 comments on commit 5f5d7a4

Please sign in to comment.