Skip to content

Commit

Permalink
All Features Added
Browse files Browse the repository at this point in the history
  • Loading branch information
hrik-das committed Mar 24, 2024
1 parent 63bf4f0 commit f437dbd
Show file tree
Hide file tree
Showing 28 changed files with 689 additions and 0 deletions.
Binary file modified README.md
Binary file not shown.
Binary file added images/add.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/comment.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover 9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/explore.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/home.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/like.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/messenger.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/option.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/profile-pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/save.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/send.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/smile.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
379 changes: 379 additions & 0 deletions index.html

Large diffs are not rendered by default.

310 changes: 310 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,310 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", Arial;
}
*:focus{
outline: none;
}
body{
width: 100%;
background: #fafafa;
position: relative;
}
.navbar{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 50px;
background: #ffffff;
border-bottom: 1px solid #dfdfdf;
display: flex;
justify-content: center;
padding: 5px 0;
}
.nav-wrapper{
width: 70%;
max-width: 1000px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo{
height: 100%;
margin-top: 5px;
}
.search-box{
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 200px;
height: 25px;
background: #fafafa;
border: 1px solid #dfdfdf;
color: rgba(0, 0, 0, 0.5);
text-align: center;
text-transform: capitalize;
border-radius: 5px;
}
.search-box::placeholder{
color: rgba(0, 0, 0, 0.5);
}
.nav-items{
height: 22px;
position: relative;
}
.icon{
height: 100%;
cursor: pointer;
margin: 0 10px;
display: inline-block;
}
.user-profile{
width: 25px;
height: 25px;
border-radius: 50%;
background-image: url(./images/profile-pic.png);
background-size: cover;
}
.main{
width: 100%;
padding: 40px 0;
display: flex;
justify-content: center;
margin-top: 50px;
}
.wrapper{
width: 70%;
max-width: 1000px;
display: grid;
grid-template-columns: 60% 40%;
grid-gap: 30px;
}
.left-col{
display: flex;
flex-direction: column;
}
.status-wrapper{
width: 100%;
height: 120px;
background: #ffffff;
border: 1px solid #dfdfdf;
border-radius: 2px;
padding: 10px;
padding-right: 0;
display: flex;
align-items: center;
overflow: hidden;
overflow-x: auto;
}
.status-wrapper::-webkit-scrollbar{
display: none;
}
.status-card{
flex: 0 0 auto;
width: 80px;
max-width: 80px;
display: flex;
flex-direction: column;
align-items: center;
margin-right: 15px;
}
.profile-pic{
width: 70px;
height: 70px;
border-radius: 50%;
overflow: hidden;
padding: 3px;
background: linear-gradient(45deg, rgb(255, 255, 0), rgb(255, 0, 128) 80%);
}
.profile-pic img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
border: 2px solid #ffffff;
}
.username{
width: 100%;
overflow: hidden;
text-align: center;
font-size: 12px;
margin-top: 5px;
color: rgba(0, 0, 0, 0.5);
}
.post{
width: 100%;
height: auto;
background: #ffffff;
border: 1px solid #dfdfdf;
margin-top: 40px;
}
.info{
width: 100%;
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.info .username{
width: auto;
font-weight: bold;
color: #000000;
font-size: 14px;
margin-left: 10px;
}
.info .options{
height: 10px;
cursor: pointer;
}
.info .user{
display: flex;
align-items: center;
}
.info .profile-pic{
height: 40px;
width: 40px;
padding: 0;
background: none;
}
.info .profile-pic img{
border: none;
}
.post-image{
width: 100%;
height: 500px;
object-fit: cover;
}
.post-content{
width: 100%;
padding: 20px;
}
.likes{
font-weight: bold;
}
.description{
margin: 10px 0;
font-size: 14px;
line-height: 20px;
}
.description span{
font-weight: bold;
margin-right: 10px;
}
.post-time{
font-size: 12px;
color: rgba(0, 0, 0, 0.5);
}
.comment-wrapper{
width: 100%;
height: 50px;
display: flex;
justify-content: space-between;
align-items: center;
}
.comment-wrapper .icon{
height: 30px;
}
.comment-box{
width: 80%;
height: 100%;
border: none;
outline: none;
font-size: 14px;
}
.comment-btn, .action-btn{
width: 70px;
height: 100%;
background: none;
border: none;
outline: none;
text-transform: capitalize;
font-size: 16px;
color: rgb(0, 162, 255);
opacity: 0.5;
}
.reaction-wrapper{
width: 100%;
height: 50px;
display: flex;
margin-top: -20px;
align-items: center;
}
.reaction-wrapper .icon{
height: 25px;
margin: 0;
margin-right: 20px;
}
.reaction-wrapper .icon.save{
margin-left: auto;
}
.right-col{
padding: 20px;
}
.profile-card{
width: fit-content;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 10px;
}
.profile-card .profile-pic{
flex: 0 0 auto;
padding: 0;
background: none;
width: 40px;
height: 40px;
margin-right: 10px;
}
.profile-card:first-child .profile-pic{
width: 70px;
height: 70px;
}
.profile-card .profile-pic img{
border: none;
}
.profile-card .username{
font-weight: 500;
font-size: 14px;
color: #000000;
}
.sub-text{
color: rgba(0, 0, 0, 0.5);
font-size: 12px;
font-weight: 500;
margin-top: 5px;
}
.action-btn{
opacity: 1;
font-weight: 700;
font-size: 12px;
}
.suggestion-text{
font-size: 14px;
color: rgba(0, 0, 0, 0.5);
font-weight: 700;
margin: 20px 0;
}
@media (max-width: 1100px){
.right-col, .search-box{
display: none;
}
.nav-wrapper, .wrapper{
width: 90%;
}
.wrapper{
display: block;
}
}
@media (max-width: 500px){
.nav-items, .icon{
margin: 0 5px;
}
.post-image{
height: 300px;
}
}

0 comments on commit f437dbd

Please sign in to comment.