123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365 |
- @import '../app.scss';
- // Fonts
- @import '../fonts/awesome/awesome-font.css';
- @import '../fonts/iransans/iransans-font.css';
- body {
- font-family: iransans;
- }
- h1 {
- font-size: 1.5rem;
- }
- h2 {
- font-size: 1.4rem;
- }
- h3 {
- font-size: 1.3rem;
- }
- h4 {
- font-size: 1.2rem;
- }
- h5 {
- font-size: 1.1rem;
- }
- h6 {
- font-size: 1rem;
- }
- a {
- transition: all 0.3s ease;
- text-decoration: none;
- &:hover {
- text-decoration: none;
- }
- }
- // style for content single article page
- .container-article-width {
- @media screen and (min-width: 1400px){
- max-width: 1200px;
- }
- @media screen and (min-width: 1200px) and (max-width: 1399px){
- max-width: 750px;
- }
- @media screen and (min-width: 992px) and (max-width: 1199px){
- max-width: 800px;
- }
- .article-content-holder {
- margin: 3rem 0;
- .title {
- margin-bottom: 1.5rem;
- line-height: 2;
- color: $primary;
- }
- .author-published-holder {
- display: flex;
- align-items: center;
- margin-bottom: 1.5rem;
- .author-avatar {
- width: 3rem;
- height: 3rem;
- border-radius: 50%;
- }
- .author-published-text {
- margin-right: 0.75rem;
- .author-name {
- margin-bottom: 0.625rem;
- }
- .published-at {
- color: lighten($gray, 20);
- font-size: 80%;
- }
- }
- }
- .content-text {
- h1, h2, h3, h4,h5, h6 {
- margin-top: 2em;
- margin-bottom: 1em;
- &:first-child {
- margin-top: 0;
- }
- }
- div {
- text-align: justify;
- line-height: 2;
- margin-bottom: 0.75rem;
- }
- ul {
- list-style-type: none;
- padding-right: 1.2rem;
- padding-left: 1.2rem;
- li {
- line-height: 2;
- &:before {
- content: '✓';
- color: $primary;
- padding: 2px 0 2px 2px;
- font-weight: 600;
- }
- }
- }
- ol {
- counter-reset: item;
- padding-right: 1.2rem;
- padding-left: 1.2rem;
- li {
- display: block;
- line-height: 2;
- &:before {
- content: counter(item) ". ";
- counter-increment: item;
- color: $primary;
- font-weight: 600;
- }
- }
- }
- div {
- img {
- margin: 1rem 0;
- @media screen and (max-width: 992px){
- max-width: 100%;
- }
- }
- }
- video {
- margin: 1rem 0;
- width: 100%;
- }
- table {
- margin: 1rem 0;
- thead {
- background-color: $primary;
- color: $white;
- }
- }
- blockquote{
- background: #f9f9f9;
- border-right: 0.625rem solid $info;
- margin: 0.5rem 1.2rem;
- padding: 10px 20px;
- &:before {
- content: '\201D';
- line-height: 0;
- right: -11px;
- position: relative;
- top: 30px;
- color: $info;
- font-size: 3em;
- }
- }
- }
- }
- .article-button {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 3rem;
- }
- }
- // comments
- .comment-customers {
- .parent-reply-body {
- .reply-post {
- border-left: 1px solid;
- color: lighten($gray, 20);
- height: 22px;
- padding-left: 0.625rem;
- .reply-post-icon {
- transition: all 0.5s ease;
- &:hover {
- cursor: pointer;
- }
- }
- }
- .reply-post-like-button {
- padding-right: 0.625rem;
- font-size: 15px;
- display: inline-block;
- color: #afb6bc;
- }
- .user-description {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 0.5rem;
- @media screen and (max-width: 576px){
- align-items: baseline;
- }
- .user-description-holder {
- display: flex;
- align-items: flex-end;
- @media screen and (max-width: 576px){
- align-items: flex-start;
- flex-direction: column;
- }
- }
- .user-name {
- color: $primary;
- font-weight: 600;
- padding-left: 0.625rem;
- @media screen and (max-width: 576px){
- margin-bottom: 0.5rem;
- }
- }
- .item-details {
- display: flex;
- align-items: baseline;
- color: lighten($gray, 20);
- font-size: 80%;
- .item-details-clock {
- margin-left: 0.25rem;
- }
- .item-details-time {
- border-right: 1px solid;
- padding-right: 0.25rem;
- }
- .item-details-date {
- padding-left: 0.25rem;
- }
- }
- }
- .user-comment-text {
- margin: 1rem 0;
- text-align: justify;
- }
- }
- .form-reply-opinion {
- margin: 0.5rem 0 1.5rem;
- }
- }
- // latest article in single bolg page
- .latest-article {
- .card {
- background: transparent;
- border: none
- }
- .card-title {
- line-height: 2;
- text-align: justify;
- color: $primary;
- }
- .card-text {
- text-align: justify;
- }
- .author-published-holder {
- display: flex;
- align-items: center;
- margin-bottom: 1.5rem;
- margin-top: 1rem
- }
- .author-avatar {
- width: 3rem;
- height: 3rem;
- border-radius: 50%;
- }
- .author-published-text {
- margin-right: 0.75rem;
- }
- .author-name {
- margin-bottom: 0.625rem;
- }
- .published-at {
- color: lighten($gray, 20);
- font-size: 80%;
- }
- }
- // pagination
- .pagination-holder {
- margin-top: 2rem;
- .pagination {
- padding-right: 0;
- }
- .page-item:first-child .page-link {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- border-top-right-radius: 0.25rem;
- border-bottom-right-radius: 0.25rem;
- }
- .page-item:last-child .page-link {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- border-top-left-radius: 0.25rem;
- border-bottom-left-radius: 0.25rem;
- }
- }
- // style for category blog page
- .article-category-title-holder {
- color: $primary;
- line-height: 2;
- }
- .article-category-content-holder {
- .article-content {
- position: relative;
- padding: 40px 24px;
- transition: all 0.3s ease-in-out;
- border-bottom: 1px solid #e8eaf1;
- &:hover {
- background-color: #e8eaf1;
- border-bottom: 1px solid #e8eaf1;
- border-radius: 0.25rem;
- }
- .article-link {
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- right: 0;
- }
- .published-at {
- color: lighten($gray, 20);
- font-size: 80%;
- }
- .title {
- font-size: 1.4rem;
- font-weight: 500;
- line-height: 2;
- }
- .lead-text {
- margin-top: 1rem;
- color: $gray;
- line-height: 2;
- text-align: justify;
- }
- .article-footer {
- margin-top: 1.2rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- @media screen and (max-width: 576px) {
- flex-direction: column;
- align-items: flex-start;
- }
- .author-published-holder {
- display: flex;
- align-items: center;
- .author-avatar {
- width: 3rem;
- height: 3rem;
- border-radius: 50%;
- }
- .author-published-text {
- margin-right: 0.75rem;
- }
- }
- .duration-of-study {
- color: lighten($gray, 20);
- font-size: 80%;
- @media screen and (max-width: 576px) {
- margin-top: 0.75rem;
- }
- }
- }
- }
- }
|