RyanEarnshaw

Untitled

Mar 1st, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.60 KB | None | 0 0
  1. *, html {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html, body {
  7. font-family: sans-serif;
  8. background-color: #000000;
  9. }
  10.  
  11. .header {
  12. position: relative;
  13. display: inline-block;
  14. height: 80px;
  15. width: 100%;
  16. background-color: #000000;
  17. }
  18.  
  19. .header img {
  20. position: absolute;
  21. max-height: 90%;
  22. max-width: 100%;
  23. top: 50%;
  24. left: 50%;
  25. transform: translate(-50%, -50%);
  26. }
  27.  
  28. .hero-image {
  29. position: relative;
  30. height: 100vh;
  31. width: 100%;
  32. background-color: #000000;
  33. overflow: hidden;
  34. }
  35. .hero-image .image {
  36. position: absolute;
  37. min-height: 100vh;
  38. min-width: 100%;
  39. top: 50%;
  40. left: 50%;
  41. transform: translate(-50%, -50%);
  42. }
  43.  
  44. .innercontainer {
  45. position: absolute;
  46. display: inline-block;
  47. bottom: 0;
  48. left: 0;
  49. width: 100%;
  50. text-align: center;
  51. }
  52. .primo-logo {
  53. position: relative;
  54. display: inline-block;
  55. float: none;
  56. width: 100%;
  57. text-align: center;
  58. background-color: transparent;
  59. margin-bottom: 7vh;
  60. }
  61. .primo-logo img {
  62. position: relative;
  63. max-height: 450px;
  64. max-width: 600px;
  65. }
  66. .primo-title-text {
  67. position: relative;
  68. display: inline-block;
  69. text-align: center;
  70. width: 100%;
  71. background-color: transparent;
  72. margin-bottom: 7vh;
  73. }
  74. .primo-title-text h1 {
  75. position: relative;
  76. display: inline-block;
  77. font-family: sans-serif;
  78. font-weight: normal;
  79. font-size: 30px;
  80. max-width: 600px;
  81. color: #ffffff;
  82. }
  83. .primo-title-arrow {
  84. position: relative;
  85. display: inline-block;
  86. width: 50px;
  87. height: 50px;
  88. border-radius: 100%;
  89. background-color: #f3bc15;
  90. margin-bottom: 20vh;
  91. }
  92. .primo-title-arrow img {
  93. position: absolute;
  94. display: inline-block;
  95. max-width: 60%;
  96. max-height: 80%;
  97. top: 50%;
  98. left: 50%;
  99. transform: translate(-50%, -50%);
  100. }
  101.  
  102.  
  103. .section {
  104. position: relative;
  105. display: inline-block;
  106. padding: 50px 0px;
  107. width: 100%;
  108. text-align: center;
  109. background-color: #000000;
  110. }
  111. .section.s1 .text {
  112. margin-right: 50px;
  113. }
  114. .section .text {
  115. position: relative;
  116. display: inline-block;
  117. width: 400px;
  118. }
  119. .section .text h1 {
  120. position: relative;
  121. display: inline-block;
  122. width: 100%;
  123. text-align: left;
  124. font-family: sans-serif;
  125. font-weight: bold;
  126. font-size: 19px;
  127. line-height: 26px;
  128. margin-bottom: 30px;
  129. color: #f3bc15;
  130. }
  131. .section .text h2 {
  132. position: relative;
  133. display: inline-block;
  134. width: 100%;
  135. text-align: left;
  136. font-family: sans-serif;
  137. font-weight: 100;
  138. font-size: 16px;
  139. line-height: 22px;
  140. margin-bottom: 15px;
  141. color: #f3bc15;
  142. }
  143. .section.s1 .image {
  144. position: relative;
  145. display: inline-block;
  146. width: 300px;
  147. top: 50%;
  148. left: 0;
  149. transform: translateY(-50%);
  150. }
  151. .section.s1 .image img {
  152. max-width: 100%;
  153. max-height: 100%;
  154. }
  155.  
  156.  
  157. .section.s2 {
  158. background-color: #f3bc15;
  159. text-align: center;
  160. }
  161. .section .smaller-cont {
  162. position: relative;
  163. display: inline-block;
  164. width: 500px;
  165. }
  166. .section .section-bgimage {
  167. position: absolute;
  168. top: 0;
  169. left: 0;
  170. width: 100%;
  171. height: 100%;
  172. }
  173. .section .section-bgimage img {
  174. position: absolute;
  175. max-width: 750px;
  176. max-height: 100%;
  177. top: 50%;
  178. left: 50%;
  179. transform: translate(-50%, -50%);
  180. }
  181. .section .title h1 {
  182. position: relative;
  183. display: inline-block;
  184. width: 100%;
  185. text-align: center;
  186. font-weight: 100;
  187. font-family: sans-serif;
  188. font-size: 30px;
  189. color: #ffffff;
  190. }
  191. .section .points-ball {
  192. position: relative;
  193. display: inline-block;
  194. margin: 30px 0px;
  195. width: 150px;
  196. height: 150px;
  197. border-radius: 100%;
  198. text-align: center;
  199. background-color: #ffffff;
  200. }
  201. .section .points-ball h1 {
  202. position: absolute;
  203. display: inline-block;
  204. top: 50%;
  205. left: 50%;
  206. transform: translate(-50%, -50%);
  207. font-size: 93px;
  208. color: #f3bc15;
  209. }
  210. .section.s2 .text {
  211. width: 100%;
  212. }
  213. .section.s2 .text h2 {
  214. position: relative;
  215. display: inline-block;
  216. width: 100%;
  217. text-align: center;
  218. font-family: sans-serif;
  219. font-weight: 100;
  220. font-size: 25px;
  221. line-height: 28px;
  222. margin-bottom: 15px;
  223. color: #ffffff;
  224. }
  225.  
  226.  
  227. .section.s3 {
  228. display: flex;
  229. background-color: #ffffff;
  230. padding: 0;
  231. }
  232. .section.s3 .image-left {
  233. position: relative;
  234. display: inline-block;
  235. width: 25%;
  236. max-width: 350px;
  237. float: left;
  238. overflow:hidden;
  239. align-items: stretch;
  240. flex: 1
  241. }
  242. .section.s3 .image-left img {
  243. position: absolute;
  244. max-width: 100%;
  245. top: 50%;
  246. left: 0;
  247. transform: translateY(-50%);
  248. }
  249. .section.s3 .text {
  250. padding: 50px 0 50px 4vw;
  251. width: 35%;
  252. float: left;
  253. }
  254. .section.s3 .text h2 {
  255. font-size: 14px;
  256. color: #000000;
  257. }
  258. .section.s3 .image-right {
  259. position: relative;
  260. display: inline-block;
  261. width: 40%;
  262. float: left;
  263. overflow:hidden;
  264. align-items: stretch;
  265. flex: 1
  266. }
  267. .section.s3 .image-right img {
  268. position: absolute;
  269. max-width: 100%;
  270. max-height: 130%;
  271. top: 50%;
  272. left: 50%;
  273. transform: translate(-50%,-50%);
  274. }
  275.  
  276.  
  277.  
  278. .section.s4 {
  279. background-color: #f3bc15;
  280. text-align: center;
  281. }
  282. .section.s4 .button a {
  283. text-decoration: none;
  284. font-weight: bold;
  285. font-family: sans-serif;
  286. font-size: 20px;
  287. color: #ffffff;
  288. }
  289. .section.s4 .button {
  290. position: relative;
  291. display: inline-block;
  292. width: 300px;
  293. padding: 20px 0;
  294. border: 2px solid #ffffff;
  295. background-color: #f3bc15;
  296. transition: background-color 0.3s ease;
  297. cursor: pointer;
  298. }
  299. .section.s4 .button:hover {
  300. background-color: #cda11a;
  301. }
  302.  
  303.  
  304.  
  305.  
  306.  
  307. .footer {
  308. position: relative;
  309. display: inline-block;
  310. padding: 50px 0px 20px 0px;
  311. width: 100%;
  312. text-align: center;
  313. background-color: #000000;
  314. }
  315. .footer .middlelink,
  316. .footer .bottomcont {
  317. position: relative;
  318. display: inline-block;
  319. width: 100%;
  320. max-width: 1360px;
  321. }
  322. .footer .middlelink h1 {
  323. position: relative;
  324. display: inline-block;
  325. width: 100%;
  326. text-align: center;
  327. color: #f3bc15;
  328. font-weight: 100;
  329. font-family: sans-serif;
  330. font-size: 16px;
  331. margin-bottom: 10px;
  332. }
  333. .footer .links h1 {
  334. position: relative;
  335. display: inline-block;
  336. width: 100%;
  337. text-align: left;
  338. color: #f3bc15;
  339. font-weight: 100;
  340. font-family: sans-serif;
  341. font-size: 14px;
  342. line-height: 25px;
  343. }
  344. .footer .links {
  345. width: 66.66666666%;
  346. float: left;
  347. }
  348. .footer .logo {
  349. width: 33.33333333%;
  350. float: left;
  351. text-align: right;
  352. }
  353. .footer .logo img {
  354. position: relative;
  355. display: inline-block;
  356. max-height: 100%;
  357. max-width: 100%;
  358. }
  359.  
  360.  
  361.  
  362.  
  363. /* MEDIA QUERIES */
  364.  
  365.  
  366.  
  367. /* ----------------------------------------------------*/
  368. /* Code That Doesnt Change Between Mobile Resolution */
  369. /* ----------------------------------------------------*/
  370. @media only screen and (min-width : 0px) and (max-width : 992px) {
  371.  
  372. }
  373.  
  374.  
  375. /* ----------------------------------------------------*/
  376. /* Custom, iPhone Retina */
  377. /* ----------------------------------------------------*/
  378. @media only screen and (max-width : 320px) {
  379. body::before {
  380. content: "max-width : 320px fired";
  381. display: block; text-align: center;
  382. background: rgba(255, 255, 0, 0.48); width: 100%;
  383. position: fixed;
  384. top: 0; left: 0;
  385. z-index: 9999;
  386. }
  387. .section.s1 .image {
  388. display: inline-block;
  389. width: 100%;
  390. top: auto;
  391. left: auto;
  392. transform: none;
  393. }
  394. .section .smaller-cont { width: 100%; }
  395. .section.s1 .image img { max-width: 300px; }
  396. .section.s1 .text { margin: 0; padding: 0 10%; width: 100%; box-sizing: border-box; }
  397. .section .text h1 { text-align: center; }
  398. .section .text h2 { text-align: center; }
  399. .section.s3 .image-right { display: none; }
  400. .section.s3 .image-left { display: none; }
  401. .section.s3 .text { width: 75%; box-sizing: border-box; padding: 50px 4vw;}
  402. .section.s4 .button { width: 90%; margin: 10px 0; }
  403. }
  404.  
  405.  
  406. /* ----------------------------------------------------*/
  407. /* Extra Small Devices, Phones */
  408. /* ----------------------------------------------------*/
  409. @media only screen and (min-width : 320px) and (max-width : 480px) {
  410. body::before {
  411. content: "max-width : 480px fired";
  412. display: block; text-align: center;
  413. background: rgba(255, 255, 0, 0.48); width: 100%;
  414. position: fixed;
  415. top: 0; left: 0;
  416. z-index: 9999;
  417. }
  418. .section.s1 .image {
  419. display: inline-block;
  420. width: 100%;
  421. top: auto;
  422. left: auto;
  423. transform: none;
  424. }
  425. .section .smaller-cont { width: 100%; }
  426. .section.s1 .image img { max-width: 300px; }
  427. .section.s1 .text { margin: 0; padding: 0 10%; width: 100%; box-sizing: border-box; }
  428. .section .text h1 { text-align: center; }
  429. .section .text h2 { text-align: center; }
  430. .section.s3 .image-right { display: none; }
  431. .section.s3 .text { width: 75%; box-sizing: border-box; padding: 50px 4vw;}
  432. .section.s4 .button { width: 90%; margin: 10px 0; }
  433. }
  434.  
  435.  
  436. /* ----------------------------------------------------*/
  437. /* Small Devices, Tablets */
  438. /* ----------------------------------------------------*/
  439. @media only screen and (min-width : 480px) and (max-width : 768px) {
  440. body::before {
  441. content: "max-width : 768px fired";
  442. display: block; text-align: center;
  443. background: rgba(255, 255, 0, 0.48); width: 100%;
  444. position: fixed;
  445. top: 0; left: 0;
  446. z-index: 9999;
  447. }
  448. .section.s1 .image {
  449. display: inline-block;
  450. width: 100%;
  451. top: auto;
  452. left: auto;
  453. transform: none;
  454. }
  455. .section.s1 .image img { max-width: 300px; }
  456. .section.s1 .text { margin: 0; padding: 0 10%; width: 100%; box-sizing: border-box; }
  457. .section .text h1 { text-align: center; }
  458. .section .text h2 { text-align: center; }
  459. .section.s3 .image-right { display: none; }
  460. .section.s3 .text { width: 75%; box-sizing: border-box; padding: 50px 4vw;}
  461. .section.s4 .button { width: 90%; margin: 10px 0; }
  462. }
  463.  
  464.  
  465. /* ----------------------------------------------------*/
  466. /* Medium Devices, Desktops */
  467. /* ----------------------------------------------------*/
  468. @media only screen and (min-width : 768px) and (max-width : 992px) {
  469. body::before {
  470. content: "max-width : 992px fired";
  471. display: block; text-align: center;
  472. background: rgba(255, 255, 0, 0.48); width: 100%;
  473. position: fixed;
  474. top: 0; left: 0;
  475. z-index: 9999;
  476. }
  477.  
  478. }
  479.  
  480.  
  481. /* ----------------------------------------------------*/
  482. /* Large Devices, Wide Screens */
  483. /* ----------------------------------------------------*/
  484. @media only screen and (min-width : 992px) and (max-width : 1200px) {
  485. body::before {
  486. content: "max-width : 1200px fired";
  487. display: block; text-align: center;
  488. background: rgba(255, 255, 0, 0.48); width: 100%;
  489. position: fixed;
  490. top: 0; left: 0;
  491. z-index: 9999;
  492. }
  493.  
  494. }
Advertisement
Add Comment
Please, Sign In to add comment