Advertisement
Nikthe

CSS Tablon Flotante

Jan 22nd, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. /****************************************
  2. Botones flotantes
  3. *****************************************/
  4. #staffn, #staffp, #staffc{opacity:0;
  5. transition:ease-in-out 0.5s;
  6. -webkit-transition:ease-in-out 0.5s;
  7. -ms-transition:ease-in-out 0.5s;
  8. -moz-transition:ease-in-out 0.5s;}
  9. #staffp{-webkit-transform: scale(2.2);  
  10. -ms-transform: scale(2.2);  
  11. -o-transform: scale(2.2);  
  12. transform: scale(2.2);
  13. transition-delay:0.2s;
  14. -webkit-transition-delay:0.2s;
  15. -moz-transition-delay:0.2s;
  16. -ms-transition-delay:0.2s;
  17. background:#190B07;
  18. width:70%;
  19. padding: 4px 0;
  20. text-transform:uppercase;
  21. font:9px arial;
  22. letter-spacing:4px;
  23. margin: 0 auto;
  24. text-align:center;
  25. border-width: 0 10px;
  26. border-color:#610B0B;
  27. border-style:solid;
  28. margin-bottom:5px;}
  29. #staffimg:hover #staffn{transform: rotate(0deg);
  30. -ms-transform: rotate(0deg);
  31. -webkit-transform: rotate(0deg);
  32. -moz-transform: rotate(0deg);
  33. opacity:1;}
  34. #staffimg:hover #staffp, #staffimg:hover #staffc{opacity:1;
  35. -webkit-transform: scale(1);  
  36. -ms-transform: scale(1);  
  37. -o-transform: scale(1);  
  38. transform: scale(1);}
  39. #staffn{font:15px Nova Mono;
  40. transform: rotate(180deg);
  41. -ms-transform: rotate(180deg);
  42. -webkit-transform: rotate(180deg);
  43. -moz-transform: rotate(180deg);
  44. font-variant:small-caps;
  45. margin: 120px 10px 10px 10px;
  46. text-align:center;
  47. color:#fff;
  48. width:90%;
  49. background:#190B07;}
  50. #staffc{transition-delay:0.2s;
  51. -webkit-transition-delay:0.2s;
  52. -moz-transition-delay:0.2s;
  53. -ms-transition-delay:0.2s;
  54. -webkit-transform: scale(0.9);  
  55. -ms-transform: scale(0.9);  
  56. -o-transform: scale(0.9);  
  57. transform: scale(0.9);
  58. background:#000;
  59. padding: 4px 0;
  60. text-transform:uppercase;
  61. font:10px Iceland;
  62. letter-spacing:4px;
  63. margin: 0 auto;
  64. text-align:center;
  65. border-width: 0 10px;
  66. border-color:#000;
  67. border-style:solid;
  68. margin-bottom:5px;}
  69. .bt1{color:#ccc;
  70. font-family:calibri, sans-serif;
  71. font-size:10px;
  72. height:130px;
  73. line-height:90%;
  74. overflow:hidden;
  75. padding:10px;
  76. text-align:center;
  77. text-transform:uppercase;
  78. width:200px}
  79. .bt2{color:#fff;
  80. font-family:Economica;
  81. font-size:13px;
  82. height:300px;
  83. line-height:90%;
  84. overflow:hidden;
  85. padding:10px;
  86. text-align:justify;
  87. text-transform:uppercase;
  88. width:200px}
  89. .unum{background-color:#000;
  90. color:#FFF;
  91. float:left;
  92. font-family:Expletus Sans;
  93. font-size:15px;
  94. font-style:normal;
  95. font-weight:700;
  96. line-height:100%;
  97. margin:0 5px 0 0;
  98. padding:15px;
  99. text-align:center;
  100. text-transform:uppercase}
  101. #censox{background: #000;
  102. color: #FFF;
  103. font-family: Tahoma;
  104. font-size: 9px;
  105. display: inline-block;
  106. font-style: normal;
  107. font-variant: normal;
  108. font-weight: 400;
  109. margin-left: -2px;
  110. margin-right: 7px;
  111. padding: 5px 10px 5px 5px;
  112. text-align: left;
  113. width: 5px;}
  114. .censo {display: inline-block!important;
  115. padding: 5px 10px 5px 5px;
  116. text-align:justify;}​
  117. .censo14 {background:#D60000!important;
  118. display:inline-block;
  119. height:15px;
  120. margin-left:-5px}
  121. .censo10 {background: #000;}
  122. .censo11 {background: #f00;}
  123. .censo12 {background: #7a6937;}
  124. .censo13 {background: #55D4A1;}
  125.  
  126. #prem a {
  127. width: 60px;
  128. line-height: 100%;
  129. background: #79204e;
  130. display: inline-block;
  131. font-size: 12px;
  132. font-family: calibri;
  133. color: #eee;
  134. text-align: center;
  135. padding-top: 2px;
  136. padding-bottom: 2px;
  137. margin-left:30px;
  138. }
  139.  
  140. #prem {
  141. width: 120px;
  142. height: 80px;
  143. overflow: hidden;
  144. position: relative;
  145. border: 5px solid #79204e;
  146. margin-bottom: 10px;
  147. }
  148. #prem .efect2 {
  149. position: absolute;
  150. width: 160px;
  151. height: 80px;
  152. transition:1.5s;
  153. overflow: hidden;
  154. }
  155.  
  156. #prem:hover .efect2 {
  157. width: 0px;
  158. height: 0px;
  159. transition:1.5s;
  160. }
  161.  
  162.  
  163. .botones {
  164. position: fixed;
  165. top: 0px;
  166. left: 0px;
  167. }
  168.  
  169. .bot1, .bot2, .bot3, .bot4 { background: #134;
  170. border: 1px dotted #79204F;
  171. box-shadow: 2px 2px 2px rgba(0,0,0,0.5);
  172. cursor: pointer;
  173. height: 50px;
  174. text-align: center;
  175. transition: all .7s cubic-bezier(1,-0.75,0.5,1.2);
  176. width: 80px;}
  177. .bot1:hover, .bot2:hover, .bot3:hover, .bot4:hover {-webkit-box-shadow: 0px 0px 15px 15px #fff;
  178. box-shadow: 0px 0px 15px 15px #79204F;
  179. -webkit-transform: rotate(720deg);
  180. transform: rotate(720deg);}
  181. #caja1, #caja2, #caja3 { position: fixed;
  182. top: 20%;
  183. left: 30%;
  184. width: 600px;
  185. height: 370px;
  186. z-index: 999;
  187. padding: 10px;
  188. display: none;
  189. background: #134;
  190. border: 1px solid #79204e;
  191. box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); }
  192. #caja4 {position: fixed;
  193. top: 20%;
  194. left: 20%;
  195. width: 800px;
  196. height: 420px;
  197. z-index: 999;
  198. padding: 10px;
  199. display: none;
  200. background: #134;
  201. border: 1px solid #79204e;
  202. box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5); }
  203. #caja1 h1, #caja2 h1, #caja3 h1 { background: #79204e;
  204. border-bottom: 1px dotted #45545C;
  205. font-size: 20px;
  206. font-family: Meddon;
  207. letter-spacing: 3px;
  208. margin-top: -10px;
  209. padding: 0 20px;
  210. text-align: center;}
  211. .bot-text { color: #fff;
  212. font-family: 'Nova Mono', sans-serif;
  213. font-size: 10px;
  214. line-height: 50px;
  215. font-weight: 400;
  216. text-align: center;
  217. text-transform: uppercase; }
  218.  
  219. #columna2 {top: 50px;
  220. left: 120px;
  221. position: absolute;
  222. height: 370px;
  223. vertical-align: top;
  224. width: 270px;}
  225. #caja6 {background: transparent;
  226. height: 80px;
  227. margin-bottom: 10px;
  228. padding: 5px;
  229. position: relative;
  230. width: 200px;
  231. }
  232. #caja5 a{background:#134;color:#fff;display:block;font-family:calibri;font-size:10px;font-style:normal;
  233. font-variant:normal;font-weight:normal;letter-spacing:1px;margin:2px;padding:7px 0;text-align:center;
  234. text-decoration:none;text-transform:uppercase;transition:ease-in-out .2s;width:102.5px}
  235. #caja5 a:hover{background:#79204e}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement