Skip to content

Commit

Permalink
Merge pull request #97 from Tech-neophyte/main
Browse files Browse the repository at this point in the history
Resize and align Project cards
  • Loading branch information
ayushichoudhary-19 authored Jan 13, 2024
2 parents b679be1 + 3cae3db commit 314c9ff
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ <h3>Project 1</h3>
Repo</a></button>
</div>
</div>

<div class="project" data-aos="fade-right">
<h3>Project 2</h3>
<p>Developed a full-stack web application using Node.js and MongoDB. Implemented user
authentication and integrated third-party APIs for enhanced functionality.</p>
<p><strong>Skills and Tools:</strong> HTML, CSS, JavaScript, Node.js, MongoDB</p>
<p>Built a full-stack web app with Node.js and MongoDB, featuring user authentication
and third-party API integration for enhanced functionality.</p>
<p><strong>Skills and Tools:</strong> HTML, CSS, JavaScript, Node.js</p>
<div class="buttons">
<button><a href="https://example-project1-live-website.com" target="_blank">Live
Website</a></button>
Expand Down
31 changes: 28 additions & 3 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,6 @@ button a:hover{


/* Projects */

.about-me,
.projects{
background-color: #f4f4f4;
Expand All @@ -479,6 +478,26 @@ button a:hover{
padding: 40px 0;
background-color: #f4f4f4;
}
#project-heading {
text-align: center;
}
#project-heading h1 {
font-size: 27px;
font-weight: 600;
color: #3498db;
position: relative;
margin-bottom: 25px;
}
#project-heading h1::after {
position: absolute;
content: ' ';
width: 100px;
height: 2px;
left: 50%;
bottom: -8px;
background-image: linear-gradient(to right, #3498db, #7cbde9);
transform: translateX(-50%);
}

.project {
overflow: hidden;
Expand All @@ -489,6 +508,7 @@ button a:hover{
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 800px;
transition: transform background-color 0.2s ease-in-out;
height: 238px;
}

.project:hover {
Expand Down Expand Up @@ -523,7 +543,7 @@ button a:hover{
}

.project button {
display: block;
display: flex;
margin: 10px;
margin-left: 0;
padding: 8px 16px;
Expand All @@ -548,7 +568,12 @@ button a:hover{
display: flex;
flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
.project .button {
width: 100%;
margin: 5px 0;
}
}
/* Scroll-up Button */
.scroll-up-btn {
position: fixed;
Expand Down

0 comments on commit 314c9ff

Please sign in to comment.