RyanJEarnshaw

Untitled

Oct 6th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.38 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. width: 70%;
  10. }
  11. .partcontainer {
  12. width: 100%;
  13. height: 30%;
  14. float: left;
  15. margin-bottom: 10%;
  16. }
  17. .polaroid, .partdescription {
  18. display: inline-block;
  19. margin: none;
  20. float: left;
  21. width: 50%;
  22. height: 15vmax;
  23. }
  24. .polaroid img {
  25. height: 100%;
  26. }
  27.  
  28. .context h3 {
  29. color: white;
  30. font-size: 1.3vmax;
  31. }
  32. .part1 h3 {
  33. color: white;
  34. font-size: 2vmax;
  35. }
  36. .part2 h3 {
  37. color: white;
  38. font-size: 1.4vmax;
  39. }
  40. .part3 h3 {
  41. color: white;
  42. font-size: 1.8vmax;
  43. }
  44.  
  45. .demo {
  46. margin-top: 10%;
  47. }
  48. .demo h2 {
  49. color: rgba(255,255,255,0.7);
  50. }
  51.  
  52. .demo h4 {
  53. color: rgba(1,1,1,0.3);
  54. }
  55.  
  56. .demo hr {
  57. margin: auto;
  58. margin-bottom: 3%;
  59. margin-top: 2%;
  60. width: 50%;
  61. }
  62.  
  63. #flat img {
  64. width: 200px;
  65. height: 200px;
  66. }
  67.  
  68. #housematecontainer {
  69. margin: 0 auto;
  70. float: middle;
  71. width: 70%;
  72. }
  73.  
  74. #rightgradient {
  75. display: inline-block;
  76. position: absolute;
  77. width: 20%;
  78. height: 100%;
  79. background-color: white;
  80. z-index: 100;
  81. right: 0;
  82. top: 0;
  83. margin-right: 15%;
  84. 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 */
  85. 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 */
  86. 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+ */
  87. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
  88.  
  89.  
  90. }
  91. #leftgradient {
  92. top: 0;
  93. display: inline-block;
  94. position: absolute;
  95. width: 20%;
  96. height: 100%;
  97. background-color: white;
  98. z-index: 100;
  99. margin-left: 15%;
  100. left: 0;
  101. background: -moz-linear-gradient(left, rgba(32, 39, 67, 1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  102. background: -webkit-linear-gradient(left, rgba(32, 39, 67, 1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  103. background: linear-gradient(to right, rgba(32, 39, 67, 1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  104. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  105.  
  106. }
Advertisement
Add Comment
Please, Sign In to add comment