dividers.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. .additional-space-after-dividers() {
  2. + .frame-fl {
  3. margin-top: calc( var( --vamtam-vertical-padding ) / 2 );
  4. }
  5. }
  6. .sep-text {
  7. .additional-space-after-dividers();
  8. position: relative;
  9. margin: 30px 0 30px 0;
  10. text-align: center;
  11. .content,
  12. .sep-text-more {
  13. display: table-cell;
  14. vertical-align: middle;
  15. white-space: nowrap;
  16. * {
  17. margin: 0;
  18. line-height: 1;
  19. }
  20. h6 {
  21. color: var( --vamtam-accent-color-1 );
  22. font-family: var( --vamtam-additional-font-2-font-family );
  23. font-size: 1em;
  24. letter-spacing: 0.3em;
  25. padding-top: 10px;
  26. }
  27. h6:before,
  28. h6:after {
  29. display: inline-block;
  30. width: auto;
  31. height: 15px;
  32. content: "~";
  33. font-size: 1.2em;
  34. padding: 0px 5px;
  35. }
  36. }
  37. .content {
  38. padding-right: .7em;
  39. padding-left: .7em;
  40. }
  41. .sep-text-before,
  42. .sep-text-after {
  43. display: table-cell;
  44. width: 100%;
  45. vertical-align: middle;
  46. text-align: right;
  47. }
  48. .sep-text-after {
  49. text-align: left;
  50. }
  51. .sep-text-line {
  52. display: inline-block;
  53. width: 30%;
  54. border-top: 0 solid;
  55. border-bottom: 1px solid;
  56. color: var( --vamtam-default-line-color );
  57. vertical-align: baseline;
  58. }
  59. &.centered {
  60. .sep-text-before,
  61. .sep-text-after {
  62. width: 50%;
  63. font-size: 10px;
  64. }
  65. }
  66. &:last-child {
  67. margin-bottom: var( --vamtam-small-padding );
  68. }
  69. + .row {
  70. padding-top: 15px;
  71. }
  72. }
  73. .vamtam-heading {
  74. display: block;
  75. align-items: center;
  76. justify-content: space-between;
  77. .vamtam-heading-line {
  78. flex: 100 1 auto;
  79. border-bottom: 1px solid var( --vamtam-default-line-color );
  80. margin-top: 10px;
  81. &-left {
  82. display: none;
  83. }
  84. &-right {
  85. display: block !important;
  86. }
  87. }
  88. > a {
  89. flex: 0 1 auto;
  90. }
  91. }
  92. .related-content-title {
  93. text-align: center;
  94. position: relative;
  95. margin: 0;
  96. padding-bottom: 40px;
  97. font-weight: bold;
  98. }