Advertisement
Guest User

Untitled

a guest
Aug 27th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. <body>
  2. <div class="group" id="fullimage">
  3. <div class="inner">
  4. <div class="caption singleColumnWidth">
  5. <h1 class="uppercase size65">Science in Eden</h1>
  6. <p class="size30">If you're up for field-based science, Indiana Jones<br/>
  7. style, one of the world's wildest, most remote, and<br/>
  8. most radical research stations is the place for you.
  9. </p>
  10. </div>
  11. </div>
  12. </div>
  13. <section class="singleColumnWidth">
  14. Bacon ipsum dolor sit amet swine frankfurter biltong prosciutto sirloin venison chuck ball tip fatback filet mignon tri-tip brisket. Pig jerky fatback flank. Shank corned beef bresaola, chuck tri-tip tenderloin t-bone tail tongue ham frankfurter. Shankle bresaola rump, ball tip prosciutto porchetta ham brisket venison short ribs drumstick corned beef boudin. Rump jerky jowl meatball shankle landjaeger leberkas tenderloin.
  15. </section>
  16. <div class="group" id="etc">
  17. <div class="inner">
  18. <div class="caption singleColumnWidth">
  19. <h1 class="uppercase size65">Science in Eden</h1>
  20. <p class="size30">If you're up for field-based science, Indiana Jones<br/>
  21. style, one of the world's wildest, most remote, and<br/>
  22. most radical research stations is the place for you.
  23. </p>
  24. </div>
  25. </div>
  26. </div>
  27. <section class="singleColumnWidth">
  28. Bacon ipsum dolor sit amet swine frankfurter biltong prosciutto sirloin venison chuck ball tip fatback filet mignon tri-tip brisket. Pig jerky fatback flank. Shank corned beef bresaola, chuck tri-tip tenderloin t-bone tail tongue ham frankfurter. Shankle bresaola rump, ball tip prosciutto porchetta ham brisket venison short ribs drumstick corned beef boudin. Rump jerky jowl meatball shankle landjaeger leberkas tenderloin.
  29. </section>
  30.  
  31. .uppercase{
  32. text-transform: uppercase;
  33. }
  34.  
  35. .size20{
  36. font-size: 2rem;
  37. }
  38. .size30{
  39. font-size: 3rem;
  40. }
  41. .size40{
  42. font-size: 4rem;
  43. }
  44. .size65{
  45. font-size: 6.5rem;
  46. }
  47.  
  48.  
  49. .group{
  50. position: relative;
  51. height: 100%;
  52. box-sizing: border-box;
  53. -moz-box-sizing: border-box;
  54. display: table;
  55. width: 100%;
  56. }
  57. .group .inner{
  58. display: table-cell;
  59. vertical-align: bottom;
  60. padding: 30px 0;
  61. }
  62.  
  63. #fullimage{
  64. color: #fff;
  65. position: relative;
  66. background: url(http://upload.wikimedia.org/wikipedia/en/e/ec/Very_Large_Array_dish_scale.jpg) no-repeat center center fixed;
  67. background-size: cover;
  68. width: 200%;
  69. }
  70.  
  71. #lowheightImage{
  72. color: #fff;
  73. position: relative;
  74. background-position: center center fixed;
  75. background-repeat: no-repeat;
  76. background-size: cover;
  77. width: 200%;
  78. height: 588px;
  79. }
  80.  
  81. #etc{
  82. background-image: url(http://scitechdaily.com/images/the-Large-Magellanic-Cloud-a-satellite-galaxy-of-the-Milky-Way.jpg);
  83. }
  84.  
  85. .singleColumnWidth{
  86. display: block;
  87. margin: 0 auto;
  88. width: 700px;
  89. }
  90.  
  91. section{
  92. padding: 20px 0;
  93. }
  94.  
  95. .caption{
  96. color: #fff;
  97. }
  98.  
  99. .story{
  100. padding-bottom: 15px!important;
  101. }
  102.  
  103. var height = $(document).height();
  104. $('#fullimage').css({
  105. "height": height
  106. });
  107.  
  108.  
  109. $(window).resize(function() {
  110. var bodyheight = $(window).height();
  111. $("#fullimage").height(bodyheight);
  112. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement