the49thname

Theme 04: The Bravery (tab version - ask+about tabs)

Nov 27th, 2015
2,002
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.42 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 (ask+about 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:tumblr username" content=""/>
  60.  
  61. <!-- image options -->
  62.  
  63. <meta name="image:bg" content=""/>
  64. <meta name="image:header" content="//68.media.tumblr.com/f4a9d5625cfbb69d4b6e14ce92087298/tumblr_nxgw3pYoMi1ryc2oyo1_1280.png"/>
  65. <meta name="image:profile img" content="https://68.media.tumblr.com/44aec3a364cde1f5f68a461d798b3bb9/tumblr_inline_nxgvybM1vI1rrt3vb_540.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. #profile {
  435. width:150px;
  436. height:150px;
  437. {block:if400pxposts}
  438. margin:10px auto 10px auto;
  439. {/block:if400pxposts}
  440. {block:ifnot400pxposts}
  441. float:right;
  442. margin:20px 15px 0px 0px;
  443. {/block:ifnot400pxposts}
  444. padding:10px;
  445. }
  446.  
  447. #profiledesc {
  448. {block:if400pxposts}
  449. margin:10px auto 20px auto;
  450. {/block:if400pxposts}
  451. {block:ifnot400pxposts}
  452. position:relative;
  453. margin:20px 0px 30px 25px;
  454. {/block:ifnot400pxposts}
  455. width:250px;
  456. padding:10px;
  457. color:{color:text};
  458. background-color:{color:reply bg};
  459. text-transform:uppercase;
  460. font-size:9px;
  461. text-align:left;
  462. }
  463.  
  464. #profiledesc b {color:{color:h1 bg};}
  465.  
  466. /* posts */
  467.  
  468. .pagination {
  469. text-align:center;
  470. padding:0px 0px 50px 0px;
  471. font-size:20px!important;
  472. font-family:'Roboto Condensed', sans-serif;
  473. }
  474.  
  475. .pagination a {
  476. padding:20px 2px;
  477. color:{color:text}!important;
  478. -moz-transition-duration:1s;
  479. -webkit-transition-duration:1s;
  480. -o-transition-duration:1s;
  481. }
  482.  
  483. .pagination a:hover {
  484. color:{color:header link hover}!important;
  485. -moz-transition-duration:1s;
  486. -webkit-transition-duration:1s;
  487. -o-transition-duration:1s;
  488. }
  489.  
  490. #container {
  491. {block:if400pxposts}
  492. width:500px;
  493. {/block:if400pxposts}
  494. {block:ifnot400pxposts}
  495. width:600px;
  496. {/block:ifnot400pxposts}
  497. height:100%;
  498. margin-left:auto;
  499. margin-right:auto;
  500. margin-top:70px;
  501. overflow:hidden;
  502. }
  503.  
  504. #posts {
  505. background-color:#fff;
  506. {block:if400pxposts}
  507. width:400px;
  508. {/block:if400pxposts}
  509. {block:ifnot400pxposts}
  510. width:500px;
  511. {/block:ifnot400pxposts}
  512. padding:10px;
  513. margin-left:auto;
  514. margin-right:auto;
  515. {block:IndexPage}margin-bottom:80px;{/block:IndexPage}
  516. {block:PermalinkPage}margin-bottom:40px;{/block:PermalinkPage}
  517. }
  518.  
  519. .buttons {
  520. position:absolute;
  521. {block:if400pxposts}
  522. margin-left:425px;
  523. {/block:if400pxposts}
  524. {block:ifnot400pxposts}
  525. margin-left:525px;
  526. {/block:ifnot400pxposts}
  527. margin-top:-8px;
  528. display:block;
  529. {block:PermalinkPage}display:none;{/block:PermalinkPage}
  530. }
  531.  
  532. #likebutton {
  533. background-color:{color:nav bg};
  534. padding:5px;
  535. margin-bottom:10px;
  536. width:30px;
  537. height:30px;
  538. overflow:hidden;
  539. box-sizing:border-box;
  540. }
  541.  
  542. #reblogbutton {
  543. background-color:{color:nav bg};
  544. padding:5px;
  545. width:30px;
  546. height:30px;
  547. overflow:hidden;
  548. box-sizing:border-box;
  549. }
  550.  
  551. #posts ul, ol {margin-left:15px;padding:0px!important;}
  552.  
  553. #posts li {margin:0px 10px;}
  554.  
  555. #posts img {
  556. {block:if400pxposts}
  557. max-width:400px;
  558. {/block:if400pxposts}
  559. {block:ifnot400pxposts}
  560. max-width:500px;
  561. {/block:ifnot400pxposts}
  562. }
  563.  
  564. #posts iframe, #posts video {max-width:100%;}
  565.  
  566. #source {margin-top:15px;text-align:right;}
  567.  
  568. .caption {
  569. {block:ifnotshowcaption}
  570. {block:IndexPage}display:none;{/block:IndexPage}
  571. {/block:ifnotshowcaption}
  572. }
  573.  
  574. #audio {
  575. width:100%;
  576. height:100px;
  577. padding:10px 0px;
  578. color:{color:header link};
  579. background-color:{color:nav bg};
  580. font-family:'Roboto Condensed', sans-serif;
  581. font-size:10px;
  582. line-height:25px;
  583. overflow:hidden;
  584. }
  585.  
  586. #audio b {color:{color:header link hover};}
  587.  
  588. #audioplayerbg {
  589. background:#fff;
  590. width:80px;
  591. height:80px;
  592. margin-left:10px;
  593. padding:10px;
  594. overflow:hidden;
  595. position:absolute;
  596. opacity:0.4;
  597. -moz-transition-duration:1s;
  598. -webkit-transition-duration:1s;
  599. -o-transition-duration:1s;
  600. }
  601.  
  602. #audioplayerbg:hover {
  603. opacity:0.7;
  604. -moz-transition-duration:1s;
  605. -webkit-transition-duration:1s;
  606. -o-transition-duration:1s;
  607. }
  608.  
  609. #audioplayer {
  610. width:30px;
  611. height:30px;
  612. overflow:hidden;
  613. margin-top:25px;
  614. margin-left:25px;
  615. }
  616.  
  617. #albumart {float:left;margin:0px 10px;}
  618.  
  619. #audioinfo {
  620. position:absolute;
  621. {block:if400pxposts}
  622. width:260px;
  623. {/block:if400pxposts}
  624. {block:ifnot400pxposts}
  625. width:360px;
  626. {/block:ifnot400pxposts}
  627. max-height:100px;
  628. overflow:auto;
  629. margin-left:125px;
  630. padding-right:10px;
  631. text-transform:uppercase;
  632. }
  633.  
  634. .chat ol {margin:0px!important;list-style:none;}
  635.  
  636. .line {list-style:none;padding:5px 0px;}
  637.  
  638. .label {text-decoration:bold;}
  639.  
  640. .askericon {
  641. width:64px;
  642. height:64px;
  643. float:left;
  644. border:10px solid {color:header link hover};
  645. margin-right:10px;
  646. }
  647.  
  648. .asker {
  649. text-align:left;
  650. font-size:15px;
  651. font-family: 'Roboto', sans-serif;
  652. text-transform:uppercase;
  653. margin-bottom:10px;
  654. }
  655.  
  656. .ask {
  657. text-align:left;
  658. color:{color:ask text};
  659. background-color:{color:ask bg};
  660. height:64px;
  661. padding:10px;
  662. overflow:auto;
  663. }
  664.  
  665. .answer {
  666. text-align:left;
  667. padding:10px;
  668. margin-top:10px;
  669. background-color:{color:reply bg};
  670. }
  671.  
  672. #posts .answer img {max-width:100%;height:auto;margin:0px;}
  673.  
  674. .replier {
  675. text-align:left;
  676. font-size:15px;
  677. font-family: 'Roboto', sans-serif;
  678. text-transform:uppercase;
  679. margin:10px 0px 10px 10px;
  680. }
  681.  
  682. .replies {margin-top:10px;}
  683.  
  684. #perma {
  685. padding:10px;
  686. letter-spacing:2px;
  687. text-align:center;
  688. background-color:{color:perma link bg};
  689. margin-top:10px;
  690. }
  691.  
  692. #perma a {
  693. color:{color:perma link};
  694. font-size:9px;
  695. padding:5px;
  696. -moz-transition-duration:1s;
  697. -webkit-transition-duration:1s;
  698. -o-transition-duration:1s;
  699. }
  700.  
  701. #perma a:hover {
  702. color:{color:perma link hover};
  703. -moz-transition-duration:1s;
  704. -webkit-transition-duration:1s;
  705. -o-transition-duration:1s;
  706. }
  707.  
  708. #tags {
  709. text-align:center;
  710. word-wrap:break-word;
  711. margin:5px 0px 0px 5px;
  712. {block:ifnotshowtags}
  713. {block:IndexPage}display:none;{/block:IndexPage}
  714. {/block:ifnotshowtags}
  715. }
  716.  
  717. #tags a {
  718. padding:0px 5px;
  719. font-size:8px;
  720. text-transform:none;
  721. color:{color:tags};
  722. -moz-transition-duration:1s;
  723. -webkit-transition-duration:1s;
  724. -o-transition-duration:1s;
  725. }
  726.  
  727. #tags a:hover {
  728. color:{color:tags hover};
  729. -moz-transition-duration:1s;
  730. -webkit-transition-duration:1s;
  731. -o-transition-duration:1s;
  732. }
  733.  
  734. ol.notes {
  735. margin-top:15px;
  736. list-style-type:none;
  737. padding:10px 25px 10px 25px;
  738. text-align:center;
  739. }
  740.  
  741. ol.notes li.note {
  742. padding:10px;
  743. text-align:center;
  744. line-height:140%;
  745. margin-top:10px;
  746. }
  747.  
  748. ol.notes li.note img.avatar {display:none!important;}
  749.  
  750. ol.notes li.note blockquote {padding:2px 5px;margin:5px 0px 0px 35px;}
  751.  
  752. /* extras */
  753.  
  754. #s-m-t-tooltip {
  755. z-index:9999999999;
  756. color:{color:tooltip text};
  757. background:{color:tooltip bg};
  758. font-size:9px;
  759. line-height:11px;
  760. font-family: 'Roboto Condensed', sans-serif;
  761. letter-spacing:1px;
  762. text-transform:uppercase;
  763. max-width:150px;
  764. word-wrap:break-word;
  765. padding:2px 5px 2px 5px;
  766. display:block;
  767. margin:24px 14px 7px 12px;
  768. }
  769.  
  770. ::selection {color:{color:selection text};background:{color:selection bg};}
  771.  
  772. /* credit - do not remove, alter, or move to another page */
  773.  
  774. #credit {
  775. position:fixed;
  776. bottom:14px;
  777. right:10px;
  778. text-align:center;
  779. z-index:9999999;
  780. }
  781.  
  782. #credit a {
  783. font-size:10px;
  784. color:{color:background};
  785. background-color:{color:scrollbar};
  786. padding:4px;
  787. -moz-transition-duration:1s;
  788. -webkit-transition-duration:1s;
  789. -o-transition-duration:1s;
  790. }
  791.  
  792. #credit a:hover {
  793. color:{color:scrollbar};
  794. background-color:{color:background};
  795. -moz-transition-duration:1s;
  796. -webkit-transition-duration:1s;
  797. -o-transition-duration:1s;
  798. }
  799.  
  800. </style>
  801. </head>
  802. <body>
  803.  
  804. <div id="hdr"></div>
  805.  
  806. {block:iffullheightheader}
  807. <div id="infotext">
  808. <div class="title">{Title}</div>
  809. <div id="desc" style="text-align:justify;word-wrap:break-word;margin-top:10px">{Description}</div>
  810. </div>
  811. {/block:iffullheightheader}
  812.  
  813. {block:ifnotfullheightheader}
  814. <div id="info">
  815. <div id="infotext">
  816. <div class="title">{Title}</div>
  817. <div id="desc" style="text-align:justify;word-wrap:break-word;margin-top:10px">{Description}</div>
  818. </div>
  819. </div>
  820. {/block:ifnotfullheightheader}
  821.  
  822. <div class="nav">
  823. <div id="navlinks">
  824. <div class="tabs">
  825. <ul class="tab-links">
  826. <li><a href="/">Home</a></li>
  827. <li class="active"><a href="#tab1">Posts</a></li>
  828. <li><a href="#tab2">Ask</a></li>
  829. <li><a href="#tab3">About</a></li>
  830. <li><a href="/submit">Submit</a></li>
  831. <li><a href="/archive">Past</a></li>
  832. </ul>
  833. </div>
  834. </div>
  835. </div>
  836.  
  837. <div class="tabs">
  838.  
  839. <!-- --------------------------- TAB 1 -------------------------- -->
  840.  
  841. <div class="tab-content">
  842. <div id="tab1" class="tab active">
  843.  
  844. <div id="postcontainer">
  845.  
  846. <div id="container">
  847. {block:Posts}
  848. <div id="posts">
  849.  
  850. {block:ifpostbuttons}
  851. <div class="buttons">
  852. <div id="likebutton">{LikeButton size="20" color="white"}</div>
  853. <div id="reblogbutton">{ReblogButton size="20" color="white"}</div>
  854. </div>
  855. {/block:ifpostbuttons}
  856.  
  857. {block:Text}
  858. {block:Title}<h1>{Title}</h1>{/block:Title}
  859. {Body}
  860. {/block:Text}
  861.  
  862. {block:Quote}
  863. <h2>{Quote}</h2>
  864. {block:Source}<div id="source">— {Source}</div>{/block:Source}
  865. {/block:Quote}
  866.  
  867. {block:Link}
  868. <h1><a href="{URL}">{Name}</a></h1>
  869. {block:Description}{Description}{/block:Description}
  870. {/block:Link}
  871.  
  872. {block:Chat}
  873. {block:Title}
  874. <h1>{Title}</h1>
  875. {/block:Title}
  876. <div class="chat">
  877. <ol>{block:Lines}
  878. <li class="line {Alt}">
  879. {block:Label}
  880. <span class="label">
  881. <b>{Label}</b></span>
  882. {/block:Label}{Line}</li>
  883. {/block:Lines}
  884. </ol></div>
  885. {/block:Chat}
  886.  
  887. {block:Photo}
  888. {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}
  889. {/block:Photo}
  890.  
  891. {block:Photoset}
  892. <center>{block:if400pxposts}{Photoset-400}{/block:if400pxposts}{block:ifnot400pxposts}{Photoset-500}{/block:ifnot400pxposts}</center>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  893. {/block:Photoset}
  894.  
  895. {block:Video}
  896. <center>{block:if400pxposts}{Video-400}{/block:if400pxposts}{block:ifnot400pxposts}{Video-500}{/block:ifnot400pxposts}</center>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  897. {/block:Video}
  898.  
  899. {block:Audio}
  900. <div id="audio">
  901. <div id="audioplayerbg"><div id="audioplayer">{AudioPlayerWhite}</div></div>
  902. <div id="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="100">{/block:AlbumArt}</div>
  903. <div id="audioinfo">
  904. <span{block:TrackName} style="display:none;"{block:TrackName}><b>Song:</b> unknown</span>{block:TrackName}<b>Song:</b> {TrackName}{/block:TrackName}
  905. <br><span{block:Artist} style="display:none;"{block:Artist}><b>Artist:</b> unknown</span>{block:Artist}<b>Artist:</b> {Artist}{/block:Artist}
  906. <br><span{block:Album} style="display:none;"{block:Album}><b>Album:</b> unknown</span>{block:Album}<b>Album:</b> {Album}{/block:Album}
  907. <br>{block:PlayCount}<b>Play count:</b> {PlayCount}{/block:PlayCount}
  908. </div></div>
  909. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  910. {/block:Audio}
  911.  
  912. {block:Answer}
  913. <div class="askericon"><img src="{AskerPortraitURL-64}"></div>
  914. <div class="ask"><div class="asker">{Asker} asked:</div>{Question}</div>
  915. <div class="answer">{block:Answerer}<div class="replier">{Answerer} replied:</div>{/block:Answerer}{Answer}</div>
  916. {block:Answerer}<div class="replies">{Replies}</div>{/block:Answerer}
  917. {/block:Answer}
  918.  
  919. {block:Date}
  920.  
  921. {block:IndexPage}<div id="perma">
  922. <a href="{Permalink}" title="{DayofMonth}{DayofMonthSuffix} {Month} {Year}">{block:Date}{TimeAgo}{/block:Date}</a>
  923. <a href="{Permalink}">{NoteCountwithLabel}</a>
  924. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:RebloggedFrom}
  925. {block:ContentSource}<a href="{SourceURL}" title="{SourceTitle}">©</a>{/block:ContentSource}
  926. <br>{block:HasTags}<div id="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  927. </div>{/block:IndexPage}
  928.  
  929. {block:PermalinkPage}<div id="perma">
  930. <a href="{Permalink}">{block:Date}{TimeAgo}{/block:Date}</a>
  931. <a href="{Permalink}">{NoteCountwithLabel}</a>
  932. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{/block:RebloggedFrom}
  933. {block:ContentSource}<a href="{SourceURL}" title="{SourceTitle}">©</a>{/block:ContentSource}
  934. <br>{block:HasTags}<div id="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  935. </div>{/block:PermalinkPage}
  936.  
  937. {/block:Date}
  938.  
  939. {block:PostNotes}{PostNotes}{/block:PostNotes}
  940.  
  941. </div>
  942.  
  943. {/block:Posts}
  944.  
  945. {block:Pagination}
  946. <div class="pagination">
  947. {block:PreviousPage}<a href="{PreviousPage}">Back</a> /{/block:PreviousPage}
  948. {block:NextPage}<a href="{NextPage}">Forth</a>{/block:NextPage}</div>
  949. {/block:Pagination}
  950.  
  951. </div>
  952.  
  953. </div>
  954. </div>
  955.  
  956. <!-- -------------------------- TAB 2 -------------------------- -->
  957.  
  958. <div id="tab2" class="tab">
  959. <div class="tabcontent">
  960. <div id="container">
  961. <div id="posts">
  962. <h1>Ask/FAQ</h1>
  963. <iframe frameborder="0" height="{block:if400pxposts}250{/block:if400pxposts}{block:ifnot400pxposts}190{/block:ifnot400pxposts}" id="ask_form" scrolling="no" src="//www.tumblr.com/ask_form/{text:tumblr username}.tumblr.com" width="100%" style="background-color: transparent; overflow: hidden;"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  964. <p>You can put an FAQ here if you want.</p>
  965. <p><b>Question:</b>
  966. <blockquote>Answer.</blockquote></p>
  967. <p><b>Question:</b>
  968. <blockquote>Answer.</blockquote></p>
  969. <p><b>Question:</b>
  970. <blockquote>Answer.</blockquote></p>
  971. <p><b>Question:</b>
  972. <blockquote>Answer.</blockquote></p>
  973. <p><b>Question:</b>
  974. <blockquote>Answer.</blockquote></p>
  975. <p><b>Question:</b>
  976. <blockquote>Answer.</blockquote></p>
  977. </div>
  978. </div>
  979. </div>
  980. </div>
  981.  
  982. <!-- -------------------------- TAB 3 -------------------------- -->
  983.  
  984. <div id="tab3" class="tab">
  985. <div class="tabcontent">
  986. <div id="container">
  987. <div id="posts">
  988. <div id="profile"><img src="{image:profile img}" style="width:150px;"></div>
  989. <div id="profiledesc">
  990. <p><b>Name:</b>
  991. <br><b>Age:</b>
  992. <br><b>Gender:</b>
  993. <br><b>Nationality:</b>
  994. <br><b>Occupation:</b>
  995. <br><b>Sexual preference:</b>
  996. <br><b>Personality type:</b>
  997. <br><b>Interests:</b>
  998. <br><b>Blog type:</b>
  999. </p>
  1000. </div>
  1001.  
  1002. <p>Content goes here.</p>
  1003. </div>
  1004. </div>
  1005. </div>
  1006. </div>
  1007.  
  1008. <!-- END OF TABS -->
  1009.  
  1010. </div>
  1011. </div>
  1012. </div>
  1013. </div>
  1014.  
  1015. {block:ifnotfullheightheader}
  1016. <!-- sticky navbar jquery -->
  1017.  
  1018. {block:ifsmallheader}
  1019. <script>
  1020. $(document).ready(function(){
  1021. $(window).bind('scroll', function(){
  1022. if($(window).scrollTop() > 250){
  1023. $('.nav').addClass('nav-fixed');
  1024. }
  1025.  
  1026. else{
  1027. $('.nav').removeClass('nav-fixed');
  1028. }
  1029. });
  1030. });
  1031. </script>
  1032. {/block:ifsmallheader}
  1033.  
  1034. {block:ifnotsmallheader}
  1035. <script>
  1036. $(document).ready(function(){
  1037. $(window).bind('scroll', function(){
  1038. if($(window).scrollTop() > 400){
  1039. $('.nav').addClass('nav-fixed');
  1040. }
  1041.  
  1042. else{
  1043. $('.nav').removeClass('nav-fixed');
  1044. }
  1045. });
  1046. });
  1047. </script>
  1048. {/block:ifnotsmallheader}
  1049. {/block:ifnotfullheightheader}
  1050.  
  1051. <!-- TABS/ALL-INN-ONE SCRIPTS DO NOT REMOVE!!! -->
  1052.  
  1053. <script>
  1054. $(document).ready(function() {
  1055. $('.tabs .tab-links a').on('click', function(e) {
  1056. var currentAttrValue = $(this).attr('href');
  1057.  
  1058. // Show/Hide Tabs
  1059. $('.tabs ' + currentAttrValue).fadeIn(600).siblings().hide();
  1060.  
  1061. // Change/remove current tab to active
  1062. $(this).parent('li').addClass('active').siblings().removeClass('active');
  1063.  
  1064. e.preventDefault();
  1065. });
  1066. });
  1067. </script>
  1068.  
  1069. <script>
  1070. $(document).ready(function() {
  1071. $('#filterOptions li a').click(function() {
  1072. // fetch the class of the clicked item
  1073. var ourClass = $(this).attr('class');
  1074.  
  1075. // reset the active class on all the buttons
  1076. $('#filterOptions li').removeClass('active');
  1077. // update the active state on our clicked button
  1078. $(this).parent().addClass('active');
  1079.  
  1080. if(ourClass == 'all') {
  1081. // show all our items
  1082. $('#ourHolder').children('div.item').show();
  1083. }
  1084. else {
  1085. // hide all elements that don't share ourClass
  1086. $('#ourHolder').children('div:not(.' + ourClass + ')').hide();
  1087. // show all elements that do share ourClass
  1088. $('#ourHolder').children('div.' + ourClass).show();
  1089. }
  1090. return false;
  1091. });
  1092. });
  1093. </script>
  1094.  
  1095. <div id="credit"><a href="//the49thname.tumblr.com/" title="made by the49thname">49</a>
  1096. </div>
  1097.  
  1098. </body>
  1099. </html>
Advertisement
Add Comment
Please, Sign In to add comment