blockquote.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. blockquote {
  2. position: relative;
  3. z-index: 1;
  4. overflow: hidden;
  5. margin: 0px 11px 12px 0px;
  6. padding-left: 30px;
  7. border-left: 10px solid var( --vamtam-accent-color-1 );
  8. text-align: left;
  9. font-size: 1.4em;
  10. #main.layout-left-only &,
  11. #main.layout-left-right & {
  12. margin-left: 0;
  13. }
  14. p {
  15. font-family: var( --vamtam-h2-font-family );
  16. font-size: 1em;
  17. line-height: 1.5em;
  18. font-weight: bold;
  19. margin: 1em 0em !important;
  20. color: var( --vamtam-accent-color-1 );
  21. }
  22. &.jetpack-testimonial p {
  23. color: var( --vamtam-primary-font-color );
  24. }
  25. &.small {
  26. p, & {
  27. .vamtam-font(primary-font-);
  28. margin-bottom: 0;
  29. }
  30. }
  31. &.simple {
  32. overflow: auto;
  33. margin: 0;
  34. padding-left: 0;
  35. border-left: 0;
  36. text-align: center;
  37. display: flex;
  38. &.alignment-center {
  39. flex-flow: column;
  40. }
  41. &.alignment-left {
  42. flex-flow: row;
  43. .quote-text {
  44. text-align: left;
  45. width: 85%
  46. }
  47. .quote-thumbnail {
  48. width: 17%;
  49. margin: 0px 3% 0px 0px;
  50. }
  51. }
  52. &.alignment-right {
  53. flex-flow: row-reverse;
  54. .quote-text {
  55. text-align: right;
  56. width: 85%
  57. }
  58. .quote-thumbnail {
  59. width: 17%;
  60. margin-left: 3%;
  61. margin: 0px 0px 0px 3%;
  62. }
  63. }
  64. .quote-thumbnail {
  65. width: 120px;
  66. margin: auto auto 20px auto;
  67. text-align: center;
  68. img {
  69. display: block;
  70. margin: 0px;
  71. width: 100%;
  72. height: auto;
  73. border-radius: var( --vamtam-border-radius );
  74. }
  75. }
  76. .quote-text {
  77. .vamtam-font(primary-font-);
  78. overflow: hidden;
  79. display: inline-block;
  80. vertical-align: top;
  81. }
  82. .quote-summary {
  83. margin-top: 0;
  84. }
  85. h3.quote-summary {
  86. font-family: var( --vamtam-additional-font-1-font-family );
  87. color: var( --vamtam-accent-color-6 );
  88. }
  89. .quote-title-wrapper {
  90. margin: 10px 0 0 0;
  91. }
  92. .quote-title {
  93. width: auto;
  94. color: var( --vamtam-accent-color-3 );
  95. border: none;
  96. padding: 0px;
  97. border-radius: 0px;
  98. margin: 0px 0px 15px 0px;
  99. font-size: 10px;
  100. font-weight: normal;
  101. letter-spacing: 0.1em;
  102. &{
  103. color: var( --vamtam-accent-color-3 );
  104. }
  105. a {
  106. color: var( --vamtam-accent-color-1 );
  107. }
  108. .the-title:not(:last-child) {
  109. padding-right: 3px;
  110. }
  111. .the-title {
  112. padding-left: 5px;
  113. }
  114. .icon {
  115. font-size: 16px;
  116. vertical-align: bottom;
  117. padding-bottom: 2px;
  118. margin-right: 5px;
  119. color: var( --vamtam-accent-color-6 );
  120. }
  121. }
  122. }
  123. cite {
  124. display: block;
  125. margin: 20px 0 0 0;
  126. &, a {
  127. .vamtam-font(primary-font-);
  128. color: var( --vamtam-body-link-regular );
  129. }
  130. a {
  131. vertical-align: middle;
  132. }
  133. &:before {
  134. display: inline-block;
  135. margin-right: 10px;
  136. width: 30px;
  137. height: 0;
  138. border-bottom: 1px solid var( --vamtam-default-line-color );
  139. content: "";
  140. vertical-align: middle;
  141. }
  142. }
  143. &:last-child {
  144. cite:empty {
  145. display: none;
  146. }
  147. }
  148. p {
  149. &:first-child { margin-top: 0; }
  150. &:last-child { margin-bottom: 0; }
  151. }
  152. }
  153. .vamtam-tst-align-left .cbp-nav-pagination {
  154. right: inherit;
  155. }
  156. .vamtam-tst-align-right .cbp-nav-pagination {
  157. left: inherit;
  158. }
  159. .fl-builder .article.post_format-post-format-quote blockquote {
  160. text-align: center;
  161. border: none;
  162. padding: 0px;
  163. margin: 40px 0px 60px 0px;
  164. }