blog-author.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*========================================
  2. AUTHOR SINGLE PAGE STYLE
  3. =========================================*/
  4. .author-single {
  5. padding: 30px;
  6. border-radius: 8px;
  7. margin-bottom: 30px;
  8. background: var(--white);
  9. }
  10. .author-content {
  11. margin-bottom: 20px;
  12. display: -webkit-box;
  13. display: -ms-flexbox;
  14. display: flex;
  15. -webkit-box-align: start;
  16. -ms-flex-align: start;
  17. align-items: flex-start;
  18. -webkit-box-pack: start;
  19. -ms-flex-pack: start;
  20. justify-content: flex-start;
  21. }
  22. .author-image {
  23. margin-right: 20px;
  24. }
  25. .author-image img {
  26. width: 120px;
  27. height: 120px;
  28. border-radius: 50%;
  29. border: 8px solid var(--chalk);
  30. }
  31. .author-info {
  32. margin-top: 10px;
  33. }
  34. .author-name {
  35. margin-left: 10px;
  36. text-transform: capitalize;
  37. }
  38. .author-mail {
  39. color: var(--primary);
  40. margin-bottom: 10px;
  41. margin-left: 10px;
  42. font-weight: 400;
  43. }
  44. .author-social li {
  45. display: inline-block;
  46. }
  47. .author-social li a {
  48. width: 40px;
  49. height: 40px;
  50. font-size: 16px;
  51. line-height: 40px;
  52. border-radius: 50%;
  53. text-align: center;
  54. color: var(--text);
  55. transition: all linear .3s;
  56. -webkit-transition: all linear .3s;
  57. -moz-transition: all linear .3s;
  58. -ms-transition: all linear .3s;
  59. -o-transition: all linear .3s;
  60. }
  61. .author-social li a:hover {
  62. color: var(--white);
  63. background: var(--primary);
  64. }
  65. .author-bio {
  66. margin-bottom: 30px;
  67. }
  68. .author-meta {
  69. display: -ms-grid;
  70. display: grid;
  71. grid-gap: 15px;
  72. -ms-grid-columns: (minmax(220px, 1fr))[auto-fit];
  73. grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  74. -ms-grid-rows: auto;
  75. grid-template-rows: auto;
  76. }
  77. .author-meta li {
  78. padding: 10px 0px;
  79. border-radius: 6px;
  80. text-align: center;
  81. background: var(--chalk);
  82. display: -webkit-box;
  83. display: -ms-flexbox;
  84. display: flex;
  85. -webkit-box-align: center;
  86. -ms-flex-align: center;
  87. align-items: center;
  88. -webkit-box-pack: center;
  89. -ms-flex-pack: center;
  90. justify-content: center;
  91. transition: all linear .3s;
  92. -webkit-transition: all linear .3s;
  93. -moz-transition: all linear .3s;
  94. -ms-transition: all linear .3s;
  95. -o-transition: all linear .3s;
  96. }
  97. .author-meta li:hover {
  98. background: var(--primary);
  99. color: var(--white);
  100. }
  101. .author-meta li:hover i {
  102. color: var(--white);
  103. }
  104. .author-meta li i {
  105. color: var(--primary);
  106. margin-right: 6px;
  107. font-size: 16px;
  108. transition: all linear .3s;
  109. -webkit-transition: all linear .3s;
  110. -moz-transition: all linear .3s;
  111. -ms-transition: all linear .3s;
  112. -o-transition: all linear .3s;
  113. }
  114. .top-filter {
  115. margin-bottom: 30px;
  116. }
  117. @media (max-width: 575px) {
  118. .author-content {
  119. -webkit-box-orient: vertical;
  120. -webkit-box-direction: normal;
  121. -ms-flex-direction: column;
  122. flex-direction: column;
  123. }
  124. .author-image {
  125. margin: 0px;
  126. }
  127. }