eliotwinchester

tstftheme

Nov 7th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.49 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- let me know if it all works ok <3 -->
  5. <meta name="color:Background" content="#2C3539" />
  6. <meta name="color:title" content="#c11b17"/>
  7. <meta name="color:post border" content="#c11b17"/>
  8. <meta name="color:description" content="#f0f0f0"/>
  9. <meta name="color:links" content="#af312e" />
  10. <meta name="color:text" content="#1d1818" />
  11. <meta name="color:sidebar background" content="#0a0303" />
  12. <meta name="color:sidebar links" content="#b9b8b8" />
  13. <meta name="color:sidebar links hover" content="#ffffff" />
  14. <meta name="color:sidebar text" content="#868484" />
  15. <meta name="color:Post color" content="#ffffff" />
  16. <meta name="color:header" content="#ffffff" />
  17.  
  18. <meta name="if:Infinite scroll" content="1"/>
  19.  
  20.  
  21. <meta name="image:header" content="" />
  22. <meta name="image:sidebar" content="" />
  23.  
  24. <meta charset="utf-8">
  25. <meta name="viewport" content="initial-scale=1.0, width=device-width" />
  26. <title>{Title}</title>
  27. <link rel="shortcut icon" href="{Favicon}">
  28. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  29. <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
  30. <style type="text/css">
  31. /*fonts*/
  32. @font-face{font-family:Marker;src:url(http://static.tumblr.com/9wzbixa/8R2mj3l1x/permanentmarker.ttf);}
  33. @font-face{font-family:Hand of Sean;src:url(http://static.tumblr.com/9wzbixa/RxLmj2j5g/handsean.ttf);}
  34. /*Basic styles*/
  35.  
  36. #content {
  37. margin: 2%;
  38. width: 75%;
  39. left:300px;
  40.  
  41. }
  42. body {
  43. background: {color:Background};
  44. color: {color:text};
  45. font-family: trebuchet ms;
  46. font-size: 11px;
  47. margin: 0;
  48. padding: 0;
  49. }
  50. a {
  51. color: {color:links};
  52. text-decoration: none;
  53. }
  54. blockquote {
  55. border-left: 2px solid rgba(0, 0, 0, 0.2);
  56. margin: 0;
  57. padding: 2%;
  58. }
  59.  
  60. iframe, img, embed, object, video {
  61. max-width: 100%;
  62. }
  63. /*Sidebar*/
  64. #sidebar {
  65. position:fixed;
  66. display:block;
  67. width:200px;
  68. height:100%;
  69. bottom:0px;
  70. padding:10px;
  71. background-color:{color:sidebar background};
  72.  
  73. }
  74.  
  75. #sidebarimg {
  76. margin-top:50px;
  77. }
  78.  
  79. #title {
  80. font-family:Marker;
  81. font-size:24px;
  82. font-weight:bold;
  83. text-align:center;
  84. line-height:20px;
  85. padding:10px;
  86. color:{color:title};
  87. }
  88.  
  89. #title a {
  90. color:{color:title};
  91. }
  92.  
  93. #title a:hover {
  94. color:{color:sidebar links hover};
  95. }
  96.  
  97. #nav {
  98. display:block;
  99. width:200px;
  100. text-align:center;
  101. font-size:15px;
  102. font-family:Hand of Sean;
  103. }
  104.  
  105. #nav a {
  106. color:{color:sidebar links};
  107. }
  108.  
  109. #nav a:hover {
  110. color:{color:sidebar links hover};
  111. }
  112. /*header*/
  113. #header {
  114. width:100%;
  115. margin-left:200px;
  116. margin-top:0px;
  117. height:300px;
  118. background:{color:header} url('{image:header}');
  119. }
  120.  
  121. #desc {
  122. width:150px;
  123. text-align:center;
  124. padding-top:10px;
  125. padding-bottom:10px;
  126. margin-left:auto;
  127. margin-right:auto;
  128. margin-top:0px;
  129. color:{color:description};
  130.  
  131. }
  132.  
  133. /*Article*/
  134. article {
  135. background: {color:Post color};
  136. border: 1px solid {color:post border};
  137. margin: 2px;
  138. padding: 3%;
  139. width:35%;
  140. }
  141. .chat span {
  142. float: left;
  143. margin-right: 1%;
  144. }
  145. /*Metadata*/
  146. .metadata {
  147. display: inline-block;
  148. width: 100%;
  149. }
  150. .notecount {
  151. float: right;
  152. }
  153. .reblogged {
  154. float: right;
  155. margin: 3% 0;
  156. width: 100%;
  157. }
  158. /*Tags and notes*/
  159. #tags, nav ul, .chat ul {
  160. list-style: none;
  161. list-style-image: none;
  162. margin: 0;
  163. padding: 0;
  164. }
  165. #tags li {
  166. float: left;
  167. margin-right: 1%;
  168. }
  169. .notes {
  170. clear: both;
  171. padding: 0;
  172. }
  173.  
  174. #credit {
  175. position:fixed;
  176. font-family:arial;
  177. bottom:0px;
  178. right:3px;
  179. font-size:12px;
  180. }
  181. /*Custom CSS*/
  182. {CustomCSS}
  183. </style>
  184. </head>
  185. <body>
  186. <!--header-->
  187. <div id="header"></div>
  188. <!--Sidebar-->
  189. <div id="sidebar">
  190. {block:IfsidebarImage}
  191. <div id="sidebarimg">
  192. <img src="{image:sidebar}" width="200px"/>
  193. </div>
  194. {/block:IfsidebarImage}
  195. <div id="title"><a href="/">{Title}</a></div>
  196. <div id="desc">{Description}</div>
  197. <div id="nav">
  198. <a href="/ask">Ask</a>
  199. <br>
  200. <a href="/submit">Submit</a>
  201. <br>
  202. {block:HasPages}
  203. {block:Pages}
  204. <a href="{URL}">{Label}</a>
  205. <br>
  206. {/block:Pages}
  207. {/block:HasPages}
  208. </div>
  209. </div>
  210.  
  211. <div id="credit"><a href="http://samiizekiel.tumblr.com">©</a></div>
  212. <!--Content holder-->
  213. <div id="content">
  214. {block:Posts}
  215. <article>
  216. <!--Metadata: date, note count-->
  217. <header class="metadata">
  218. {block:Date} <a href="{Permalink}"> <time datetime="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}">{DayOfMonth} {Month} {Year}</time> </a> {/block:Date}
  219.  
  220. {block:NoteCount} <a class="notecount" href="{Permalink}#notes">{NoteCountWithLabel}</a> {/block:NoteCount}
  221. </header>
  222. <!--Unique code for each post type-->
  223. {block:Text}
  224. <div class="text">
  225. {block:Title}<h1 class="title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  226. {Body}
  227. {/block:Text}
  228.  
  229. {block:Photo}
  230. <div class="photo">
  231. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag}
  232. {block:Caption}{Caption}{/block:Caption}
  233. {/block:Photo}
  234.  
  235. {block:Photoset}
  236. <div class="photoset">
  237. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  238. {block:PermalinkPage}{Photoset-700}{/block:PermalinkPage}
  239. {block:Caption}{Caption}{/block:Caption}
  240. {/block:Photoset}
  241.  
  242. {block:Quote}
  243. <div class="quote">
  244. <blockquote>{Quote}</blockquote>
  245. {block:Source}<cite> {Source} </cite>{/block:Source}
  246. {/block:Quote}
  247.  
  248. {block:Link}
  249. <div class="link">
  250. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  251. {block:Description}{Description}{/block:Description}
  252. {/block:Link}
  253.  
  254. {block:Chat}
  255. <div class="chat">
  256. <ul>
  257. {block:Lines}<li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label}<p> {Line} </p></li>{/block:Lines}
  258. </ul>
  259. {/block:Chat}
  260.  
  261. {block:Audio}
  262. <div class="audio">
  263. {block:TrackName}<h1 class="title"><a href="{Permalink}">{TrackName}</a></h1>{/block:TrackName}
  264. <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="100" height="100"/>{/block:AlbumArt}</div>
  265. <div class="player">{AudioPlayerBlack}</div>
  266. {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
  267. {block:Caption}{Caption}{/block:Caption}
  268. {/block:Audio}
  269.  
  270. {block:Video}
  271. <div class="video">
  272. <div class="video-player">{Video-500}</div>
  273. {block:Caption}{Caption}{/block:Caption}
  274. {/block:Video}
  275.  
  276. {block:Answer}
  277. <div class="answer">
  278. <h1 class="title">{Question}</h1>
  279. <div class="user"><img src="{AskerPortraitURL-96}"/><p>{Asker}</p></div>
  280. {Answer}
  281. {/block:Answer}
  282. </div>
  283. <footer class="details">
  284. {block:ContentSource}
  285. <div class="reblogged">
  286. <!--Content source-->
  287. <a href="{SourceURL}">{lang:Source}:{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}
  288. {block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}</a>
  289. </div>
  290. {/block:ContentSource}
  291.  
  292. <!--Tags and notes on displayed on permalink pages-->
  293. {block:HasTags}
  294. <ul id="tags">
  295. {block:Tags}<li> <a href="{TagURL}">#{Tag}</a> </li>{/block:Tags}
  296. </ul>
  297. {/block:HasTags}
  298. {block:Permalink}
  299. {block:PostNotes}
  300. <div id="notes">
  301. {PostNotes}
  302. </div>
  303. {/block:PostNotes}
  304. {/block:Permalink}
  305. </footer>
  306. </article>
  307. {/block:Posts}
  308. <!--Close of article-->
  309. </div>
  310. <!--Pagination: previous/next page links-->
  311. {block:Pagination}
  312. <div class="pagination">
  313. {block:PreviousPage}<a href="{PreviousPage}">Previous page</a>{/block:PreviousPage}
  314. {block:NextPage}<a href="{NextPage}">Next page</a>{/block:NextPage}
  315. </div>
  316. {/block:Pagination}
  317. <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
  318. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  319. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  320. {block:IfInfiniteScroll}
  321. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  322. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  323. {/block:IfInfiniteScroll}
  324. <!--Code for infinite scroll and grid layout-->
  325. <script>
  326. (function() {
  327. var $tumblelog = $('#content');
  328. {block:IfInfiniteScroll}
  329. $tumblelog.infinitescroll({
  330. navSelector : ".pagination",
  331. nextSelector : ".pagination a:first",
  332. itemSelector : "article",
  333. bufferPx : 50,
  334. done : "",
  335. loading: {
  336. img : "",
  337. msgText: ""
  338. },
  339. },
  340. function( newElements ) {
  341. var $newElems = $( newElements ).css({ opacity: 0 });
  342. $newElems.imagesLoaded(function(){
  343. $newElems.animate({ opacity: 1 });
  344. $tumblelog.masonry( 'appended', $newElems);
  345. });
  346. }
  347. );
  348. {/block:IfInfiniteScroll}
  349. $tumblelog.imagesLoaded( function(){
  350. $tumblelog.masonry({
  351. columnWidth: function( containerWidth ) {
  352. return containerWidth / 100;
  353. }
  354. });
  355. });
  356. })();
  357. </script>
  358. <!--For users adding Google Analytics ID-->
  359. <script>
  360. var _gaq=[['_setAccount','{text:Google Analytics ID}'],['_trackPageview']];
  361. (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
  362. g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  363. s.parentNode.insertBefore(g,s)}(document,'script'));
  364. </script>
  365. </body>
  366. </html>
Advertisement
Add Comment
Please, Sign In to add comment