Skip to content

Commit

Permalink
updated card in contact section
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinsooni committed Oct 4, 2024
1 parent b7da576 commit 3db596b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 13 deletions.
9 changes: 5 additions & 4 deletions css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,13 @@
}

#contact .table .table-r .container .card.one .content .block-bottom .social-block {
padding: 2.2rem 0;
padding-top: 1.75rem;
grid-row-gap: 1.4rem;
}

#contact .table .table-r .container .card.one .content .block-bottom .social-block a {
font-size: 1.1rem;
padding: .25rem .5rem;
padding: .5rem;
}

#contact .table .table-r .container .card.two p {
Expand Down Expand Up @@ -496,11 +497,11 @@
}

#contact .table .table-r .container .card.one .content .block-top .text a:hover {
text-decoration: underline;
color: white;
}

#contact .table .table-r .container .card.one .content .block-bottom a:hover {
text-decoration: underline;
color: white;
}

#contact .table .table-r .container .card:not(.front):hover {
Expand Down
22 changes: 13 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ nav .nav-r a {
font-size: 1rem;
font-weight: 500;
color: var(--gold);
background: rgba(0, 0, 0, 0);
background: transparent;
padding: .75rem 1.5rem;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 12px;
Expand Down Expand Up @@ -394,7 +394,7 @@ nav .nav-r a {
right: 2.5rem;
font-size: 1.25rem;
color: var(--gold);
background: rgba(0, 0, 0, 0);
background: transparent;
padding: .7rem .85rem;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 12px;
Expand Down Expand Up @@ -608,7 +608,7 @@ nav .nav-r a {
font-size: 1rem;
font-weight: 500;
color: var(--gold);
background: rgba(0, 0, 0, 0);
background: transparent;
padding: .75rem 1.5rem;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 12px;
Expand Down Expand Up @@ -704,7 +704,7 @@ nav .nav-r a {
font-size: 1rem;
font-weight: 500;
color: var(--gold);
background: rgba(0, 0, 0, 0);
background: transparent;
padding: .75rem 1.5rem;
border: 1px solid rgba(255, 255, 255, .24);
border-radius: 12px;
Expand Down Expand Up @@ -749,7 +749,7 @@ nav .nav-r a {
display: flex;
align-items: center;
justify-content: space-between;
padding: 2.2rem 1.8rem;
padding: 2.25rem 1.8rem;
}

#contact .table .table-r .container .card.one .content .block-top img {
Expand Down Expand Up @@ -781,6 +781,7 @@ nav .nav-r a {
line-height: 1.5;
color: var(--text);
text-decoration: none;
transition: color .3s;
}

#contact .table .table-r .container .card.one .content .block-bottom {
Expand All @@ -794,6 +795,7 @@ nav .nav-r a {
line-height: 2;
color: var(--text);
text-decoration: none;
transition: color .3s;
}

#contact .table .table-r .container .card.one .content .block-bottom p {
Expand All @@ -805,16 +807,18 @@ nav .nav-r a {
}

#contact .table .table-r .container .card.one .content .block-bottom .social-block {
display: flex;
justify-content: space-around;
padding: 2rem .5rem;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
padding-top: 2rem;
grid-row-gap: 1.5rem;
}

#contact .table .table-r .container .card.one .content .block-bottom .social-block a {
font-size: 1.25rem;
font-weight: 300;
color: var(--text);
padding: .75rem;
margin: auto;
line-height: 0;
}

Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ <h3>Nitin Soni</h3>
<a href="https://www.linkedin.com/in/nitinsooni" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
<a href="https://www.instagram.com/nitinsooni" target="_blank"><i class="fa-brands fa-instagram"></i></a>
<a href="https://github.com/nitinsooni" target="_blank"><i class="fa-brands fa-github"></i></a>
<a href="https://open.spotify.com/user/nenowwq76dkddt356pb6k8of9" target="_blank"><i class="fa-brands fa-spotify"></i></a>
</div>
</div>
</div>
Expand Down

0 comments on commit 3db596b

Please sign in to comment.