Advertisement
Guest User

hover

a guest
Jul 22nd, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. .sqs-lightbox-meta {
  2. margin: 20px auto 20px auto !important;
  3. padding: 20px !important;
  4. }
  5.  
  6. .sqs-gallery-block-grid .slide:hover {
  7. img {
  8. -webkit-filter: brightness(0.4);
  9. -moz-filter: brightness(0.4);
  10. filter: brightness(0.4);
  11. }
  12. .image-slide-title {
  13. opacity: 1 !important;
  14. }
  15. .image-slide-title strong {
  16. opacity: 1 !important;
  17. }
  18. .image-slide-title a {
  19. }
  20. }
  21. .sqs-gallery-block-grid {
  22. img {
  23. -webkit-filter: brightness(0.9);
  24. -moz-filter: brightness(0.9);
  25. filter: brightness(0.9);
  26. transition: all ease-in-out 600ms !important;
  27. }
  28. .image-slide-title {
  29. display: block !important;
  30. color: #fff !important;
  31. font-weight: 600;
  32. font-size: 20px;
  33. line-height: 25px;
  34. text-align: center !important;
  35. padding: 0px;
  36. position: absolute;
  37. top: 50%;
  38. left: 50%;
  39. -webkit-transform: translate(-50%, -50%);
  40. -ms-transform: translate(-50%, -50%);
  41. -moz-transform: translate(-50%, -50%);
  42. transform: translate(-50%, -50%); width: 80%;
  43. opacity: 0;
  44. transition: all ease-in-out 600ms !important;
  45. }
  46. .image-slide-title strong {
  47. display: block ;
  48. font-weight: 200;
  49. font-size: 15px;
  50. padding-right: 10px;
  51. opacity: 1;
  52. transition: all ease-in-out 600ms
  53. !important;
  54. }
  55. .image-slide-title strong:before {
  56. content: "• • •" ;
  57. display: block;
  58. text-align: center !important;
  59. }
  60. .image-slide-title p {
  61. padding-left: 10px;
  62. padding-right: 10px;
  63. margin: 0px;
  64. opacity: 0 !important;
  65. transition: all ease-in-out 600ms !important;
  66. }
  67. .image-slide-title a {
  68. color: #4ECDC4 !important;
  69. font-size: 20px;
  70. padding-left: 10px;
  71. transition: all ease-in-out 600ms !important;
  72. }
  73. }
  74. @media (max-width : 870px) {
  75. .sqs-gallery-block-grid {
  76. .image-slide-title {
  77. opacity: 0;
  78. font-size: 11px !important;
  79. }
  80. .image-slide-title strong {
  81. display: none !important;
  82. opacity: 0 !important;
  83. }
  84. .image-slide-title a {
  85. display: block !important;
  86. }
  87. }
  88. }
  89. @media (max-width : 768px) {
  90. .sqs-gallery-block-grid {
  91. .image-slide-title {
  92. opacity: 0;
  93. font-size: 11px !important;
  94. }
  95. .image-slide-title strong {
  96. display: none !important;
  97. opacity: 0 !important;
  98. }
  99. .image-slide-title a {
  100. display: block !important;
  101. }
  102. }
  103. }.image-slide-title {
  104. p {
  105. max-width: 90% !important;
  106. }
  107. white-space: initial !important;
  108. text-overflow: initial !important;
  109. transform: translateY(-0.5em);
  110. -webkit-transform: translateY(-0.5em);
  111. -moz-transform: translateY(-0.5em);
  112. -ms-transform: translateY(-0.5em);
  113. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement