Advertisement
Guest User

gsdgdh

a guest
Feb 21st, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.36 KB | None | 0 0
  1. padding-top: (@paddingTop * 15px);
  2. padding-bottom: (@paddingBottom * 15px);
  3. & when (@bg-type = 'color') {
  4.   background-color: @bg-value;
  5. }
  6. & when (@bg-type = 'image') {
  7.   background-image: url(@bg-value);
  8.   .mbr-overlay {
  9.     background-color: @overlayColor;
  10.     opacity: @overlayOpacity;
  11.   }
  12. }
  13. & when not (@showTitle) {
  14.   .mbr-section-subtitle {
  15.     margin-bottom: 1rem;
  16.   }
  17. }
  18. .card-img {
  19.   overflow: hidden;
  20.   z-index: 100;
  21. }
  22. .position {
  23.   color: #91AC41;
  24.   & when (@showName) {
  25.     padding-left: 1.2rem;
  26.   }
  27. }
  28. .item-text {
  29.   margin-bottom: 1.2rem;
  30. }
  31. .mbr-temp, .mobirise-loader {
  32.   height: 3.00rem;
  33.   width: 3.00rem;
  34. }
  35. h4.name_position {
  36.   padding-right: 0.4rem;
  37. }
  38. .image-block {
  39.   width: 100%;
  40. }
  41. & when (@showPortrait) {
  42.   .card-img {
  43.     width: 3.00rem;
  44.   }
  45. }
  46. @media (max-width: 576px) {
  47.   .position {
  48.     padding-left: 0;
  49.   }
  50.   .item-text {
  51.     text-align: center;
  52.   }
  53.   .card-img {
  54.     display: flex;
  55.   }
  56.   .list-item {
  57.     flex-direction: column;
  58.     justify-content: center;
  59.     align-items: center;
  60.   }
  61.   div.list-item.mbr-col-sm-12 > .content-wrapper {
  62.     padding: 0;
  63.     flex-direction: column;
  64.   }
  65.   .list-item > .card-img {
  66.     margin-bottom: 1rem;
  67.   }
  68.   .content-wrapper > div.name_position {
  69.     flex-direction: column;
  70.   }
  71. }
  72. .item-title {
  73.   color: #91ac41;
  74. }
  75. .item-position {
  76.   color: #ffffff;
  77. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement