single.less 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. body.single-post {
  2. .post-content .fl-row-fixed-width {
  3. max-width: 980px;
  4. }
  5. .single-post-wrapper .post-content-outer {
  6. .fl-row-fixed-width {
  7. font-size: calc( var( --vamtam-primary-font-font-size ) + 4px );
  8. p, ul li {
  9. line-height: calc( var( --vamtam-primary-font-line-height ) + 10px ) ;
  10. a {
  11. font-size: calc( var( --vamtam-primary-font-font-size ) + 4px );
  12. }
  13. }
  14. }
  15. .meta-top {
  16. display: flex;
  17. justify-content: center;
  18. flex-wrap: wrap;
  19. padding-bottom: 20px;
  20. margin-top: -5px;
  21. color: var( --vamtam-accent-color-3 );
  22. font-size: 14px;
  23. transition: all .3s ease;
  24. color: var( --vamtam-accent-color-3 );
  25. a {
  26. color: var( --vamtam-accent-color-3 );
  27. border: none;
  28. font-size: 14px;
  29. &:hover {
  30. color: var( --vamtam-body-link-hover );
  31. .icon.shortcode.use-hover {
  32. color: var( --vamtam-body-link-hover );
  33. }
  34. }
  35. }
  36. .comment-count {
  37. .icon {
  38. position: relative;
  39. top: 1px;
  40. padding: 0px 5px 0px 5px;
  41. }
  42. &:before {
  43. padding-left: 5px;
  44. }
  45. }
  46. .comment-count:before {
  47. content: "°";
  48. font-size: 14px;
  49. padding-left: 10px;
  50. line-height: 1.1em;
  51. vertical-align: bottom;
  52. opacity: 0.7;
  53. }
  54. }
  55. .author {
  56. text-align: center;
  57. width: 100%;
  58. font-family: var( --vamtam-additional-font-1-font-family );
  59. color: var( --vamtam-accent-color-3 );
  60. font-size: 14px;
  61. line-height: 1em;
  62. text-transform: uppercase;
  63. a {
  64. font-family: var( --vamtam-additional-font-1-font-family );
  65. font-size: 20px;
  66. margin-left: 5px;
  67. text-transform: none;
  68. }
  69. }
  70. .meta-bottom {
  71. margin-top: 20px;
  72. .icon {
  73. margin-right: 5px;
  74. }
  75. }
  76. .vamtam-meta-tax {
  77. font-size: 0px;
  78. a {
  79. font-family: var( --vamtam-additional-font-1-font-family );
  80. font-size: 24px;
  81. line-height: initial;
  82. display: inline-block;
  83. margin: 0px 5px;
  84. &:hover {
  85. color: var( --vamtam-body-link-hover );
  86. }
  87. &:after {
  88. content: ",";
  89. }
  90. &:last-child {
  91. &:after {
  92. display: none;
  93. }
  94. }
  95. }
  96. span.icon {
  97. display: none;
  98. }
  99. &.the-tags {
  100. span.icon {
  101. width: auto;
  102. display: inline-block;
  103. padding-right: 5px;
  104. color: var( --vamtam-accent-color-3 );
  105. }
  106. a {
  107. display: inline-block;
  108. margin: 0px 5px 5px 5px;
  109. font-size: var( --vamtam-primary-font-font-size );
  110. font-family: var( --vamtam-primary-font-font-family );
  111. transition: all .3s ease;
  112. &:hover {
  113. color: var( --vamtam-body-link-hover );
  114. }
  115. }
  116. }
  117. }
  118. p,
  119. .mejs-container {
  120. line-height: calc( var( --vamtam-primary-font-line-height ) + 4px );
  121. }
  122. .sd-social {
  123. border: none;
  124. }
  125. }
  126. article.full {
  127. .sd-content ul {
  128. text-align: center;
  129. }
  130. }
  131. article.left-right {
  132. .sd-social {
  133. text-align: center;
  134. }
  135. }
  136. .vamtam-related-content {
  137. .grid-1-1 {
  138. padding: 0;
  139. .loop-wrapper.scroll-x.news {
  140. padding-top: 0;
  141. }
  142. }
  143. }
  144. &.layout-left-only,
  145. &.layout-right-only {
  146. .meta-top,
  147. .loop-wrapper .post-article .post-content-outer .post-meta {
  148. justify-content: left !important;
  149. text-align: left;
  150. }
  151. .vamtam-meta-tax a {
  152. margin-left: 0px !important;
  153. }
  154. .sd-social {
  155. text-align: left;
  156. .sd-content ul li:first-child {
  157. margin-left: 0px;
  158. }
  159. }
  160. }
  161. }