Create Reviews section
This commit is contained in:
41
src/scss/_author.scss
Normal file
41
src/scss/_author.scss
Normal 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
24
src/scss/_reviews.scss
Normal 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;
|
||||
}
|
||||
@@ -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";
|
||||
Reference in New Issue
Block a user