Advertisement
RyanJEarnshaw

Untitled

Sep 28th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. #contentpane {
  2. position: relative;
  3. font-family: 'Lobster Two', sans-serif;
  4. font-weight: 400;
  5. font-size: 26px;
  6. font-style: normal;
  7. display: table;
  8. margin: 0 auto;
  9. text-align: center;
  10. margin-top: 5%;
  11. width: 90%;
  12. }
  13. #contentimage {
  14. height: 100%;
  15. width: 20%;
  16. float: left;
  17. margin: 0 auto;
  18. position: relative;
  19. }
  20. #contentimage img {
  21. max-width:100%;
  22. max-height:100%;
  23. }
  24. #contentpane {
  25. display: inline-block;
  26. position: relative;
  27. margin-left: auto;
  28. margin-right: auto;
  29. width: 100%;
  30. }
  31. #text {
  32. float: left;
  33. margin-top: 1%;
  34. font-family: 'Raleway';
  35. font-size: 1.5vw;
  36. position: relative;
  37. margin-left: auto;
  38. margin-right: auto;
  39. left: 0;
  40. right: 0;
  41. width: 60%;
  42. }
  43. #contentpane p {
  44. margin-bottom: 10%;
  45. }
  46.  
  47.  
  48. #map {
  49. position: relative;
  50. float: left;
  51. width: 100%;
  52. height: 100vh;
  53. }
  54.  
  55. #mapcontainer {
  56. float: middle;
  57. margin: auto;
  58. transition: all .2s ease-in-out;
  59. height: 100%;
  60. width: 70%;
  61. overflow: hidden;
  62. }
  63.  
  64. #mapcontainer img {
  65. transition: all .2s ease-in-out;
  66. width: 100%;
  67. }
  68. #map #mapcontainer:hover img {
  69. width: 200%;
  70. margin-left: -70%;
  71. margin-top: -10%;
  72. }
  73.  
  74.  
  75.  
  76. #mappopup {
  77. transition: all .2s ease-in-out;
  78. transition-delay: 0s;
  79. position: absolute;
  80. top: 40%;
  81. right: 28%;
  82. width: 20%;
  83. height: 0%;
  84. background-color: #132E32;
  85. }
  86. #mappopup h3 {
  87. transition: all .2s ease-in-out;
  88. transition-delay: 0s;
  89. font-family: 'Roboto', sans-serif;
  90. color: #1D84B5;
  91. font-size: 100%;
  92. opacity: 0;
  93. }
  94. #map #mapcontainer:hover #mappopup{;
  95. transition: all .2s ease-in-out;
  96. transition-delay: 0.3s;
  97. height: 6%;
  98. }
  99. #map #mapcontainer:hover #mappopup h3 {
  100. transition: all .2s ease-in-out;
  101. transition-delay: 0.3s;
  102. opacity: 1;
  103. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement