123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- @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;
- }
- }
- .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: 768px){
- max-width: 100%;
- }
- }
- }
- }
- }
|