Skip to content

Commit

Permalink
Merge pull request #1785 from Meetpidev/scroll
Browse files Browse the repository at this point in the history
SMOOTH SCROLLERBAR
  • Loading branch information
ANSHIKA-26 authored Nov 8, 2024
2 parents 9a6d538 + 2c777be commit c10ec6a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 8 deletions.
13 changes: 8 additions & 5 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,23 +434,23 @@ <h2>Forgot Password</h2>
<a href="#" class="nav-link" id="travel">Travel</a>
</div>
<a href="bookmarks.html" class="nav-link"
style="float: right; margin-left: auto; color: #f9b0b0; transition: all 0.4s ease-in-out;">My Reading
style="float: right; margin-left: auto; color: #df9797; transition: all 0.4s ease-in-out; font-weight: bolder;">My Reading
List</a>
<div class="title">
<h2 class="text-title text-dark display-1" looking for feedback></h2>
</div>
<div class="meta">
<a href="#" class="link display-2 text-secondary px-1">
<i class="fa-solid fa-user" style="color: #f9b0b0;" id="fa"></i>anshika arora
<i class="fa-solid fa-user" style="color: #df9797; font-weight: bolder;" id="fa"></i>anshika arora
</a>
<a href="#" class="link display-2 text-secondary px-1">
<i class="fa-solid fa-clock" style="color: #f9b0b0;" id="fa"></i>feb 12, 2021
<i class="fa-solid fa-clock" style="color: #df9797; font-weight: bolder;" id="fa"></i>feb 12, 2021
</a>
<a href="./blog.html#coment" class="link display-2 text-secondary px-1">
<i class="fa-solid fa-comments" style="color: #f9b0b0;" id="fa"></i>3
<i class="fa-solid fa-comments" style="color: #df9797; font-weight: bolder;" id="fa"></i>3
</a>
<a href="#" class="link display-2 text-secondary px-1 bookmark-btn" id="bookmark">
<i class="fa-solid fa-bookmark" style="color: #f9b0b0;" id="bookmark-icon"></i>
<i class="fa-solid fa-bookmark" style="color:#df9797; font-weight: bolder;" id="bookmark-icon"></i>
<span id="bookmark-text" style="color: f9b0b0;">Bookmark</span>
</a>
</div>
Expand Down Expand Up @@ -1447,6 +1447,9 @@ <h2 class="footer-title secondary-title mt-5">Connect with us</h2>
</script>

<style>
body{
scroll-behavior: smooth;
}
.faq-button-container {
text-align: center;
margin-top: 20px;
Expand Down
3 changes: 3 additions & 0 deletions bookmarks.html
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ <h2 class="footer-title secondary-title mt-2">Connect with us</h2>
</div>

<style>
body{
scroll-behavior: smooth;
}
.back-to-top {
position: fixed;
bottom: 20px;
Expand Down
3 changes: 3 additions & 0 deletions category.html
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,9 @@ <h2 class="footer-title secondary-title mt-5">Connect with us</h2>
</div>

<style>
body{
scroll-behavior: smooth;
}
.back-to-top {
position: fixed;
bottom: 20px;
Expand Down
1 change: 1 addition & 0 deletions chatbot.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
min-height: 100vh;
margin: 0;
font-family: Arial, sans-serif;
scroll-behavior: smooth;
}

.chat-container {
Expand Down
2 changes: 1 addition & 1 deletion fashion.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<title>The Art of Fashion</title>
<style>
body { background-color: #f8b5b5; color: #333; font-family: Arial, sans-serif; margin: 0; padding: 0; }
body { background-color: #f8b5b5; color: #333; font-family: Arial, sans-serif; margin: 0; padding: 0; scroll-behavior: smooth;}
.container { max-width: 900px; margin: 40px auto; margin-top: 10rem; background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
h1 { color: #d9534f; text-align: center; }
p, h2 { line-height: 1.6; }
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
</head>

<body class="bg-gray-100 dark:bg-gray-900">
<body class="bg-gray-100 dark:bg-gray-900" style="scroll-behavior: smooth;">
<div id="app">
<nav id="navbar"></nav>
<main id="content"></main>
Expand All @@ -35,4 +35,4 @@
</script>
</body>

</html>
</html>

1 comment on commit c10ec6a

@vercel
Copy link

@vercel vercel bot commented on c10ec6a Nov 8, 2024

Choose a reason for hiding this comment

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

Please sign in to comment.