Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. /**
  2. * Filter Posts
  3. */
  4.  
  5. #filterposts {
  6. .category-mt-photography{
  7. background-color: #fff;
  8.  
  9. h2.entry-title {
  10. color: #000;
  11. }
  12.  
  13. .post-content {
  14. p {
  15. color: #000!important;
  16. }
  17.  
  18. a {
  19. color: #fff;
  20. background: rgba(242, 106, 43, 0.7);
  21. }
  22. }
  23. }
  24.  
  25. .category-mt-photography:before {
  26. content: "MT Photography";
  27. background: #000;
  28. color: #fff;
  29. }
  30.  
  31. .category-simple-couple {
  32. background-color: #fff;
  33.  
  34. h2.entry-title {
  35. color: #000000;
  36. }
  37.  
  38. .post-content {
  39. p {
  40. color: #000000 !important;
  41. }
  42.  
  43. a {
  44. color: #222;
  45. background: rgba(255, 255, 255, 0.7);
  46. }
  47. }
  48. }
  49.  
  50. .category-simple-couple:before {
  51. content: "SimpleCouple";
  52. background: #000000;
  53. color: #fff;
  54. }
  55. }
  56.  
  57. #filterposts .category-mt-photography:after {
  58. box-shadow: inset 0px -58px 39px -34px #ffffff;
  59. }
  60.  
  61. #filterposts .category-simple-couple:after {
  62. box-shadow: inset 0px -58px 39px -34px #000000;
  63. }
  64.  
  65. #filterposts {
  66. position: relative;
  67. }
  68.  
  69. #filterposts .et_pb_post:before {
  70. position: absolute;
  71. top: 0;
  72. left: 0;
  73. border-radius: 0 0 5px 0;
  74. padding: 7px 21px;
  75. font-size: 12px;
  76. font-weight: 600;
  77. }
  78.  
  79. #filterposts .et_pb_post:after {
  80. content: "";
  81. position: absolute;
  82. z-index: 100;
  83. width: 100%;
  84. height: 50px;
  85. left: 0;
  86. bottom: 0;
  87. border-radius: 4px;
  88. }
  89.  
  90. #filterposts .et_pb_post {
  91. border: 1px solid #eee;
  92. display: none;
  93. border-radius: 4px;
  94. padding: 20px;
  95. margin: 2%;
  96. float: left;
  97. width: 46%;
  98. height: 250px;
  99. position: relative;
  100. overflow: hidden;
  101.  
  102. .post-content {
  103. a {
  104. position: absolute;
  105. bottom: 0;
  106. left: 0;
  107. z-index: 100;
  108. width: 100%;
  109. height: 100%;
  110. text-align: center;
  111. padding: 119px 0;
  112. top: 0;
  113. text-transform: capitalize;
  114. font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
  115. font-weight: bold;
  116. font-size: 20px;
  117. opacity: 0;
  118. transition: all .2s;
  119. }
  120. }
  121.  
  122. &:hover {
  123. .post-content {
  124. a {
  125. opacity: 1;
  126. }
  127. }
  128. }
  129. }
  130.  
  131. #filter-buttons {
  132. display: block;
  133. text-align: center;
  134. width: 96%;
  135. border: 1px solid #f3f3f3;
  136. background: #fff;
  137. border-radius: 4px;
  138. margin: 0 2%;
  139.  
  140. button {
  141. border: none;
  142. cursor: pointer;
  143. display: inline-block;
  144. padding: 25px 17px;
  145. margin: 0 8px;
  146. font-size: 16px;
  147. background: transparent;
  148. font-weight: 700;
  149. color: #666;
  150. font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
  151. transition: all .2s;
  152.  
  153. &:hover {
  154. border-bottom: 1px solid #81ab40;
  155. }
  156. }
  157.  
  158. .filter-btn.active {
  159. border-bottom: 2px solid #f26827 !important;
  160. }
  161. }
  162.  
  163. @media screen and (max-width: 980px) {
  164. #filterposts .et_pb_post {
  165. width: 100%;
  166. height: auto;
  167. float: none;
  168.  
  169. h2.entry-title {
  170. font-style: 18px !important;
  171. }
  172.  
  173. .post-content {
  174. a {
  175. position: relative;
  176. width: auto;
  177. background: transparent;
  178. opacity: 1;
  179. padding: 0;
  180. display: inline-block;
  181. font-size: 13px;
  182. }
  183. }
  184. }
  185. #filterposts .et_pb_post {
  186. display: none;
  187. }
  188.  
  189. #filterposts .et_pb_post:after {
  190. display: none;
  191. }
  192. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement