atonalsthemes

Fatals Theme

Jul 10th, 2012
1,521
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.77 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
  2. <head>
  3. <!--
  4. Fatals Theme
  5. Creator: Kelsey @ http://www.atonals.tumblr.com
  6. This text should never be deleted, nor should the credit link placed in the theme code.
  7.  
  8. credits to:
  9. http://masonry.desandro.com/docs/methods.html
  10. -->
  11.  
  12. <title>{Title}</title>
  13.  
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  16. {block:Description}
  17. <meta name="description" content="{MetaDescription}" />
  18. {/block:Description}
  19.  
  20. <meta name="color:text" content="#3c3c3c"/>
  21. <meta name="color:links" content="#000000"/>
  22. <meta name="color:link hover" content="#dddddd"/>
  23. <meta name="color:background" content="#ffffff"/>
  24. <meta name="if:endless scroll" content="0" />
  25. <meta name="if:show captions" content="0"/>
  26. <meta name="text:blogtitle size" content="25" />
  27. <meta name="text:text size" content="12" />
  28.  
  29. <meta name="font:body" content="baskerville" />
  30. <meta name="font:title" content="Baskerville" />
  31.  
  32. <script src="http://masonry.desandro.com/js/jquery-1.7.1.min.js"></script>
  33. <script src="http://masonry.desandro.com/jquery.masonry.min.js"></script>
  34. {block:ifendlessscroll}<script src="http://masonry.desandro.com/js/jquery.infinitescroll.min.js">
  35. </script>{/block:ifendlessscroll}
  36.  
  37.  
  38.  
  39. <style type="text/css">
  40.  
  41. iframe#tumblr_controls {
  42. top: 0% !important;
  43. right:0% !important;
  44. position: absolute !important;}
  45.  
  46. body {background: {color:background};font-family: {font:body};font-size: {text:text size}px;color: {color:Text};line-height:15px;text-align:justify;}
  47.  
  48. a:hover {color: {color:link hover};-webkit-transition-duration: .5s;}
  49. a {color: {color:Links};text-decoration: none;-webkit-transition-duration: .5s;}
  50.  
  51. .caption {margin-top:5px;margin-bottom:5px;text-align:left;}
  52. .title {font-size:{text:blogtitle size}px; text-transform:uppercase;}
  53. .content{width:540px;margin-top:20px;margin:auto;}
  54.  
  55.  
  56. .post{margin:10px;width:250px; font-size:{text:text size}px;position:absolute;{block:permalinkpage}width:500px;{/block:permalinkpage}}
  57.  
  58. .audio {background-color:#000000;width:250px;}
  59.  
  60. ::-webkit-scrollbar-thumb:vertical { background-color:{color:Text}; height:100px; }
  61. ::-webkit-scrollbar-thumb:horizontal { background-color:{color:background}; height:10px !important; }
  62. ::-webkit-scrollbar { height:10px; width:10px; background-color:{color:background}; }
  63.  
  64.  
  65. .permalink {text-align:right;}
  66. .notetitle {padding-left:14px;text-transform:none;padding-bottom:10px; text-align:left;}
  67. .notes {margin-top:-4px; margin-bottom:25px; text-align:left;margin-left:-10px;}
  68. ol.notes li.note {padding:5px;}
  69. ol.notes {max-height: 250px;width:480px; overflow: auto;}
  70. img.avatar {display: none;}
  71.  
  72.  
  73. .blogtitle {font-style:italic;font-size:{text:blogtitle size}px; font-family:{font:title}; text-align:left;display:inline-block;}
  74. .header {margin:auto;width:550px;line-height:20px;padding-left:30px;}
  75.  
  76. .sidebar {margin:auto;margin-left:-160px;top:10px;width:150px;position:fixed;background-color:{color:background};
  77. }
  78.  
  79. .tumblrAutoPager_page_info, .tumblrAutoPager_page_separator {display:none;}
  80. #infscr-loading {opacity:0;}
  81.  
  82. .navigation{{block:ifendlessscroll}display:none;{/block:ifendlessscroll}{block:ifnotendlessscroll}font-style:italic;{/block:ifnotendlessscroll}}
  83. {CustomCSS}
  84. </style>
  85.  
  86. <script>
  87. $(function(){
  88. var $container = $('.content');
  89. $container.imagesLoaded(function(){
  90. $container.masonry({
  91. itemSelector: '.post'
  92. });
  93. });
  94. $container.infinitescroll({
  95. navSelector : '.navigation',
  96. nextSelector : '.navigation a#next',
  97. itemSelector : '.post',
  98. animate:false,
  99. donetext: "No more posts to load" ,},
  100. function( newElements ) {
  101. var $newElems = $( newElements ).css({ opacity: 0 });
  102. $newElems.imagesLoaded(function(){
  103. $newElems.animate({ opacity: 1 });
  104. $container.masonry( 'appended', $newElems );
  105. });
  106. });
  107. });
  108. </script>
  109. </head>
  110. <body>
  111. <div class="header">
  112. <div class="blogtitle">
  113. <a href="/">{Title}</a></div> /
  114. <a href="/ask">message</a>&nbsp;<a href="/archive">archive</a>&nbsp;{block:HasPages}{block:Pages}<a href="{URL}">{Label}</a>&nbsp;{/block:Pages}{/block:HasPages}<a href="http://atonals.tumblr.com">theme</a>
  115. </div>
  116.  
  117.  
  118. <div class="content">
  119. <div class="sidebar">
  120. {block:description}{description}<p>{/block:description}<div class="navigation">{block:Pagination}{block:NextPage}<p id="page_nav"><a href="{NextPage}" id="next">older</a>{/block:NextPage}{block:PreviousPage} // <a href="{PreviousPage}">newer</a></p>{/block:PreviousPage}{/block:Pagination}</div></div>
  121.  
  122.  
  123.  
  124. {block:Posts}
  125.  
  126. {block:Text}
  127. <div class="post">
  128. {block:Title}<div class="title">{Title}</div>{/block:Title}
  129. {Body}
  130. {block:IndexPage}<div class="permalink"><a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a></div>
  131. {/block:IndexPage}
  132.  
  133. {block:permalinkpage}<div class="notetitle">{block:caption}{Caption}{/block:caption}
  134. Posted {TimeAgo} with {NoteCount} Notes
  135. {block:HasTags}{block:Tags}<br><a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  136.  
  137. <div class="notes">
  138. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  139. {/block:PermalinkPage}
  140.  
  141. </div>
  142. {/block:Text}
  143.  
  144.  
  145. {block:Photo}
  146. <div class="post"align="center">
  147. {block:IndexPage}
  148. <a href="{Permalink}">
  149. <img src="{PhotoURL-250}" alt="{PhotoAlt}" />
  150. {block:ifshowcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifshowcaptions}{/block:IndexPage}</a>
  151.  
  152. {block:PermalinkPage}
  153. <img src="{PhotoURL-500}" alt="{PhotoAlt}" width="500"/><div class="notetitle">{block:caption}{Caption}{/block:caption}
  154. Posted {TimeAgo} with {NoteCount} Notes
  155. {block:HasTags}{block:Tags}<br><a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  156.  
  157. <div class="notes">
  158. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  159. {/block:PermalinkPage}
  160.  
  161.  
  162. </div>
  163. {/block:Photo}
  164.  
  165.  
  166. {block:Photoset}
  167. <div class="post">
  168. {photoset-250}
  169. {block:ifshowcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifshowcaptions}
  170. {/block:IndexPage}
  171.  
  172. {block:IndexPage}<div class="permalink"><a href="{Permalink}"><br>{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a></div>{/block:IndexPage}
  173.  
  174. {block:permalinkpage}<div class="notetitle">{block:caption}{Caption}{/block:caption}
  175. Posted {TimeAgo} with {NoteCount} Notes
  176. {block:HasTags}{block:Tags}<br><a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  177.  
  178. <div class="notes">
  179. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  180. {/block:PermalinkPage}
  181. </div>
  182.  
  183. {/block:Photoset}
  184.  
  185. {block:Quote}
  186. <div class="post">
  187. {Quote}{block:Source}<br>written by <i>{Source}</i>{/block:Source}
  188. {block:IndexPage}<div class="permalink"><a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a></div>{/block:IndexPage}
  189. {block:permalinkpage}<div class="notetitle">{block:caption}{Caption}{/block:caption}
  190. Posted {TimeAgo} with {NoteCount} Notes
  191. {block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  192.  
  193. <div class="notes">
  194. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  195. {/block:PermalinkPage}
  196. </div>
  197. {/block:Quote}
  198.  
  199. {block:Link}
  200. <div class="post">
  201. <div class="title"><a href="{URL}">{Name}</a></div>
  202. {block:Description}{Description}{/block:Description}
  203. {block:IndexPage}<div class="permalink"><a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a></div>
  204. {/block:IndexPage}
  205. </div>
  206. {/block:Link}
  207.  
  208. {block:Chat}
  209. <div class="post">
  210. {block:Title}<b>{Title}</b>{/block:Title}
  211. {block:Lines}{block:Label}<b>{Label}</b> "{Line}"<br>{/block:Label}{/block:Lines}
  212. {block:IndexPage}<div class="permalink"><a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a></div>
  213. {/block:IndexPage}
  214. {block:permalinkpage}<div class="notetitle">{block:caption}{Caption}{/block:caption}
  215. Posted {TimeAgo} with {NoteCount} Notes
  216. {block:HasTags}{block:Tags}<br><a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  217.  
  218. <div class="notes">
  219. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  220. {/block:PermalinkPage}
  221. </div>
  222. {/block:Chat}
  223.  
  224. {block:Video}
  225. <div class="post">
  226. {video-250}
  227. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifshowcaptions}
  228. </div>{/block:Video}
  229.  
  230. {block:Audio}
  231. <div class="post">
  232. <div class="audio">
  233. {AudioPlayerBlack}</div>
  234. {Caption}
  235. {block:IndexPage}<div class="permalink"><a href="{Permalink}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a>
  236. </div>{/block:IndexPage}
  237. {block:permalinkpage}<div class="notetitle">{block:caption}{Caption}{/block:caption}
  238. Posted {TimeAgo} with {NoteCount} Notes
  239. {block:HasTags}{block:Tags}<br><a href="{TagURL}">#{Tag}&nbsp;</a>{/block:Tags}{/block:HasTags}</div>
  240.  
  241. <div class="notes">
  242. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  243. {/block:PermalinkPage}
  244. </div>
  245. {/block:Audio}
  246.  
  247.  
  248.  
  249.  
  250. {/block:Posts}
  251.  
  252. </div>
  253. </body>
  254. </html>
Advertisement
Add Comment
Please, Sign In to add comment