Explorer
project
images
code-review.md
index.css
index.html
index.js
Dependencies
Bootcamp
Study group
Collaborate with peers in your dedicated #study-group channel.
Code reviews
Submit projects for review using the /review
command in your #code-reviews channel
html,
body {
margin: 0;
padding: 0;
font-family: "Source Sans Pro", sans-serif;
background: #ededed;
}
/* layout */
.outer-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.header {
display: flex;
justify-content: space-between;
height: 67px;
border-bottom: 1px solid #c6c6c6;
}
.container {
width: 375px;
background: #ffffff;
/* border: 5px solid red; */
}
.avatar {
width: 34px;
border-radius: 50%;
}
.user-avatar {
padding: 16px 15px;
}
.logo {
width: 100px;
padding: 10px 15px;
}
.post .post-header {
display: flex;
justify-content: start;
}
.poster-avatar {
padding: 10px 5px 10px 10px;
}
.post-header-text {
padding: 10px 10px 10px 5px;
}
.post .main-img {
width: 100%;
}
.post .main-img:hover,
.post .main-img:active {
background-color: #f2f2f2;
cursor: pointer;
}
.body {
padding-bottom: 16px;
margin-bottom: 25px;
}
.body {
display: flex;
flex-direction: column;
justify-content: start;
}
.body .body-text {
display: flex;
flex-direction: column;
justify-content: start;
}
.body-icons {
display: flex;
justify-content: start;
padding-top: 21px;
padding-left: 10px;
}
.body-icons button {
margin-right: 10px;
background-color: white;
border: none;
padding: 0;
}
.body-icons button:first-child {
margin-left: 0;
}
.body-icons button:last-child {
margin-right: 0;
}
.body-icons button:hover,
.body-icons button:active {
/* not sure what kind of effect I could have added to a button with statiic image */
/* background-color: #f2f2f2; */
cursor: pointer;
border-bottom: 1px solid #c6c6c6;
}
.icon {
width: 23px;
}
.body-text {
padding-left: 10px;
margin: 0px;
}
.body-text .post-caption,
.like-count {
padding-bottom: 0px;
margin-bottom: 0px;
}
/* typography */
.name {
font-style: normal;
font-weight: 700;
font-size: 13px;
line-height: 16px;
}
.location {
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 15px;
}
.like-count,
.username {
font-style: normal;
font-weight: 700;
font-size: 13px;
line-height: 16px;
color: #000000;
}
.post-caption {
font-style: normal;
font-weight: 400;
font-size: 13px;
line-height: 16px;
color: #000000;
}