Advertisement
Tokyo-themes

captain

Mar 7th, 2017
1,093
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.68 KB | None | 0 0
  1. <!---
  2.  
  3. THEME: CAPTAIN
  4. © tokyo-themes
  5.  
  6. © linearicons // icons
  7. © roxiestheme // audio player
  8. © shythemes // video resizing, searchbar, & like button
  9.  
  10. --->
  11.  
  12.  
  13. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  14. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  15.  
  16.  
  17. <head>
  18.  
  19.  
  20. <title>{Title}</title>
  21. <link rel="shortcut icon" href="{FavIcon}" />
  22. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  23. <link href='https://fonts.googleapis.com/css?family=Raleway|Lato|Open+Sans|Roboto' rel='stylesheet' type='text/css'>
  24. <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  25. <link href="style-my-tooltips.css" rel="stylesheet" type="text/css" />
  26. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  27. <script type="text/javascript" src="http://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
  28. <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
  29.  
  30. <meta name="image:Background" content=""/>
  31. <meta name="image:Header" content=""/>
  32. <meta name="image:Image 200x400" content=""/>
  33. <meta name="image:Image 200x200" content=""/>
  34.  
  35. <meta name="color:Background" content="#f6f6f6" />
  36. <meta name="color:Accent" content="#150d0e"/>
  37. <meta name="color:Body Text" content="#888888"/>
  38. <meta name="color:Links" content="#4a4242"/>
  39. <meta name="color:Links Hover" content="#badbda"/>
  40. <meta name="color:Bold" content="#aaaaaa" />
  41. <meta name="color:Italics" content="#dddddd" />
  42. <meta name="color:Strikethrough" content="#badbda"/>
  43. <meta name="color:Underline" content="#add1d1"/>
  44. <meta name="color:Title" content="#4a4242"/>
  45. <meta name="color:Navigation link" content="#ffffff"/>
  46. <meta name="color:Searchbar" content="#ffffff"/>
  47. <meta name="color:Navigation link hover" content="#888888"/>
  48. <meta name="color:Navigation link bg hover" content="#dddddd"/>
  49. <meta name="color:Posts" content="#edece8"/>
  50.  
  51. <meta name="select:Font" content="Consolas" title="Consolas" />
  52. <meta name="select:Font" content="Arial" title="Arial" />
  53. <meta name="select:Font" content="Calibri" title="Calibri" />
  54. <meta name="select:Font" content="Raleway" title="Raleway" />
  55. <meta name="select:Font" content="Roboto" title="Roboto" />
  56. <meta name="select:Font" content="Open Sans" title="Open Sans" />
  57. <meta name="select:Font" content="Lato" title="Lato" />
  58. <meta name="select:Description position" content="left:10px;top:10px;text-align: left;" title="Top Left" />
  59. <meta name="select:Description position" content="left:10px;bottom:60px;text-align: left;" title="Bottom Left" />
  60. <meta name="select:Description position" content="left:50%;top:50%;transform: translate(-50%, -50%);text-align: center;" title="Center" />
  61. <meta name="select:Description position" content="right:10px;top:10px;text-align: right;" title="Top Right" />
  62. <meta name="select:Description position" content="right:45px;bottom:60px;text-align:right;" title="Bottom Right" />
  63. <meta name="select:Post size" content="700px" title="700" />
  64. <meta name="select:Post size" content="540px" title="540" />
  65. <meta name="select:Post size" content="500px" title="500"/>
  66. <meta name="select:Post size" content="400px" title="400" />
  67.  
  68. <meta name="if:Light controls" content="0" />
  69. <meta name="if:Navigation type" content="0" />
  70. <meta name="if:Captions" content="0" />
  71.  
  72. <meta name="text:Header position" content="center center"/>
  73. <meta name="text:Searchbar" content="search tags"/>
  74. <meta name="text:Home title" content="retreat"/>
  75. <meta name="text:Ask title" content="contact"/>
  76. <meta name="text:Archive title" content="history"/>
  77. <meta name="text:Link1 title" content="link one"/>
  78. <meta name="text:Link1 url" content="http://"/>
  79. <meta name="text:Link2 title" content="link two"/>
  80. <meta name="text:Link2 url" content="http://"/>
  81. <meta name="text:Link3 title" content="link three"/>
  82. <meta name="text:Link3 url" content="http://"/>
  83. <meta name="text:Link4 title" content="link four"/>
  84. <meta name="text:Link4 url" content="http://"/>
  85. <meta name="text:Link5 title" content="link five"/>
  86. <meta name="text:Link5 url" content="http://"/>
  87.  
  88. <style type="text/css">
  89.  
  90. #tumblr_controls,
  91. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls {
  92. top: 55px!important;
  93. right: 10px!important;
  94. overflow: hidden!important;
  95. position: fixed!important;
  96. {block:iflightcontrols}
  97. -webkit-filter: invert(100%);
  98. opacity: 0.5!important;
  99. {/block:iflightcontrols}
  100. {block:ifnotlightcontrols}
  101. -webkit-filter: invert(100%);
  102. opacity: 0.8!important;
  103. {/block:ifnotlightcontrols}
  104. z-index:99 !important;
  105. }
  106.  
  107.  
  108.  
  109.  
  110. /* Scrollbar & Selected text */
  111.  
  112. ::-webkit-scrollbar {
  113. height: 10px;
  114. width: 10px;
  115. background: {color:background};
  116. }
  117.  
  118. ::-webkit-scrollbar-thumb {
  119. border-radius: 100px;
  120. border: 4px solid {color:background};
  121. background: {color:accent};
  122. }
  123.  
  124. ::selection {
  125. color: {color:accent};
  126. background: {color:background};
  127. }
  128. ::-moz-selection {
  129. color: {color:accent};
  130. background: {color:background};
  131. }
  132. ::-webkit-selection {
  133. color: {color:accent};
  134. background: {color:background};
  135. }
  136.  
  137. /* End of Scrollbar & Selected text */
  138.  
  139.  
  140.  
  141.  
  142. body, html {
  143. height: 100%;
  144. min-height: 100%;
  145. color: {color:body text};
  146. line-height: 16px;
  147. font-size: 10px;
  148. font-family: '{select:font}';
  149. background: {color:background} url('{image:background}') center repeat fixed;
  150. }
  151.  
  152. a{cursor:help; color: {color:links}; text-decoration: none;}
  153. a:hover{color: {color:links hover};}
  154. b {color: {color:bold}; font-weight: bold;}
  155. i {color: {color:italics}; font-style: italic;}
  156. s {color: {color:strikethrough}; text-decoration: line-through;}
  157. u {color: {color:underline}; text-decoration: underline;}
  158.  
  159. #s-m-t-tooltip {
  160. margin-top: -20px;
  161. margin-left: 20px;
  162. max-width: 300px;
  163. padding: 3px 8px;
  164. color: {color:bold};
  165. background: {color:posts};
  166. z-index: 10000000;
  167. }
  168.  
  169.  
  170.  
  171.  
  172. /* Header */
  173.  
  174. .header {
  175. top: 0;
  176. left: 0;
  177. height: 100vh;
  178. width: 100%;
  179. background: url('{image:header}') {text:header position} no-repeat;
  180. background-size: cover;
  181. background-attachment:fixed;
  182. position: absolute;
  183. z-index:999;
  184. }
  185.  
  186. .descr{
  187. {select:description position}
  188. height: auto;
  189. width: 400px;
  190. position:fixed;
  191. z-index:9999;
  192. }
  193. .descrbg {
  194. line-height: 19px;
  195. font-size: 11px;
  196. padding:4px;
  197. color:{color:navigation link};
  198. background: {color:accent};
  199. }
  200.  
  201. .navigation{
  202. {block:IndexPage}
  203. bottom:0;
  204. position:absolute;
  205. {/block:IndexPage}
  206. {block:PermalinkPage}
  207. top:0;
  208. position:fixed;
  209. {/block:PermalinkPage}
  210. left:10px;
  211. height:50px;
  212. line-height:75px;
  213. z-index:999999;
  214. }
  215. .navigation a{
  216. margin-right:3px;
  217. left:60px;
  218. width:15px;
  219. height:11px;
  220. line-height:11px;
  221. color:{color:navigation link};
  222. font-size: 11px;
  223. border:8px solid transparent;
  224. display:inline-block;
  225. overflow:hidden;
  226. }
  227. .navigation a:hover{
  228. width:150px;
  229. color:{color:navigation link hover};
  230. }
  231.  
  232. .bar{
  233. left:0;
  234. {block:IndexPage}
  235. bottom:0;
  236. {/block:IndexPage}
  237. {block:PermalinkPage}
  238. top:0;
  239. {/block:PermalinkPage}
  240. width: calc(100% - 40px);
  241. height:12px;
  242. padding:20px;
  243. color:{color:navigation link};
  244. text-align:right;
  245. font-size:12px;
  246. line-height:12px;
  247. font-style: italic;
  248. background:{color:accent};
  249. position:fixed;
  250. z-index:99999;
  251. } .bartop{top:0;position:fixed;}
  252.  
  253. .search .query {
  254. border: 0;
  255. outline: 0;
  256. font-family: inherit;
  257. font-size: 12px;
  258. font-style: italic;
  259. color:{color:searchbar};
  260. width:400px;
  261. text-align:right;
  262. background-color: transparent;
  263. }
  264. ::-webkit-input-placeholder {color: inherit;}
  265. :-moz-placeholder {color: inherit; opacity:1;}
  266. ::-moz-placeholder {color: inherit; opacity:1;}
  267. :-ms-input-placeholder {color: inherit;}
  268. input:focus::-webkit-input-placeholder {color: transparent;}
  269. input:focus:-moz-placeholder {color: transparent;}
  270. input:focus::-moz-placeholder {color: transparent;}
  271. input:focus:-ms-input-placeholder { color: transparent;}
  272.  
  273. .down {
  274. bottom: 55px;
  275. right: 5px;
  276. height: 15px;
  277. width: 15px;
  278. padding: 10px;
  279. line-height: 15px;
  280. font-size: 15px;
  281. text-align: center;
  282. background: {color:accent};
  283. position: fixed;
  284. z-index:9999;
  285. } .down span{color:{color:navigation link};}
  286. .up {
  287. bottom: 5px;
  288. right: 5px;
  289. height: 15px;
  290. width: 15px;
  291. padding: 10px;
  292. line-height: 15px;
  293. font-size: 15px;
  294. text-align: center;
  295. background: {color:accent};
  296. opacity:0;
  297. position: fixed;
  298. z-index:9999;
  299. } .up span{color:{color:navigation link};}
  300.  
  301. /* End of Header */
  302.  
  303.  
  304.  
  305.  
  306. /* Sidebar */
  307.  
  308. .side{
  309. bottom:55px;
  310. left: 60%;
  311. width:40%;
  312. {block:IndexPage}
  313. opacity:0;
  314. {/block:IndexPage}
  315. position:fixed;
  316. z-index:99;
  317. }
  318.  
  319. .sidebar{
  320. width:200px;
  321. display:inline-block;
  322. position:relative;
  323. }
  324.  
  325. .sidebar h1{
  326. margin:0;
  327. width:calc(200px - 12px);
  328. line-height:15px;
  329. padding:6px;
  330. color:{color:title};
  331. font-size: 15px;
  332. font-weight: bold;
  333. font-style: italic;
  334. text-transform: uppercase;
  335. } .sidebar h1:before{content:'//';margin:5px;}
  336.  
  337. .navimg{
  338. margin:0;
  339. width:200px;
  340. height:400px;
  341. background: url('{image:image 200x400}') no-repeat;
  342. background-size: 200px 400px;
  343. }
  344.  
  345. .navbimg{
  346. margin:0;
  347. width:200px;
  348. height:200px;
  349. background: url('{image:image 200x200}') no-repeat;
  350. background-size: 200px 200px;
  351. }
  352.  
  353. .navigationb{
  354. bottom:0;
  355. width:200px;
  356. line-height:20px;
  357. display:inline-block;
  358. position:absolute;
  359. }
  360.  
  361. .navigationb a{
  362. height:25px;
  363. line-height:25px;
  364. padding:0px 4px;
  365. color:{color:navigation link};
  366. text-align:left;
  367. font-size: 11px;
  368. background: {color:accent};
  369. display:table;
  370. }
  371.  
  372. .navigationb a:hover{
  373. padding:0px 40px 0px 4px;
  374. color:{color:navigation link hover};
  375. background:{color:navigation link bg hover};
  376. }
  377.  
  378. /* End of Sidebar */
  379.  
  380.  
  381.  
  382.  
  383. /* Posts */
  384.  
  385. {block:iflightcontrols}
  386. .vignette, #vignette {opacity:0;}
  387. .lightbox-image, #tumblr_lightbox img {
  388. box-shadow:none !important;
  389. border-radius:0 !important;
  390. max-width:none;
  391. -moz-box-sizing:border-box;
  392. box-sizing:border-box;
  393. }
  394. .tmblr-lightbox, #tumblr_lightbox {
  395. background-color:rgba(255,255,255,.9) !important;
  396. }
  397. .lightbox-caption, #tumblr_lightbox_caption {visibility:hidden;}
  398. {/block:iflightcontrols}
  399.  
  400.  
  401. #entry {
  402. {block:IndexPage}
  403. top: 110vh;
  404. {/block:IndexPage}
  405. width:60%;
  406. height:100%;
  407. position: relative;
  408. }
  409.  
  410. .posts {
  411. {block:IndexPage}
  412. margin:0px 0px 200px 0px;
  413. width: {select:post size};
  414. {/block:IndexPage}
  415. {block:PermalinkPage}
  416. margin: 100px 0px;
  417. width: 540px;
  418. {/block:PermalinkPage}
  419. margin-left: auto;
  420. margin-right:auto;
  421. position: relative;
  422. } .posts img{ max-width: 100%;}
  423.  
  424.  
  425. .tbody {
  426. width: calc(100% - 40px);
  427. padding: 20px;
  428. background: {color:posts};
  429. }
  430. .ptitle {
  431. height: 40px;
  432. width: calc(100% - 20px);
  433. margin-bottom: 1px;
  434. padding: 10px;
  435. color: {color:bold};
  436. font-size: 15px;
  437. line-height: 40px;
  438. text-align: left;
  439. font-family: 'Raleway', sans-serif;
  440. font-weight: bold;
  441. letter-spacing: 2px;
  442. text-transform: uppercase;
  443. background: {color:posts};
  444. overflow: hidden;
  445. }
  446.  
  447. .ltitle {
  448. height: 40px;
  449. width: calc(100% - 20px);
  450. margin-bottom: 1px;
  451. padding: 10px;
  452. font-size: 15px;
  453. line-height: 40px;
  454. font-family: 'Raleway', sans-serif;
  455. font-weight: bold;
  456. letter-spacing: 2px;
  457. text-transform: uppercase;
  458. text-align: left;
  459. background: {color:posts};
  460. overflow: hidden;
  461. } .ltitle a{color:{color:bold};}
  462. .line {
  463. top: 60px;
  464. left: 0px;
  465. height: 1px;
  466. width: 0px;
  467. background: {color:accent};
  468. position: absolute;
  469. } .ltitle:hover .line{ height: 1px; width: 100%;}
  470.  
  471. .player{
  472. width:80px;
  473. overflow:hidden;
  474. }
  475. .audio {
  476. top: 0;
  477. right:0px;
  478. width: calc(100% - 121px);
  479. height: calc(85px - 40px);
  480. padding: 20px;
  481. font-size: 11px;
  482. text-align: left;
  483. background: {color:posts};
  484. position: absolute;
  485. }
  486.  
  487. .quotes {
  488. margin-bottom: 1px;
  489. width: calc(100% - 40px);
  490. padding: 20px;
  491. color: {color:bold};
  492. font-size: 15px;
  493. font-weight: bold;
  494. font-style: italic;
  495. text-transform: uppercase;
  496. font-family: 'Raleway', sans-serif;
  497. text-align: center;
  498. background: {color:posts};
  499. }
  500. .quotes i {
  501. margin: 5px;
  502. color: {color:italics};
  503. font-size: 20px;
  504. font-family: arial;
  505. }
  506. .qsources:before {
  507. content: '-';
  508. margin-right: 2px;
  509. color: {color:italics};
  510. font-style: none;
  511. }
  512. .qsources {
  513. height: 20px;
  514. width: calc(100% - 20px);
  515. padding: 10px;
  516. font-size: 11px;
  517. font-style: italic;
  518. text-transform: uppercase;
  519. text-align: right;
  520. background: {color:posts};
  521. }
  522.  
  523. .asker img {
  524. margin-right: 0px;
  525. height: 40px;
  526. width: 40px;
  527. padding: 10px;
  528. background: {color:posts};
  529. float: left;
  530. }
  531. .ask {
  532. width: calc(100% - 40px);
  533. padding: 20px;
  534. font-size: 10px;
  535. text-align: left;
  536. background: {color:posts};
  537. }
  538. .askname {
  539. margin-bottom: 1px;
  540. margin-left: 61px;
  541. height: 40px;
  542. width: calc(100% - 81px);
  543. padding: 10px;
  544. font-size: 15px;
  545. line-height: 40px;
  546. font-family: 'Raleway', sans-serif;
  547. font-weight: bold;
  548. letter-spacing: 2px;
  549. text-transform: uppercase;
  550. text-align: left;
  551. background: {color:posts};
  552. overflow: hidden;
  553. }
  554. .answer {
  555. margin-top: 1px;
  556. width: calc(100% - 40px);
  557. padding: 20px;
  558. font-size: 10px;
  559. text-align: right;
  560. background: {color:posts};
  561. }
  562.  
  563. .odd .chat {
  564. margin-bottom: 1px;
  565. width: calc(100% - 20px);
  566. padding: 10px;
  567. color: {color:italics};
  568. font-size: 10px;
  569. font-style: italic;
  570. background: {color:posts};
  571. }
  572. .even .chat {
  573. margin-bottom: 1px;
  574. width: calc(100% - 20px);
  575. padding: 10px;
  576. color: {color:bold};
  577. font-size: 10px;
  578. font-style: italic;
  579. background: {color:posts};
  580. }
  581.  
  582.  
  583. /* Permalinks */
  584. .prma{
  585. top:0px;
  586. right: -100px;
  587. height: 30px;
  588. width: 100px;
  589. position: absolute;
  590. opacity: 0;
  591. z-index: 9999;
  592. }
  593. .prma a{
  594. display:table;
  595. text-align:left;
  596. font-size: 11px;
  597. height: 11px;
  598. line-height:11px;
  599. padding: 5px;
  600. margin:0;
  601. color: {color:navigation link};
  602. background: {color:accent};
  603. }
  604. .prma h1{
  605. display:table;
  606. text-align:left;
  607. font-size: 15px;
  608. height: 15px;
  609. width:auto;
  610. line-height:15px;
  611. padding: 8px;
  612. margin:0;
  613. color:{color:navigation link hover};
  614. background:{color:navigation link bg hover};
  615. } .posts:hover .prma{opacity:1;}
  616.  
  617. .like-b {
  618. position:relative;
  619. display:inline-block;
  620. height:21px;
  621. line-height:21px
  622. overflow:hidden;
  623. margin-bottom:-1px;
  624. }
  625. .like-b .like_button iframe {
  626. position:absolute;
  627. top:0;
  628. left:0;
  629. bottom:0;
  630. right:0;
  631. z-index:2;
  632. opacity:0;
  633. }
  634. .like-b .liked + .b {
  635. color:red;
  636. }
  637. .like-b .liked + .b:after {
  638. content:'d';
  639. }
  640.  
  641.  
  642. .captions {
  643. margin-top: 1px;
  644. width: calc(100% - 40px);
  645. padding: 20px;
  646. text-align: left;
  647. background: {color:posts};
  648. }
  649.  
  650. .tags {
  651. margin-top: 10px;
  652. height: auto;
  653. width: {select:post size};
  654. text-align: left;
  655. opacity: 0;
  656. } .posts:hover .tags{opacity: 1;}
  657. .tags a {
  658. margin: 0px 10px 0px 0px;
  659. padding:4px 10px;
  660. color:{color:navigation link hover};
  661. font-style: italic;
  662. font-size: 11px;
  663. background:{color:posts};
  664. }
  665.  
  666. .noting {
  667. margin: 1px 0px;
  668. height: auto;
  669. width: calc(100% - 20px);
  670. padding: 10px;
  671. background: {color:posts};
  672. }
  673. ol.notes {
  674. margin: 1px 0px;
  675. padding: 0px;
  676. list-style-type: none;
  677. }
  678. ol.notes li.note {
  679. padding: 10px;
  680. background: {color:posts};
  681. margin-bottom: 1px;
  682. } ol.notes li.note img.avatar{display: none;}
  683. blockquote {
  684. margin-left: 6px;
  685. padding-left: 10px;
  686. border-left: 1px solid {color:italics};
  687. }
  688.  
  689. /* End of Permalinks & Posts */
  690.  
  691.  
  692.  
  693.  
  694. /* Footer */
  695.  
  696. .footer {
  697. margin-left: auto;
  698. margin-right: auto;
  699. height: 40px;
  700. {block:IndexPage}
  701. width: calc({select:post size} - 20px);
  702. {/block:IndexPage}
  703. {block:PermalinkPage}
  704. width: calc(540px - 20px);
  705. {/block:PermalinkPage}
  706. padding: 10px;
  707. background: {color:posts};
  708. position: relative;
  709. display: block;
  710. }
  711.  
  712. .cred a {
  713. top: 10px;
  714. right: 20px;
  715. color: {color:italics};
  716. line-height: 40px;
  717. font-size: 10px;
  718. text-align: right;
  719. position: absolute;
  720. display: inline-block;
  721. }
  722.  
  723. .pagination {
  724. top: 10px;
  725. left: 20px;
  726. width: auto;
  727. color: {color:italics};
  728. line-height: 40px;
  729. font-size: 12px;
  730. font-family: 'Raleway', sans-serif;
  731. font-weight: bold;
  732. letter-spacing: 1px;
  733. text-transform: uppercase;
  734. display: inline-block;
  735. text-align: left;
  736. position: absolute;
  737. }
  738.  
  739. /* End of Footer */
  740.  
  741.  
  742.  
  743.  
  744. /* Transitions */
  745.  
  746. a, .ltitle, .line, .down, .up, .descr, .navigation, .side, .prma, .tags {
  747. -webkit-transition: opacity 0.5s linear;
  748. -webkit-transition: all 0.5s ease-in-out;
  749. -moz-transition: all 0.5s ease-in-out;
  750. -o-transition: all 0.5s ease-in-out;
  751. }
  752.  
  753. /* End of Transitions */
  754.  
  755. {CustomCSS}
  756.  
  757.  
  758. </style>
  759. </head>
  760.  
  761.  
  762. <script>
  763. $(document).ready(function(){
  764. $(window).bind('scroll', function(){
  765. if($(window).scrollTop() > 10){
  766. {block:IndexPage}
  767. $('.bar').addClass('bartop');
  768. $('.descr, .down').css('opacity', '0');
  769. $('.side, .up').css('opacity', '1');
  770. {block:ifnotnavigationtype}
  771. $('.navigation').addClass('bartop');
  772. {/block:ifnotnavigationtype}
  773. {block:ifnavigationtype}
  774. $('.navigation').css('z-index', '-1');
  775. {/block:ifnavigationtype}
  776. {/block:IndexPage}
  777. }
  778. else{
  779. {block:IndexPage}
  780. $('.bar').removeClass('bartop');
  781. $('.descr, .down').css('opacity', '1');
  782. $('.side, .up').css('opacity', '0');
  783. {block:ifnotnavigationtype}
  784. $('.navigation').removeClass('bartop');
  785. {/block:ifnotnavigationtype}
  786. {block:ifnavigationtype}
  787. $('.navigation').css('z-index', '999999');
  788. {/block:ifnavigationtype}
  789. {/block:IndexPage}
  790. }
  791. });
  792. });
  793. </script> <!--- Scroll Transitions --->
  794.  
  795.  
  796. <script>
  797. $(function() {
  798. $('a[href*="#"]:not([href="#"])').click(function() {
  799. if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname){
  800. var target = $(this.hash);
  801. target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
  802. if (target.length) {
  803. $('html, body').animate({
  804. scrollTop: target.offset().top
  805. }, 1000); return false;
  806. }
  807. }
  808. });
  809. });
  810. </script> <!--- Smooth Scrolling --->
  811.  
  812.  
  813. <script>
  814. (function($){
  815. $(document).ready(function(){
  816. $("[title]").style_my_tooltips();});})(jQuery);
  817. </script> <!--- ToolTips --->
  818.  
  819. <script>
  820. $(document).ready(function() {
  821. $('iframe.tumblr_audio_player').load( function() {
  822. $('iframe.tumblr_audio_player').contents().find("head")
  823. .append($("<style type='text/css'> .audio-player{background:{color:accent} !important} </style>"));
  824. });
  825. });
  826. </script> <!--- Audio Player --->
  827.  
  828.  
  829. <body><a name="up"></a>
  830.  
  831. {block:IndexPage}
  832. <div class="header"></div>
  833. {block:ShowDescription}
  834. <div class="descr">
  835. <font class="descrbg">{Description}</font>
  836. </div>
  837. {/block:ShowDescription}
  838. {/block:IndexPage}
  839.  
  840. <div class="navigation">
  841. <a href="/">O1. {text:home title}</a>
  842. <a href="/ask">O2. {text:ask title}</a>
  843. <a href="/archive">O3. {text:archive title}</a>
  844. {block:Iflink1title}
  845. <a href="{text:link1 url}">O4. {text:link1 title}</a>
  846. {/block:Iflink1title}
  847. {block:Iflink2title}
  848. <a href="{text:link2 url}">O5. {text:link2 title}</a>
  849. {/block:Iflink2title}
  850. {block:Iflink3title}
  851. <a href="{text:link3 url}">O6. {text:link3 title}</a>
  852. {/block:Iflink3title}
  853. {block:Iflink4title}
  854. <a href="{text:link4 url}">O7. {text:link4 title}</a>
  855. {/block:Iflink4title}
  856. {block:Iflink5title}
  857. <a href="{text:link5 url}">O8. {text:link5 title}</a>
  858. {/block:Iflink5title}
  859. </div>
  860.  
  861. {block:IndexPage}
  862. <div class="down">
  863. <a href="#down"><span class="lnr lnr-chevron-down"></span></a>
  864. </div>
  865. <div class="up">
  866. <a href="#up"><span class="lnr lnr-chevron-up"></span></a>
  867. </div>
  868. {/block:IndexPage}
  869.  
  870. <div class="bar"> <a name="down"></a>
  871. <form action="javascript:return false" method="get" class="search">
  872. <input type="text" name="q" value="{SearchQuery}" class="query" placeholder="{text:searchbar}" title="search">
  873. </form>
  874. </div>
  875.  
  876. <div class="side">
  877. <div class="sidebar">
  878. <h1>{title}</h1>
  879. {block:ifnotnavigationtype}
  880. <div class="navimg"></div>
  881. {/block:ifnotnavigationtype}
  882. {block:ifnavigationtype}
  883. <div class="navbimg"></div>
  884. {/block:ifnavigationtype}
  885. </div>
  886. {block:ifnavigationtype}
  887. <div class="navigationb">
  888. <a href="/">O1. {text:home title}</a>
  889. <a href="/ask">O2. {text:ask title}</a>
  890. <a href="/archive">O3. {text:archive title}</a>
  891. {block:Iflink1title}
  892. <a href="{text:link1 url}">O4. {text:link1 title}</a>
  893. {/block:Iflink1title}
  894. {block:Iflink2title}
  895. <a href="{text:link2 url}">O5. {text:link2 title}</a>
  896. {/block:Iflink2title}
  897. {block:Iflink3title}
  898. <a href="{text:link3 url}">O6. {text:link3 title}</a>
  899. {/block:Iflink3title}
  900. {block:Iflink4title}
  901. <a href="{text:link4 url}">O7. {text:link4 title}</a>
  902. {/block:Iflink4title}
  903. {block:Iflink5title}
  904. <a href="{text:link5 url}">O8. {text:link5 title}</a>
  905. {/block:Iflink5title}
  906. </div>
  907. {/block:ifnavigationtype}
  908. </div>
  909.  
  910. <div id="entry">
  911. {block:Posts}
  912. <div class="posts" id="{PostID}">
  913.  
  914.  
  915.  
  916. {block:IndexPage}
  917. <div class="prma">
  918. <h1>{ShortMonth} {DayOfMonthWithZero}</h1>
  919. <a href="{Permalink}">{NoteCount}</a>
  920. <a class="like-b" href="#">{LikeButton}<span class="b">like</span></a>
  921. <a href="{ReblogURL}" target="_blank">reblog</a>
  922. </div>
  923. {/block:IndexPage}
  924.  
  925.  
  926.  
  927. {block:Photo}
  928. {LinkOpenTag}
  929. <img src="{PhotoURL-HighRes}" width="100%">
  930. {LinkCloseTag}
  931. {block:IndexPage}
  932. {block:ifcaptions}
  933. {block:Caption}
  934. <div class="captions">
  935. {Caption}
  936. </div>
  937. {/block:Caption}
  938. {/block:ifcaptions}
  939. {/block:IndexPage}
  940. {block:PermalinkPage}
  941. {block:Caption}
  942. <div class="captions">{Caption}</div>
  943. {/block:Caption}
  944. {/block:PermalinkPage}
  945. {/block:Photo}
  946.  
  947.  
  948.  
  949.  
  950. {block:Photoset}
  951. {Photoset}
  952. {block:IndexPage}
  953. {block:ifcaptions}
  954. {block:Caption}
  955. <div class="captions">
  956. {Caption}
  957. </div>
  958. {/block:Caption}
  959. {/block:ifcaptions}
  960. {/block:IndexPage}
  961. {block:PermalinkPage}
  962. {block:Caption}
  963. <div class="captions">{Caption}</div>
  964. {/block:Caption}
  965. {/block:PermalinkPage}
  966. {/block:Photoset}
  967.  
  968.  
  969.  
  970.  
  971. {block:Text}
  972. {block:Title}
  973. <div class="ptitle">
  974. {Title}
  975. </div>
  976. {/block:Title}
  977. <div class="tbody">
  978. {Body}
  979. </div>
  980. {/block:Text}
  981.  
  982.  
  983.  
  984.  
  985. {block:Link}
  986. <div class="ltitle">
  987. <div class="line"></div>
  988. <a href="{URL}">{Name}</a>
  989. </div>
  990. {block:Description}
  991. <div class="tbody">
  992. {Description}
  993. </div>
  994. {/block:Description}
  995. {/block:Link}
  996.  
  997.  
  998.  
  999.  
  1000. {block:Quote}
  1001. <div class="quotes"><i>"</i>{Quote}<i>"</i></div>
  1002. <div class="qsources">
  1003. {block:Source}{Source}{/block:Source}
  1004. </div>
  1005. {/block:Quote}
  1006.  
  1007.  
  1008.  
  1009.  
  1010. {block:Chat}
  1011. {block:Title}
  1012. <div class="ptitle">
  1013. {Title}
  1014. </div>
  1015. {/block:Title}
  1016. {block:Lines}
  1017. <div class="{Alt}">
  1018. <div class="chat">
  1019. {block:Label}
  1020. <b>{Label}</b>
  1021. {/block:Label}
  1022. {Line}<br>
  1023. </div></div>
  1024. {/block:Lines}
  1025. {/block:Chat}
  1026.  
  1027.  
  1028.  
  1029.  
  1030. {block:Audio}
  1031. <div class="player" style="height: 85px">{AudioEmbed-500}</div>
  1032. <div class="audio">
  1033. {block:TrackName}
  1034. <b>Song:</b> {TrackName}<br>
  1035. {/block:TrackName}
  1036. {block:Artist}
  1037. <b>Artist:</b> {Artist}<br>
  1038. {/block:Artist}
  1039. {block:Album}
  1040. <b>Album:</b> {Album}
  1041. {/block:Album}
  1042. </div>
  1043. {block:IndexPage}
  1044. {block:ifcaptions}
  1045. {block:Caption}
  1046. <div class="captions">
  1047. {Caption}
  1048. </div>
  1049. {/block:Caption}
  1050. {/block:ifcaptions}
  1051. {/block:IndexPage}
  1052. {block:PermalinkPage}
  1053. {block:Caption}
  1054. <div class="captions">{Caption}</div>
  1055. {/block:Caption}
  1056. {/block:PermalinkPage}
  1057. {/block:Audio}
  1058.  
  1059.  
  1060.  
  1061.  
  1062. {block:Video}
  1063. <div class="video">{Video-500}</div>
  1064. {block:IndexPage}
  1065. {block:ifcaptions}
  1066. {block:Caption}
  1067. <div class="captions">
  1068. {Caption}
  1069. </div>
  1070. {/block:Caption}
  1071. {/block:ifcaptions}
  1072. {/block:IndexPage}
  1073. {block:PermalinkPage}
  1074. {block:Caption}
  1075. <div class="captions">{Caption}</div>
  1076. {/block:Caption}
  1077. {/block:PermalinkPage}
  1078. {block:Video}
  1079.  
  1080.  
  1081.  
  1082.  
  1083. {block:Answer}
  1084. <div class="asker">
  1085. <img src="{AskerPortraitURL-96}">
  1086. </div>
  1087. <div class="askname">
  1088. <i><b>{Asker}</i> asked</b>
  1089. </div>
  1090. <div class="ask">
  1091. {Question}
  1092. </div>
  1093. <div class="answer">
  1094. {Answer}
  1095. </div>
  1096. {/block:Answer}
  1097.  
  1098.  
  1099. {block:IndexPage}
  1100. {block:HasTags}
  1101. <div class="tags">
  1102. {block:Tags}
  1103. <a href="{TagURL}">#{Tag}</a>
  1104. {/block:Tags}
  1105. </div>
  1106. {/block:HasTags}
  1107. {/block:IndexPage}
  1108.  
  1109.  
  1110. <!--- Permalink Notes --->
  1111.  
  1112. {block:PermalinkPage}
  1113. <div class="noting">
  1114. {block:NoteCount}
  1115. <b>Notes:</b>
  1116. {NoteCount}
  1117. {/block:NoteCount}
  1118. {block:Date}
  1119. <br><b>Posted:</b>
  1120. {timeago}
  1121. {/block:Date}
  1122. {block:RebloggedFrom}
  1123. <br><b>Via:</b>
  1124. <a href="{ReblogParentURL}">{ReblogParentName}</a>
  1125. // <b>Orig:</b>
  1126. <a href="{ReblogRootURL}">{ReblogRootName}</a>
  1127. {/block:RebloggedFrom}
  1128. {block:HasTags}
  1129. <br><b>Tagged:</b>
  1130. {block:Tags}
  1131. <a href="{TagURL}">#{Tag}</a>
  1132. {/block:Tags}
  1133. {/block:HasTags}
  1134. </div>
  1135. {block:PostNotes}
  1136. {PostNotes}
  1137. {/block:PostNotes}
  1138. {/block:PermalinkPage}
  1139.  
  1140. <!--- End of Permalink Notes --->
  1141.  
  1142.  
  1143. </div>
  1144. {/block:Posts}
  1145.  
  1146.  
  1147.  
  1148. <div class="footer">
  1149. {block:Pagination}
  1150. <div class="pagination">
  1151. {block:PreviousPage}
  1152. <a href="{PreviousPage}">prev</a> /
  1153. {/block:PreviousPage}
  1154. {block:NextPage}
  1155. <a href="{NextPage}">next</a>
  1156. {/block:NextPage}
  1157. </div>
  1158. {/block:Pagination}
  1159. <div class="cred">
  1160. <a href="http://tokyo-themes.tumblr.com/" target="_blank">© tokyo-themes</a>
  1161. </div>
  1162. </div>
  1163.  
  1164.  
  1165. </div>
  1166.  
  1167.  
  1168. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  1169. <script>
  1170. $(document).ready(function(){
  1171. $('.search').submit(function(event){
  1172. var value = $('input:first').val();
  1173. location.replace('http://{Name}.tumblr.com/tagged/' + value);
  1174. });
  1175. });
  1176. </script>
  1177.  
  1178. </body>
  1179. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement