home.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @import '../app.scss';
  2. // Fonts
  3. @import '../fonts/awesome/awesome-font.css';
  4. @import '../fonts/iransans/iransans-font.css';
  5. body {
  6. font-family: iransans;
  7. }
  8. h1 {
  9. font-size: 1.5rem;
  10. }
  11. h2 {
  12. font-size: 1.4rem;
  13. }
  14. h3 {
  15. font-size: 1.3rem;
  16. }
  17. h4 {
  18. font-size: 1.2rem;
  19. }
  20. h5 {
  21. font-size: 1.1rem;
  22. }
  23. h6 {
  24. font-size: 1rem;
  25. }
  26. a {
  27. transition: all 0.3s ease;
  28. text-decoration: none;
  29. &:hover {
  30. text-decoration: none;
  31. }
  32. }
  33. .article-content-holder {
  34. margin: 3rem 0;
  35. .title {
  36. margin-bottom: 1.5rem;
  37. line-height: 2;
  38. color: $primary;
  39. }
  40. .author-published-holder {
  41. display: flex;
  42. align-items: center;
  43. .author-avatar {
  44. width: 3rem;
  45. height: 3rem;
  46. border-radius: 50%;
  47. }
  48. .author-published-text {
  49. margin-right: 0.75rem;
  50. .author-name {
  51. margin-bottom: 0.625rem;
  52. }
  53. .published-at {
  54. color: lighten($gray, 20);
  55. font-size: 80%;
  56. }
  57. }
  58. }
  59. }