Advertisement
Katting

Katting's Zodiac Popups [CSS]

Sep 27th, 2016
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. /*---------------------------*/
  2.  
  3. #zodiac{
  4. margin-left:10px;
  5. margin-right:10px;
  6. margin-top:2px;
  7. margin-bottom:2px;
  8. padding:3px;
  9. text-align:center;
  10. border-radius:3px;
  11. border:1px solid #cccccc;
  12. background-color:#ffffff;
  13. font-family:'Roboto';
  14. font-size:10.5px;
  15. color:#cccccc;
  16. -webkit-transition: all 1s ease;
  17. -moz-transition: all 1s ease;
  18. -o-transition: all 1s ease;
  19. transition: all 1s ease;
  20. }
  21.  
  22. #zodiac:hover{
  23. background-color:#cccccc;
  24. color:#ffffff;
  25. }
  26.  
  27. /*----------------------------*/
  28.  
  29. .popup_block{
  30. display:none; /*hides when not using*/
  31. position:fixed;
  32. top:50%;
  33. left:50%;
  34. z-index:99999999999999000000;
  35. }
  36.  
  37. #zodiacblock{
  38. position:fixed;
  39. top:50%;
  40. left:50%;
  41. transform:translate(-50%,-50%);
  42. padding:20px;
  43. width:550px;
  44. background-color:#ffffff;
  45. border:1px solid #888888;
  46. }
  47.  
  48. #ztitle{
  49. padding:5px;
  50. background-color:#363333;
  51. font-family:'Raleway';
  52. text-align:center;
  53. font-size:18px;
  54. color:#ffffff;
  55. }
  56.  
  57. #pictures{
  58. margin-top:10px;
  59. width:320px;
  60. height:320px;
  61. padding:10px;
  62. overflow-y:auto;
  63. border:1px solid #cccccc;
  64. text-align:center;
  65. }
  66.  
  67. #pictures img{
  68. height:100px;
  69. width:100px;
  70. margin:2px;
  71. border-radius:5px;
  72. -webkit-transition: all 1s ease;
  73. -moz-transition: all 1s ease;
  74. -o-transition: all 1s ease;
  75. transition: all 1s ease;
  76. }
  77.  
  78. #pictures img:hover{
  79. opacity:0.75;
  80. }
  81.  
  82. #zinfo{
  83. position:fixed;
  84. bottom:20px;
  85. right:20px;
  86. width:175px;
  87. height:320px;
  88. padding:10px;
  89. overflow-y:auto;
  90. border:1px solid #cccccc;
  91. text-align:justify;
  92. font-family:'Roboto';
  93. font-size:11px;
  94. color:#888888;
  95. }
  96.  
  97. #zinfo h2{
  98. text-align:center;
  99. margin-top:0px;
  100. margin-bottom:5px;
  101. padding:5px;
  102. background-color:#888888;
  103. font-family:'Roboto';
  104. font-size:13px;
  105. color:#ffffff;
  106. }
  107.  
  108. #zinfo p{
  109. margin-top:2px;
  110. margin-bottom:2px;
  111. text-align:left;
  112. }
  113.  
  114. #zinfo b{
  115. color:#cccccc;
  116. }
  117.  
  118. #zinfo hr{
  119. border:none;
  120. height:1px;
  121. background-color:#888888;
  122. }
  123.  
  124. #zfact{
  125. margin:2px;
  126. padding-left:2px;
  127. border-left:11px solid #cccccc;
  128. }
  129.  
  130. #source{
  131. position:absolute;
  132. bottom:2px;
  133. right:2px;
  134. width:30px;
  135. height:30px;
  136. padding:5px;
  137. text-align:center;
  138. font-size:30px;
  139. font-family:'astroregular'; /*font needed for the zodiac signs, don't edit*/
  140. /*edit the following to your desired look*/
  141. background-color:#cccccc;
  142. border:3px solid #ffffff;
  143. border-radius:3px; /*rounded corners*/
  144. -webkit-transition: all 1s ease;
  145. -moz-transition: all 1s ease;
  146. -o-transition: all 1s ease;
  147. transition: all 1s ease;
  148. }
  149.  
  150. #source:hover{
  151. background-color:#363333;
  152. }
  153.  
  154. #source a{
  155. color:#ffffff;
  156. }
  157.  
  158. #fade { /*--background layer on pop-ups--*/
  159. display: none; /*--hidden by default--*/
  160. position: fixed;
  161. left: 0;
  162. top: 0;
  163. width: 100%;
  164. height: 100%;
  165. z-index: 999900;
  166. /*--edit the following to how you want your fade to look--*/
  167. opacity: 1;
  168. background:#eeeeee;
  169. }
  170.  
  171. img.btn_close {
  172. display:none;
  173. }
  174.  
  175. /*--Making IE6 Understand Fixed Positioning--*/
  176. *html #fade {
  177. position: absolute;
  178. }
  179.  
  180. *html .popup_block{
  181. position: absolute;
  182. }
  183.  
  184. /*---------------------------*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement