Skip to content

Commit

Permalink
Merge pull request #39 from mvanshbu0681/main
Browse files Browse the repository at this point in the history
Update index.html: Improve button for creating notes and update searc…
  • Loading branch information
vishnurchityala authored Oct 5, 2024
2 parents 4fb8f92 + bf8eaff commit 37a3809
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
<h5 class="fw-bold mt-2">BU Notes</h5>
</div>
<hr />
<button class="new-button"
<span style="font-size: 20px; margin-right: 10px"><strong>+</strong></span>
<strong>New</strong>
</button>
<div class="new-button mb-3" style="width: 110px">
<i>+</i>
<span>New</span>
</div>
<!-- Navigation Links for Sidebar -->
<div class="d-flex flex-column flex-fill">
<!-- Home link -->
Expand Down
29 changes: 16 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@
.new-button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 16px;
background-color: white;
border: 1px solid lightgray;
border-radius: 10px;
padding: 10px 5px;
font-size: 14px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
font-family: Arial, sans-serif;
font-size: 17px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
margin-bottom: 10px;
border: 1px solid #ddd;
transition: box-shadow 0.3s ease-in-out, transform 0.3s;
}

.new-button:hover {
background-color: #f0f0f0;
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
transform: translateY(-2px);
}

.new-button:active {
background-color: white;
transform: scale(1);
.new-button span {
margin-left: 15px;
font-weight: bold;
color: #333;
}
.new-button i {
font-size: 30px;
color: #333;
}
:root {
/* Colors */
Expand Down

0 comments on commit 37a3809

Please sign in to comment.