IHazAnEmerald

LEGIT CSS CODE FOR LACHLAN

Oct 12th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. /* -------------------------------------------/
  2. IMAGE WIDGET HOVER CONTENT FONT STYLING
  3. / ------------------------------------------ */
  4. /* Change hover content title color and font size */
  5. .hover-img figcaption h3 {
  6. color: #ffffff;
  7. font-size: 22px;
  8. }
  9.  
  10. /* Change hover content paragraph color and font size */
  11. .hover-img figcaption p {
  12. color: #ffffff;
  13. font-size: 16px;
  14. }
  15.  
  16.  
  17. /* -------------------------------------------/
  18. IMAGE WIDGET STYLE 4 CONTENT STYLEING
  19. / ------------------------------------------ */
  20. /* Change content background color */
  21. .hover-img .hover-img-content{
  22. background: #fff;
  23. }
  24. /* Change content title font color & size */
  25. .hover-img .hover-img-content h3 {
  26. color: ;
  27. font-size: ;
  28. }
  29. /* Change content paragraph font color & size */
  30. .hover-img .hover-img-content p {
  31. color: ;
  32. font-size: ;
  33. }
  34.  
  35.  
  36. /* -------------------------------------------/
  37. IMAGE WIDGET BUTTON COLOR
  38. / ------------------------------------------ */
  39. /* Button for in Hover Content Area */
  40. .hover-image-button {
  41. color: #000;
  42. background: #eeeeee;
  43. border: 1px solid #ffffff;
  44. }
  45. .hover-image-button:hover {
  46. color: #000;
  47. background: #ffffff;
  48. }
  49.  
  50. /* Button for in Style 4 Content BELOW image */
  51. .hover-img-content .hover-image-button {
  52. color: #000;
  53. background: #ffffff;
  54. border: 1px solid #484848;
  55. }
  56.  
  57. .hover-img-content .hover-image-button:hover {
  58. color: #000;
  59. background: #eee;
  60. }
  61.  
  62.  
  63. /* ---------------- DO NOT EDIT ------------------------------------------------ */
  64. .hover-img{display:inline-block; width:100%; margin:0; position:relative}
  65. .hover-img figure{-webkit-margin-before:0; -webkit-margin-after:0; -webkit-margin-start:0; -webkit-margin-end:0; overflow:hidden; margin:0; position:relative; cursor: pointer;}
  66. .hover-img figure img{width:100%; display:block; position:relative}
  67. .hover-img figcaption{position:absolute; left:0; background-color:#262626; color:#fff; height:100%; width:100%; top:auto; bottom:0; opacity:0; -webkit-transform:translateY(100%); -moz-transform:translateY(100%); -ms-transform:translateY(100%); transform:translateY(100%); -webkit-backface-visibility:hidden; -moz-backface-visibility:hidden; backface-visibility:hidden; -webkit-transition:-webkit-transform 0.4s,opacity 0.1s 0.3s; -moz-transition:-moz-transform 0.4s,opacity 0.1s 0.3s; transition:transform 0.4s,opacity 0.1s 0.3s}
  68. .orange{background:#ff8a3c !important}
  69. .cyan{background:#42bdc2 !important}
  70. .green{background:#7fc242 !important}
  71. .blue{background:#2c3f52 !important}
  72. .lightblue{background:#a1def8 !important}
  73. .palegreen{background:#3fbf79 !important}
  74. .violet{background:#db6ac5 !important}
  75. .yellow{background:#fee664 !important}
  76. .silver{background:#cad3d0 !important}
  77. .pink {background-color: #c50379 !important;}
  78. .hover-img figcaption .caption-padding{text-align:center; height: 100%;}
  79. .hover-img figure:hover figcaption{opacity:0.9; -webkit-transform:translateY(0px); -moz-transform:translateY(0px); -ms-transform:translateY(0px); transform:translateY(0px); -webkit-transition:-webkit-transform 0.4s,opacity 0.1s; -moz-transition:-moz-transform 0.4s,opacity 0.1s; transition:transform 0.4s,opacity 0.1s}
  80. .hover-img .hover-img-content{padding:25px 10%; margin-bottom:15px}
  81. .caption-padding h3{padding-top: 15%;}
  82. /* Style 1 */
  83. .hover-img .style1 figure{
  84. border: 2px #ffffff solid;
  85. -moz-box-shadow: 0 0 5px #888;
  86. -webkit-box-shadow: 0 0 5px#888;
  87. box-shadow: 0 0 5px #888;
  88. margin: 5px 5px 20px 5px;
  89. }
  90.  
  91. /* Style 2 */
  92. .hover-img .style2 figure{
  93. -moz-box-shadow: 0 0 5px #888;
  94. -webkit-box-shadow: 0 0 5px#888;
  95. box-shadow: 0 0 5px #888;
  96. margin: 5px 5px 20px 5px;
  97. }
  98.  
  99. /* Style 3 */
  100. .hover-img .style3 figure{
  101. border: 6px solid #f1f1f1;
  102. -webkit-box-shadow: 0 8px 10px -6px rgba(0,0,0,0.5);
  103. -moz-box-shadow: 0 8px 10px -6px rgba(0,0,0,0.5);
  104. box-shadow: 0 8px 10px -6px rgba(0,0,0,0.5);
  105. }
  106.  
  107. /* Style 4 */
  108. .hover-img .style4 {
  109. -moz-box-shadow: 0 0 5px #888;
  110. -webkit-box-shadow: 0 0 5px#888;
  111. box-shadow: 0 0 5px #888;
  112. margin: 5px 5px 20px 5px;
  113. }
  114.  
  115.  
  116. /* Hover Types */
  117. /* ICON */
  118. .hover-img figcaption.article .caption-padding{
  119. background: url('article-icon.png') center center no-repeat;
  120. }
  121. .hover-img figcaption.image .caption-padding{
  122. background: url('image-icon.png') center center no-repeat;
  123. }
  124. .hover-img figcaption.video .caption-padding{
  125. background: url('video-icon.png') center center no-repeat;
  126. }
  127. .hover-img figcaption.info .caption-padding{
  128. background: url('info-icon.png') center center no-repeat;
  129. }
  130.  
  131. /* BUTTON */
  132. .hover-image-button {
  133. display: inline-block;
  134. padding: 15px;
  135. margin-top: 10px;
  136. -webkit-transition: .2s ease-out;
  137. -moz-transition: .2s ease-out;
  138. -o-transition: .2s ease-out;
  139. -ms-transition: .2s ease-out;
  140. transition: .2s ease-out;
  141. cursor: pointer;
  142. }
  143. .hover-image-button:hover {
  144. -webkit-transition: .4s ease-out;
  145. -moz-transition: .4s ease-out;
  146. -o-transition: .4s ease-out;
  147. -ms-transition: .4s ease-out;
  148. transition: .4s ease-out;
  149. }
  150.  
  151. /* END OF IMAGE WIDGET */
Advertisement
Add Comment
Please, Sign In to add comment