Advertisement
ogaraster

Diamond Theme v.2

Feb 2nd, 2013
1,538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.14 KB | None | 0 0
  1. <!--
  2.  
  3. Theme by Vertexx (prev. F-unction)
  4.  
  5. Please don't remove credit or use as a base code unless you've messaged me!
  6.  
  7. -->
  8.  
  9. <head>
  10.  
  11. <link rel="shortcut icon" href="{Favicon}">
  12.  
  13. <link href='http://fonts.googleapis.com/css?family=Quicksand|lato:300|Arvo' rel='stylesheet' type='text/css'>
  14.  
  15. {block:IndexPage}
  16.  
  17. <script type="text/javascript"
  18. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  19.  
  20. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  21.  
  22. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  23. <script type="text/javascript">
  24. $(window).load(function () {
  25. var $content = $('#content');
  26. $content.masonry({itemSelector: '.entry'}),
  27. $content.infinitescroll({
  28. navSelector : 'div#pagination',
  29. nextSelector : 'div#pagination a#nextPage',
  30. itemSelector : '.entry',
  31. loading: {
  32. finishedMsg: '',
  33. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  34. },
  35. bufferPx : 600,
  36. debug : false,
  37. },
  38. // call masonry as a callback.
  39. function( newElements ) {
  40. var $newElems = $( newElements );
  41. $newElems.hide();
  42. // ensure that images load before adding to masonry layout
  43. $newElems.imagesLoaded(function(){
  44. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  45. {/block:IndexPage}
  46.  
  47. <meta name="color:background" content="#ffffff" />
  48. <meta name="color:text" content="#000" />
  49. <meta name="color:title" content="#000" />
  50. <meta name="color:link" content="#a3a3a3" />
  51. <meta name="color:link hover" content="#eee" />
  52. <meta name="color:scrollbar" content="#000" />
  53. <meta name="color:permalinks" content="#ffffff">
  54. <meta name="color:perma border" content="#a3a3a3">
  55.  
  56. <meta name="if:lato font" content="">
  57. <meta name="if:quicksand font" content="1">
  58. <meta name="if:arvo font" content="">
  59.  
  60. <meta name="text:reblog" content="share">
  61. <meta name="text:home" content="refresh">
  62. <meta name="text:message" content="mailbox">
  63. <meta name="text:links" content="links">
  64. <meta name="text:archive" content="index">
  65. <meta name="text:separator" content="-">
  66.  
  67. <meta name="image:background" content="" />
  68.  
  69. <style type="text/css">
  70.  
  71.  
  72. ::-webkit-scrollbar {width: 3px; height: 0px; background:{color:background};}
  73. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  74.  
  75. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  76.  
  77. body {
  78. background-color: {color:background};
  79. background-image:url({image:Background});
  80. background-attachment: fixed;
  81. background-repeat: repeat;
  82. font-size:12px;
  83.  
  84. {block:ifarvofont}
  85. font-family: Arvo;
  86. {/block:ifarvofont}
  87.  
  88. {block:iflatofont}
  89. font-family: lato;
  90. {/block:iflatofont}
  91.  
  92. {block:ifquicksandfont}
  93. font-family: quicksand;
  94. {/block:ifquicksandfont}
  95.  
  96. line-height:14px;
  97. text-transform:none;
  98. color: {color:text};
  99. }
  100.  
  101. #nav{
  102. position:static;
  103. margin-left:110px;
  104. width:1000px;
  105. text-align:center;
  106. }
  107.  
  108. #navlinks{
  109. font-size:20px;
  110. line-height:24px;
  111. letter-spacing:1px;
  112. text-align:center;
  113. text-decoration:lowercase;
  114. text-shadow:none;
  115. -moz-transition: all 0.4s ease-in-out;
  116. -webkit-transition: all 0.4s ease-in-out;
  117. -o-transition: all 0.4s ease-in-out;
  118. -ms-transition: all 0.4s ease-in-out;
  119. transition: all 0.4s ease-in-out;
  120. }
  121.  
  122. .description{
  123. font-size:14px;
  124. line-height:16px;
  125. }
  126.  
  127. .verticaltitle {
  128. position:fixed;
  129. left:-205px;
  130. top:400px;
  131. font-size:40px;
  132. line-height:44px;
  133. height:44px;
  134. width:800px;
  135. -webkit-transform:rotate(-90deg);
  136. -moz-transform:rotate(-90deg);
  137. -o-transform: rotate(-90deg);
  138. }
  139.  
  140. .answer{
  141. }
  142. .answer img {
  143. width:250px;
  144. height:auto;
  145. {block:permalinkpage}
  146. width:auto;
  147. height:auto;
  148. {/block:permalinkpage}
  149. }
  150.  
  151. a {
  152. text-decoration:none;
  153. color:{color:link};
  154. -webkit-transition: all 0.4s linear;
  155. -moz-transition: all 0.4s linear;
  156. transition: all 0.4s linear;
  157. }
  158.  
  159. a:link, a:active, a:visited{
  160. color: {color:link};
  161. }
  162.  
  163. a:hover{
  164. color: {color:link hover};
  165. }
  166.  
  167. div#center{
  168. margin-left: 0px;
  169. width: 100%;
  170. height: auto;
  171. overflow-x:hidden;
  172. }
  173.  
  174. div#content {
  175. width: 1050px;
  176. margin-left:200px;
  177. margin-top:50px;
  178. float:left;
  179. position: relative;
  180. }
  181.  
  182. .entry{
  183. margin:30px;
  184. float:left;
  185. height:auto;
  186. background-color: #trans;
  187. {block:IndexPage}
  188. width:200px;
  189. overflow:hidden;
  190. {/block:IndexPage}
  191. {block:PermalinkPage}
  192. width:300px;
  193. height:auto;
  194. {/block:PermalinkPage}
  195. -moz-transition: all 0.4s ease-in-out;
  196. -webkit-transition: all 0.4s ease-in-out;
  197. -o-transition: all 0.4s ease-in-out;
  198. -ms-transition: all 0.4s ease-in-out;
  199. transition: all 0.4s ease-in-out;
  200. }
  201.  
  202. .entry:hover{
  203. transform: scale(1.1);
  204. -ms-transform: scale(1.1);
  205. -webkit-transform: scale(1.1);
  206. -o-transform: scale(1.1);
  207. -moz-transform: scale(1.1);
  208. -moz-transition: all 0.4s ease-in-out;
  209. -webkit-transition: all 0.4s ease-in-out;
  210. -o-transition: all 0.4s ease-in-out;
  211. -ms-transition: all 0.4s ease-in-out;
  212. transition: all 0.4s ease-in-out;
  213. }
  214.  
  215. .title{
  216. font-size:20px;
  217. line-height:28px;
  218. text-transform:normal;
  219. color: {color:title};
  220. }
  221.  
  222. blockquote{
  223. padding:0px 0px 0px 3px;
  224. margin:0px 0px 0px 2px;
  225. border-left: 2px solid #ddd;
  226. }
  227.  
  228. .entry .perma{
  229. position:absolute;
  230. background:{color:permalinks};
  231. border:2px solid {color:perma border};
  232. border-radius:10px;
  233. left: 5px;
  234. top:-100px;
  235. overflow:hidden;
  236. text-align:center;
  237. opacity: 0;
  238. -webkit-transition: all 0.4s linear;
  239. -webkit-transition: all 0.4s linear;
  240. -moz-transition: all 0.4s linear;
  241. transition: all 0.4s linear;
  242. }
  243.  
  244. .entry:hover .perma{
  245. left: 5px;
  246. top:-7px;
  247. width:auto;
  248. height:auto;
  249. padding:5px;
  250. padding-top:7px;
  251. overflow:hidden;
  252. opacity: .9;
  253. -webkit-transition: all 0.4s linear;
  254. -webkit-transition: all 0.4s linear;
  255. -moz-transition: all 0.4s linear;
  256. transition: all 0.4s linear;
  257. }
  258.  
  259. #logo{
  260. position:fixed;
  261. bottom:-40px;
  262. right:25px;
  263. border:1px solid;
  264. border-color:#e8e8e8;
  265. border-radius:7px;
  266. padding-top:4px;
  267. padding-left:7px;
  268. padding-right:7px;
  269. padding-bottom:40px;
  270. -webkit-transition: all .4s ease;
  271. -moz-transition: all .4s ease;
  272. -o-transition: all .4s ease;
  273. transition: all .4s ease;
  274. z-index:99999999999;
  275. }
  276.  
  277. #logo:hover{
  278. position:fixed;
  279. bottom:-10px;
  280. -webkit-transition: all .4s ease;
  281. -moz-transition: all .4s ease;
  282. -o-transition: all .4s ease;
  283. transition: all .4s ease;
  284. }
  285.  
  286. .separator{
  287. font-size:16px;
  288. }
  289.  
  290. {CustomCSS}
  291. </style>
  292.  
  293. <title>{title}</title>
  294.  
  295. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  296.  
  297. </head>
  298. <body>
  299.  
  300. <div id="nav">
  301. <span id="navlinks">
  302. <a href="/"><span class="verticaltitle">{Title}</span></a>
  303. <div id="nav">
  304. <a href="/">{text:home}</a> <span class="separator">{text:separator}</span>
  305. <a href="/ask">{text:message}</a> <span class="separator">{text:separator}</span>
  306. <a href="/links">{text:links}</a> <span class="separator">{text:separator}</span>
  307. {block:HasPages}{block:Pages}<a href="{URL}">{Label}</a> <span class="separator">{text:separator}</span> {/block:Pages}{/block:HasPages}
  308. <a href="/archive">{text:archive}</a></span>
  309. <br><br>
  310. <span class="description">{Description}</span class="description">
  311. </div>
  312. </div>
  313.  
  314. <div id="center">
  315.  
  316. <div id="content">
  317.  
  318. {block:Posts}
  319.  
  320. <div class="entry">
  321. {block:IndexPage}
  322. <div class="perma">
  323. &nbsp;<a href="{Permalink}">{TimeAgo}</a> <br> <a href="{Permalink}">{NotecountWithLabel}</a> <br> <a href="{ReblogURL}" target="_blank">{text:reblog}</a></div>
  324. {/block:IndexPage}
  325.  
  326. {block:Text}
  327. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  328. <div style="margin-left:1px;">{Body}</div></div>
  329. {/block:Text}
  330.  
  331. {block:Link}
  332. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  333. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  334. {block:Link}
  335.  
  336. {block:Photo}
  337.  
  338. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=200px/></a></div>{LinkCloseTag}{/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=500px/>{LinkCloseTag}{/block:PermalinkPage}
  339. {/block:Photo}
  340.  
  341. {block:Photoset}
  342. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  343. {block:PermalinkPage}{PhotoSet-700}{/block:PermalinkPage}
  344. {/block:Photoset}
  345.  
  346. {block:Quote}
  347. <div style="margin-left:3px;">
  348. {Quote}</span>
  349. </div>
  350. {/block:Quote}
  351.  
  352. {block:Chat}
  353. <div style="margin-left:3px;">
  354. {block:Title}<span class="title">{Title}</span>{/block:Title}
  355. <ul class="chat">
  356. {block:Lines}
  357. <li class="user_{UserNumber}">
  358. {block:Label}
  359. <span class="label">{Label}</span>
  360. {/block:Label}
  361. {Line}
  362. </li>
  363. {/block:Lines}
  364. </ul>
  365. </div>
  366. {/block:Chat}
  367.  
  368. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  369. <center>{AudioPlayerBlack}
  370. {block:Caption}{Caption}{/block:Caption}</center>
  371. {/block:Audio}
  372.  
  373. {block:Answer}<img src="{AskerPortraitURL-24}" align="left" z-index: 1; style="padding:2px; border:1px solid #eeeeee"/> {Asker} asked: <br><i>{Question}</i><br><br><div class="answer">{Answer}</div>
  374. {/block:Answer}
  375.  
  376. {block:Video}
  377. {block:IndexPage}
  378. <center>
  379. {Video-400}</center>
  380. {/block:IndexPage}
  381. {block:PermalinkPage}
  382. <center>
  383. {Video-500}</center>
  384. {/block:PermalinkPage}
  385. {block:Video}
  386.  
  387. {block:PermalinkPage}
  388. {block:Caption}{Caption}<div style="height:1px;background-color:black;opacity:0.1;width:100%;margin-top:5px;margin-bottom:5px;"></div>{/block:Caption}
  389. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  390. {/block:PermalinkPage}
  391.  
  392.  
  393. {block:PostNotes}
  394. </center></center>
  395. <div align="left">{PostNotes}</div>
  396. {/block:PostNotes}
  397. </div>
  398.  
  399. {/block:Posts}
  400.  
  401. {block:IndexPage}
  402. {block:Pagination}
  403. <div id="pagination">
  404. {block:NextPage}
  405. <a id="nextPage" href="{NextPage}"></a>
  406. {/block:NextPage}
  407. {block:PreviousPage}
  408. <a href="{PreviousPage}"></a>
  409. {/block:PreviousPage}
  410. </div>
  411. {/block:Pagination}
  412. {/block:IndexPage}
  413. </div>
  414. </body>
  415. </html>
  416.  
  417. <!--Please don't remove any code below this line!-->
  418. <div id="logo">
  419. <a href="http://vertexthemes.tumblr.com/"><img src="http://i47.tinypic.com/2cpxg8o.png" height="30px"></a>
  420. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement