Advertisement
elsaofarendelle

cfmythsandlegends navi page

May 15th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.58 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3.  
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5.  
  6.  
  7. <!-------------------------------------------
  8. Code by elsaofarendelle.
  9. Don't copy or distribute.
  10. Don't claim as your own.
  11. -------------------------------------------->
  12.  
  13.  
  14.  
  15. <head>
  16.  
  17. <title>Navigation</title>
  18. <link rel="shortcut icon" href="https://31.media.tumblr.com/9e1d9727251fc920c698018e66b7d085/tumblr_n60igtfdqJ1tpb7s5o1_100.jpg"> <!-----CHANGE THE ICON ON THE TAB HERE----->
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20.  
  21. <link href="https://fonts.googleapis.com/css?family=Sorts+Mill+Goudy" rel="stylesheet">
  22.  
  23. <link href="https://fonts.googleapis.com/css?family=Tangerine" rel="stylesheet">
  24.  
  25.  
  26. <style type="text/css">
  27.  
  28.  
  29.  
  30. /* --- scrollbar start --- */
  31.  
  32. ::-webkit-scrollbar {
  33. height: 0px;
  34. width: 5px;
  35. background: none;
  36. }
  37.  
  38. ::-webkit-scrollbar-thumb {
  39. border: 5px solid #919191;
  40. -webkit-border-radius: 6px;
  41. -webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.75);
  42. }
  43.  
  44. ::-webkit-scrollbar-corner{
  45. background: transparent;
  46. }
  47.  
  48.  
  49. /* --- scrollbar end --- */
  50.  
  51.  
  52. /* --- body start --- */
  53.  
  54. body {
  55. background-color: #000;
  56. background-image: url("");
  57. background-repeat: repeat;
  58. }
  59.  
  60.  
  61. a {
  62. text-decoration: none;
  63. -webkit-transition: 0.5s;
  64. -moz-transition: 0.5s;
  65. transition: 0.5s;
  66. color: #000;
  67. }
  68.  
  69. a: hover {
  70. text-decoration: none;
  71. -webkit-transition: 0.5s;
  72. -moz-transition: 0.5s;
  73. transition: 0.5s;
  74. color: white;
  75. }
  76.  
  77. b {
  78. text-transform: bold;
  79. color: #aab7b9;
  80. text-shadow:0px 0px 5px #fff;
  81. letter-spacing:1px;
  82. font-family: 'Tangerine', cursive;
  83. font-size:15px;
  84. }
  85.  
  86. i, em {
  87. text-transform: italic;
  88. color: #aab7b9;
  89. text-shadow:2px 2px 3px #000;
  90. letter-spacing:1px;
  91. font-family: 'Tangerine', cursive;
  92. font-size:15px;
  93. }
  94.  
  95.  
  96. /* --- body end --- */
  97.  
  98. /* --- columns start --- */
  99.  
  100. #columns {
  101. width: 200px;
  102. height: 400px;
  103. margin-top: 270px;
  104. position: fixed;
  105. border-top: 40px none #919191;
  106. }
  107.  
  108.  
  109. #column1 {
  110. margin-left: 360px;
  111. }
  112.  
  113.  
  114. #column2 {
  115. margin-left: 580px;
  116. }
  117.  
  118.  
  119. #column3 {
  120. margin-left: 800px;
  121. }
  122.  
  123. /* --- columns end --- */
  124.  
  125.  
  126.  
  127. /* --- links start --- */
  128.  
  129. .linkage {
  130. width: 100%;
  131. height: 15px;
  132. margin-top: 10px;
  133. padding-top: 2px;
  134. background-color: #000;
  135. border: 1px solid #919191;
  136. text-align: center;
  137. font-size: 10px;
  138. font-family: 'Sorts Mill Goudy', serif;
  139. }
  140.  
  141. .linkage a {
  142. color: #919191;
  143. }
  144.  
  145.  
  146. /* --- links end --- */
  147.  
  148.  
  149.  
  150. /* --- column titles start */
  151.  
  152. .titles {
  153. font-family: 'Tangerine', cursive;
  154. color: #fff;
  155. font-size: 27px;
  156. position: fixed;
  157. margin-top: -38px;
  158. margin-left: 77px;
  159. }
  160.  
  161. /* --- column titles end --- */
  162.  
  163.  
  164.  
  165. /* --- headers start ---*/
  166.  
  167. #header img 1 {
  168. margin-top:5px;
  169. margin-left:300px;
  170. position:fixed;
  171. }
  172.  
  173. #header img 2 {
  174. margin-top:250px;
  175. margin-left:200px;
  176. position:fixed;
  177. }
  178.  
  179. /* --- headers end --- */
  180.  
  181.  
  182. /* --- navi links --- */
  183. #navi{
  184. color:#eee;
  185. background-color:#000;
  186. border: 1px solid #919191;
  187. font-family: 'Tangerine', cursive;
  188. font-size:20px;
  189. margin-top:-100px;
  190. margin-left:600px;
  191. width:150px;
  192. height:22px;
  193. position:fixed;
  194. line-height:150%;
  195. }
  196.  
  197. #navi a{
  198. color:#919191;
  199. }
  200. /* --- navi links end --- */
  201.  
  202. /* --- ask box --- */
  203.  
  204. .popup_block{
  205. display:none;
  206. background:#transparent;
  207. padding:20px;
  208. border:1px none #fff;
  209. width: 300px;
  210. height: 400px;
  211. overflow-y:scroll;
  212. overflow-x:hidden;
  213. float:left;
  214. position:fixed;
  215. top:60%;left:702.5px;
  216. z-index: 99999;
  217. -webkit-box-shadow: 0px 0px 0px #000;
  218. -moz-box-shadow: 0px 0px 0px #000;
  219. box-shadow: 0px 0px 0px #000;
  220. }
  221.  
  222. *html #fade {position: absolute;}
  223. *html .popup_block .popup_block2 .popup_block3 .popup_block4 .popup_block5 {position: absolute;}
  224. #fade {
  225. display:none;
  226. position:fixed;
  227. left:0px;
  228. top:0px;
  229. width:100%;
  230. height:100%;
  231. z-index:9999;
  232. background:none;
  233. opacity:0.5;
  234. }
  235.  
  236. /* --- ask box end --- */
  237.  
  238.  
  239. </style>
  240. </head>
  241.  
  242. <body>
  243.  
  244. <!--FIRST COLUMN STARTS-->
  245.  
  246. <div id="column1">
  247.  
  248. <div id="columns">
  249.  
  250. <div class="linkage">
  251. <a href="/">TAG</a>
  252. </div>
  253. <div class="linkage">
  254. <a href="/">TAG</a>
  255. </div>
  256. <div class="linkage">
  257. <a href="/">TAG</a>
  258. </div>
  259. <div class="linkage">
  260. <a href="/">TAG</a>
  261. </div>
  262. <div class="linkage">
  263. <a href="/">TAG</a>
  264. </div>
  265. <div class="linkage">
  266. <a href="/">TAG</a>
  267. </div>
  268.  
  269.  
  270.  
  271.  
  272. </div>
  273.  
  274. </div>
  275.  
  276. <!--FIRST COLUMN ENDS-->
  277.  
  278.  
  279. <!--SECOND COLUMN STARTS-->
  280.  
  281. <div id="column2">
  282.  
  283. <div id="columns">
  284.  
  285. <div class="linkage">
  286. <a href="/">TAG</a>
  287. </div>
  288. <div class="linkage">
  289. <a href="/">TAG</a>
  290. </div>
  291. <div class="linkage">
  292. <a href="/">TAG</a>
  293. </div>
  294. <div class="linkage">
  295. <a href="/">TAG</a>
  296. </div>
  297. <div class="linkage">
  298. <a href="/">TAG</a>
  299. </div>
  300. <div class="linkage">
  301. <a href="/">TAG</a>
  302. </div>
  303.  
  304.  
  305.  
  306.  
  307. </div>
  308.  
  309. </div>
  310.  
  311. <!--SECOND COLUMN ENDS-->
  312.  
  313.  
  314. <!--THIRD COLUMN STARTS-->
  315.  
  316. <div id="column3">
  317.  
  318. <div id="columns">
  319.  
  320. <div class="linkage">
  321. <a href="/">TAG</a>
  322. </div>
  323. <div class="linkage">
  324. <a href="/">TAG</a>
  325. </div>
  326. <div class="linkage">
  327. <a href="/">TAG</a>
  328. </div>
  329. <div class="linkage">
  330. <a href="/">TAG</a>
  331. </div>
  332. <div class="linkage">
  333. <a href="/">TAG</a>
  334. </div>
  335. <div class="linkage">
  336. <a href="/">TAG</a>
  337. </div>
  338.  
  339.  
  340.  
  341.  
  342. </div>
  343.  
  344. </div>
  345.  
  346. <!--THIRD COLUMN ENDS-->
  347.  
  348.  
  349. <!--CODE FOR THE HEADER AND NAVI-->
  350.  
  351.  
  352. <center><div id="header img 1"><img src="https://i.imgur.com/E7zBkaa.png"></div></center>
  353.  
  354. <br>
  355.  
  356. <center><div id="header img 2"><img src="https://i.imgur.com/0OVmnRs.png"></div></center>
  357.  
  358. <div id="navi">
  359. <center>
  360. <a href="http://YOUR URL.tumblr.com">back</a>&nbsp;&nbsp;
  361. <a href="/dashboard">dashboard</a>&nbsp;&nbsp;
  362. <a href="#?w=400" rel="box1" class="poplight">ask</a>
  363. </center>
  364. </div>
  365.  
  366. <script type="text/javascript"
  367. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  368. <script>
  369. $(document).ready(function() {
  370. //
  371. $('a.poplight[href^=#]').click(function() {
  372. var popID = $(this).attr('rel'); //Get Popup Name
  373. var popURL = $(this).attr('href'); //Get Popup href to define size
  374. var query= popURL.split('?');
  375. var dim= query[1].split('&');
  376. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  377. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  378. var popMargTop = ($('#' + popID).height() + 80) / 2;
  379. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  380. //Apply Margin to Popup
  381. $('#' + popID).css({
  382. 'margin-top' : -popMargTop,
  383. 'margin-left' : -popMargLeft
  384. });
  385. $('body').append('<div id="fade"></div>');
  386. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  387. return false;
  388. });
  389. $('a.close, #fade').live('click', function() {
  390. $('#fade, .popup_block, .popup_block2, .popup_block3, .popup_block4, .popup_block5').fadeOut(function() {
  391. $('#fade, a.close').remove(); //fade them both out
  392. });
  393. return false;
  394. });
  395. });
  396. </script>
  397.  
  398. <div id="box1" class="popup_block">
  399. <center><p><iframe frameborder="0" height="270" id="ask_form" scrolling="no" src="http://www.tumblr.com/ask_form/YOUR URL.tumblr.com" width="100%"></iframe></p></center>
  400. </div>
  401.  
  402. </div></div></div></div></div></div></div></div></div></div>
  403.  
  404. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement