Advertisement
RyanJEarnshaw

Untitled

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