Advertisement
RyanJEarnshaw

Untitled

Sep 28th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 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. width: 60%;
  38. margin-bottom: 60%;
  39. }
  40. #contentpane p {
  41. margin-bottom: 10%;
  42. }
  43.  
  44.  
  45.  
  46.  
  47. #map {
  48. position: absolute;
  49. display: inline-block;
  50. top: 0;
  51. left: 5%;
  52. width: 90%;
  53. height: 51%;
  54. margin-top: 43%;
  55. overflow: hidden;
  56. border: 4px solid grey;
  57. }
  58.  
  59. #map img {
  60. transition: all .2s ease-in-out;
  61. top:0;
  62. left: 0;
  63. width: 100%;
  64. }
  65. #map:hover img {
  66. width: 200%;
  67. margin-left: -70%;
  68. margin-top: -10%;
  69. }
  70.  
  71.  
  72.  
  73. #mappopup {
  74. transition: all .2s ease-in-out;
  75. transition-delay: 0s;
  76. position: absolute;
  77. top: 40%;
  78. right: 28%;
  79. width: 20%;
  80. height: 0%;
  81. background-color: #132E32;
  82. }
  83. #mappopup h3 {
  84. transition: all .2s ease-in-out;
  85. transition-delay: 0s;
  86. font-family: 'Roboto', sans-serif;
  87. color: #1D84B5;
  88. font-size: 100%;
  89. opacity: 0;
  90. }
  91. #map #mapcontainer:hover #mappopup{;
  92. transition: all .2s ease-in-out;
  93. transition-delay: 0.3s;
  94. height: 6%;
  95. }
  96. #map #mapcontainer:hover #mappopup h3 {
  97. transition: all .2s ease-in-out;
  98. transition-delay: 0.3s;
  99. opacity: 1;
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement