Advertisement
aryasnark

aryasnark - Theme 10

Feb 21st, 2014
9,411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.51 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5. <!--
  6.  
  7. THEME 10 by ARYASNARK
  8.  
  9. Javascript for header credited to Mary Lou @ tympanus.net/codrops/
  10.  
  11. Copyright © Aryasnark 2014 All Rights Reserved. No part of this website may be reproduced without my express consent.
  12.  
  13. -->
  14.  
  15. <head>
  16. <title>{Title}{block:PostTitle} - {PostTitle}{/block:PostTitle}</title>
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  20.  
  21. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,900' rel='stylesheet' type='text/css'>
  22.  
  23. <meta name="color:background" content="#ffffff">
  24. <meta name="color:title" content ="#3b3b3b">
  25. <meta name="color:text" content="#3b3b3b">
  26. <meta name="color:tags" content="#3b3b3b">
  27. <meta name="color:tags hover" content="#3b3b3b">
  28. <meta name="color:link" content="#cccccc">
  29. <meta name="color:link hover" content="#3b3b3b">
  30. <meta name="color:sidelink" content="#3b3b3b">
  31. <meta name="color:sidelink hover" content="#3b3b3b">
  32. <meta name="color:border" content="#dddddd">
  33. <meta name="color:scrollbar" content="#dddddd">
  34. <meta name="color:scrollbar bg" content="#ffffff">
  35.  
  36. <meta name="if:400px" content="1"/>
  37. <meta name="if:500px" content="0"/>
  38. <meta name="if:show captions" content="1"/>
  39. <meta name="if:hover tags" content="1"/>
  40. <meta name="text:link 1 title" content=""/>
  41. <meta name="text:link 1" content=""/>
  42. <meta name="text:link 2 title" content=""/>
  43. <meta name="text:link 2" content=""/>
  44. <meta name="text:link 3 title" content=""/>
  45. <meta name="text:link 3" content=""/>
  46. <meta name="text:link 4 title" content=""/>
  47. <meta name="text:link 4" content=""/>
  48.  
  49.  
  50. <style type="text/css">
  51.  
  52. ::-webkit-scrollbar {
  53. width:7px;
  54. height:auto;
  55. background:{color:scrollbar bg};
  56. }
  57. ::-webkit-scrollbar-corner {
  58. background:{color:scrollbar};
  59. }
  60. ::-webkit-scrollbar-thumb:vertical {
  61. background:{color:scrollbar};
  62. -webkit-border-radius: 5px;
  63. -moz-border-radius: 5px;
  64. border-radius: 5px;
  65. }
  66. ::-webkit-scrollbar-thumb:horizontal {
  67. background:{color:scrollbar};
  68. -webkit-border-radius: 5px;
  69. -moz-border-radius: 5px;
  70. border-radius: 5px;
  71. }
  72.  
  73.  
  74. body {
  75. margin:0px;
  76. padding:0px;
  77. font-size:10px;
  78. font-family:'Lato', sans-serif;
  79. font-weight:300;
  80. background:{color:background};
  81. line height:110%;
  82. letter-spacing:1px;
  83. }
  84.  
  85. a:link, a, a:active, a:visited {
  86. text-decoration:none;
  87. color:{color:link};
  88. transition-duration: 0.6s;
  89. -moz-transition-duration: 0.6s;
  90. -webkit-transition-duration: 0.6s;
  91. -o-transition-duration: 0.6s;
  92. }
  93. a:hover {
  94. color:{color:link hover};
  95. transition-duration: 0.6s;
  96. -moz-transition-duration: 0.6s;
  97. -webkit-transition-duration: 0.6s;
  98. -o-transition-duration: 0.6s;
  99. }
  100.  
  101. {block:if400px}
  102. .text img {
  103. max-width:400px;
  104. height:auto;
  105. }
  106. {/block:if400px}
  107.  
  108. /*HEADER*/
  109.  
  110. .cbp-af-header {
  111. position: fixed;
  112. top: 0;
  113. left: 0;
  114. width: 100%;
  115. background: white;
  116. z-index: 10000;
  117. height: 230px;
  118. overflow: hidden;
  119. -webkit-transition: height 0.3s;
  120. -moz-transition: height 0.3s;
  121. transition: height 0.3s;
  122. }
  123.  
  124. .cbp-af-header .cbp-af-inner {
  125. width: 90%;
  126. max-width: 69em;
  127. margin: 0 auto;
  128. padding:0;
  129. }
  130.  
  131. .cbp-af-header h2,
  132. .cbp-af-header nav {
  133. display: inline-block;
  134. position: relative;
  135. }
  136.  
  137. .cbp-af-header h2, .cbp-af-header nav a {
  138. line-height:230px;
  139. }
  140.  
  141. .cbp-af-header h2 {
  142. text-transform: uppercase;
  143. color:{color:title};
  144. letter-spacing:4px;
  145. font-size:20px; /*CHANGE BLOG TITLE FONT SIZE HERE*/
  146. margin:0px;
  147. float:left;
  148. padding:0px;
  149. max-width:340px;
  150. font-weight:400;
  151. }
  152.  
  153. .cbp-af-header nav {
  154. float: right;
  155. }
  156.  
  157. .cbp-af-header nav a {
  158. color:{color:sidelink};
  159. letter-spacing:2px;
  160. font-weight:400;
  161. margin: 0 0 0 20px;
  162. font-size:9px;
  163. text-transform:uppercase;
  164. padding:5px 1px 5px 1px;
  165. line-height:230px;
  166. border-bottom:1px solid white;
  167. -webkit-transition: all 0.3s;
  168. -moz-transition: all 0.3s;
  169. transition: all 0.3s;
  170. }
  171.  
  172. .cbp-af-header nav a:hover {
  173. color:{color:sidelink hover};
  174. border-bottom:1px solid {color:border};
  175. -webkit-transition: all 0.3s;
  176. -moz-transition: all 0.3s;
  177. transition: all 0.3s;
  178. }
  179.  
  180. /* Transitions and class for reduced height */
  181. .cbp-af-header h2,
  182. .cbp-af-header nav a {
  183. -webkit-transition: all 0.3s;
  184. -moz-transition: all 0.3s;
  185. transition: all 0.3s;
  186. }
  187.  
  188. .cbp-af-header.cbp-af-header-shrink {
  189. height: 90px;
  190. -webkit-transition: all 0.3s;
  191. -moz-transition: all 0.3s;
  192. transition: all 0.3s;
  193. }
  194.  
  195. .cbp-af-header.cbp-af-header-shrink h2,
  196. .cbp-af-header.cbp-af-header-shrink nav a {
  197. line-height: 90px;
  198. }
  199.  
  200. .cbp-af-header.cbp-af-header-shrink h2 {
  201. font-size: 12px;
  202. }
  203.  
  204. /* Example Media Queries */
  205. @media screen and (max-width: 55em) {
  206.  
  207. .cbp-af-header .cbp-af-inner {
  208. width: 100%;
  209. }
  210.  
  211. .cbp-af-header h2,
  212. .cbp-af-header nav {
  213. display: block;
  214. margin: 0 auto;
  215. text-align: center;
  216. float: none;
  217. }
  218.  
  219. .cbp-af-header h2,
  220. .cbp-af-header nav a {
  221. line-height: 115px;
  222. }
  223.  
  224. .cbp-af-header nav a {
  225. margin: 0 10px;
  226. }
  227.  
  228. .cbp-af-header.cbp-af-header-shrink h2,
  229. .cbp-af-header.cbp-af-header-shrink nav a {
  230. line-height: 45px;
  231. }
  232.  
  233. .cbp-af-header.cbp-af-header-shrink h2 {
  234. font-size: 2em;
  235. }
  236.  
  237. .cbp-af-header.cbp-af-header-shrink nav a {
  238. font-size: 1em;
  239. }
  240. }
  241.  
  242. @media screen and (max-width: 32.25em) {
  243. .cbp-af-header nav a {
  244. font-size: 1em;
  245. }
  246. }
  247.  
  248. @media screen and (max-width: 24em) {
  249. .cbp-af-header nav a,
  250. .cbp-af-header.cbp-af-header-shrink nav a {
  251. line-height: 1;
  252. }
  253. }
  254.  
  255.  
  256. /*POSTS*/
  257.  
  258. #entry {
  259. margin:auto;
  260. margin-top:250px;
  261. width:400px;
  262. {block:if500px}
  263. width:500px;
  264. {/block:if500px}
  265. }
  266.  
  267. .post {
  268. overflow:hidden;
  269. float:center;
  270. text-align:left;
  271. margin-top:20px;
  272. margin-bottom:90px;
  273. width:400px;
  274. overflow:hidden;
  275. {block:if500px}
  276. width:500px;
  277. {/block:if500px}
  278. }
  279.  
  280. .info {
  281. width:400px;
  282. font-size:9px;
  283. font-style:none;
  284. text-align:center;
  285. letter-spacing:1px;
  286. line-height:150%;
  287. margin-top:30px;
  288. text-transform:uppercase;
  289. color:{color:text};
  290. transition-duration: 0.5s;
  291. -moz-transition-duration: 0.5s;
  292. -webkit-transition-duration: 0.5s;
  293. -o-transition-duration: 0.5s;
  294. {block:if500px}
  295. width:500px;
  296. padding-top:7px;
  297. {/block:if500px}
  298. }
  299.  
  300. .info a {
  301. color:{color:link};
  302. padding:5px;
  303. }
  304.  
  305. .tags {
  306. width:400px;
  307. font-size:9px;
  308. font-style:none;
  309. text-align:center;
  310. letter-spacing:1px;
  311. line-height:150%;
  312. text-transform:lowercase;
  313. padding-top:5px;
  314. color:{color:tags};
  315. {block:indexpage}
  316. {block:ifhovertags}
  317. opacity:0;
  318. {/block:ifhovertags}
  319. {block:indexpage}
  320. transition-duration: 0.5s;
  321. -moz-transition-duration: 0.5s;
  322. -webkit-transition-duration: 0.5s;
  323. -o-transition-duration: 0.5s;
  324. {block:if500px}
  325. width:500px;
  326. padding-top:7px;
  327. {/block:if500px}
  328. }
  329.  
  330. .tags a {
  331. color:{color:tags};
  332. }
  333.  
  334. .tags a:hover {
  335. color:{color:tags hover};
  336. }
  337.  
  338. {block:ifhovertags}
  339. .post:hover .tags {
  340. opacity:1;
  341. -webkit-transition: all 0.5s ease-in-out;
  342. -moz-transition: all 0.5s ease-in-out;
  343. -o-transition: all 0.5s ease-in-out;
  344. -ms-transition: all 0.5s ease-in-out;
  345. }
  346. {/block:ifhovertags}
  347.  
  348. h1 {
  349.  
  350. text-transform:uppercase;
  351. font-size:14px;
  352. font-weight:lighter;
  353. text-align:center;
  354. padding:10px;
  355. letter-spacing:3px;
  356. font-weight:700;
  357. }
  358. h1 a {
  359. color:{color:title};
  360. text-transform:uppercase;
  361. }
  362.  
  363. #pagination {
  364. width:400px;
  365. bottom:0px;
  366. margin-bottom:110px;
  367. font-size:11px;
  368. text-align:center;
  369. text-transform:uppercase;
  370. letter-spacing:3px;
  371. font-weight:400;
  372. {block:if500px}
  373. width:500px;
  374. {/block:if500px}
  375. }
  376. #pagination a {
  377. padding:5px 1px 5px 1px;
  378. color:{color:sidelink};
  379. border-bottom:1px solid white;
  380. }
  381. #pagination a:hover {
  382. border-bottom:1px solid {color:border};
  383. }
  384.  
  385.  
  386. .quote {
  387. font-size:10px;
  388. font-style:none;
  389. text-align:center;
  390. letter-spacing:1px;
  391. line-height:150%;
  392. padding:10px;
  393. padding-bottom:0px;
  394. text-transform:uppercase;
  395. }
  396.  
  397. #source {
  398. font-size:10px;
  399. text-transform:uppercase;
  400. letter-spacing:2px;
  401. text-align:center;
  402. padding:10px;
  403. padding-bottom:0px;
  404. line-height:150%;
  405. color:{color:text};
  406. font-weight:400;
  407. }
  408. #source a {
  409. color:{color:link hover};
  410. text-decoration:none;
  411. }
  412. #source a:hover {
  413. color:{color:link hover};
  414. }
  415.  
  416. #asker {
  417. font-size:10px;
  418. text-align:center;
  419. font-style:none;
  420. padding:10px;
  421. padding-bottom:0px;
  422. letter-spacing:3px;
  423. line-height:150%;
  424. text-transform:uppercase;
  425. font-weight:700;
  426. color:{color:text};
  427. }
  428.  
  429. #asker a {
  430. font-size:10px;
  431. text-transform:uppercase;
  432. letter-spacing:3px;
  433. color:{color:text};
  434. text-decoration:none;
  435. font-weight:700;
  436. }
  437. #asker a:hover {
  438. }
  439.  
  440. #asked {
  441. text-transform:uppercase;
  442. text-align:center;
  443. font-size:10px;
  444. font-style:none;
  445. line-height:150%;
  446. padding:10px;
  447. margin-bottom:-20px;
  448. color:#ccc;
  449. }
  450.  
  451. #answer {
  452. font-size:10px;
  453. font-style:none;
  454. text-align:center;
  455. letter-spacing:1px;
  456. padding:10px;
  457. }
  458.  
  459. #answer img {
  460. max-width:380px;
  461. {block:ifsingle}
  462. {block:if500px}
  463. width:480px;
  464. {/block:if500px}
  465. {/block:ifsingle}
  466. }
  467.  
  468. .playbutton {
  469. width:20px;
  470. height:30px;
  471. overflow:hidden;
  472. position:relative;
  473. opacity:0.7;
  474. z-index:100;
  475. margin:9px 18px 7px 10px;
  476. }
  477.  
  478. .playbox {
  479. margin-top:14px;
  480. margin-left:13px;
  481. opacity:0.7;
  482. background-color:#e5e5e5;
  483. position: absolute;
  484. z-index: 100;
  485. }
  486.  
  487. .audiodata {
  488. background-color:#eeeeee;
  489. font-size:10px;
  490. letter-spacing:2px;
  491. color:{color:text};
  492. padding:6px 10px 10px 10px;
  493. text-transform:uppercase;
  494. line-height:150%;
  495. height:55px;
  496. width:305px;
  497. margin-top:0px;
  498. margin-left:75px;
  499. text-align:right;
  500. {block:if500px}
  501. width:405px;
  502. {/block:if500px}
  503. }
  504.  
  505. .caption {
  506. text-align:left;
  507. font-size:9px;
  508. padding:5px;
  509. display:block;
  510. color:{color:text};
  511. }
  512. .caption img {
  513. max-width:360px;
  514. }
  515.  
  516. blockquote {
  517. padding-left:5px;
  518. margin-left:5px;
  519. border-left:1px solid {color:border};
  520. }
  521.  
  522. ol.notes {
  523. margin-top:10px;
  524. padding-bottom:2%;
  525. width:360px;
  526. list-style-type:upper-roman;
  527. text-align:left;
  528. text-transform:uppercase;
  529. line-height:200%;
  530. font-size:9px;
  531. {block:if500px}
  532. width:460px;
  533. {/block:if500px}
  534. }
  535.  
  536. ol.notes li.note{
  537. padding:2%;
  538. }
  539.  
  540. ol.notes li.note img.avatar{
  541. width:0px;
  542. height:0px;
  543. }
  544.  
  545. #credit {
  546. bottom:0;
  547. right:0;
  548. text-align:center;
  549. font-size:7px;
  550. letter-spacing:3px;
  551. opacity:0.3;
  552. line-height:250%;
  553. position:fixed;
  554. padding:5px;
  555. }
  556.  
  557.  
  558.  
  559. </style></head>
  560. <body>
  561. <div class="cbp-af-header">
  562. <div class="cbp-af-inner">
  563. <a href="/"><h2>{Title}</h2></a>
  564. <nav>
  565. {block:iflink1}<a href="{text:link 1}">{text:link 1 title}</a>{/block:iflink1}
  566. {block:iflink2}<a href="{text:link 2}">{text:link 2 title}</a>{/block:iflink2}
  567. {block:iflink3}<a href="{text:link 3}">{text:link 3 title}</a>{/block:iflink3}
  568. {block:iflink4}<a href="{text:link 4}">{text:link 4 title}</a>{/block:iflink4}
  569. </nav>
  570. </div>
  571. </div>
  572. <script src="http://static.tumblr.com/ktebk5j/qX4n1ajnn/classie.js"></script>
  573. <script src="http://static.tumblr.com/ktebk5j/9qnn1ajo6/modernizr.custom.js"></script>
  574. <script src="http://static.tumblr.com/ktebk5j/wxyn1ajmp/cbpanimatedheader.js"></script>
  575. <script>
  576. /**
  577. * cbpAnimatedHeader.min.js v1.0.0
  578. * http://www.codrops.com
  579. *
  580. * Licensed under the MIT license.
  581. * http://www.opensource.org/licenses/mit-license.php
  582. *
  583. * Copyright 2013, Codrops
  584. * http://www.codrops.com
  585. */
  586. var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".cbp-af-header"),e=false,a=50;function f(){window.addEventListener("scroll",function(h){if(!e){e=true;setTimeout(d,250)}},false)}function d(){var h=c();if(h>=a){classie.add(g,"cbp-af-header-shrink")}else{classie.remove(g,"cbp-af-header-shrink")}e=false}function c(){return window.pageYOffset||b.scrollTop}f()})();
  587. </script>
  588.  
  589. <div id="entry">
  590.  
  591. {block:Posts}
  592.  
  593. <div class="post">
  594.  
  595. {block:Text}
  596. {block:Title}<h1>{Title}</h1>{/block:Title}
  597. {Body}
  598. {/block:Text}
  599.  
  600.  
  601. {block:Photo}
  602. {block:if400px}
  603. <center><a href="{Permalink}"><img src="{PhotoURL-400}"></a></center>
  604. {/block:if400px}
  605. {block:if500px}
  606. <center><a href="{Permalink}"><img src="{PhotoURL-500}"></a></center>
  607. {/block:if500px}
  608.  
  609. {block:Caption}
  610. {block:ifshowcaptions}
  611. <span class="caption">{Caption}</span>
  612. {/block:ifshowcaptions}
  613. {/block:Caption}
  614. {/block:Photo}
  615.  
  616.  
  617. {block:Photoset}
  618. {block:if400px}
  619. {Photoset-400}
  620. {/block:if400px}
  621. {block:if500px}
  622. {Photoset-500}
  623. {/block:if500px}
  624.  
  625. {block:Caption}
  626. {block:ifshowcaptions}
  627. <span class="caption">{Caption}</span>
  628. {/block:ifshowcaptions}
  629. {/block:Caption}
  630. {/block:Photoset}
  631.  
  632. {block:Quote}
  633. <div class="quote">❝ {Quote} ❞</div>
  634. {block:Source}
  635. <div id="source">{Source}</div>
  636. {/block:Source}
  637. {/block:Quote}
  638.  
  639.  
  640. {block:Link}
  641. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  642. {block:Description}
  643. {Description}
  644. {/block:Description}
  645. {/block:Link}
  646.  
  647.  
  648. {block:Chat}
  649. {block:Title}<h1>{Title}</h1>{/block:Title}
  650. {block:Lines}
  651. {block:Label}<b>{Label}</b>{/block:Label} {Line}<br>
  652. {/block:Lines}
  653. {/block:Chat}
  654.  
  655. {block:Audio}
  656. <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}</div></div>
  657. <div class="audiodata"><br>{block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br><b>{Artist}</b>{/block:Artist}</div>
  658.  
  659. {block:Caption}
  660. {block:ifshowcaptions}
  661. <span class="caption">{Caption}</span>
  662. {/block:ifshowcaptions}
  663. {/block:Caption}
  664. {/block:Audio}
  665.  
  666. {block:Video}
  667. {block:if400px}
  668. {Video-400}
  669. {/block:if400px}
  670. {block:if500px}
  671. {Video-500}
  672. {/block:if500px}
  673.  
  674. {block:Caption}
  675. {block:ifshowcaptions}
  676. <span class="caption">{Caption}</span>
  677. {/block:ifshowcaptions}
  678. {/block:Caption}
  679. {/block:Video}
  680.  
  681. {block:Answer}
  682. <div id="asker">{Asker}</div>
  683. <div id="asked">{Question}</div>
  684. <div id="answer">{Answer}</div>
  685. {/block:Answer}
  686.  
  687. {block:IndexPage}
  688. <div class="info">{block:Date}<a href="{Permalink}">{DayOfMonth} . {MonthNumberWithZero} . {ShortYear}</a>{/block:Date}</div>
  689. <div class="tags">{block:HasTags}{block:Tags}#<a href="/tagged/{Tag}">{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}</div>
  690. {/block:IndexPage}
  691.  
  692. {block:PermalinkPage}
  693. <div class="info">{block:Date}Posted on the {DayOfMonth}{DayOfMonthSuffix} of {Month}, {Year}{/block:Date}&nbsp;{block:NoteCount}with {NoteCountwithLabel}{/block:NoteCount}</div>
  694. <div class="tags">{block:HasTags}{block:Tags}#<a href="/tagged/{Tag}">{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}</div>
  695. <div class="info" style="margin-top:4px">{block:ContentSource}by: <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource} {block:RebloggedFrom} &nbsp; via: <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}</div>
  696. {/block:PermalinkPage}
  697.  
  698. </div>
  699. {/block:Posts}
  700.  
  701. {block:PermalinkPage}
  702. {block:PostNotes}
  703. <div id="notes">{PostNotes}</div>
  704. {/block:PostNotes}
  705. {/block:permalinkpage}
  706.  
  707. <div id="pagination">
  708. {block:IndexPage}
  709. {block:Pagination}
  710. {block:PreviousPage}
  711. <a href="{PreviousPage}">&larr; regress</a>&nbsp;&nbsp;&nbsp;&nbsp;
  712. {/block:PreviousPage}
  713. {block:NextPage}
  714. <a href="{NextPage}">progress &rarr;</a>
  715. {/block:NextPage}
  716. {/block:Pagination}
  717. {/block:IndexPage}
  718. </div>
  719.  
  720. <div id="credit"><a href="http://aryasnark.tumblr.com"><img src="http://static.tumblr.com/ktebk5j/b3on1bt0e/logo.png" height="23"></a></div>
  721.  
  722. </div>
  723.  
  724. </div>
  725.  
  726. </body>
  727. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement