Advertisement
elsaofarendelle

primum bellum navi

Jan 17th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.32 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. /* --- LINK ANIMATION START --- */
  52.  
  53. @-moz-keyframes bbounce{
  54. 0% {-moz-transform:translate(0px,0px);}
  55. 50% {-moz-transform:translate(0px,10px);}
  56. 100% {-moz-transform:translate(0px,0px);}
  57. }
  58.  
  59. @-webkit-keyframes bbounce {
  60. 0% {-webkit-transform:translate(0px,0px);}
  61. 50% {-webkit-transform:translate(0px,10px);}
  62. 100% {-webkit-transform:translate(0px,0px);}
  63. }
  64.  
  65. /* --- LINK ANIMATION END --- */
  66.  
  67.  
  68. /* --- body start --- */
  69.  
  70. body {
  71. background-color: #fff;
  72. background-image: url("https://i.imgur.com/PIWVtfE.png");
  73. background-repeat: repeat;
  74. }
  75.  
  76.  
  77. a {
  78. text-decoration: none;
  79. -webkit-transition: 0.5s;
  80. -moz-transition: 0.5s;
  81. transition: 0.5s;
  82. color: #000;
  83. }
  84.  
  85. a: hover {
  86. text-decoration: none;
  87. -webkit-transition: 0.5s;
  88. -moz-transition: 0.5s;
  89. transition: 0.5s;
  90. color: white;
  91. }
  92.  
  93. b {
  94. text-transform: bold;
  95. color: #aab7b9;
  96. text-shadow:0px 0px 5px #fff;
  97. letter-spacing:1px;
  98. font-family: 'Tangerine', cursive;
  99. font-size:15px;
  100. }
  101.  
  102. i, em {
  103. text-transform: italic;
  104. color: #aab7b9;
  105. text-shadow:2px 2px 3px #000;
  106. letter-spacing:1px;
  107. font-family: 'Tangerine', cursive;
  108. font-size:15px;
  109. }
  110.  
  111.  
  112. /* --- body end --- */
  113.  
  114. /* --- columns start --- */
  115.  
  116. #columns {
  117. width: 200px;
  118. height: 400px;
  119. margin-top: 230px;
  120. position: fixed;
  121. border-top: 40px solid #919191;
  122. }
  123.  
  124.  
  125. #column1 {
  126. margin-left: 200px;
  127. -webkit-animation: bbounce linear 1.3s;
  128. -webkit-animation-iteration-count: infinite;
  129. -webkit-transform-origin: 50% 50%;
  130. }
  131.  
  132.  
  133. #column2 {
  134. margin-left: 450px;
  135. -webkit-animation: bbounce linear 1.5s;
  136. -webkit-animation-iteration-count: infinite;
  137. -webkit-transform-origin: 50% 50%;
  138. }
  139.  
  140.  
  141. #column3 {
  142. margin-left: 700px;
  143. -webkit-animation: bbounce linear 1.0s;
  144. -webkit-animation-iteration-count: infinite;
  145. -webkit-transform-origin: 50% 50%;
  146. }
  147.  
  148.  
  149. #column4 {
  150. margin-left: 950px;
  151. -webkit-animation: bbounce linear 1.7s;
  152. -webkit-animation-iteration-count: infinite;
  153. -webkit-transform-origin: 50% 50%;
  154. }
  155.  
  156. /* --- columns end --- */
  157.  
  158.  
  159.  
  160. /* --- links start --- */
  161.  
  162. .linkage {
  163. width: 100%;
  164. height: 18px;
  165. margin-top: 10px;
  166. padding-top: 2px;
  167. background-color: #eee;
  168. border: 1px solid #919191;
  169. text-align: center;
  170. font-size: 12px;
  171. font-family: 'Sorts Mill Goudy', serif;
  172. }
  173.  
  174. .linkage a {
  175. color: #919191;
  176. }
  177.  
  178.  
  179. /* --- links end --- */
  180.  
  181.  
  182.  
  183. /* --- column titles start */
  184.  
  185. .titles {
  186. font-family: 'Tangerine', cursive;
  187. color: #fff;
  188. font-size: 27px;
  189. position: fixed;
  190. margin-top: -38px;
  191. margin-left: 77px;
  192. }
  193.  
  194. /* --- column titles end --- */
  195.  
  196.  
  197.  
  198. /* --- page title start ---*/
  199.  
  200. #title {
  201. color: #919191;
  202. text-shadow: 0px 0px 3px #fff;
  203. font-family: 'Tangerine', cursive;
  204. font-size: 100px;
  205. border-bottom: 3px none #aab7b9;
  206. }
  207.  
  208. /* --- page title end --- */
  209.  
  210.  
  211. /* --- navi links --- */
  212. #navi{
  213. color:#919191;
  214. background-color:#eee;
  215. border: 1px solid #919191;
  216. font-family: 'Tangerine', cursive;
  217. font-size:25px;
  218. margin-top:5px;
  219. margin-left:600px;
  220. width:150px;
  221. height:30px;
  222. position:fixed;
  223. line-height:150%;
  224. }
  225.  
  226. #navi a{
  227. color:#919191;
  228. }
  229. /* --- navi links end --- */
  230.  
  231. /* --- ask box --- */
  232.  
  233. .popup_block{
  234. display:none;
  235. background:#transparent;
  236. padding:20px;
  237. border:1px none #fff;
  238. width: 300px;
  239. height: 400px;
  240. overflow-y:scroll;
  241. overflow-x:hidden;
  242. float:left;
  243. position:fixed;
  244. top:60%;left:702.5px;
  245. z-index: 99999;
  246. -webkit-box-shadow: 0px 0px 0px #000;
  247. -moz-box-shadow: 0px 0px 0px #000;
  248. box-shadow: 0px 0px 0px #000;
  249. }
  250.  
  251. *html #fade {position: absolute;}
  252. *html .popup_block .popup_block2 .popup_block3 .popup_block4 .popup_block5 {position: absolute;}
  253. #fade {
  254. display:none;
  255. position:fixed;
  256. left:0px;
  257. top:0px;
  258. width:100%;
  259. height:100%;
  260. z-index:9999;
  261. background:none;
  262. opacity:0.5;
  263. }
  264.  
  265. /* --- ask box end --- */
  266.  
  267.  
  268. </style>
  269. </head>
  270.  
  271. <body>
  272.  
  273. <!--FIRST COLUMN STARTS-->
  274.  
  275. <div id="column1">
  276.  
  277. <div id="columns">
  278.  
  279. <div class="titles">
  280. &nbsp;Title
  281. </div>
  282.  
  283. <div class="linkage">
  284. <a href="/">TAG</a>
  285. </div>
  286. <div class="linkage">
  287. <a href="/">TAG</a>
  288. </div>
  289. <div class="linkage">
  290. <a href="/">TAG</a>
  291. </div>
  292. <div class="linkage">
  293. <a href="/">TAG</a>
  294. </div>
  295. <div class="linkage">
  296. <a href="/">TAG</a>
  297. </div>
  298. <div class="linkage">
  299. <a href="/">TAG</a>
  300. </div>
  301. <div class="linkage">
  302. <a href="/">TAG</a>
  303. </div>
  304. <div class="linkage">
  305. <a href="/">TAG</a>
  306. </div>
  307. <div class="linkage">
  308. <a href="/">TAG</a>
  309. </div>
  310. <div class="linkage">
  311. <a href="/">TAG</a>
  312. </div>
  313. <div class="linkage">
  314. <a href="/">TAG</a>
  315. </div>
  316.  
  317.  
  318.  
  319. </div>
  320.  
  321. </div>
  322.  
  323. <!--FIRST COLUMN ENDS-->
  324.  
  325.  
  326. <!--SECOND COLUMN STARTS-->
  327.  
  328. <div id="column2">
  329.  
  330. <div id="columns">
  331.  
  332. <div class="titles">
  333. &nbsp;&nbsp;Title
  334. </div>
  335.  
  336. <div class="linkage">
  337. <a href="/">TAG</a>
  338. </div>
  339. <div class="linkage">
  340. <a href="/">TAG</a>
  341. </div>
  342. <div class="linkage">
  343. <a href="/">TAG</a>
  344. </div>
  345. <div class="linkage">
  346. <a href="/">TAG</a>
  347. </div>
  348. <div class="linkage">
  349. <a href="/">TAG</a>
  350. </div>
  351. <div class="linkage">
  352. <a href="/">TAG</a>
  353. </div>
  354. <div class="linkage">
  355. <a href="/">TAG</a>
  356. </div>
  357. <div class="linkage">
  358. <a href="/">TAG</a>
  359. </div>
  360. <div class="linkage">
  361. <a href="/">TAG</a>
  362. </div>
  363. <div class="linkage">
  364. <a href="/">TAG</a>
  365. </div>
  366. <div class="linkage">
  367. <a href="/">TAG</a>
  368. </div>
  369.  
  370.  
  371.  
  372. </div>
  373.  
  374. </div>
  375.  
  376. <!--SECOND COLUMN ENDS-->
  377.  
  378.  
  379. <!--THIRD COLUMN STARTS-->
  380.  
  381. <div id="column3">
  382.  
  383. <div id="columns">
  384.  
  385. <div class="titles">
  386. &nbsp;&nbsp;Title
  387. </div>
  388.  
  389. <div class="linkage">
  390. <a href="/">TAG</a>
  391. </div>
  392. <div class="linkage">
  393. <a href="/">TAG</a>
  394. </div>
  395. <div class="linkage">
  396. <a href="/">TAG</a>
  397. </div>
  398. <div class="linkage">
  399. <a href="/">TAG</a>
  400. </div>
  401. <div class="linkage">
  402. <a href="/">TAG</a>
  403. </div>
  404. <div class="linkage">
  405. <a href="/">TAG</a>
  406. </div>
  407. <div class="linkage">
  408. <a href="/">TAG</a>
  409. </div>
  410. <div class="linkage">
  411. <a href="/">TAG</a>
  412. </div>
  413. <div class="linkage">
  414. <a href="/">TAG</a>
  415. </div>
  416. <div class="linkage">
  417. <a href="/">TAG</a>
  418. </div>
  419. <div class="linkage">
  420. <a href="/">TAG</a>
  421. </div>
  422.  
  423.  
  424.  
  425.  
  426. </div>
  427.  
  428. </div>
  429.  
  430. <!--THIRD COLUMN ENDS-->
  431.  
  432.  
  433. <!--FOURTH COLUMN STARTS-->
  434.  
  435. <div id="column4">
  436.  
  437. <div id="columns">
  438.  
  439. <div class="titles">
  440. &nbsp;&nbsp;Title
  441. </div>
  442.  
  443. <div class="linkage">
  444. <a href="/">TAG</a>
  445. </div>
  446. <div class="linkage">
  447. <a href="/">TAG</a>
  448. </div>
  449. <div class="linkage">
  450. <a href="/">TAG</a>
  451. </div>
  452. <div class="linkage">
  453. <a href="/">TAG</a>
  454. </div>
  455. <div class="linkage">
  456. <a href="/">TAG</a>
  457. </div>
  458. <div class="linkage">
  459. <a href="/">TAG</a>
  460. </div>
  461. <div class="linkage">
  462. <a href="/">TAG</a>
  463. </div>
  464. <div class="linkage">
  465. <a href="/">TAG</a>
  466. </div>
  467. <div class="linkage">
  468. <a href="/">TAG</a>
  469. </div>
  470. <div class="linkage">
  471. <a href="/">TAG</a>
  472. </div>
  473. <div class="linkage">
  474. <a href="/">TAG</a>
  475. </div>
  476.  
  477.  
  478.  
  479. </div>
  480.  
  481. </div>
  482.  
  483. <!--FOURTH COLUMN ENDS-->
  484.  
  485.  
  486. <!--CODE FOR THE TITLE-->
  487.  
  488. <center>
  489. <div id="title">
  490. Navigation
  491. </div>
  492. </center>
  493.  
  494. <div id="navi">
  495. <center>
  496. <a href="http://YOUR URL.tumblr.com">back</a>&nbsp;&nbsp;
  497. <a href="/dashboard">dashboard</a>&nbsp;&nbsp;
  498. <a href="#?w=400" rel="box1" class="poplight">ask</a>
  499. </center>
  500. </div>
  501.  
  502. <script type="text/javascript"
  503. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  504. <script>
  505. $(document).ready(function() {
  506. //
  507. $('a.poplight[href^=#]').click(function() {
  508. var popID = $(this).attr('rel'); //Get Popup Name
  509. var popURL = $(this).attr('href'); //Get Popup href to define size
  510. var query= popURL.split('?');
  511. var dim= query[1].split('&');
  512. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  513. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  514. var popMargTop = ($('#' + popID).height() + 80) / 2;
  515. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  516. //Apply Margin to Popup
  517. $('#' + popID).css({
  518. 'margin-top' : -popMargTop,
  519. 'margin-left' : -popMargLeft
  520. });
  521. $('body').append('<div id="fade"></div>');
  522. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  523. return false;
  524. });
  525. $('a.close, #fade').live('click', function() {
  526. $('#fade, .popup_block, .popup_block2, .popup_block3, .popup_block4, .popup_block5').fadeOut(function() {
  527. $('#fade, a.close').remove(); //fade them both out
  528. });
  529. return false;
  530. });
  531. });
  532. </script>
  533.  
  534. <div id="box1" class="popup_block">
  535. <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>
  536. </div>
  537.  
  538. </div></div></div></div></div></div></div></div></div></div>
  539.  
  540. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement