sofiiayala

Navigation #4 for tumblr

Mar 30th, 2015
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.83 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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!---- Navigation page #4 by Sofi (castiiel.tumblr.com). DON'T REMOVE THE CREDIT OR CLAIM THE THEME AS YOURS. DON'T USE IT AS A BASE --->
  9.  
  10. <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
  11.  
  12. <script type="text/javascript">
  13. WebFontConfig = {
  14. google: { families: [ 'Montserrat+Alternates:400,700:latin' ] }
  15. };
  16. (function() {
  17. var wf = document.createElement('script');
  18. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  19. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  20. wf.type = 'text/javascript';
  21. wf.async = 'true';
  22. var s = document.getElementsByTagName('script')[0];
  23. s.parentNode.insertBefore(wf, s);
  24. })(); </script>
  25.  
  26. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  27.  
  28. <script src="jquery.js"></script>
  29. <script>
  30. $(document).ready(function(){
  31. $("#supernatural").click(function(){
  32. $(".supernatural").slideToggle("slow");
  33. });
  34. });
  35. </script>
  36.  
  37. <style type="text/css">
  38.  
  39. body {
  40. background: #fff;
  41. overflow-y: scroll;
  42. -webkit-overflow-scrolling: touch;
  43. }
  44.  
  45. ::-webkit-scrollbar-thumb{
  46. background-color: #000;
  47. height:auto;}
  48.  
  49. ::-webkit-scrollbar {
  50. height:auto;width:3px;
  51. background-color:#fff;}
  52.  
  53. a {
  54. text-decoration:none;
  55. color: #000;
  56. }
  57.  
  58. #title {
  59. font-family: 'Montserrat Alternates', sans-serif;
  60. width:661px;
  61. left:50%;
  62. margin-left:-331px;
  63. position:fixed;
  64. top:50%;
  65. margin-top:-224px;
  66. font-size:24px;
  67. text-align:left;
  68. font-weight: 700;
  69. }
  70.  
  71. #icons {
  72. float:right;
  73. font-size:12px;
  74. bottom:5px;
  75. right:45px;
  76. position:absolute;
  77. }
  78.  
  79. #icons a {
  80. color:#000;
  81. margin-left:10px;
  82. }
  83.  
  84. #cont {
  85. width:660px;
  86. height:400px;
  87. position:fixed;
  88. top:50%;
  89. margin-top:-200px;
  90. left:50%;
  91. margin-left:-330px;
  92. }
  93.  
  94. #column {
  95. width:148px;
  96. height:388px;
  97. border:1px solid #000;
  98. position:absolute;
  99. overflow:auto;
  100. top:0px;
  101. right:0px;
  102. border-left:0px;
  103. padding-bottom:10px;
  104. }
  105.  
  106. #left {
  107. width:509px;
  108. height:398px;
  109. border:1px solid #000;
  110. position:absolute;
  111. overflow:auto;
  112. }
  113.  
  114. #tags {
  115. padding:5px;
  116. text-align:left;
  117. }
  118.  
  119. #tags a {
  120. padding:7px 8px;
  121. margin:5px;
  122. background:#fff;
  123. border:#000;
  124. font-size:9px;
  125. font-family:trebuchet ms, 'lato', sans-serif;
  126. text-transform:uppercase;
  127. border:1px solid #000;
  128. letter-spacing:1px;
  129. width:96.4px;
  130. text-align:center;
  131. line-height:130%;
  132. }
  133.  
  134. #tags a:hover {
  135. border:dotted 1px;
  136. }
  137.  
  138. .title {
  139. width:108px;
  140. padding:10px;
  141. background:#000;
  142. margin:10px 10px 0px;
  143. font-family:trebuchet ms, 'lato', sans-serif;
  144. font-size:9px;
  145. font-weight:bolder;
  146. letter-spacing:2px;
  147. color:#fff;
  148. text-transform:uppercase;
  149. text-align:center;
  150. line-height:135%;
  151. }
  152.  
  153. .list {
  154. font-size:9px;
  155. font-family:trebuchet ms, 'lato', sans-serif;
  156. margin:0px 10px;
  157. text-align:center;
  158. text-transform:uppercase;
  159. display:none;
  160. }
  161.  
  162. .list a {
  163. color:#000;
  164. display:block;
  165. letter-spacing:2px;
  166. margin:10px 0px 0px;
  167. -webkit-transition: all 0.1s linear;
  168. -moz-transition: all 0.1s linear;
  169. -ms-transition: all 0.1s linear;
  170. -o-transition: all 0.1s linear;
  171. transition: all 0.1s linear;
  172. }
  173.  
  174. .list a:hover {
  175. letter-spacing:4px;
  176. -webkit-transition: all 0.1s linear;
  177. -moz-transition: all 0.1s linear;
  178. -ms-transition: all 0.1s linear;
  179. -o-transition: all 0.1s linear;
  180. transition: all 0.1s linear;
  181. }
  182.  
  183. .isotope-item {
  184. z-index: 2;
  185. }
  186.  
  187. .isotope-hidden.isotope-item {
  188. pointer-events: none;
  189. z-index: 1;
  190. }
  191.  
  192. .isotope,
  193. .isotope .isotope-item {
  194. -webkit-transition-duration: 0.5s;
  195. -moz-transition-duration: 0.5s;
  196. -ms-transition-duration: 0.5s;
  197. -o-transition-duration: 0.5s;
  198. transition-duration: 0.5s;
  199. }
  200.  
  201. .isotope {
  202. -webkit-transition-property: height, width;
  203. -moz-transition-property: height, width;
  204. -ms-transition-property: height, width;
  205. -o-transition-property: height, width;
  206. transition-property: height, width;
  207. }
  208.  
  209. .isotope .isotope-item {
  210. -webkit-transition-property: -webkit-transform, opacity;
  211. -moz-transition-property: -moz-transform, opacity;
  212. -ms-transition-property: -ms-transform, opacity;
  213. -o-transition-property: -o-transform, opacity;
  214. transition-property: transform, opacity;
  215. }
  216.  
  217. .isotope.no-transition,
  218. .isotope.no-transition .isotope-item,
  219. .isotope .isotope-item.no-transition {
  220. -webkit-transition-duration: 0s;
  221. -moz-transition-duration: 0s;
  222. -ms-transition-duration: 0s;
  223. -o-transition-duration: 0s;
  224. transition-duration: 0s;
  225. }
  226.  
  227. .isotope.infinite-scrolling {
  228. -webkit-transition: none;
  229. -moz-transition: none;
  230. -ms-transition: none;
  231. -o-transition: none;
  232. transition: none;
  233. }
  234.  
  235. #credit {
  236. font-size:12px;
  237. font-family: Helvetica, sans-serif;
  238. letter-spacing:1.5px;
  239. line-height: 100%;
  240. z-index:99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
  241. position:fixed;
  242. right:-100px;
  243. bottom:10px;
  244. transition: all 0.9s linear;
  245. -webkit-transition: opacity 0.9s linear;
  246. -webkit-transition: all 0.9s linear;
  247. -moz-transition: all 0.9s linear;
  248. }
  249.  
  250. #credit a {
  251. color:#000;
  252. margin-left:15px;
  253. transition: all 0.9s linear;
  254. -webkit-transition: opacity 0.9s linear;
  255. -webkit-transition: all 0.9s linear;
  256. -moz-transition: all 0.9s linear;
  257. }
  258.  
  259. #credit:hover {
  260. right:10px;
  261. transition: all 0.9s linear;
  262. -webkit-transition: opacity 0.9s linear;
  263. -webkit-transition: all 0.9s linear;
  264. -moz-transition: all 0.9s linear;
  265. }
  266.  
  267. </style>
  268.  
  269. <script src="http://static.tumblr.com/fuu6t9w/kh8ml0pl9/jquery-1.7.1.min.js"></script>
  270. <script src="http://static.tumblr.com/fuu6t9w/eubml0pm0/jquery.isotope.min.js"></script>
  271. <script>
  272. $(function(){
  273.  
  274. var $container = $('.cont');
  275.  
  276. $container.isotope({
  277. itemSelector : '#tags a'
  278. });
  279.  
  280.  
  281. var $optionSets = $('#column .option-set'),
  282. $optionLinks = $optionSets.find('a');
  283.  
  284. $optionLinks.click(function(){
  285. var $this = $(this);
  286. // don't proceed if already selected
  287. if ( $this.hasClass('selected') ) {
  288. return false;
  289. }
  290. var $optionSet = $this.parents('.option-set');
  291. $optionSet.find('.selected').removeClass('selected');
  292. $this.addClass('selected');
  293.  
  294. // make option object dynamically, i.e. { filter: '.my-filter-class' }
  295. var options = {},
  296. key = $optionSet.attr('data-option-key'),
  297. value = $this.attr('data-option-value');
  298. // parse 'false' as false boolean
  299. value = value === 'false' ? false : value;
  300. options[ key ] = value;
  301. if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
  302. // changes in layout modes need extra logic
  303. changeLayoutMode( $this, options )
  304. } else {
  305. // otherwise, apply new options
  306. $container.isotope( options );
  307. }
  308.  
  309. return false;
  310. });
  311.  
  312.  
  313. });
  314. </script>
  315.  
  316. </style></head>
  317.  
  318. <body>
  319.  
  320. <div id="title">
  321. navigation
  322. <span id="icons">
  323. <a href="/" style="font-size:13px;"><i class="fa fa-home"></i></a>
  324. <a href="/ask"><i class="fa fa-envelope-o"></i></a>
  325. <a href="http://www.tumblr.com/follow/{Name}"><i class="fa fa-plus"></i></a>
  326. </span>
  327. </div>
  328.  
  329. <div id="cont">
  330.  
  331. <div id="left">
  332. <div id="tags">
  333. <div class="cont" style="text-align:left">
  334. <a href="/tagged/jake able" class="spn spncast">jake able</a>
  335. <a href="/tagged/charlie" class="spn hunters">charlie bradbury</a>
  336. <a href="/tagged/anna" class="spn angels">anna</a>
  337. <a href="/tagged/abaddon" class="spn demons">abaddon</a>
  338. <a href="/tagged/ash" class="spn spnother">ash</a>
  339. <a href="/tagged/destiel" class="spn spnotp">destiel</a>
  340. <a href="/tagged/demon!dean" class="spn spnextra">demon!dean</a>
  341. <a href="/tagged/dean" class="spn hunters">dean</a>
  342. <a href="/tagged/sam" class="spn hunters">sam</a>
  343. <a href="/tagged/cas" class="spn angels">cas</a>
  344. <a href="/tagged/cain" class="spn demons">cain</a>
  345. <a href="/tagged/king of sass" class="spn spnother">death</a>
  346. <a href="/tagged/otp: metallicar" class="spn spnotp">dean/impala</a>
  347. <a href="/tagged/twist and shout" class="spn spnextra">twist and shout</a>
  348. <a href="/tagged/impala" class="spn spnextra">impala</a>
  349. </div><!--.cont-->
  350. </div><!--tags-->
  351. </div><!--left-->
  352.  
  353. <div id="column">
  354.  
  355. <div class="title" id="supernatural">supernatural</div>
  356. <div class="supernatural list">
  357. <a href="/tagged/spn">main tag</a>
  358. <div id="filters" class="option-set clearfix" data-option-key="filter">
  359. <a href="#filter" data-option-value=".spn">all tags</a>
  360. <a href="#filter" data-option-value=".spncast">the cast</a>
  361. <a href="#filter" data-option-value=".hunters">hunters</a>
  362. <a href="#filter" data-option-value=".angels">angels</a>
  363. <a href="#filter" data-option-value=".demons">demons</a>
  364. <a href="#filter" data-option-value=".spnother">humans/other</a>
  365. <a href="#filter" data-option-value=".spnotp">otp/brotp</a>
  366. <a href="#filter" data-option-value=".spnextra">extra/objects</a>
  367. </div><!--filter-->
  368. </div><!--list-->
  369.  
  370. <div class="title">marvel</div>
  371.  
  372. <div class="title">doctor who</div>
  373.  
  374. <div class="title">sherlock</div>
  375.  
  376. <div class="title">game of thrones</div>
  377.  
  378. <div class="title">merlin</div>
  379.  
  380. <div class="title">teen wolf</div>
  381.  
  382. <div class="title">hannibal</div>
  383.  
  384. <div class="title">arrow</div>
  385.  
  386. <div class="title">harry potter</div>
  387.  
  388. <div class="title">once upon a time</div>
  389.  
  390. <div class="title">shameless</div>
  391.  
  392. <div class="title">in the flesh</div>
  393.  
  394. <div class="title">tolkien</div>
  395.  
  396. <div class="title">the hunger games</div>
  397.  
  398. <div class="title">the maze runner</div>
  399.  
  400. <div class="title">star trek</div>
  401.  
  402. <div class="title">fall out boy</div>
  403.  
  404. <div class="title">american horror story</div>
  405.  
  406. <div class="title">welcome to night vale</div>
  407.  
  408. <div class="title">the mortal instrument</div>
  409.  
  410. <div class="title">revenge</div>
  411.  
  412. </div><!--column-->
  413.  
  414. </div><!--cont-->
  415.  
  416. <div id="credit" style="font-size:14px">©<a href="http://castiiel.tumblr.com" style="font-size:7px; text-transform: uppercase;">theme by castiiel</a></div>
  417.  
  418. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment