Advertisement
RyanJEarnshaw

Untitled

Oct 6th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Open+Sans');
  2.  
  3. #container {
  4. padding-bottom: 13%;
  5. }
  6.  
  7. .context {
  8. margin: auto;
  9. margin-top: 5%;
  10. width: 70%;
  11. }
  12. .partcontainer {
  13. width: 100%;
  14. height: 30%;
  15. float: left;
  16. margin-bottom: 10%;
  17. }
  18. .polaroid, .partdescription, .linecontainer {
  19. display: inline-block;
  20. margin: none;
  21. float: left;
  22. width: 45%;
  23. height: 15vmax;
  24. }
  25. .linecontainer {
  26. width: 10%;
  27. }
  28. .rotate1 {
  29. -webkit-transform: rotate(-2deg);
  30. -moz-transform: rotate(-2deg);
  31. -o-transform: rotate(-2deg);
  32. -ms-transform: rotate(-2deg);
  33. transform: rotate(-2deg);
  34. }
  35. .rotate2 {
  36. -webkit-transform: rotate(4deg);
  37. -moz-transform: rotate(4deg);
  38. -o-transform: rotate(4deg);
  39. -ms-transform: rotate(4deg);
  40. transform: rotate(4deg);
  41. }
  42. .rotate3 {
  43. -webkit-transform: rotate(-15deg);
  44. -moz-transform: rotate(-15deg);
  45. -o-transform: rotate(-15deg);
  46. -ms-transform: rotate(-15deg);
  47. transform: rotate(-15deg);
  48. }
  49.  
  50. .line {
  51. background-color: white;
  52. height: 100%;
  53. width: 1%;
  54. margin: auto;
  55. }
  56. .polaroid img {
  57. margin-top: -10%;
  58. height: 120%;
  59. -webkit-box-shadow: 0px 10px 50px 10px rgba(0,0,0,0.5); /* x, y, blur, spread, colour*/
  60. -moz-box-shadow: 0px 10px 50px 10px rgba(0,0,0,0.5); /* x, y, blur, spread, colour*/
  61. box-shadow: 0px 10px 50px 10px rgba(0,0,0,0.5); /* x, y, blur, spread, colour*/
  62. }
  63.  
  64. .context h3 {
  65. color: white;
  66. font-size: 1.3vmax;
  67. }
  68. .part1 h3 {
  69. color: white;
  70. font-size: 2vmax;
  71. }
  72. .part2 h3 {
  73. color: white;
  74. font-size: 1.4vmax;
  75. }
  76. .part3 h3 {
  77. color: white;
  78. font-size: 1.8vmax;
  79. }
  80.  
  81. .demo {
  82. margin-top: 10%;
  83. }
  84. .demo h2 {
  85. color: rgba(255,255,255,0.7);
  86. }
  87.  
  88. .demo h4 {
  89. color: rgba(1,1,1,0.3);
  90. }
  91.  
  92. .demo hr {
  93. margin: auto;
  94. margin-bottom: 3%;
  95. margin-top: 2%;
  96. width: 50%;
  97. }
  98.  
  99. #flat img {
  100. width: 200px;
  101. height: 200px;
  102. }
  103.  
  104. #housematecontainer {
  105. margin: 0 auto;
  106. float: middle;
  107. width: 70%;
  108. }
  109.  
  110. #rightgradient {
  111. display: inline-block;
  112. position: absolute;
  113. width: 20%;
  114. height: 100%;
  115. background-color: white;
  116. z-index: 100;
  117. right: 0;
  118. top: 0;
  119. margin-right: 15%;
  120. background: -moz-linear-gradient(left, rgba(32, 39, 67, 0) 0%, rgba(32, 39, 67, 1) 99%, rgba(32, 39, 67, 1) 100%); /* FF3.6-15 */
  121. background: -webkit-linear-gradient(left, rgba(32, 39, 67, 0) 0%,rgba(32, 39, 67, 1) 99%,rgba(32, 39, 67, 1) 100%); /* Chrome10-25,Safari5.1-6 */
  122. background: linear-gradient(to right, rgba(32, 39, 67, 0) 0%,rgba(32, 39, 67, 1) 99%,rgba(32, 39, 67, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  123. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
  124.  
  125.  
  126. }
  127. #leftgradient {
  128. top: 0;
  129. display: inline-block;
  130. position: absolute;
  131. width: 20%;
  132. height: 100%;
  133. background-color: white;
  134. z-index: 100;
  135. margin-left: 15%;
  136. left: 0;
  137. background: -moz-linear-gradient(left, rgba(32, 39, 67, 1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  138. background: -webkit-linear-gradient(left, rgba(32, 39, 67, 1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  139. background: linear-gradient(to right, rgba(32, 39, 67, 1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  140. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  141.  
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement