Create Reviews section

This commit is contained in:
Bartlomiej Pluta (PGS Software)
2018-03-22 13:06:39 +01:00
parent 0b708d6d42
commit c612966d83
5 changed files with 108 additions and 28 deletions

41
src/scss/_author.scss Normal file
View File

@@ -0,0 +1,41 @@
.author {
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
}
.avatar {
width: 85px;
height: 85px;
border-radius: 50%;
}
.author__details {
margin-left: 23px;
}
.author__name {
margin: 0;
padding: 0;
font-family: Montserrat, sans-serif;
font-size: 24px;
font-weight: bold;
color: $primary-dark;
}
.author__nickname {
margin: 0;
padding: 0;
font-family: Montserrat, sans-serif;
font-weight: 600;
font-size: 16px;
}
.nickname {
color: $primary;
&:before {
content: '@';
}
}

24
src/scss/_reviews.scss Normal file
View File

@@ -0,0 +1,24 @@
.reviews {
margin-top: 85px;
}
.review {
padding-bottom: 50px;
}
.review__content {
margin-top: 40px;
font-family: Source Sans Pro, sans-serif;
font-size: 20px;
color: #333333;
text-align: center;
}
.review__date {
margin-top: 30px;
font-family: Montserrat, sans-serif;
font-size: 16px;
font-weight: 500;
color: $regular-text;
text-align: center;
}

View File

@@ -1,8 +1,10 @@
@import "variables";
@import "buttons";
@import "global";
@import "author";
@import "navbar";
@import "header";
@import "download";
@import "editor";
@import "about";
@import "about";
@import "reviews";