You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

117 lines
2.2 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. section.social {
  4. @media(max-width: 767px) {
  5. .container {
  6. padding: 0;
  7. }
  8. }
  9. h2 {
  10. margin-bottom: 0.4em;
  11. }
  12. .text-box > *:first-child {
  13. margin-top: var(--section-headline-margin);
  14. }
  15. .social-wrapper {
  16. position: relative;
  17. background-color: var(--theme-color-primary-dimmed-04);
  18. padding: var(--content-box-padding);
  19. display: flex;
  20. border-bottom: var(--border-width) solid var(--theme-color-secondary);
  21. @media(max-width: 999px) {
  22. flex-direction: column;
  23. }
  24. @media(max-width: 567px) {
  25. padding: calc(var(--content-box-padding) * 1.5) var(--content-box-padding);
  26. }
  27. @media(min-width: 1000px) {
  28. > div {
  29. flex: 1 1 50%;
  30. max-width: 50%;
  31. }
  32. }
  33. }
  34. .social-profiles p {
  35. margin-bottom: 0.5em;
  36. }
  37. .social-box {
  38. position: relative;
  39. height: 500px;
  40. display: block;
  41. line-height: 0 !important;
  42. &::before {
  43. content: '';
  44. @include full-size;
  45. border-radius: var(--border-radius-md);
  46. background-color: rgba(#fff, 0.5);
  47. background-image: url('../../assets/img/preload.svg');
  48. background-repeat: no-repeat;
  49. background-size: 80px;
  50. background-position: center;
  51. }
  52. @media(max-width: 767px) {
  53. height: 350px;
  54. }
  55. iframe {
  56. position: relative;
  57. min-height: 100%;
  58. }
  59. .fb_iframe_widget {
  60. float: right;
  61. @media(max-width: 999px) {
  62. float: none;
  63. display: inline-block;
  64. transform: translateX(-50%);
  65. left: 50%;
  66. }
  67. }
  68. }
  69. .social-profiles {
  70. position: absolute;
  71. bottom: var(--content-box-padding);
  72. left: var(--content-box-padding);
  73. @media(max-width: 567px) {
  74. bottom: calc(var(--content-box-padding) * 1.5);
  75. }
  76. }
  77. @media(min-width: 1000px) {
  78. .social-profiles ~ .text-box {
  79. padding-bottom: 120px;
  80. }
  81. .text-box {
  82. padding-right: 40px;
  83. }
  84. }
  85. @media(max-width: 999px) {
  86. .social-profiles {
  87. position: absolute;
  88. ~ .social-box {
  89. margin-bottom: 110px;
  90. }
  91. }
  92. .text-box {
  93. margin-bottom: 10px;
  94. }
  95. }
  96. }