Skip to content
Open
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
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
}
.navbar { background-color: rgba(13, 17, 23, 0.85); }
[data-bs-theme="light"] .navbar { background-color: rgba(255, 255, 255, 0.85); }

/* FIX: Add scroll padding to account for fixed navbar */
html {
scroll-behavior: smooth;
scroll-padding-top: 100px; /* Adjust based on navbar height + some spacing */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please change this to 120px and remove the comments?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok , i will

}
</style>
</head>
<body>
Expand All @@ -30,8 +36,8 @@
<div class="container">
<!-- Main Logo -->
<a class="navbar-brand fw-bold" href="#">
<img src="_static/images/logo-dark.png" alt="DISCOVER Cookbook" height="75" class="me-2 theme-logo dark-logo">
<img src="_static/images/logo-light.png" alt="DISCOVER Cookbook" height="75" class="me-2 theme-logo light-logo d-none">
<img src="/DISCOVER/_static/images/logo-dark.png" alt="DISCOVER Cookbook" height="75" class="me-2 theme-logo dark-logo">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please undo this change?

<img src="/DISCOVER/_static/images/logo-light.png" alt="DISCOVER Cookbook" height="75" class="me-2 theme-logo light-logo d-none">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarNav">
Expand Down
Loading