Advertisement
Guest User

Untitled

a guest
Oct 20th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.31 KB | None | 0 0
  1. body {margin: 0; background: #EFEFEF;}
  2. video {
  3. position: absolute;
  4. top: 50%;
  5. left: 50%;
  6. min-width: 100%;
  7. min-height: 100%;
  8. width: auto;
  9. height: auto;
  10. z-index: -100;
  11. -webkit-transform: translateX(-50%) translateY(-50%);
  12. transform: translateX(-50%) translateY(-50%);
  13. background-size: cover;  -webkit-transition: 1s opacity; transition: 1s opacity; }
  14.  
  15. .videoFA {
  16.     opacity:    1;
  17.     background: #000;
  18. position: absolute;
  19. top: 50%;
  20. left: 50%;
  21. min-width: 100%;
  22. min-height: 100%;
  23. width: auto;
  24. height: auto;
  25. z-index: -100;
  26. -webkit-transform: translateX(-50%) translateY(-50%);
  27. transform: translateX(-50%) translateY(-50%);
  28. background-size: cover;  -webkit-transition: 1s opacity; transition: 1s opacity; }
  29.  
  30. .div {
  31. float: left;
  32. position: absolute;
  33. margin-top:  45%;
  34. text-align: center;
  35. padding-left: 45%;
  36. }
  37. h1 { font-size: 3rem; text-transform: uppercase; margin-top: 0; letter-spacing: .3rem; }
  38. .stopfade { opacity: .25; }
  39. #polina .button {
  40.   display:  block;
  41.   width: 30px;
  42.   height: 30px;
  43.   background-image: url(unmuted.png);
  44. }
  45. #polina .buttons {
  46.   display:  block;
  47.   width: 30px;
  48.   height: 30px;
  49.   background-image: url(muted.png);
  50. }
  51. .line {
  52.   display:  block;
  53.   width: 923px;
  54.   height: 3px;
  55.   background-image: url(line.png);
  56. }
  57. @media screen and (max-width: 500px) {
  58.   div{width:70%;}
  59. }
  60. @media all and (max-device-width: 800px) {
  61.   #bgvid, #polina button { display: none; }
  62.   div{width:70%;}
  63. }
  64.  
  65. .logo {
  66. position: relative;
  67. margin-left: 1%;
  68. width:  165px;
  69. height:   58px;
  70.   background-image: url(logo.png);
  71.   background-repeat:  no-repeat;
  72.   z-index:  9999;
  73. }
  74.  
  75. .help{
  76. position: absolute;
  77. display:  block;
  78. background: #FBFBFB;
  79. opacity: 0.2;
  80. width:  200px;
  81. height: 30px;
  82. margin-top:  42%;
  83. margin-left:  40%;
  84. color:  #000;
  85. text-align: center;
  86. padding-top:    10px;
  87. }
  88.  
  89. .help:hover{
  90. position: absolute;
  91. display:  block;
  92. background: #FBFBFB;
  93. opacity: 0.5;
  94. width:  200px;
  95. height: 30px;
  96. margin-top:  42%;
  97. margin-left:  40%;
  98. padding-top:    10px;
  99. }
  100.  
  101. .block1{      
  102. position: absolute;
  103. margin-top: 65.5%;
  104. margin-left: 15%;
  105. width:  260px;
  106. height: 300px;
  107. opacity: 1;
  108. padding-left:   10px;
  109. }
  110.  
  111. .block2{
  112. position: absolute;
  113. margin-top: 65.5%;
  114. margin-left: 35%;
  115. color:  #000;    
  116. width:  260px;
  117. height: 300px;
  118. opacity: 1;
  119. padding-left:   10px;
  120. }
  121.  
  122. .block3{  
  123. position: absolute;
  124. margin-top: 65.5%;
  125. margin-left: 55%;
  126. color:  #000;    
  127. width:  260px;
  128. height: 300px;
  129. opacity: 1;
  130. padding-left:   10px;
  131. }
  132.  
  133. .block4{  
  134. position: absolute;
  135. margin-top: 65.5%;
  136. margin-left: 75%;
  137. color:  #000;  
  138. width:  260px;
  139. height: 300px;
  140. opacity: 1;
  141. padding-left:   10px;
  142. }
  143.  
  144.  
  145. .block1b{      
  146. position: absolute;
  147. margin-top: 85.5%;
  148. margin-left: 15%;
  149. color:  #000;  
  150. width:  260px;
  151. height: 300px;
  152. opacity: 1;
  153. padding-left:   10px;
  154. }
  155.  
  156. .block2b{
  157. position: absolute;
  158. margin-top: 85.5%;
  159. margin-left: 35%;
  160. color:  #000;    
  161. width:  260px;
  162. height: 300px;
  163. opacity: 1;
  164. padding-left:   10px;
  165. }
  166.  
  167. .block3b{  
  168. position: absolute;
  169. margin-top: 85.5%;
  170. margin-left: 55%;
  171. color:  #000;    
  172. width:  260px;
  173. height: 300px;
  174. opacity: 1;
  175. padding-left:   10px;
  176. }
  177.  
  178. .block4b{  
  179. position: absolute;
  180. margin-top: 85.5%;
  181. margin-left: 75%;
  182. color:  #000;  
  183. width:  260px;
  184. height: 300px;
  185. opacity: 1;
  186. padding-left:   10px;
  187. }
  188.  
  189. p{
  190. position: absolute;
  191. margin-top: 10%;
  192. margin-left:  15%;
  193. color:  #000;
  194. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement