Advertisement
cationcodes

Theme 008

Jan 3rd, 2014
2,717
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.46 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4.  
  5. <!-----
  6.  
  7. THEME 008 BY CATION-CODES: REIGN
  8.  
  9. All coding in this theme was written by cation-codes unless stated otherwise.
  10.  
  11. ----->
  12.  
  13. <title>{Title}</title>
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  16. {block:Description}
  17. <meta name="description" content="{MetaDescription}" />
  18. {/block:Description}
  19.  
  20.  
  21. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  22.  
  23. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
  24.  
  25. <meta name='text:Font Size' content='11'>
  26. <meta name='text:Alt Title' content='the dragon will fight the lion on a field of poppies'>
  27. <meta name='text:Title Letter Spacing' content='1'>
  28. <meta name='text:Banner Position' content='bottom left'>
  29. <meta name='text:Main Navigation Opacity' content='1'>
  30. <meta name='text:Main Navigation Title' content='navigation'>
  31. <meta name='text:Main Navigation Title Font Size' content='22'>
  32. <meta name='text:Main Navigation Title Spacing' content='1'>
  33. <meta name='text:Main Navigation Links Symbol' content='»'>
  34. <meta name='text:Link 1' content='link'>
  35. <meta name='text:Link 1 URL' content='/'>
  36. <meta name='text:Link 2' content='link'>
  37. <meta name='text:Link 2 URL' content='/'>
  38. <meta name='text:Link 3' content='link'>
  39. <meta name='text:Link 3 URL' content='/'>
  40. <meta name='text:Link 4' content='link'>
  41. <meta name='text:Link 4 URL' content='/'>
  42. <meta name='text:Link 5' content='link'>
  43. <meta name='text:Link 5 URL' content='/'>
  44. <meta name='text:Link 6' content='link'>
  45. <meta name='text:Link 6 URL' content='/'>
  46. <meta name='text:Link 7' content='link'>
  47. <meta name='text:Link 7 URL' content='/'>
  48. <meta name='text:Subtitle' content='long may she reign'>
  49. <meta name='text:Subtitle Letter Spacing' content='1'>
  50. <meta name='text:Update' content='Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam nisi lorem, pulvinar id, commodo feugiat, vehicula et, mauris. '>
  51. <meta name='text:Posts Title Font Size' content='22'>
  52. <meta name='text:Quote Font Size' content='20'>
  53. <meta name='text:Quote Letter Spacing' content='1'>
  54.  
  55. <meta name='if:Justify Text' content='1'>
  56. <meta name='if:Main Navigation Title Italic' content='1'>
  57. <meta name='if:Portrait' content=''>
  58. <meta name='if:Update' content='1'>
  59. <meta name='if:Posts Title Italic' content=''>
  60. <meta name='if:Quote Italic' content='1'>
  61.  
  62. <meta name='color:Background' content='#ffffff'>
  63. <meta name='color:Link' content='#b1a4c1'>
  64. <meta name='color:Header' content='#e2e9f0'>
  65. <meta name='color:Header Background' content='#b6c9db'>
  66. <meta name='color:Header Border' content='#9bacbd'>
  67. <meta name='color:Main Navigation' content='#85858b'>
  68. <meta name='color:Main Navigation Title' content='#cbcbd5'>
  69. <meta name='color:Main Navigation Background' content='#05001b'>
  70. <meta name='color:Topbar' content='#85858b'>
  71. <meta name='color:Topbar Background' content='#05001b'>
  72. <meta name='color:Subtitle' content='#9bacbd'>
  73. <meta name='color:Description' content='#878787'>
  74. <meta name='color:Description Borders' content='#ebebeb'>
  75. <meta name='color:Update' content='#B2AB79'>
  76. <meta name='color:Update Background' content='#FFF4AD'>
  77. <meta name='color:Update Border' content='#E6DC9C'>
  78. <meta name='color:Posts' content='#878787'>
  79. <meta name='color:Posts Background' content='#f8f8f8'>
  80. <meta name='color:Posts Borders' content='#ebebeb'>
  81. <meta name='color:Posts Title' content='#b1a4c1'>
  82. <meta name='color:Question' content='#dad9d9'>
  83. <meta name='color:Question Background' content='#aca8b0'>
  84. <meta name='color:Posts Link' content='#dad9d9'>
  85. <meta name='color:Posts Link Background' content='#aca8b0'>
  86. <meta name='color:Quote' content='#b1a4c1'>
  87. <meta name='color:Month' content='#b6c9db'>
  88. <meta name='color:Week' content='#9bacbd'>
  89. <meta name='color:Tag' content='#dad9d9'>
  90. <meta name='color:Tag Background' content='#aca8b0'>
  91.  
  92. <meta name='image:Banner' content='http://static.tumblr.com/u2g95zs/vgRmyufxj/flowers_stems-wallpaper-1600x900.jpg'>
  93. <meta name='image:Portrait' content='#ededed'>
  94.  
  95. <meta name='font:Font Family' content='Helvetica Neue'>
  96. <meta name='font:Main Navigation Title' content='Baskerville'>
  97. <meta name='font:Subtitle' content='Helvetica Neue'>
  98. <meta name='font:Posts Title' content='Baskerville'>
  99. <meta name='font:Quote' content='Baskerville'>
  100.  
  101. <style>
  102. body{
  103. line-height:150%;
  104. {block:IfJustifyText}
  105. text-align:justify;
  106. {/block:IfJustifyText}
  107. font-size:{text:Font Size}px;
  108. background:{color:Background};
  109. font-family:{font:Font Family};
  110. }
  111.  
  112. a:link, a:active, a:visited{
  113. color:{color:Link};
  114. text-decoration:none;
  115. }
  116.  
  117. /*-------------------- HEADER --------------------*/
  118. a#header{
  119. top:0;
  120. left:0;
  121. width:100%;
  122. font-size:.9em;
  123. {block:TagPage}
  124. display:none;
  125. {/block:TagPage}
  126. text-align:center;
  127. position:absolute;
  128. text-decoration:none;
  129. color:{color:Header};
  130. {block:PermalinkPage}
  131. display:none;
  132. {/block:PermalinkPage}
  133. {block:PreviousPage}
  134. display:none;
  135. {/block:PreviousPage}
  136. text-transform:uppercase;
  137. padding:20px 0px 20px 0px;
  138. background:{color:Header Background};
  139. letter-spacing:{text:Title Letter Spacing}px;
  140. border-bottom:5px solid {color:Header Border};
  141. }
  142.  
  143. /*-------------------- BANNER --------------------*/
  144. #banner{
  145. top:0;
  146. left:0;
  147. width:100%;
  148. height:400px;
  149. {block:TagPage}
  150. display:none;
  151. {/block:TagPage}
  152. position:absolute;
  153. {block:PermalinkPage}
  154. display:none;
  155. {/block:PermalinkPage}
  156. {block:PreviousPage}
  157. display:none;
  158. {/block:PreviousPage}
  159. margin:60px 0px 0px 0px;
  160. background-image:url({image:Banner});
  161. background-position:{text:Banner Position};
  162. }
  163.  
  164. /*-------------------- NAVIGATION --------------------*/
  165. #navigation{
  166. bottom:0;
  167. width:300px;
  168. {block:TagPage}
  169. display:none;
  170. {/block:TagPage}
  171. position:absolute;
  172. {block:PermalinkPage}
  173. display:none;
  174. {/block:PermalinkPage}
  175. {block:PreviousPage}
  176. display:none;
  177. {/block:PreviousPage}
  178. margin:0px 0px 50px 0px;
  179. padding:35px 25px 35px 25px;
  180. opacity:{text:Main Navigation Opacity};
  181. background:{color:Main Navigation Background};
  182. }
  183.  
  184. #navigation h1{
  185. font-weight:100;
  186. text-align:right;
  187. margin:0px 0px 20px 0px;
  188. color:{color:Main Navigation Title};
  189. {block:IfMainNavigationTitleItalic}
  190. font-style:italic;
  191. {/block:IfMainNavigationTitleItalic}
  192. font-family:{font:Main Navigation Title};
  193. font-size:{text:Main Navigation Title Font Size}px;
  194. letter-spacing:{text:Main Navigation Title Spacing}px;
  195. }
  196.  
  197. #navigation a{
  198. width:98px;
  199. font-size:.9em;
  200. display:inline-block;
  201. text-decoration:none;
  202. padding:5px 0px 5px 0px;
  203. text-transform:uppercase;
  204. color:{color:Main Navigation};
  205. }
  206.  
  207. #navigation a:before{
  208. content:'{text:Main Navigation Links Symbol} ';
  209. font-size:13px;
  210. }
  211.  
  212. /*-------------------- TOPBAR --------------------*/
  213. .topbar{
  214. top:0;
  215. left:0;
  216. width:100%;
  217. padding:5px;
  218. z-index:9999;
  219. {block:IndexPage}
  220. display:none;
  221. {/block:IndexPage}
  222. {block:TagPage}
  223. display:block;
  224. {/block:TagPage}
  225. {block:PreviousPage}
  226. display:block;
  227. {/block:PreviousPage}
  228. position:fixed;
  229. text-align:center;
  230. background:{color:Topbar Background};
  231. }
  232.  
  233. .topbar a{
  234. font-size:.9em;
  235. display:inline-block;
  236. text-decoration:none;
  237. color:{color:Topbar};
  238. text-transform:uppercase;
  239. margin:0px 10px 0px 10px;
  240. }
  241.  
  242. /*-------------------- SIDEBAR --------------------*/
  243. .sidebar{
  244. width:200px;
  245. margin-left:600px;
  246. {block:IndexPage}
  247. position:absolute;
  248. {/block:IndexPage}
  249. {block:TagPage}
  250. position:fixed;
  251. margin-top:25px;
  252. {/block:TagPage}
  253. {block:PermalinkPage}
  254. position:fixed;
  255. margin-top:25px;
  256. {/block:PermalinkPage}
  257. {block:PreviousPage}
  258. position:fixed;
  259. margin-top:25px;
  260. {/block:PreviousPage}
  261. }
  262.  
  263. {block:IndexPage}
  264. .sidebar2{
  265. top:0;
  266. margin-top:75px;
  267. position:fixed;
  268. }
  269. {/block:IndexPage}
  270.  
  271. p.subtitle{
  272. font-size:.9em;
  273. text-align:center;
  274. color:{color:Subtitle};
  275. font-family:{font:Subtitle};
  276. text-transform:uppercase;
  277. letter-spacing:{text:Subtitle Letter Spacing}px;
  278. }
  279.  
  280. #description{
  281. padding:5px;
  282. color:{color:Description};
  283. border-top:1px solid {color:Description Borders};
  284. border-bottom:1px solid {color:Description Borders};
  285. }
  286.  
  287. img.portrait{
  288. width:190px;
  289. margin:0px 5px 5px 5px;
  290. }
  291.  
  292. p.update{
  293. padding:9px;
  294. margin-top:15px;
  295. color:{color:Update};
  296. background:{color:Update Background};
  297. border-radius:2px;
  298. -moz-border-radius:2px;
  299. -webkit-border-radius:2px;
  300. border:1px solid {color:Update Border};
  301. }
  302.  
  303. p.update:before{
  304. font-weight:700;
  305. content:'Update! ';
  306. }
  307.  
  308. /*-------------------- POSTS --------------------*/
  309. #posts{
  310. width:800px;
  311. height:auto;
  312. {block:IndexPage}
  313. margin:550px auto 0px auto;
  314. {/block:IndexPage}
  315. {block:TagPage}
  316. margin:50px auto 0px auto;
  317. {/block:TagPage}
  318. {block:PermalinkPage}
  319. margin:50px auto 0px auto;
  320. {/block:PermalinkPage}
  321. {block:PreviousPage}
  322. margin:50px auto 0px auto;
  323. {/block:PreviousPage}
  324. }
  325.  
  326. #post{
  327. height:auto;
  328. width:500px;
  329. padding:25px;
  330. color:{color:Posts};
  331. {block:IndexPage}
  332. margin-bottom:50px;
  333. {/block:IndexPage}
  334. background:{color:Posts Background};
  335. border:1px solid {color:Posts Borders};
  336. }
  337.  
  338. blockquote{
  339. padding-left:5px;
  340. border-left:2px solid {color:Posts Borders};
  341. }
  342.  
  343. #post h1{
  344. padding:10px;
  345. font-weight:100;
  346. text-align:center;
  347. {block:IfPostsTitleItalic}
  348. font-style:italic;
  349. {/block:IfPostsTitleItalic}
  350. color:{color:Posts Title};
  351. margin:0px 10px 5px 10px;
  352. text-transform:lowercase;
  353. font-family:{font:Posts Title};
  354. font-size:{text:Posts Title Font Size}px;
  355. border-bottom:1px solid {color:Posts Borders};
  356. }
  357.  
  358. #asker{
  359. width:100%;
  360. display:block;
  361. margin-bottom:10px;
  362. color:{color:Question};
  363. }
  364.  
  365. #asker img{
  366. width:20px;
  367. height:20px;
  368. float:left;
  369. margin-right:20px;
  370. border:5px solid {color:Question Background};
  371. }
  372.  
  373. #asker td.question{
  374. width:100%;
  375. padding:10px;
  376. margin-left:30px;
  377. background:{color:Question Background};
  378. }
  379.  
  380. #triangle1{
  381. width:0;
  382. height:0;
  383. position:absolute;
  384. margin:10px 0px 0px 30px;
  385. border-top:5px solid transparent;
  386. border-bottom:5px solid transparent;
  387. border-left:5px solid {color:Question Background};
  388. }
  389.  
  390. a#link{
  391. padding:5px;
  392. display:block;
  393. text-align:center;
  394. color:{color:Posts Link};
  395. background:{color:Posts Link Background};
  396. }
  397.  
  398. .tumblr_audio_player{
  399. height:85px;
  400. width:500px;
  401. margin-bottom:5px;
  402. }
  403.  
  404. h2{
  405. {block:IfQuoteItalic}
  406. font-style:italic;
  407. {/block:IfQuoteItalic}
  408. font-family:{font:Quote};
  409. text-align:center;
  410. color:{color:Quote};
  411. font-weight:100;
  412. letter-spacing:{text:Quote Letter Spacing}px;
  413. font-size:{text:Quote Font Size}px;
  414. }
  415.  
  416. p.quotesource{
  417. font-size:.9em;
  418. text-align:center;
  419. text-transform:uppercase;
  420. }
  421.  
  422. p.quotesource:before{
  423. content:'— ';
  424. }
  425.  
  426. p.quotesource:after{
  427. content:' —';
  428. }
  429.  
  430. a.date{
  431. float:right;
  432. }
  433.  
  434. #postinfo{
  435. width:550px;
  436. margin-top:10px;
  437. }
  438.  
  439. p.month{
  440. margin:0px;
  441. font-size:25px;
  442. color:{color:Month};
  443. font-weight:900;
  444. text-transform:uppercase;
  445. }
  446.  
  447. p.weekday{
  448. color:{color:Weekday};
  449. font-size:15px;
  450. font-weight:700;
  451. margin:5px 0px 5px 0px;
  452. text-transform:uppercase;
  453. }
  454.  
  455. a#tag{
  456. color:{color:Tag};
  457. font-size:9px;
  458. display:inline-block;
  459. margin:5px 0px 0px 0px;
  460. padding:2px 5px 2px 5px;
  461. text-transform:uppercase;
  462. background:{color:Tag Background};
  463. }
  464.  
  465. #pagination{
  466. font-size:.9em;
  467. margin-top:15px;
  468. text-align:center;
  469. }
  470.  
  471. #pagination a{
  472. text-transform:lowercase;
  473. color:{color:Description};
  474. }
  475.  
  476. #postnotes ol{
  477. margin:25px 0px 0px 0px;
  478. padding:0;
  479. }
  480.  
  481. #postnotes a{
  482. color:{color:Description};
  483. }
  484.  
  485. #postnotes li{
  486. padding:10px 5px 10px 5px;
  487. color:{color:Description};
  488. border-bottom:1px solid {color:Posts Borders};
  489. }
  490.  
  491. #credit{
  492. font-size:.7em;
  493. text-align:center;
  494. color:{color:Description};
  495. text-transform:uppercase;
  496. }
  497.  
  498. #credit a{
  499. color:{color:Description};
  500. }
  501.  
  502. </style>
  503. {block:IndexPage}
  504. <script>
  505. $(document).ready(function(){
  506. $(window).bind('scroll', function(){
  507. if($(window).scrollTop() > 460){
  508. $('.topbar').fadeIn(250);
  509. }
  510.  
  511. else{
  512. $('.topbar').fadeOut(50);
  513. }
  514.  
  515. if($(window).scrollTop() > 550){
  516. $('.sidebar').addClass('sidebar2');
  517. }
  518.  
  519. else{
  520. $('.sidebar').removeClass('sidebar2');
  521. }
  522. });
  523. });
  524. </script>
  525. {/block:IndexPage}
  526. </head>
  527. <body>
  528. <a href='/' id='header'>{block:IfNotAltTitle}{Title}{/block:IfNotAltTitle}{block:IfAltTitle}{text:Alt Title}{/block:IfAltTitle}</a>
  529. <div id='banner'>
  530. <div id='navigation'>
  531. <h1>{text:Main Navigation Title}</h1>
  532. <a href='/ask'>inbox</a>
  533. <a href='/archive'>archive</a>
  534. <a href='{text:Link 1 URL}'>{text:Link 1}</a>
  535. <a href='{text:Link 2 URL}'>{text:Link 2}</a>
  536. <a href='{text:Link 3 URL}'>{text:Link 3}</a>
  537. <a href='{text:Link 4 URL}'>{text:Link 4}</a>
  538. <a href='{text:Link 5 URL}'>{text:Link 5}</a>
  539. <a href='{text:Link 6 URL}'>{text:Link 6}</a>
  540. <a href='{text:Link 7 URL}'>{text:Link 7}</a>
  541. </div>
  542. </div>
  543.  
  544. <div class='topbar'>
  545. <a href='/'>home</a>
  546. <a href='/ask'>inbox</a>
  547. <a href='{text:Link 1 URL}'>{text:Link 1}</a>
  548. <a href='{text:Link 2 URL}'>{text:Link 2}</a>
  549. <a href='{text:Link 3 URL}'>{text:Link 3}</a>
  550. <a href='{text:Link 4 URL}'>{text:Link 4}</a>
  551. </div>
  552.  
  553. <div id='posts'>
  554. <div class='sidebar'>
  555. <p class='subtitle'>
  556. {text:Subtitle}
  557. </p>
  558. {block:IfPortrait}
  559. <img class='portrait' src='{image:Portrait}'>
  560. {/block:IfPortrait}
  561. <div id='description'>
  562. {Description}
  563. </div>
  564. {block:IfUpdate}
  565. <p class='update'>
  566. {text:Update}
  567. </p>
  568. {/block:IfUpdate}
  569. <div id='credit'>theme by <a href='cationcodes.tumblr.com'>cation-codes</a></div>
  570.  
  571. <div id='pagination'>
  572. {block:Pagination}
  573. {block:PreviousPage}
  574. <a id='previouspage' href='{PreviousPage}'>Previous</a> /
  575. {/block:PreviousPage}
  576.  
  577. {block:NextPage}
  578. <a id='nextpage' href='{NextPage}'>Next</a>
  579. {/block:NextPage}
  580. {/block:Pagination}
  581. </div>
  582. </div>
  583.  
  584. {block:Posts}
  585. <div id='post'>
  586. {block:Text}
  587. {block:Title}<h1>{Title}</h1>{/block:Title}
  588. {Body}
  589. {/block:Text}
  590.  
  591. {block:Photo}
  592. <img src='{PhotoURL-500}'>
  593. {block:Caption}{Caption}{/block:Caption}
  594. {/block:Photo}
  595.  
  596. {block:Photoset}
  597. {Photoset-500}
  598. {block:Caption}{Caption}{/block:Caption}
  599. {/block:Photoset}
  600.  
  601. {block:Quote}
  602. <h2>{Quote}</h2>
  603. {block:Source}<p class='quotesource'>{Source}</p>{/block:Source}
  604. {/block:Quote}
  605.  
  606. {block:Link}
  607. <a id='link' href='{URL}'>{Name}</a>
  608. {block:Description}{Description}{/block:Description}
  609. {/block:Link}
  610.  
  611. {block:Chat}
  612. {block:Title}<h2>{Title}</h2>{/block:Title}
  613. <table>
  614. {block:Lines}
  615. <tr>
  616. {block:Label}
  617. <th>
  618. {Label}
  619. </th>
  620. {/block:Label}
  621. <td>
  622. {Line}
  623. </td>
  624. </tr>
  625. {/block:Lines}
  626. </table>
  627. {/block:Chat}
  628.  
  629. {block:Audio}
  630. {block:AudioPlayer}{AudioPlayer}{/block:AudioPlayer}
  631. {/block:Audio}
  632.  
  633. {block:Video}
  634. {Video-500}
  635. {block:Caption}{Caption}{/block:Caption}
  636. {/block:Video}
  637.  
  638. {block:Answer}
  639. <table id='asker'>
  640. <tr>
  641. <td><div id='triangle1'></div> <a href='{AskerURL}'><img src='{AskerPortraitURL-24}'></a</td>
  642. <td class='question'>{Question}</td>
  643. </tr>
  644. </table>
  645. {Answer}
  646. {/block:Answer}
  647.  
  648. {block:IndexPage}
  649. {block:Date}
  650. <a class='date' href='{Permalink}'>{12Hour}:{Minutes}{AmPm}</a>
  651. {/block:Date}
  652. {/block:IndexPage}
  653. </div>
  654. {block:PermalinkPage}
  655. <div id='postinfo'>
  656. {block:Date}
  657. <p class='month'>{Month} {MonthNumberWithZero}{DayOfMonthSuffix}</p>
  658. <p class='weekday'>posted {DayOfWeek} @ {12Hour}:{Minutes}{AmPm} with {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount} </p>
  659. {/block:Date}
  660.  
  661. {block:HasTags}
  662. {block:Tags}
  663. <a id='tag' href='{TagURL}'>{Tag}</a>
  664. {/block:Tags}
  665. {/block:HasTags}
  666. <div id='postnotes'>
  667. {block:PostNotes}
  668. {PostNotes-16}
  669. {/block:PostNotes}
  670. </div>
  671. </div>
  672. {/block:PermalinkPage}
  673. {/block:Posts}
  674. </div>
  675. </body>
  676. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement