the49thname

Theme 04: The Bravery (tab version - plain tabs)

Nov 27th, 2015
1,250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.71 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <head>
  4.  
  5. <!-- theme 04: the bravery (plain tab version) / version 1.4 (edited 03/09/19)
  6.  
  7. themes by ro (the49thname) / the49ththeme.tumblr.com
  8. all-in-one base code by neonbikethemes / neonbikethemes.tumblr.com
  9. tumblr controls fix by cyantists @ tumblr
  10. don't remove the credit, use as a base code, or claim as your own work.
  11. edit as much as you want, and feel free to send me any queries/problems.
  12.  
  13. -->
  14.  
  15. <html xlmns="//www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  16.  
  17. <title>{Title}</title>
  18.  
  19. <link rel="shortcut icon" href="{Favicon}">
  20.  
  21. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  22.  
  23. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  24.  
  25. <!-- colour options -->
  26.  
  27. <meta name="color:bold" content="#000"/>
  28. <meta name="color:italic" content="#ccc"/>
  29. <meta name="color:underline" content="#888"/>
  30. <meta name="color:background" content="#f6f6f6"/>
  31. <meta name="color:header bg" content="#ddd"/>
  32. <meta name="color:nav bg" content="#666"/>
  33. <meta name="color:header link" content="#fff"/>
  34. <meta name="color:header link hover" content="#fe89b3"/>
  35. <meta name="color:scrollbar" content="#fe89b3"/>
  36. <meta name="color:text" content="#888"/>
  37. <meta name="color:title" content="#000"/>
  38. <meta name="color:desc bg" content="#fff"/>
  39. <meta name="color:link" content="#fe89b3"/>
  40. <meta name="color:link hover" content="#888"/>
  41. <meta name="color:perma link" content="#fff"/>
  42. <meta name="color:perma link hover" content="#fe89b3"/>
  43. <meta name="color:perma link bg" content="#666"/>
  44. <meta name="color:tags" content="#fff"/>
  45. <meta name="color:tags hover" content="#fe89b3"/>
  46. <meta name="color:border" content="#fe89b3"/>
  47. <meta name="color:h1 text" content="#fff"/>
  48. <meta name="color:h1 bg" content="#fe89b3"/>
  49. <meta name="color:ask text" content="#fff"/>
  50. <meta name="color:ask bg" content="#666"/>
  51. <meta name="color:reply bg" content="#f6f6f6"/>
  52. <meta name="color:tooltip text" content="#fff"/>
  53. <meta name="color:tooltip bg" content="#fe89b3"/>
  54. <meta name="color:selection text" content="#fff"/>
  55. <meta name="color:selection bg" content="#fe89b3"/>
  56.  
  57. <!-- text options -->
  58.  
  59. <meta name="text:tab 2 name" content="Tab 2"/>
  60. <meta name="text:tab 3 name" content="Tab 3"/>
  61.  
  62. <!-- image options -->
  63.  
  64. <meta name="image:bg" content=""/>
  65. <meta name="image:header" content="//68.media.tumblr.com/f4a9d5625cfbb69d4b6e14ce92087298/tumblr_nxgw3pYoMi1ryc2oyo1_1280.png"/>
  66.  
  67. <!-- toggle options -->
  68.  
  69. <meta name="if:small header" content="0"/>
  70. <meta name="if:full height header" content="0"/>
  71. <meta name="if:header image" content="1"/>
  72. <meta name="if:400px posts" content="0"/>
  73. <meta name="if:post buttons" content="1"/>
  74. <meta name="if:show caption" content="1"/>
  75. <meta name="if:show tags" content="1"/>
  76.  
  77. <!-- fonts -->
  78.  
  79. <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed" rel="stylesheet">
  80.  
  81. <!-- all-in-one scripts -->
  82.  
  83. <script language="javascript" type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  84.  
  85. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  86.  
  87. <!-- tooltip scripts -->
  88.  
  89. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  90.  
  91. <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  92.  
  93. <script>
  94. (function($){
  95. $(document).ready(function(){
  96. $("a[title]").style_my_tooltips({
  97. tip_follows_cursor:true,
  98. tip_delay_time:90,
  99. tip_fade_speed:600,
  100. attribute:"title"
  101. });
  102. });
  103. })(jQuery);
  104. </script>
  105.  
  106. <style type="text/css">
  107.  
  108. iframe.tmblr-iframe {
  109. z-index:99999999999999!important;
  110. top:3px!important;
  111. right:0!important;
  112. transform:scale(0.6);
  113. transform-origin:100% 0;
  114. -webkit-transform:scale(0.8);
  115. -webkit-transform-origin:100% 0;
  116. -o-transform:scale(0.8);
  117. -o-transform-origin:100% 0;
  118. -moz-transform:scale(0.8);
  119. -moz-transform-origin:100% 0;
  120. -ms-transform:scale(0.8);
  121. -ms-transform-origin:100% 0;
  122. }
  123.  
  124. ::-webkit-scrollbar-thumb {
  125. z-index:9999999;
  126. position:relative;
  127. height:auto;
  128. background-color:{color:scrollbar};
  129. }
  130.  
  131. ::-webkit-scrollbar {
  132. height:5px;
  133. width:5px;
  134. background-color:{color:background};
  135. }
  136.  
  137. /* basics */
  138.  
  139. body {
  140. color:{color:text};
  141. background-color:{color:background};
  142. font-family:'Roboto', sans-serif;
  143. font-size:10px;
  144. margin:0;
  145. line-height:14px;
  146. letter-spacing:1px;
  147. text-align:justify;
  148. word-wrap:break-word;
  149. background-image:url('{image:bg}');
  150. background-position:left top;
  151. background-attachment:fixed;
  152. background-repeat:repeat;
  153. }
  154.  
  155. small {font-size:9px;}
  156.  
  157. pre {
  158. word-wrap:break-word;
  159. padding:5px;
  160. margin:0px 10px;
  161. border:1px solid {color:border};
  162. white-space:pre-wrap;
  163. white-space:-moz-pre-wrap;
  164. white-space:-pre-wrap;
  165. white-space:-o-pre-wrap;
  166. }
  167.  
  168. blockquote {
  169. margin:0px 0px 0px 20px;
  170. padding:2px 0px 2px 5px;
  171. border-left:1px solid {color:border};
  172. }
  173.  
  174. #posts blockquote img {max-width:100%;height:auto;}
  175.  
  176. b, strong {color:{color:bold};}
  177.  
  178. i, em {color:{color:italic};}
  179.  
  180. u {color:{color:underline};text-transform:none;}
  181.  
  182. a {
  183. color:{color:link};
  184. text-transform:uppercase;
  185. text-decoration:none;
  186. -moz-transition-duration:1s;
  187. -webkit-transition-duration:1s;
  188. -o-transition-duration:1s;
  189. }
  190.  
  191. a:hover {
  192. color:{color:link hover};
  193. -moz-transition-duration:1s;
  194. -webkit-transition-duration:1s;
  195. -o-transition-duration:1s;
  196. }
  197.  
  198. p {margin:10px;}
  199.  
  200. h1 {
  201. font-size:14px;
  202. font-family:'Roboto', sans-serif;
  203. text-align:left;
  204. text-transform:uppercase;
  205. letter-spacing:1px;
  206. color:{color:h1 text};
  207. background-color:{color:h1 bg};
  208. padding:10px;
  209. margin-top:0px;
  210. }
  211.  
  212. h1 a {
  213. color:{color:h1 text};
  214. -moz-transition-duration:1s;
  215. -webkit-transition-duration:1s;
  216. -o-transition-duration:1s;
  217. }
  218.  
  219. h1 a:hover {
  220. color:{color:nav bg};
  221. -moz-transition-duration:1s;
  222. -webkit-transition-duration:1s;
  223. -o-transition-duration:1s;
  224. }
  225.  
  226. h2 {
  227. text-align:center;
  228. font-size:12px;
  229. word-spacing:2px;
  230. line-height:17px;
  231. padding:5px 10px;
  232. text-transform:uppercase;
  233. font-family:'Roboto', sans-serif;
  234. }
  235.  
  236. /* header */
  237.  
  238. #hdr {
  239. width:100%;
  240. {block:iffullheightheader}
  241. height:100vh;
  242. {/block:iffullheightheader}
  243. {block:ifnotfullheightheader}
  244. {block:ifsmallheader}
  245. height:250px;
  246. {/block:ifsmallheader}
  247. {block:ifnotsmallheader}
  248. height:400px;
  249. {/block:ifnotsmallheader}
  250. {/block:ifnotfullheightheader}
  251. position:absolute;
  252. top:0;
  253. left:0;
  254. {block:ifheaderimage}
  255. background: url({image:header}) top center;
  256. -webkit-background-size:cover;
  257. -moz-background-size:cover;
  258. -o-background-size:cover;
  259. background-size:cover;
  260. {/block:ifheaderimage}
  261. {block:ifnotheaderimage}
  262. background-color:{color:header bg};
  263. {/block:ifnotheaderimage}
  264. }
  265.  
  266. #info {
  267. width:100%;
  268. {block:ifsmallheader}
  269. height:250px;
  270. {/block:ifsmallheader}
  271. {block:ifnotsmallheader}
  272. height:400px;
  273. {/block:ifnotsmallheader}
  274. position:absolute;
  275. z-index:9;
  276. text-align:center;
  277. }
  278.  
  279. #infotext {
  280. width:300px;
  281. padding:10px;
  282. {block:ifnotfullheightheader}
  283. {block:ifsmallheader}
  284. margin-top:70px;
  285. {/block:ifsmallheader}
  286. {block:ifnotsmallheader}
  287. margin-top:250px;
  288. {/block:ifnotsmallheader}
  289. margin-left:auto;
  290. margin-right:auto;
  291. {/block:ifnotfullheightheader}
  292. {block:iffullheightheader}
  293. position:absolute;
  294. top:50%;
  295. left:50%;
  296. margin-top:-35px;
  297. margin-left:-150px;
  298. {/block:iffullheightheader}
  299. background-color:{color:desc bg};
  300. }
  301.  
  302. .title {
  303. font-size:30px;
  304. line-height:25px;
  305. font-family:'Roboto Condensed', sans-serif;
  306. font-weight:700;
  307. text-align:center;
  308. text-transform:uppercase;
  309. letter-spacing:8px;
  310. color:{color:title};
  311. padding:5px;
  312. }
  313.  
  314. .desc {color:{color:text};font-size:10px;}
  315.  
  316. .nav {
  317. {block:ifnotfullheightheader}
  318. position:absolute;
  319. {block:ifsmallheader}
  320. top:250px;
  321. {/block:ifsmallheader}
  322. {block:ifnotsmallheader}
  323. top:400px;
  324. {/block:ifnotsmallheader}
  325. {/block:ifnotfullheightheader}
  326. {block:iffullheightheader}
  327. position:fixed;
  328. top:0;
  329. {/block:iffullheightheader}
  330. width:100%;
  331. height:35px;
  332. background-color:{color:nav bg};
  333. text-align:center;
  334. display:inline-block;
  335. z-index:9999;
  336. }
  337.  
  338. .nav-fixed {position:fixed;top:0;}
  339.  
  340. #navlinks {margin-left:-35px;margin-top:1px;}
  341.  
  342. .tab-links:after {
  343. display:block;
  344. clear:both;
  345. content:'';
  346. }
  347.  
  348. .tab-links li {
  349. display:inline-block;
  350. list-style:none;
  351. text-transform:uppercase;
  352. padding:0px 10px;
  353. }
  354.  
  355. .tab-links a {
  356. font-family: 'Roboto Condensed', sans-serif;
  357. font-size:13px;
  358. text-transform:uppercase;
  359. letter-spacing:1px;
  360. color:{color:header link};
  361. padding:4px;
  362. -moz-transition-duration:1s;
  363. -webkit-transition-duration:1s;
  364. -o-transition-duration:1s;
  365. }
  366.  
  367. .tab-links a:hover {
  368. color:{color:header link hover};
  369. -moz-transition-duration:1s;
  370. -webkit-transition-duration:1s;
  371. -o-transition-duration:1s;
  372. }
  373.  
  374. li.active a, li.active a:hover {
  375. color:{color:header link hover};
  376. -moz-transition-duration:1s;
  377. -webkit-transition-duration:1s;
  378. -o-transition-duration:1s;
  379. }
  380.  
  381. /* tabs */
  382.  
  383. .tabs {
  384. width:100%;
  385. margin-left:0px;
  386. display:inline-block;
  387. }
  388.  
  389. .tab-content {}
  390. .tab {display:none;}
  391. .tab.active {display:block;}
  392.  
  393. #postcontainer {
  394. position:relative;
  395. {block:ifnotfullheightheader}
  396. {block:ifsmallheader}
  397. top:285px;
  398. {/block:ifsmallheader}
  399. {block:ifnotsmallheader}
  400. top:435px;
  401. {/block:ifnotsmallheader}
  402. {/block:ifnotfullheightheader}
  403. {block:iffullheightheader}
  404. top:calc(100vh + 35px);
  405. {/block:iffullheightheader}
  406. width:100%;
  407. overflow:hidden;
  408. text-align:justify;
  409. }
  410.  
  411. .tabcontent {
  412. position:relative;
  413. {block:ifnotfullheightheader}
  414. {block:ifsmallheader}
  415. top:285px;
  416. {/block:ifsmallheader}
  417. {block:ifnotsmallheader}
  418. top:435px;
  419. {/block:ifnotsmallheader}
  420. {/block:ifnotfullheightheader}
  421. {block:iffullheightheader}
  422. top:calc(100vh + 35px);
  423. {/block:iffullheightheader}
  424. width:100%;
  425. text-align:justify;
  426. }
  427.  
  428. .tabcontent #posts blockquote {
  429. margin:0px 0px 0px 20px;
  430. padding:2px 0px 2px 10px;
  431. border-left:1px solid {color:border};
  432. }
  433.  
  434. /* posts */
  435.  
  436. .pagination {
  437. text-align:center;
  438. padding:0px 0px 50px 0px;
  439. font-size:20px!important;
  440. font-family:'Roboto Condensed', sans-serif;
  441. }
  442.  
  443. .pagination a {
  444. padding:20px 2px;
  445. color:{color:text}!important;
  446. -moz-transition-duration:1s;
  447. -webkit-transition-duration:1s;
  448. -o-transition-duration:1s;
  449. }
  450.  
  451. .pagination a:hover {
  452. color:{color:header link hover}!important;
  453. -moz-transition-duration:1s;
  454. -webkit-transition-duration:1s;
  455. -o-transition-duration:1s;
  456. }
  457.  
  458. #container {
  459. {block:if400pxposts}
  460. width:500px;
  461. {/block:if400pxposts}
  462. {block:ifnot400pxposts}
  463. width:600px;
  464. {/block:ifnot400pxposts}
  465. height:100%;
  466. margin-left:auto;
  467. margin-right:auto;
  468. margin-top:70px;
  469. overflow:hidden;
  470. }
  471.  
  472. #posts {
  473. background-color:#fff;
  474. {block:if400pxposts}
  475. width:400px;
  476. {/block:if400pxposts}
  477. {block:ifnot400pxposts}
  478. width:500px;
  479. {/block:ifnot400pxposts}
  480. padding:10px;
  481. margin-left:auto;
  482. margin-right:auto;
  483. {block:IndexPage}margin-bottom:80px;{/block:IndexPage}
  484. {block:PermalinkPage}margin-bottom:40px;{/block:PermalinkPage}
  485. }
  486.  
  487. .buttons {
  488. position:absolute;
  489. {block:if400pxposts}
  490. margin-left:425px;
  491. {/block:if400pxposts}
  492. {block:ifnot400pxposts}
  493. margin-left:525px;
  494. {/block:ifnot400pxposts}
  495. margin-top:-8px;
  496. display:block;
  497. {block:PermalinkPage}display:none;{/block:PermalinkPage}
  498. }
  499.  
  500. #likebutton {
  501. background-color:{color:nav bg};
  502. padding:5px;
  503. margin-bottom:10px;
  504. width:30px;
  505. height:30px;
  506. overflow:hidden;
  507. box-sizing:border-box;
  508. }
  509.  
  510. #reblogbutton {
  511. background-color:{color:nav bg};
  512. padding:5px;
  513. width:30px;
  514. height:30px;
  515. overflow:hidden;
  516. box-sizing:border-box;
  517. }
  518.  
  519. #posts ul, ol {margin-left:15px;padding:0px!important;}
  520.  
  521. #posts li {margin:0px 10px;}
  522.  
  523. #posts img {
  524. {block:if400pxposts}
  525. max-width:400px;
  526. {/block:if400pxposts}
  527. {block:ifnot400pxposts}
  528. max-width:500px;
  529. {/block:ifnot400pxposts}
  530. }
  531.  
  532. #source {margin-top:15px;text-align:right;}
  533.  
  534. #posts iframe, #posts video {max-width:100%;}
  535.  
  536. .caption {
  537. {block:ifnotshowcaption}
  538. {block:IndexPage}display:none;{/block:IndexPage}
  539. {/block:ifnotshowcaption}
  540. }
  541.  
  542. #audio {
  543. width:100%;
  544. height:100px;
  545. padding:10px 0px;
  546. color:{color:header link};
  547. background-color:{color:nav bg};
  548. font-family:'Roboto Condensed', sans-serif;
  549. font-size:10px;
  550. line-height:25px;
  551. overflow:hidden;
  552. }
  553.  
  554. #audio b {color:{color:header link hover};}
  555.  
  556. #audioplayerbg {
  557. background:#fff;
  558. width:80px;
  559. height:80px;
  560. margin-left:10px;
  561. padding:10px;
  562. overflow:hidden;
  563. position:absolute;
  564. opacity:0.4;
  565. -moz-transition-duration:1s;
  566. -webkit-transition-duration:1s;
  567. -o-transition-duration:1s;
  568. }
  569.  
  570. #audioplayerbg:hover {
  571. opacity:0.7;
  572. -moz-transition-duration:1s;
  573. -webkit-transition-duration:1s;
  574. -o-transition-duration:1s;
  575. }
  576.  
  577. #audioplayer {
  578. width:30px;
  579. height:30px;
  580. overflow:hidden;
  581. margin-top:25px;
  582. margin-left:25px;
  583. }
  584.  
  585. #albumart {float:left;margin:0px 10px;}
  586.  
  587. #audioinfo {
  588. position:absolute;
  589. {block:if400pxposts}
  590. width:260px;
  591. {/block:if400pxposts}
  592. {block:ifnot400pxposts}
  593. width:360px;
  594. {/block:ifnot400pxposts}
  595. max-height:100px;
  596. overflow:auto;
  597. margin-left:125px;
  598. padding-right:10px;
  599. text-transform:uppercase;
  600. }
  601.  
  602. .chat ol {margin:0px!important;list-style:none;}
  603.  
  604. .line {list-style:none;padding:5px 0px;}
  605.  
  606. .label {text-decoration:bold;}
  607.  
  608. .askericon {
  609. width:64px;
  610. height:64px;
  611. float:left;
  612. border:10px solid {color:header link hover};
  613. margin-right:10px;
  614. }
  615.  
  616. .asker {
  617. text-align:left;
  618. font-size:15px;
  619. font-family: 'Roboto', sans-serif;
  620. text-transform:uppercase;
  621. margin-bottom:10px;
  622. }
  623.  
  624. .ask {
  625. text-align:left;
  626. color:{color:ask text};
  627. background-color:{color:ask bg};
  628. height:64px;
  629. padding:10px;
  630. overflow:auto;
  631. }
  632.  
  633. .answer {
  634. text-align:left;
  635. padding:10px;
  636. margin-top:10px;
  637. background-color:{color:reply bg};
  638. }
  639.  
  640. #posts .answer img {max-width:100%;height:auto;margin:0px;}
  641.  
  642. .replier {
  643. text-align:left;
  644. font-size:15px;
  645. font-family: 'Roboto', sans-serif;
  646. text-transform:uppercase;
  647. margin:10px 0px 10px 10px;
  648. }
  649.  
  650. .replies {margin-top:10px;}
  651.  
  652. #perma {
  653. padding:10px;
  654. letter-spacing:2px;
  655. text-align:center;
  656. background-color:{color:perma link bg};
  657. margin-top:10px;
  658. }
  659.  
  660. #perma a {
  661. color:{color:perma link};
  662. font-size:9px;
  663. padding:5px;
  664. -moz-transition-duration:1s;
  665. -webkit-transition-duration:1s;
  666. -o-transition-duration:1s;
  667. }
  668.  
  669. #perma a:hover {
  670. color:{color:perma link hover};
  671. -moz-transition-duration:1s;
  672. -webkit-transition-duration:1s;
  673. -o-transition-duration:1s;
  674. }
  675.  
  676. #tags {
  677. text-align:center;
  678. word-wrap:break-word;
  679. margin:5px 0px 0px 5px;
  680. {block:ifnotshowtags}
  681. {block:IndexPage}display:none;{/block:IndexPage}
  682. {/block:ifnotshowtags}
  683. }
  684.  
  685. #tags a {
  686. padding:0px 5px;
  687. font-size:8px;
  688. text-transform:none;
  689. color:{color:tags};
  690. -moz-transition-duration:1s;
  691. -webkit-transition-duration:1s;
  692. -o-transition-duration:1s;
  693. }
  694.  
  695. #tags a:hover {
  696. color:{color:tags hover};
  697. -moz-transition-duration:1s;
  698. -webkit-transition-duration:1s;
  699. -o-transition-duration:1s;
  700. }
  701.  
  702. ol.notes {
  703. margin-top:15px;
  704. list-style-type:none;
  705. padding:10px 25px 10px 25px;
  706. text-align:center;
  707. }
  708.  
  709. ol.notes li.note {
  710. padding:10px;
  711. text-align:center;
  712. line-height:140%;
  713. margin-top:10px;
  714. }
  715.  
  716. ol.notes li.note img.avatar {display:none!important;}
  717.  
  718. ol.notes li.note blockquote {padding:2px 5px;margin:5px 0px 0px 35px;}
  719.  
  720. /* extras */
  721.  
  722. #s-m-t-tooltip {
  723. z-index:9999999999;
  724. color:{color:tooltip text};
  725. background:{color:tooltip bg};
  726. font-size:9px;
  727. line-height:11px;
  728. font-family: 'Roboto Condensed', sans-serif;
  729. letter-spacing:1px;
  730. text-transform:uppercase;
  731. max-width:150px;
  732. word-wrap:break-word;
  733. padding:2px 5px 2px 5px;
  734. display:block;
  735. margin:24px 14px 7px 12px;
  736. }
  737.  
  738. ::selection {color:{color:selection text};background:{color:selection bg};}
  739.  
  740. /* credit - do not remove, alter, or move to another page */
  741.  
  742. #credit {
  743. position:fixed;
  744. bottom:14px;
  745. right:10px;
  746. text-align:center;
  747. z-index:9999999;
  748. }
  749.  
  750. #credit a {
  751. font-size:10px;
  752. color:{color:background};
  753. background-color:{color:scrollbar};
  754. padding:4px;
  755. -moz-transition-duration:1s;
  756. -webkit-transition-duration:1s;
  757. -o-transition-duration:1s;
  758. }
  759.  
  760. #credit a:hover {
  761. color:{color:scrollbar};
  762. background-color:{color:background};
  763. -moz-transition-duration:1s;
  764. -webkit-transition-duration:1s;
  765. -o-transition-duration:1s;
  766. }
  767.  
  768. </style>
  769. </head>
  770. <body>
  771.  
  772. <div id="hdr"></div>
  773.  
  774. {block:iffullheightheader}
  775. <div id="infotext">
  776. <div class="title">{Title}</div>
  777. <div id="desc" style="text-align:justify;word-wrap:break-word;margin-top:10px">{Description}</div>
  778. </div>
  779. {/block:iffullheightheader}
  780.  
  781. {block:ifnotfullheightheader}
  782. <div id="info">
  783. <div id="infotext">
  784. <div class="title">{Title}</div>
  785. <div id="desc" style="text-align:justify;word-wrap:break-word;margin-top:10px">{Description}</div>
  786. </div>
  787. </div>
  788. {/block:ifnotfullheightheader}
  789.  
  790. <div class="nav">
  791. <div id="navlinks">
  792. <div class="tabs">
  793. <ul class="tab-links">
  794. <li><a href="/">Home</a></li>
  795. <li><a href="/ask">Ask</a></li>
  796. <li class="active"><a href="#tab1">Posts</a></li>
  797. <li><a href="#tab2">{text:tab 2 name}</a></li>
  798. <li><a href="#tab3">{text:tab 3 name}</a></li>
  799. <li><a href="/submit">Submit</a></li>
  800. <li><a href="/archive">Past</a></li>
  801. </ul>
  802. </div>
  803. </div>
  804. </div>
  805.  
  806. <div class="tabs">
  807.  
  808. <!-- --------------------------- TAB 1 -------------------------- -->
  809.  
  810. <div class="tab-content">
  811. <div id="tab1" class="tab active">
  812.  
  813. <div id="postcontainer">
  814.  
  815. <div id="container">
  816. {block:Posts}
  817. <div id="posts">
  818.  
  819. {block:ifpostbuttons}
  820. <div class="buttons">
  821. <div id="likebutton">{LikeButton size="20" color="white"}</div>
  822. <div id="reblogbutton">{ReblogButton size="20" color="white"}</div>
  823. </div>
  824. {/block:ifpostbuttons}
  825.  
  826. {block:Text}
  827. {block:Title}<h1>{Title}</h1>{/block:Title}
  828. {Body}
  829. {/block:Text}
  830.  
  831. {block:Quote}
  832. <h2>{Quote}</h2>
  833. {block:Source}<div id="source">— {Source}</div>{/block:Source}
  834. {/block:Quote}
  835.  
  836. {block:Link}
  837. <h1><a href="{URL}">{Name}</a></h1>
  838. {block:Description}{Description}{/block:Description}
  839. {/block:Link}
  840.  
  841. {block:Chat}
  842. {block:Title}
  843. <h1>{Title}</h1>
  844. {/block:Title}
  845. <div class="chat">
  846. <ol>{block:Lines}
  847. <li class="line {Alt}">
  848. {block:Label}
  849. <span class="label">
  850. <b>{Label}</b></span>
  851. {/block:Label}{Line}</li>
  852. {/block:Lines}
  853. </ol></div>
  854. {/block:Chat}
  855.  
  856. {block:Photo}
  857. {LinkOpenTag}<center>{block:if400pxposts}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{/block:if400pxposts}{block:ifnot400pxposts}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{/block:ifnot400pxposts}</center>{LinkCloseTag}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  858. {/block:Photo}
  859.  
  860. {block:Photoset}
  861. <center>{block:if400pxposts}{Photoset-400}{/block:if400pxposts}{block:ifnot400pxposts}{Photoset-500}{/block:ifnot400pxposts}</center>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  862. {/block:Photoset}
  863.  
  864. {block:Video}
  865. <center>{block:if400pxposts}{Video-400}{/block:if400pxposts}{block:ifnot400pxposts}{Video-500}{/block:ifnot400pxposts}</center>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  866. {/block:Video}
  867.  
  868. {block:Audio}
  869. <div id="audio">
  870. <div id="audioplayerbg"><div id="audioplayer">{AudioPlayerWhite}</div></div>
  871. <div id="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="100">{/block:AlbumArt}</div>
  872. <div id="audioinfo">
  873. <span{block:TrackName} style="display:none;"{block:TrackName}><b>Song:</b> unknown</span>{block:TrackName}<b>Song:</b> {TrackName}{/block:TrackName}
  874. <br><span{block:Artist} style="display:none;"{block:Artist}><b>Artist:</b> unknown</span>{block:Artist}<b>Artist:</b> {Artist}{/block:Artist}
  875. <br><span{block:Album} style="display:none;"{block:Album}><b>Album:</b> unknown</span>{block:Album}<b>Album:</b> {Album}{/block:Album}
  876. <br>{block:PlayCount}<b>Play count:</b> {PlayCount}{/block:PlayCount}
  877. </div></div>
  878. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  879. {/block:Audio}
  880.  
  881. {block:Answer}
  882. <div class="askericon"><img src="{AskerPortraitURL-64}"></div>
  883. <div class="ask"><div class="asker">{Asker} asked:</div>{Question}</div>
  884. <div class="answer">{block:Answerer}<div class="replier">{Answerer} replied:</div>{/block:Answerer}{Answer}</div>
  885. {block:Answerer}<div class="replies">{Replies}</div>{/block:Answerer}
  886. {/block:Answer}
  887.  
  888. {block:Date}
  889.  
  890. {block:IndexPage}<div id="perma">
  891. <a href="{Permalink}" title="{DayofMonth}{DayofMonthSuffix} {Month} {Year}">{block:Date}{TimeAgo}{/block:Date}</a>
  892. <a href="{Permalink}">{NoteCountwithLabel}</a>
  893. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:RebloggedFrom}
  894. {block:ContentSource}<a href="{SourceURL}" title="{SourceTitle}">©</a>{/block:ContentSource}
  895. <br>{block:HasTags}<div id="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  896. </div>{/block:IndexPage}
  897.  
  898. {block:PermalinkPage}<div id="perma">
  899. <a href="{Permalink}">{block:Date}{TimeAgo}{/block:Date}</a>
  900. <a href="{Permalink}">{NoteCountwithLabel}</a>
  901. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:RebloggedFrom}
  902. {block:ContentSource}<a href="{SourceURL}" title="{SourceTitle}">©</a>{/block:ContentSource}
  903. <br>{block:HasTags}<div id="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  904. </div>{/block:PermalinkPage}
  905.  
  906. {/block:Date}
  907.  
  908. {block:PostNotes}{PostNotes}{/block:PostNotes}
  909.  
  910. </div>
  911.  
  912. {/block:Posts}
  913.  
  914. {block:Pagination}
  915. <div class="pagination">
  916. {block:PreviousPage}<a href="{PreviousPage}">Back</a> /{/block:PreviousPage}
  917. {block:NextPage}<a href="{NextPage}">Forth</a>{/block:NextPage}</div>
  918. {/block:Pagination}
  919.  
  920. </div>
  921.  
  922. </div>
  923. </div>
  924.  
  925. <!-- -------------------------- TAB 2 -------------------------- -->
  926.  
  927. <div id="tab2" class="tab">
  928. <div class="tabcontent">
  929. <div id="container">
  930. <div id="posts">
  931. <h1>Tab #2 content</h1>
  932. <p>Content goes here.</p>
  933. </div>
  934. </div>
  935. </div>
  936. </div>
  937.  
  938. <!-- -------------------------- TAB 3 -------------------------- -->
  939.  
  940. <div id="tab3" class="tab">
  941. <div class="tabcontent">
  942. <div id="container">
  943. <div id="posts">
  944. <h1>Tab #3 content</h1>
  945. <p>Content goes here.</p>
  946. </div>
  947. </div>
  948. </div>
  949. </div>
  950.  
  951. <!-- END OF TABS -->
  952.  
  953. </div>
  954. </div>
  955. </div>
  956. </div>
  957.  
  958. {block:ifnotfullheightheader}
  959. <!-- sticky navbar jquery -->
  960.  
  961. {block:ifsmallheader}
  962. <script>
  963. $(document).ready(function(){
  964. $(window).bind('scroll', function(){
  965. if($(window).scrollTop() > 250){
  966. $('.nav').addClass('nav-fixed');
  967. }
  968.  
  969. else{
  970. $('.nav').removeClass('nav-fixed');
  971. }
  972. });
  973. });
  974. </script>
  975. {/block:ifsmallheader}
  976.  
  977. {block:ifnotsmallheader}
  978. <script>
  979. $(document).ready(function(){
  980. $(window).bind('scroll', function(){
  981. if($(window).scrollTop() > 400){
  982. $('.nav').addClass('nav-fixed');
  983. }
  984.  
  985. else{
  986. $('.nav').removeClass('nav-fixed');
  987. }
  988. });
  989. });
  990. </script>
  991. {/block:ifnotsmallheader}
  992. {/block:ifnotfullheightheader}
  993.  
  994. <!-- TABS/ALL-INN-ONE SCRIPTS DO NOT REMOVE!!! -->
  995.  
  996. <script>
  997. $(document).ready(function() {
  998. $('.tabs .tab-links a').on('click', function(e) {
  999. var currentAttrValue = $(this).attr('href');
  1000.  
  1001. // Show/Hide Tabs
  1002. $('.tabs ' + currentAttrValue).fadeIn(600).siblings().hide();
  1003.  
  1004. // Change/remove current tab to active
  1005. $(this).parent('li').addClass('active').siblings().removeClass('active');
  1006.  
  1007. e.preventDefault();
  1008. });
  1009. });
  1010. </script>
  1011.  
  1012. <script>
  1013. $(document).ready(function() {
  1014. $('#filterOptions li a').click(function() {
  1015. // fetch the class of the clicked item
  1016. var ourClass = $(this).attr('class');
  1017.  
  1018. // reset the active class on all the buttons
  1019. $('#filterOptions li').removeClass('active');
  1020. // update the active state on our clicked button
  1021. $(this).parent().addClass('active');
  1022.  
  1023. if(ourClass == 'all') {
  1024. // show all our items
  1025. $('#ourHolder').children('div.item').show();
  1026. }
  1027. else {
  1028. // hide all elements that don't share ourClass
  1029. $('#ourHolder').children('div:not(.' + ourClass + ')').hide();
  1030. // show all elements that do share ourClass
  1031. $('#ourHolder').children('div.' + ourClass).show();
  1032. }
  1033. return false;
  1034. });
  1035. });
  1036. </script>
  1037.  
  1038. <div id="credit"><a href="//the49thname.tumblr.com/" title="made by the49thname">49</a>
  1039. </div>
  1040.  
  1041. </body>
  1042. </html>
Advertisement
Add Comment
Please, Sign In to add comment