Skip to content

Instantly share code, notes, and snippets.

@prajwal-stha
Created February 23, 2020 11:08
Show Gist options
  • Save prajwal-stha/7323caa3beb44c81d0074672fcdcd64b to your computer and use it in GitHub Desktop.
Save prajwal-stha/7323caa3beb44c81d0074672fcdcd64b to your computer and use it in GitHub Desktop.
main .content-section {
padding: rem(80) 0;
}
main .content-section .tabset ul.tabs {
padding: 0;
margin: 0;
list-style: none;
}
main .content-section .tabset ul.tabs li {
font-family: 'Mont-Regular';
font-size: rem(18);
line-height: 24px;
}
main .content-section .tabset ul.tabs li + li {
margin-top: rem(20);
}
main .content-section .tabset ul.tabs li a {
color: #000;
}
main .content-section .tabset ul.tabs li a:hover {
color: #007bff;
}
@media (max-width: 767px) {
main .content-section .tab_container {
padding-top: rem(30);
}
}
main .content-section .tab_container .tab-content h5 {
font-family: 'Mont-Regular';
font-size: rem(23);
line-height: 31px;
margin: 0;
}
main .content-section .tab_container .tab-content h5 + p {
margin-top: rem(20);
}
main .content-section .tab_container .tab-content p {
font-size: rem(14);
line-height: 24px;
margin: 0;
}
main .content-section .tab_container .tab-content p + p {
margin-top: rem(20);
}
main .content-section .tab_container .tab-content .image-section {
margin: rem(20) 0;
}
main .comment-section {
background: #f5faff;
padding-top: rem(80);
}
main .comment-section h4 {
font-size: rem(27);
line-height: 35px;
font-family: Mont-Bold;
margin-bottom: rem(30);
}
main .comment-section .comment-form .form-group {
margin: 0;
}
main .comment-section .comment-form .form-group input {
width: 100%;
padding: rem(10);
border: 1px solid #000;
border-radius: 5px;
}
main .comment-section .comment-form .form-group input::placeholder {
font-family: Mont-Regular;
font-size: rem(18);
line-height: 24px;
}
main .comment-section .comment-form .form-group input:focus {
outline: none;
outline-offset: unset;
}
main .comment-section .comment-form .form-group textarea {
width: 100%;
height: 95px;
padding: rem(10);
border: 1px solid #000;
border-radius: 5px;
}
main .comment-section .comment-form .form-group textarea::placeholder {
font-family: Mont-Regular;
font-size: rem(18);
line-height: 24px;
}
@media (max-width: 767px) {
main .comment-section .comment-form .form-group textarea {
margin-top: rem(30);
}
}
main .comment-section .comment-form .form-group + .form-group {
margin-top: rem(20);
}
main .comment-section .comment-form button {
margin-top: rem(30);
}
main .comment-section .comment-field {
padding: rem(80) 0;
}
main .comment-section .comment-field article.row .text-content {
padding: rem(30);
}
@media (max-width: 767px) {
main .comment-section .comment-field article.row .text-content .comment-box {
margin-top: rem(30);
}
}
main .comment-section .comment-field article.row .text-content .comment-box .title {
display: inline-block;
margin-bottom: rem(20);
}
main .comment-section .comment-field article.row .text-content .comment-box .title h5 {
font-size: rem(20);
line-height: 28px;
font-family: Mont-Regular;
margin: 0;
}
main .comment-section .comment-field article.row .text-content .comment-box .date-box {
display: inline-block;
margin-left: rem(10);
}
main .comment-section .comment-field article.row .text-content .comment-box .date-box::before {
content: '';
position: absolute;
top: 12px;
width: 7px;
height: 7px;
background: #000;
border-radius: 50%;
}
@media (max-width: 767px) {
main .comment-section .comment-field article.row .text-content .comment-box .date-box::before {
top: 40px;
}
}
main .comment-section .comment-field article.row .text-content .comment-box .date-box p {
color: #727272;
margin-left: rem(20);
}
main .comment-section .comment-field article.row .text-content .comment-box .comment-post p + p {
margin-top: rem(20);
}
main .comment-section .comment-field article.row:last-child {
margin-top: rem(30);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment