Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.40 KB | None | 0 0
  1. body {
  2. font-family: 'Lato', sans-serif;
  3. color: #fff;
  4. }
  5.  
  6. canvas{
  7. position: absolute;
  8. width: 100%; height: 100%;
  9. top: 0; right: 0; bottom: 0; left: 0;
  10. }
  11.  
  12. .centered {
  13. text-align: center;
  14. font-size: 1.5em;
  15. font-weight: 300;
  16. position: fixed;
  17. bottom: 50px;
  18. right: 0%;
  19. left: 0;
  20. margin: auto;
  21. }
  22. a {
  23. color: #5dc;
  24. text-decoration: none;
  25. }
  26. a:hover {
  27. color: #6ae1d2;
  28. }
  29. .container {
  30. margin: 0;
  31. padding: 0;
  32. background: url('background.png') no-repeat bottom;
  33. width: 100%;
  34. height: 100vh;
  35. position: relative;
  36. -webkit-transition: all 0.3s;
  37. -moz-transition: all 0.3s;
  38. -o-transition: all 0.3s;
  39. transition: all 0.3s;
  40. overflow-y: hidden;
  41. }
  42. .container.menu-open {
  43. position: relative;
  44. /*right:230px;*/
  45. -webkit-transform: translate(-230px, 0);
  46. -moz-transform: translate(-230px, 0);
  47. -ms-transform: translate(-230px, 0);
  48. -o-transform: translate(-230px, 0);
  49. transform: translate(-230px, 0);
  50. /* .animation( open 0.6s linear once); */
  51. overflow-y: visible;
  52. }
  53. .container #nav {
  54. height: 50px;
  55. text-align: center;
  56. margin: 0;
  57. padding: 25px 0 0;
  58. }
  59. .container #nav.open .bars .bar1 {
  60. -webkit-transform: rotate(45deg) translate(8px, 7px);
  61. -moz-transform: rotate(45deg) translate(8px, 7px);
  62. -ms-transform: rotate(45deg) translate(8px, 7px);
  63. -o-transform: rotate(45deg) translate(8px, 7px);
  64. transform: rotate(45deg) translate(8px, 7px);
  65. }
  66. .container #nav.open .bars .bar2 {
  67. opacity: 0;
  68. }
  69. .container #nav.open .bars .bar3 {
  70. -webkit-transform: rotate(-45deg) translate(7px, -6px);
  71. -moz-transform: rotate(-45deg) translate(7px, -6px);
  72. -ms-transform: rotate(-45deg) translate(7px, -6px);
  73. -o-transform: rotate(-45deg) translate(7px, -6px);
  74. transform: rotate(-45deg) translate(7px, -6px);
  75. }
  76. .container #nav li {
  77. display: inline-block;
  78. }
  79. .container #nav li.bars {
  80. display: none;
  81. position: absolute;
  82. left: -55px;
  83. top: 0;
  84. cursor: pointer;
  85. background: rgba(0, 0, 0, 0.6);
  86. padding: 15px 15px 10px;
  87. }
  88. .container #nav li.bars .bar1,
  89. .container #nav li.bars .bar2,
  90. .container #nav li.bars .bar3 {
  91. width: 25px;
  92. height: 2px;
  93. background: #FFF;
  94. margin-bottom: 8px;
  95. -webkit-transition: all 0.6s;
  96. -moz-transition: all 0.6s;
  97. -o-transition: all 0.6s;
  98. transition: all 0.6s;
  99. }
  100. .container #nav li a {
  101. display: block;
  102. color: #fff;
  103. font-size: 18px;
  104. padding: 10px 25px;
  105. border: 2px solid transparent;
  106. text-decoration: none;
  107. -webkit-transition: all 0.3s;
  108. -moz-transition: all 0.3s;
  109. -o-transition: all 0.3s;
  110. transition: all 0.3s;
  111. }
  112. .container #nav li a:hover {
  113. border: 2px solid #fff;
  114. }
  115. .box {
  116. width: 50%;
  117. max-width: 425px;
  118. height: 450px;
  119. text-align: center;
  120. position: absolute;
  121. top: 0;
  122. bottom: 0;
  123. left: 0;
  124. right: 300;
  125. margin: auto;
  126. padding: 10px 0;
  127. -webkit-border-radius: 5px;
  128. -webkit-background-clip: padding-box;
  129. -moz-border-radius: 5px;
  130. -moz-background-clip: padding;
  131. }
  132. .box2 {
  133. width: 50%;
  134. max-width: 425px;
  135. height: 450px;
  136. text-align: center;
  137. position: absolute;
  138. top: 0;
  139. bottom: 0;
  140. left: 350px;
  141. right: 0;
  142. margin: auto;
  143. padding: 10px 0;
  144. -webkit-border-radius: 5px;
  145. -webkit-background-clip: padding-box;
  146. -moz-border-radius: 5px;
  147. -moz-background-clip: padding;
  148. }
  149. .box h2 {
  150. font-weight: 300;
  151. font-size: 1.5em;
  152. margin: 10px 0 0;
  153. }
  154. @media (max-width: 480px) {
  155. body {
  156. min-width: 320px;
  157. }
  158. .box {
  159. width: 90%;
  160. }
  161.  
  162. .container #nav {
  163. width: 230px;
  164. max-width: 480px;
  165. height: inherit;
  166. position: absolute;
  167. top: 0;
  168. right: -230px;
  169. }
  170. .container #nav li.bars {
  171. display: block;
  172. }
  173. .container #nav li a:hover {
  174. border-color: transparent;
  175. color: #5cd;
  176. }
  177. }
  178.  
  179. .box3 {
  180. width: 50%;
  181. max-width: 425px;
  182. height: 450px;
  183. text-align: center;
  184. position: absolute;
  185. top: 0;
  186. bottom: 0;
  187. left: 470px;
  188. right: 0;
  189. margin: auto;
  190. padding: 10px 0;
  191. -webkit-border-radius: 5px;
  192. -webkit-background-clip: padding-box;
  193. -moz-border-radius: 5px;
  194. -moz-background-clip: padding;
  195. }
  196. .box4 {
  197. width: 50%;
  198. max-width: 425px;
  199. height: 450px;
  200. text-align: center;
  201. position: absolute;
  202. top: 0;
  203. bottom: 0;
  204. left: 590px;
  205. right: 0;
  206. margin: auto;
  207. padding: 10px 0;
  208. -webkit-border-radius: 5px;
  209. -webkit-background-clip: padding-box;
  210. -moz-border-radius: 5px;
  211. -moz-background-clip: padding;
  212. }
  213. .box5 {
  214. width: 50%;
  215. max-width: 425px;
  216. height: 450px;
  217. text-align: center;
  218. position: absolute;
  219. top: 0;
  220. bottom: 0;
  221. left: 710px;
  222. right: 0;
  223. margin: auto;
  224. padding: 10px 0;
  225. -webkit-border-radius: 5px;
  226. -webkit-background-clip: padding-box;
  227. -moz-border-radius: 5px;
  228. -moz-background-clip: padding;
  229. }
  230. .box6 {
  231. width: 50%;
  232. max-width: 425px;
  233. height: 450px;
  234. text-align: center;
  235. position: absolute;
  236. top: 0;
  237. bottom: 0;
  238. left: 950px;
  239. right: 0;
  240. margin: auto;
  241. padding: 10px 0;
  242. -webkit-border-radius: 5px;
  243. -webkit-background-clip: padding-box;
  244. -moz-border-radius: 5px;
  245. -moz-background-clip: padding;
  246. }
  247. .box7 {
  248. width: 50%;
  249. max-width: 425px;
  250. height: 450px;
  251. text-align: center;
  252. position: absolute;
  253. top: 0;
  254. bottom: 0;
  255. left: 830px;
  256. right: 0;
  257. margin: auto;
  258. padding: 10px 0;
  259. -webkit-border-radius: 5px;
  260. -webkit-background-clip: padding-box;
  261. -moz-border-radius: 5px;
  262. -moz-background-clip: padding;
  263. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement