Advertisement
naitive

DEER THEME by naitive

Feb 10th, 2013
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.28 KB | None | 0 0
  1. <!--
  2.  
  3. ------------------
  4. D E E R T H E M E
  5. ------------------
  6.  
  7. DO NOT REMOVE THE CREDIT OR YOU'LL BE REPORTED
  8.  
  9. ORIGINAL THEME: FAWN V2 BY SUNRISEN (SUNRISENTHEMES)
  10. EDITED BY: NAITIVE
  11.  
  12. INCLUDES MANY COLOR OPTIONS, FOUR CUSTOM LINKS, INFINITE SCROLLING, FIXED HEADER, AND MORE. ENJOY!
  13.  
  14. -->
  15. <html lang="en">
  16. <head>
  17.  
  18. </script><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  19.  
  20. <script type="text/javascript">if(location.href == 'http://naitive.tumblr.com/ask')
  21. location.replace('http://{Name}.tumblr.com/message');;</script>
  22.  
  23. <html xmlns="http://www.w3.org/1999/xhtml">
  24. <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# blog: http://ogp.me/ns/blog#">
  25. <script type="text/javascript"
  26. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  27.  
  28. <title>{Title}</title>
  29.  
  30. <link rel="shortcut icon" href="{Favicon}">
  31.  
  32. <meta name="font:sidebar" content=""/>
  33. <meta name="font:links" content="courier new"/>
  34. <meta name="font:posts" content=""/>
  35.  
  36. <meta name="color:background" content="#ffffff"/>
  37. <meta name="color:header background" content="#ffffff;"/>
  38. <meta name="color:text" content="#000000"/>
  39. <meta name="color:link" content-"#000000"/>
  40. <meta name="color:hover" content="#ffffff"/>
  41.  
  42. <meta name="text:link one" content=""/>
  43. <meta name="text:link one title" content=""/>
  44. <meta name="text:link two" content=""/>
  45. <meta name="text:link two title" content=""/>
  46. <meta name="text:link three" content=""/>
  47. <meta name="text:link three title" content=""/>
  48. <meta name="text:link four" content=""/>
  49. <meta name="text:link four title" content=""/>
  50.  
  51. <style type="text/css">
  52.  
  53. ::-webkit-scrollbar-thumb:vertical{
  54. background-color:#C2C8CF;
  55. -moz-border-radius:10px;
  56. -webkit-border-radius:10px;
  57. }
  58.  
  59. #tumblr_controls{
  60. position:fixed !important;
  61. }
  62.  
  63. .wrapper{
  64. width:1000px;
  65. margin:0px auto;
  66. }
  67.  
  68. ::-webkit-scrollbar {width: 6px; height: 4px; background: #d8d8d8; }
  69. ::-webkit-scrollbar-thumb { background-color: #130C11;}
  70.  
  71. body{
  72. margin:0px;
  73. background-attachment: fixed;
  74. background-repeat: repeat;
  75. background-color:{color:background};
  76. background-attachment: fixed;
  77. background-repeat: repeat;
  78. font-size: 11px;
  79. font-family: courier;
  80. line-height:11px;
  81. color: {color:text};
  82. }
  83.  
  84. a:link, a:active, a:visited{
  85. color: {color:link};
  86. text-decoration: none;
  87. -webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;
  88. }
  89.  
  90. a:hover{
  91. color: {color:hover};
  92. -webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;
  93. }
  94.  
  95. .entry {
  96. margin:8px;
  97. padding: 10px;
  98. float:left;
  99. background-color:transparent;
  100. {block:indexpage}
  101. width:150px;
  102. {/block:indexpage}
  103. {block:permalinkpage}
  104. width:600px;
  105. {/block:permalinkpage}
  106. background:transparent;
  107. padding-bottom: 7px;
  108. font-family:{font:posts};
  109. font-size: 10px;
  110. line-height:14px;
  111. border:1px solid {color:background};
  112. }
  113.  
  114. .entry:hover{
  115. -webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;
  116. }
  117.  
  118. .perma {position:absolute; text-decoration:none; margin-top:0px; margin-left:19px; padding:4px; background:#fff; opacity:0; -webkit-transition: 0.3s ease-in;z-index:10;font-family:{font:posts};color:{color:text};width:auto;text-align:center;}
  119. .perma a {text-decoration:none;text-transform:uppercase;}
  120. .entry:hover .perma {-webkit-transition: 0.3s ease-in; position:absolute; margin-top:0px; padding:4px; background:#fff; opacity:.9;}
  121.  
  122. .perma2 {position:absolute; text-decoration:none; margin-top:0px; margin-left:38px; padding:4px; background:#fff; opacity:0; -webkit-transition: 0.3s ease-in;z-index:10;font-family:{font:posts};color:{color:link};width:auto;text-align:center;}
  123. .perma2 a {text-decoration:none;text-transform:uppercase;}
  124. .entry:hover .perma2 {-webkit-transition: 0.3s ease-in; position:absolute; margin-top:0px; padding:4px; background:#fff; opacity:.9;}
  125.  
  126. .perma3 {position:absolute; text-decoration:none; margin-top:0px; margin-left:0px; padding:4px; background:#fff; opacity:0; -webkit-transition: 0.3s ease-in;z-index:10;font-family:{font:posts};color:{color:link};width:auto;text-align:center;}
  127. .perma3 a {text-decoration:none;text-transform:uppercase;}
  128. .entry:hover .perma3 {-webkit-transition: 0.3s ease-in; position:absolute; margin-top:0px; padding:4px; background:#fff; opacity:.9;}
  129.  
  130. .perm {
  131. margin:0px;
  132. text-align:center;
  133. padding:0px;
  134. padding-bottom:5px;
  135. opacity:0;
  136. font-family:{font:posts};
  137. -moz-transition: all 0.6s ease-out;
  138. -o-transition: all 0.6s ease-out;
  139. -webkit-transition: all 0.6s ease-out;
  140. transition: all 0.6s ease-out;
  141. }
  142.  
  143. .entry:hover .perm{
  144. opacity: 1;
  145. }
  146.  
  147. #sidebar{
  148. opacity:0.8;
  149. background:{color:header background};
  150. margin-top: 0px;
  151. overflow:hidden;
  152. font-family:{font:sidebar};
  153. font-size: 10px;
  154. padding-top:0px;
  155. width: 100%;
  156. margin:auto;
  157. text-align:center;
  158. padding: 10px;
  159. height:auto;
  160. z-index:100;
  161. position:fixed;
  162. -webkit-transition: 0.3s ease-in;
  163. }
  164. #sidebar:hover{
  165. opacity:0.9;
  166. -webkit-transition: 0.2s ease-in;
  167. }
  168.  
  169. #posts {
  170. width:900px;
  171. margin-left:130px;
  172. background: transparent;
  173. padding-left: 2px;
  174. padding-right: 2px;
  175. padding-top:110px;
  176. margin-top:20px;
  177. float:left;
  178. }
  179.  
  180. .img{{block:ifimagefade}opacity:0.7;background-color:white;{/block:ifimagefade}-webkit-transition: all .6s ease-out;-moz-transition: all .6s ease-out;transition: all .6s ease-out;}
  181.  
  182. .img:hover{opacity:1;}
  183.  
  184. #infscr-loading{
  185. bottom: -70px;
  186. position: absolute;
  187. left: 50%;
  188. margin-left:-8px;
  189. width:16px;
  190. height:11px;
  191. overflow:hidden;
  192. margin-bottom: 50px;
  193. }
  194.  
  195. .title{
  196. font-family:{font:sidebar};
  197. font-size: 13px;
  198. line-height:15px;
  199. color: ;
  200. text-transform:uppercase;
  201. font-weight: ;
  202. }
  203.  
  204. blockquote{
  205. padding:0px 0px 2px 5px;
  206. margin:0px 0px 2px 10px;
  207. border-left: 1px dotted #555555;
  208. }
  209.  
  210. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  211. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  212. .user_7 .label, .user_8 .label, .user_9 .label {color:#130C11;}
  213. .notes img{width:10px; position:relative; top:3px;}
  214.  
  215. .blogtitle{
  216. {block:iftitlefont}
  217. font-family:permanent marker;
  218. {/block:iftitlefont}
  219. {block:ifnottitlefont}
  220. font-family: courier new;
  221. {/block:ifnottitlefont}
  222. font-size:35px;
  223. text-transform:uppercase;
  224. color: {color:link};
  225. line-height: 40px;
  226. }
  227.  
  228. .nav{font-family:{font:links};font-size:11px;text-transform:uppercase;text-align:center;float:center;background{color:background};padding:5px;-webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;}
  229. .nav:hover{-webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;}
  230. .nav:hover a:hover{color:#ffffff;-webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;transition: all 0.2s ease-out;}
  231.  
  232. </style>
  233. <style>
  234. .my-like {text-align:left;
  235. float:left
  236. display:inline-block;
  237. cursor:pointer;-webkit-transition-duration:0.95s;
  238. }
  239. .my-like:hover {
  240. color:red;
  241. cursor:pointer;
  242. }
  243. .my-liked{color:#a30100;}
  244. </style>
  245. <script>
  246. window.onload = function () {
  247. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  248. document.addEventListener( 'click', function ( event ) {
  249. var myLike = event.target;
  250. if( myLike.className.indexOf( 'my-like' ) > -1 ) {
  251. var frame = document.getElementById( 'my-like-frame' ),
  252. liked = ( myLike.className == 'my-liked' ),
  253. command = liked ? 'unlike' : 'like',
  254. reblog = myLike.getAttribute( 'data-reblog' ),
  255. id = myLike.getAttribute( 'data-id' ),
  256. oauth = reblog.slice( -8 );
  257. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  258. liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
  259. };
  260. }, false );
  261. };
  262. </script>
  263. <link href='http://fonts.googleapis.com/css?family=Permanent+Marker' rel='stylesheet' type='text/css'>
  264. <div style="display:block;bottom:5px;right:3px;font-size:10px;font-family:{font:links};position:fixed;background-color:#ddd;padding:3px;border-radius:2px;z-index:5;opacity:0.9;z-index:9999999999999999999999999999999999999;"><a href="http://sunrisen.tumblr.com/">theme by ollie</a><p><a href="http://naitive.tumblr.com/">tweaked by katie</a></div>
  265. {block:IndexPage}
  266. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  267. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  268.  
  269. <script type="text/javascript">
  270. $(window).load(function () {
  271. var $content = $('#posts');
  272. $content.masonry({itemSelector: '.entry'}),
  273. $content.infinitescroll({
  274. navSelector : 'div#pagination',
  275. nextSelector : 'div#pagination a#nextPage',
  276. itemSelector : '.entry',
  277. loading: {
  278. finishedMsg: '',
  279. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  280. },
  281. bufferPx : 600,
  282. debug : false,
  283. },
  284. // call masonry as a callback.
  285. function( newElements ) {
  286. var $newElems = $( newElements );
  287. $newElems.hide();
  288. // ensure that images load before adding to masonry layout
  289. $newElems.imagesLoaded(function(){
  290. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  291. });
  292. });
  293. });
  294. </script>
  295.  
  296. {/block:IndexPage}
  297.  
  298. <meta name="viewport" content="width=800" />
  299.  
  300. </head>
  301. <body>
  302.  
  303. <div id="sidebar">
  304. <div class="blogtitle"><a href="/">{Title}</a></div><br><b>
  305. <a href="/" class="nav">home</a> <a href="/ask" class="nav">message</a> {block:iflinkonetitle}<a href="{text:link one}" class="nav">{text:link one title}</a>{/block:iflinkonetitle} {block:iflinktwotitle}<a href="{text:link two}" class="nav">{text:link two title}</a>{/block:iflinktwotitle} {block:iflinkthreetitle}<a href="{text:link three}" class="nav">{text:link three title}</a>{/block:iflinkthreetitle} {block:iflinkfourtitle}<a href="{text:link four}" class="nav">{text:link four title}</a>{/block:iflinkfourtitle}</b> <br><br>
  306. {description}
  307. </div></div>
  308. <div class="wrapper">
  309. <div id="posts">
  310.  
  311. {block:Posts}
  312. <div class="entry">
  313.  
  314. {block:Text}
  315. {block:IndexPage}
  316. {/block:IndexPage}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="entrytext">{Body}</span>
  317. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  318. {/block:Text}
  319.  
  320. {block:Link}
  321. {block:IndexPage}
  322. {/block:IndexPage}<a href="{URL}" class="title">{Name}</a>
  323. {block:Description}{Description}{/block:Description}
  324. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  325. {block:Link}
  326.  
  327. {block:Photo}
  328. {block:IndexPage}
  329. <div class="perma"><a href="{reblogurl}" target="_blank"><img src="http://static.tumblr.com/7qdgtio/MZSmcq8xk/reblog-ut.png" height="10"></a></div>
  330. <div class="perma2"><a href="{permalink}">{notecount}</a></div>
  331. <div class="perma3"><div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like">♥</div></div>
  332. {/block:IndexPage}
  333. {block:IndexPage}{LinkOpenTag}<div class="img"><div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="150"/></a></div></div>{LinkCloseTag}{/block:IndexPage}
  334. {block:PermalinkPage}{LinkOpenTag}<a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="600px"/></a>{LinkCloseTag}{/block:PermalinkPage}
  335. {/block:Photo}
  336.  
  337.  
  338. {block:Photoset}
  339. <center>
  340. {block:IndexPage}
  341. {Photoset-205}
  342. {block:IndexPage}
  343. {/block:IndexPage}
  344. </center>
  345. <center>{block:PermalinkPage}{Photoset-410}{/block:PermalinkPage}</center>
  346. {/block:Photoset}
  347.  
  348. {block:Quote}
  349. {block:IndexPage}
  350. {/block:IndexPage}
  351. {Quote}</span>
  352. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  353. {/block:Quote}
  354.  
  355. {block:Chat}
  356. {block:IndexPage}
  357. {/block:IndexPage}
  358. {block:Title}<span class="title">{Title}</span>{/block:Title}
  359. <ul class="chat">
  360. {block:Lines}
  361. <li class="user_{UserNumber}">
  362. {block:Label}
  363. <span class="label">{Label}</span>
  364. {/block:Label}
  365.  
  366. {Line}
  367. </li>
  368. {/block:Lines}
  369. </ul>
  370. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  371. {/block:Chat}
  372.  
  373. {block:Audio}
  374. {block:IndexPage}
  375. {/block:IndexPage}
  376. <center><div style="width:150px; height:28px;overflow-y:auto;"><div style="float:left">{AudioPlayerBlack}</div><div style="margin-top:10px; float:right;">
  377. {block:ExternalAudio}{/block:ExternalAudio}</div></div></center>
  378. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  379. {/block:Audio}
  380.  
  381. {block:Video}
  382. {block:IndexPage}
  383. {/block:IndexPage}
  384. <center>
  385. {block:IndexPage}
  386. {Video-250}
  387. {/block:IndexPage}
  388. </center>
  389. <center>{block:PermalinkPage}{Video-500}{/block:PermalinkPage}</center>
  390. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a> / <a href="{ReblogURL}">REBLOG</a></div>{/block:IndexPage}
  391. {block:Video}
  392.  
  393. {block:Answer}
  394. {block:IndexPage}
  395. {/block:IndexPage}
  396. <img src="{AskerPortraitURL-30}" width="30" align="left" style="margin-right:3px;"/>
  397. <b>{Asker}</b>: <b>{Question}</b>{Answer}
  398. {block:IndexPage}<div class="perm"><a href="{Permalink}">{NoteCount}</a></div>{/block:IndexPage}
  399. {/block:Answer}
  400.  
  401.  
  402. {block:PermalinkPage}
  403. {block:Date}
  404. <center>
  405. {TimeAgo} | {12HourWithZero}:{Minutes}{AmPm}
  406. <br>{block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}</center>
  407. {/block:Date}
  408.  
  409. {/block:PermalinkPage}
  410.  
  411. {block:PostNotes}{PostNotes}
  412. {/block:PostNotes}
  413. </div>
  414.  
  415.  
  416. {/block:Posts}
  417. </div>
  418. </div>
  419. <div class="right">
  420. </div>
  421. <div class="footer">
  422. <br>
  423. </div>
  424. </div>
  425. </body>
  426. </html>
  427. <div style="position:fixed;right:0px;bottom:-425px;">
  428. <---DONT REMOVE---->
  429. {block:IndexPage}
  430. {block:Pagination}
  431. <div id="pagination">
  432. {block:NextPage}
  433. <a id="nextPage" href="{NextPage}">&nbsp;&rarr;</a>
  434. {/block:NextPage}
  435. {block:PreviousPage}
  436. <a href="{PreviousPage}">&larr;&nbsp;</a>
  437. {/block:PreviousPage}
  438. </div>
  439. {/block:Pagination}
  440. {/block:IndexPage}</div></div>
  441. </body>
  442. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement