Skip to content

Commit

Permalink
Fixing issue #323
Browse files Browse the repository at this point in the history
Added back buttons to both features and about pages.
  • Loading branch information
Jasleen1210 committed Jun 27, 2024
1 parent 1427a21 commit 9715655
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 0 additions & 2 deletions css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
margin: auto;
background-color: black;
font-family: 'Playfair Display', serif;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding-top: 150px;
}

#particles-js {
Expand Down
2 changes: 0 additions & 2 deletions css/features.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ body {
margin: 0;
padding: 0;
width: 100%;
height: 100vh;
margin: auto;
background-color: black;
font-family: 'Playfair Display', serif;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding-top: 1000px;
}

#particles-js {
Expand Down
7 changes: 7 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2465,3 +2465,10 @@ button:active {
transform: scale(1);
}
}
/* formatting the little back arrow on feature and about page */
.backbtn{
font-size: 1rem;
padding-left: -25px;
padding-top: 1rem;
}

3 changes: 2 additions & 1 deletion pages/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
</div>
</div>
<div class="box" id="box">
<h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px; color: #ffffff;">
<a href="/index.html" class="backbtn"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
<h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px; color: #ffffff; display: block;">
About
</h1>
<div class="aboutBox">
Expand Down
1 change: 1 addition & 0 deletions pages/features.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
</div>
</div>
<div class="box" id="box">
<a href="/index.html" class="backbtn"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>
<h1 id="changingHeading" style="font-family: Arial, sans-serif; font-size: 30px; color: #ffffff;">
Features
</h1>
Expand Down

0 comments on commit 9715655

Please sign in to comment.