Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en-US">
  3.  
  4. <head>
  5.  
  6. <meta charset="UTF-8">
  7.  
  8. <title>Photography</title>
  9.  
  10. <link rel="stylesheet" type="text/css" href="styles.css">
  11. <script type="text/javascript" src="jquery-3.1.0.min.js"></script>
  12. <script type="text/javascript" src="JavaScript2b.js"></script>
  13. <script type="text/javascript" src="JavaScript2.js"></script>
  14.  
  15.  
  16. </head>
  17.  
  18. <body>
  19.  
  20. <div id="header">
  21. </div>
  22.  
  23. <div id="wrap">
  24.  
  25. <div id="container">
  26.  
  27. <div id="controllers">
  28.  
  29.  
  30.  
  31. <div id="previous" class="buttons" onclick="change(-1);">
  32. </div>
  33.  
  34. <div id="next" class="buttons" onclick="change(1);">
  35. </div>
  36.  
  37. </div>
  38.  
  39. <div id="imagewrap">
  40. <img src="Images/01PARANA/Image1.jpg" height="100%" id="front" />
  41. </div>
  42.  
  43. <div>
  44. <p id="tag">Poem</p>
  45. </div>
  46.  
  47. </div>
  48.  
  49. </div>
  50.  
  51. <div id="footer">
  52. </div>
  53.  
  54. </body>
  55.  
  56. <script type="text/javascript" src="JavaScript2.js"></script>
  57.  
  58. </html>
  59.  
  60. @font-face {font-family: Eagle-Light;
  61. src: url("Eagle-Light.otf") format("opentype");
  62. }
  63.  
  64. @font-face {font-family: Raleway Light;
  65. src: url("Raleway Light.otf") format("opentype");
  66. }
  67.  
  68. body {
  69. margin: 0px;
  70. padding: 0px;
  71. height: 100%;
  72. }
  73.  
  74. #header {
  75. position: relative;
  76. height: 100px;
  77. width: 100%;
  78. background-color: yellow;
  79. }
  80.  
  81. #wrap {
  82. position: relative;
  83. clear: both;
  84. padding: 0px;
  85. width: 100%;
  86. }
  87.  
  88. #footer {
  89. position: relative;
  90. height: 100px;
  91. width: 100%;
  92. background-color: lightgray;
  93. display: block;
  94. }
  95.  
  96. #container {
  97. position: relative;
  98. margin: 15px auto;
  99. }
  100.  
  101. #controllers {
  102. position: static;
  103. height: 20px;
  104. }
  105.  
  106. #previous {
  107. position: absolute;
  108. left: 10px;
  109. background-image: url(Images/carremoins.png);
  110. background-repeat: no-repeat;
  111. background-position: center center;
  112. width: 20px;
  113. height: 20px;
  114. z-index: 4;
  115.  
  116. }
  117.  
  118. #next {
  119. background-image: url(Images/carreplus.png);
  120. background-repeat: no-repeat;
  121. width: 20px;
  122. height: 20px;
  123. position: absolute;
  124. right: 10px;
  125. z-index: 4;
  126. background-position: center center;
  127. }
  128.  
  129. #container:hover .buttons {
  130. /* display: block;*/
  131. opacity: 1;
  132. }
  133.  
  134. #tag {
  135. position: relative;
  136. height: 40px;
  137. line-height: 1.7em;
  138. padding-top: 5px;
  139. text-align: center;
  140. font-size: 1.1em;
  141. }
  142.  
  143.  
  144. .buttons {
  145. cursor: pointer;
  146. top: 50%;
  147. z-index: 3;
  148. /* display: none;*/
  149. opacity: 0;
  150. transition: opacity .3s ease-in-out;
  151. }
  152.  
  153.  
  154. #imagewrap{
  155. position: relative;
  156. border: 1px solid #818181;
  157. overflow: hidden;
  158. z-index: 2;
  159. height: 100vh;
  160. }
  161.  
  162. #front {
  163. display: block;
  164. }
  165.  
  166. p {
  167. color: #818181;
  168. font-family: Eagle-Light;
  169. line-height: 1.7em;
  170. padding: 0px;
  171. margin: 0px;
  172. font-size: 0.5em;
  173. letter-spacing: 0.21em;
  174. }
  175.  
  176.  
  177. a:link {
  178. text-decoration: none;
  179. color: inherit;
  180. }
  181.  
  182. a:visited {
  183. text-decoration: none;
  184. color: inherit;
  185. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement