Advertisement
ammetrine

Charoite 'About' Page by Ammetrine

Mar 12th, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. <head>
  2. <link href='https://fonts.googleapis.com/css?family=Raleway:300' rel='stylesheet' type='text/css'>
  3. <link href='https://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>
  4. <!-- start popup coding p1-->
  5. <script type="text/javascript"
  6. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  7. <script>
  8. $(document).ready(function() {
  9. //
  10. $('a.poplight[href^=#]').click(function() {
  11. var popID = $(this).attr('rel'); //Get Popup Name
  12. var popURL = $(this).attr('href'); //Get Popup href to define size
  13. var query= popURL.split('?');
  14. var dim= query[1].split('&');
  15. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  16. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  17. var popMargTop = ($('#' + popID).height() + 80) / 2;
  18. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  19. //Apply Margin to Popup
  20. $('#' + popID).css({
  21. 'margin-top' : -popMargTop,
  22. 'margin-left' : -popMargLeft
  23. });
  24. $('body').append('<div id="fade"></div>');
  25. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  26. return false;
  27. });
  28. $('a.close, #fade').live('click', function() {
  29. $('#fade , .popup_block').fadeOut(function() {
  30. $('#fade, a.close').remove(); //fade them both out
  31. });
  32. return false;
  33. });
  34. });
  35. </script>
  36. <!-- end popup coding p1-->
  37.  
  38. <link rel="shortcut icon" href="{favicon}">
  39. <link rel="alternate" type="application/rss+xml" href="{rss}">
  40.  
  41. <style type="text/css">
  42. /* start popup coding p2*/
  43. #fade {
  44. display:none;
  45. background:#000;
  46. position:fixed;
  47. left:0; top:0;
  48. width:100%;
  49. height:100%;
  50. opacity:.80;
  51. z-index:9999; }
  52. .popup_block {
  53. display:none;
  54. background:#fff;
  55. padding:10px;
  56. border:10px solid #C2B6BF;
  57. float:left;
  58. font-size:10;
  59. position:fixed;
  60. top:50%; left:50%;
  61. z-index:99999;
  62. }
  63. img.btn_close {
  64. float:right;
  65. margin:3px 3px 0px 0px; }
  66. *html #fade { position:absolute; }
  67. *html .popup_block { position:absolute; }
  68. /* end popup coding p2*/
  69.  
  70. body
  71. {
  72. font-family: 'Raleway', sans-serif;
  73. font-size: 11px;
  74. color: #666;
  75. background-color:#fff;
  76.  
  77. }
  78.  
  79. a:link, a:active, a:visited
  80. {
  81. color: #C2B6BF;
  82. text-decoration: none;
  83. }
  84.  
  85.  
  86. #all {
  87. margin:30;
  88. margin-left:330px;
  89. }
  90.  
  91. #credit {
  92. position:fixed;
  93. right:5px;
  94. bottom:5px;
  95. background:#C2B6BF;
  96. padding-top:5px;
  97. padding-right:5px;
  98. padding-left:5px;
  99. padding-bottom:2px;
  100. font-size:12px;
  101. font-family: 'Handlee', cursive;
  102. z-index:9999;
  103. }
  104. #credit a{
  105. color:#666;
  106. }
  107.  
  108.  
  109. #header {
  110. width:897px;
  111. height:auto;
  112. font-family: 'Raleway', sans-serif;
  113. font-size:15px;
  114. line-height:30px;
  115. padding:7px;
  116. margin-top:30px;
  117. margin-left:215px;
  118. text-align:center;
  119. background-color:#fff;
  120. border-bottom:solid 4px #C2B6BF;
  121. }
  122.  
  123. #title {
  124. height:20px;
  125. color:#888888;
  126. font-family: 'Raleway', sans-serif;
  127. margin-right:-10px;
  128. font-size:20px;
  129. letter-spacing:1px;
  130. padding:5px 10px;
  131. }
  132.  
  133. #everything {
  134. margin-top:40px;
  135. margin-left:150px;
  136. width:1100px;
  137. height:600px;
  138. }
  139.  
  140. #image {
  141. margin-left:220px;
  142. margin-top:-600px;
  143. width:190px;
  144. height:190px;
  145. }
  146.  
  147.  
  148. #basics {
  149. margin-top:15px;
  150. margin-left:220px;
  151. border:solid 1px #666;
  152. width:179px;
  153. text-align:left;
  154. padding-left:10px;
  155. }
  156.  
  157. #basicsTitle {
  158. text-align:center;
  159. font-size:17px;
  160. margin-left:-10px;
  161. }
  162.  
  163. #basicsAnswer {
  164. font-size:13px;
  165. border-bottom:1px solid #C2B6BF;
  166. width:80px;
  167. }
  168.  
  169. #Info {
  170. border:solid 1px #666;
  171. width:320px;
  172. height:290px;
  173. margin-left:285px;
  174. margin-top:10px;
  175. padding:7px;
  176. }
  177.  
  178. #Info2 {
  179. border:solid 1px #666;
  180. width:320px;
  181. height:290px;
  182. margin-left:640px;
  183. margin-top:-306px;
  184. padding:7px;
  185. }
  186.  
  187. #Info3 {
  188. border:solid 1px #666;
  189. width:675px;
  190. height:287px;
  191. margin-left:285px;
  192. margin-top:18px;
  193. padding:7px;
  194. }
  195.  
  196. #InfoTitle {
  197. font-size:13px;
  198. border-bottom:1px solid #C2B6BF;
  199. padding:6px;
  200. width:150px;
  201. margin-left:70px;
  202. text-align:center;
  203. }
  204.  
  205. #Info3Title {
  206. font-size:13px;
  207. border-bottom:1px solid #C2B6BF;
  208. padding:6px;
  209. width:150px;
  210. margin-left:235px;
  211. text-align:center;
  212. }
  213.  
  214. </style>
  215.  
  216. </div>
  217. <div id="header">
  218. <div id="title">Title</div>
  219.  
  220. <a href="/">Back</a>
  221. <a href="#?w=400" rel="02" class="poplight">Ask</a>
  222. <a href="http://tumblr.com">Dashboard</a>
  223. <a href="http://ammetrine.tumblr.com">Credit</a>
  224. </div>
  225.  
  226. <div id="credit"><a href="http://ammetrine.tumblr.com/">AT</a></div>
  227.  
  228. <div id="everything">
  229. <div id="Info">
  230. <div id="InfoTitle">Information #1:</div> </p>
  231. Put all your info here <br>
  232. Put all your info here <br>
  233. Put all your info here <br>
  234. Put all your info here <br>
  235. Put all your info here
  236. </div>
  237.  
  238. <div id="Info2">
  239. <div id="InfoTitle">Information #2</div> </p>
  240. Put all your info here <br>
  241. Put all your info here <br>
  242. Put all your info here <br>
  243. Put all your info here <br>
  244. Put all your info here
  245. </div>
  246.  
  247. <div id="Info3">
  248. <div id="Info3Title">Information #3</div> </p>
  249. Put all your info here <br>
  250. Put all your info here <br>
  251. Put all your info here <br>
  252. Put all your info here <br>
  253. Put all your info here
  254. </div>
  255. </div>
  256.  
  257. <div id="image">
  258. <img src="URL"width="190" height="190" >
  259. </div>
  260.  
  261. <div id="basics">
  262. <div id="basicsTitle">
  263. <br>
  264. <b>Info</b> </p>
  265. </div>
  266.  
  267. <div id="basicsAnswer">
  268. Info:</div>
  269. Info </p>
  270.  
  271. <div id="basicsAnswer">
  272. Info:</div>
  273. Info </p>
  274.  
  275. <div id="basicsAnswer">
  276. Info:</div>
  277. Info </p>
  278.  
  279. <div id="basicsAnswer">
  280. Info:</div>
  281. Info </p>
  282. </div>
  283. </div>
  284.  
  285. </body>
  286.  
  287. <div id="02" class="popup_block">
  288. <!-- start popup coding p3 -->
  289. <center>
  290. <iframe id="ask_form" style="background-color: transparent; overflow: hidden;" src="http://www.tumblr.com/ask_form/{name}.tumblr.com" frameborder="0" scrolling="no" width="100%" height="150"></iframe>
  291. </center></div></div></div></div></div></div></div></div></div></div></div>
  292. <!-- end popup coding p3 -->
  293.  
  294. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement