Advertisement
ammetrine

Chrysocolla Faves/Network Page by Ammetrine

Mar 12th, 2016
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.13 KB | None | 0 0
  1. <head>
  2. <link href='https://fonts.googleapis.com/css?family=Handlee' rel='stylesheet' type='text/css'>
  3. <link href='https://fonts.googleapis.com/css?family=Lato:300' 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. <style>
  39. a:hover {
  40. letter-spacing:2px;
  41. }
  42. </style>
  43.  
  44. <link rel="shortcut icon" href="{favicon}">
  45. <link rel="alternate" type="application/rss+xml" href="{rss}">
  46.  
  47. <style type="text/css">
  48. /* start popup coding p2*/
  49. #fade {
  50. display:none;
  51. background:#000;
  52. position:fixed;
  53. left:0; top:0;
  54. width:100%;
  55. height:100%;
  56. opacity:.80;
  57. z-index:9999; }
  58. .popup_block {
  59. display:none;
  60. background:#fff;
  61. padding:10px;
  62. border:5px solid #B4CCB1;
  63. float:left;
  64. font-size:10;
  65. position:fixed;
  66. top:50%; left:50%;
  67. z-index:99999;
  68. }
  69. img.btn_close {
  70. float:right;
  71. margin:3px 3px 0px 0px; }
  72. *html #fade { position:absolute; }
  73. *html .popup_block { position:absolute; }
  74. /* end popup coding p2*/
  75.  
  76. body
  77. {
  78. font-family: 'Lato', sans-serif;
  79. font-size: 13px;
  80. color: #888;
  81. background-color:#fff;
  82.  
  83. }
  84.  
  85. a:link, a:active, a:visited
  86. {
  87. color: #B4CCB1;
  88. text-decoration: none;
  89. }
  90.  
  91.  
  92. #credit {
  93. position:fixed;
  94. right:20px;
  95. bottom:5px;
  96. background:#B4CCB1;
  97. padding-top:5px;
  98. padding-right:5px;
  99. padding-left:5px;
  100. padding-bottom:2px;
  101. font-size:12px;
  102. font-family: 'Handlee', cursive;
  103. z-index:9999;
  104. }
  105. #credit a{
  106. color:#666;
  107. }
  108.  
  109.  
  110. #all {
  111. margin-left:235px;
  112. margin-top:-760px;
  113. }
  114.  
  115.  
  116. #pannel {
  117. width:190px;
  118. height:190px;
  119. padding:3px;
  120. border:1px solid #888;
  121. background-color:#fff;
  122. }
  123.  
  124. #poster {
  125. width:160px;
  126. height:160px;
  127. margin-top:10px;
  128. margin-left:10px;
  129. position: relative;
  130. background-color:#fff;
  131. }
  132.  
  133. #poster img {
  134. width:160px;
  135. height:160px;
  136. padding:6px;
  137. }
  138.  
  139.  
  140. #about {
  141. text-align:left;
  142. padding:10px;
  143. padding-top:3px;
  144. margin-bottom:20px;
  145. position:absolute;
  146. width:150px;
  147. height:10px;
  148. opacity:0;
  149. font-size:9px;
  150. background:white;
  151. color:#888;
  152. }
  153.  
  154. #pannel:hover #about {
  155. opacity:1; /*decrease number to make faded -- eg. 0.6*/
  156. margin-top:0px;
  157. height:160px;
  158. -webkit-transition: all 0.2s ease-out;
  159. -moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out; /*increase numbers to slow down the panel appearing - eg. 0.5s*/
  160. }
  161.  
  162. #description {
  163. margin-top:-140px;
  164. font-size:10px;
  165. text-align:center;
  166. text-transform:lowercase;
  167. }
  168.  
  169. #url {
  170. margin-top:140px;
  171. font-size:15px;
  172. text-align:center;
  173. border:solid 1px #888;
  174. padding:7px;
  175. }
  176.  
  177. #url a {
  178. color:#B4CCB1;
  179.  
  180. }
  181.  
  182. #url a:hover {
  183. color:#888;
  184. }
  185.  
  186. #header {
  187. border:solid 1px #888;
  188. width:450px;
  189. height:auto;
  190. font-size:11px;
  191. line-height:18px;
  192. padding:2px;
  193. margin-top:680px;
  194. margin-left:455px;
  195. text-align:center;
  196. background-color:#fff;
  197. }
  198.  
  199. #title {
  200. height:20px;
  201. color:#888888;
  202. font-size:18px;
  203. text-align:center;
  204. letter-spacing:1px;
  205. padding:5px 10px;
  206. }
  207.  
  208. #desc {
  209. font-size:12px;
  210. padding-bottom:5px;
  211. }
  212.  
  213. #navlinks {
  214. font-size:13px;
  215. padding-bottom:5px;
  216. }
  217.  
  218. #navlinks a {
  219. color:#B4CCB1;
  220. }
  221.  
  222. #navlinks a:hover {
  223. color:#888;
  224. }
  225.  
  226. </style>
  227.  
  228. <div id="credit"><a href="http://ammetrine.tumblr.com/">AT</a></div>
  229.  
  230. <div id="header">
  231. <div id="title">Title</div>
  232. <div id="desc">
  233. Put short description here
  234. </div>
  235. <div id="navlinks">
  236. <a href="url">Creator</a>
  237. <a href="#?w=400" rel="02" class="poplight">Information</a>
  238. <a href="http://ammetrine.tumblr.com">Credit</a>
  239. </div>
  240. </div>
  241.  
  242. <table id="all" border="0" cellpadding="0" cellspacing="20">
  243.  
  244.  
  245. <!-- start table (aka member spots) -->
  246.  
  247. <td><div id="pannel">
  248. <div id="poster">
  249. <div id="about">
  250. <div id="url">
  251. <a href="url">link title</a>
  252. </div>
  253. <div id="description"><p>
  254. put your description here
  255. </div>
  256. </div>
  257. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  258. </div>
  259. </div></td>
  260.  
  261.  
  262. <td><div id="pannel">
  263. <div id="poster">
  264. <div id="about">
  265. <div id="url">
  266. <a href="url">link title</a>
  267. </div>
  268. <div id="description"><p>
  269. put your description here
  270. </div>
  271. </div>
  272. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  273. </div>
  274. </div></td>
  275.  
  276. <td><div id="pannel">
  277. <div id="poster">
  278. <div id="about">
  279. <div id="url">
  280. <a href="url">link title</a>
  281. </div>
  282. <div id="description"><p>
  283. put your description here
  284. </div>
  285. </div>
  286. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  287. </div>
  288. </div></td>
  289.  
  290. <td><div id="pannel">
  291. <div id="poster">
  292. <div id="about">
  293. <div id="url">
  294. <a href="url">link title</a>
  295. </div>
  296. <div id="description"><p>
  297. put your description here
  298. </div>
  299. </div>
  300. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  301. </div>
  302. </div></td>
  303.  
  304.  
  305. <tr> <!-- end row -->
  306.  
  307.  
  308. <td><div id="pannel">
  309. <div id="poster">
  310. <div id="about">
  311. <div id="url">
  312. <a href="url">link title</a>
  313. </div>
  314. <div id="description"><p>
  315. put your description here
  316. </div>
  317. </div>
  318. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  319. </div>
  320. </div></td>
  321.  
  322. <td><div id="pannel">
  323. <div id="poster">
  324. <div id="about">
  325. <div id="url">
  326. <a href="url">link title</a>
  327. </div>
  328. <div id="description"><p>
  329. put your description here
  330. </div>
  331. </div>
  332. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  333. </div>
  334. </div></td>
  335.  
  336. <td><div id="pannel">
  337. <div id="poster">
  338. <div id="about">
  339. <div id="url">
  340. <a href="url">link title</a>
  341. </div>
  342. <div id="description"><p>
  343. put your description here
  344. </div>
  345. </div>
  346. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  347. </div>
  348. </div></td>
  349.  
  350. <td><div id="pannel">
  351. <div id="poster">
  352. <div id="about">
  353. <div id="url">
  354. <a href="url">link title</a>
  355. </div>
  356. <div id="description"><p>
  357. put your description here
  358. </div>
  359. </div>
  360. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  361. </div>
  362. </div></td>
  363.  
  364. <tr> <!-- end row -->
  365.  
  366. <td><div id="pannel">
  367. <div id="poster">
  368. <div id="about">
  369. <div id="url">
  370. <a href="url">link title</a>
  371. </div>
  372. <div id="description"><p>
  373. put your description here
  374. </div>
  375. </div>
  376. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  377. </div>
  378. </div></td>
  379.  
  380. <td><div id="pannel">
  381. <div id="poster">
  382. <div id="about">
  383. <div id="url">
  384. <a href="url">link title</a>
  385. </div>
  386. <div id="description"><p>
  387. put your description here
  388. </div>
  389. </div>
  390. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  391. </div>
  392. </div></td>
  393.  
  394. <td><div id="pannel">
  395. <div id="poster">
  396. <div id="about">
  397. <div id="url">
  398. <a href="url">link title</a>
  399. </div>
  400. <div id="description"><p>
  401. put your description here
  402. </div>
  403. </div>
  404. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  405. </div>
  406. </div></td>
  407.  
  408. <td><div id="pannel">
  409. <div id="poster">
  410. <div id="about">
  411. <div id="url">
  412. <a href="url">link title</a>
  413. </div>
  414. <div id="description"><p>
  415. put your description here
  416. </div>
  417. </div>
  418. <img width="120px" src="http://40.media.tumblr.com/a16b1b40f320b3bebd0afcda08b7d0a4/tumblr_n9bw9ycWnG1qi1c6wo1_500.jpg"/><!--delete this url and replace with the url of the image you want -->
  419. </div>
  420. </div></td>
  421. <!-- end table -->
  422.  
  423.  
  424. </table>
  425. </body>
  426.  
  427. <div id="02" class="popup_block">
  428. <!-- start popup coding p3 -->
  429. <center>
  430. INFO GOES HERE
  431. </center></div></div></div></div></div></div></div></div></div></div></div>
  432. <!-- end popup coding p3 -->
  433.  
  434. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement