Advertisement
ogaraster

Rain Theme

Feb 13th, 2013
1,681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. <!--
  2.  
  3. Theme by Vertexx
  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=Lato:300' 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="#828282" />
  51. <meta name="color:link hover" content="#eee" />
  52. <meta name="color:scrollbar" content="#a3a3a3" />
  53. <meta name="color:permalinks" content="#fff">
  54.  
  55. <meta name="text:reblog" content="share">
  56. <meta name="text:home" content="refresh">
  57. <meta name="text:message" content="mailbox">
  58. <meta name="text:archive" content="index">
  59.  
  60. <meta name="if:4 columns" content="0">
  61. <meta name="if:show title" content="0">
  62.  
  63. <meta name="image:background" content="" />
  64.  
  65. <style type="text/css">
  66.  
  67.  
  68. ::-webkit-scrollbar {width: 3px; height: 0px; background:{color:background};}
  69. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  70.  
  71. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  72.  
  73. body {
  74. background-color: {color:background};
  75. background-image:url({image:Background});
  76. background-attachment: fixed;
  77. background-repeat: repeat;
  78. font-size:12px;
  79. font-family:lato;
  80. line-height:14px;
  81. text-transform:none;
  82. color: {color:text};
  83. }
  84.  
  85. #description{
  86. position:absolute;
  87. top:0px;
  88.  
  89. {block:ifshowtitle}
  90. top:30px;
  91. {/block:ifshowtitle}
  92.  
  93. left:320px;
  94. width:250px;
  95. border-left:20px solid #ebebeb;
  96. padding:10px;
  97. -moz-transition: all 0.2s ease-in-out;
  98. -webkit-transition: all 0.2s ease-in-out;
  99. -o-transition: all 0.2s ease-in-out;
  100. -ms-transition: all 0.2s ease-in-out;
  101. transition: all 0.2s ease-in-out;
  102. }
  103.  
  104. #nav{
  105. position:absolute;
  106. top:0px;
  107.  
  108. {block:ifshowtitle}
  109. top:30px;
  110. {/block:ifshowtitle}
  111.  
  112. left:25px;
  113. width:250px;
  114. text-transform:uppercase;
  115. text-align:right;
  116. letter-spacing:5px;
  117. line-height:20px;
  118. border-right:20px solid #ebebeb;
  119. padding:10px;
  120. -moz-transition: all 0.2s ease-in-out;
  121. -webkit-transition: all 0.2s ease-in-out;
  122. -o-transition: all 0.2s ease-in-out;
  123. -ms-transition: all 0.2s ease-in-out;
  124. transition: all 0.2s ease-in-out;
  125. }
  126.  
  127. #nav a:hover{
  128. background-color:gray;
  129. color:white;
  130. -moz-transition: all 0.2s ease-in-out;
  131. -webkit-transition: all 0.2s ease-in-out;
  132. -o-transition: all 0.2s ease-in-out;
  133. -ms-transition: all 0.2s ease-in-out;
  134. transition: all 0.2s ease-in-out;
  135. }
  136.  
  137. #blogtitle{
  138. position:absolute;
  139. width:300px;
  140. text-align:center;
  141. top:3px;
  142. left:167px;
  143. font-size:26px;
  144. line-height:26px;
  145. }
  146.  
  147. .answer{
  148. }
  149. .answer img {
  150. width:250px;
  151. height:auto;
  152. {block:permalinkpage}
  153. width:auto;
  154. height:auto;
  155. {/block:permalinkpage}
  156. }
  157.  
  158. a {
  159. text-decoration:none;
  160. color:{color:link};
  161. -webkit-transition: all 0.4s linear;
  162. -moz-transition: all 0.4s linear;
  163. transition: all 0.4s linear;
  164. }
  165.  
  166. a:link, a:active, a:visited{
  167. color: {color:link};
  168. }
  169.  
  170. a:hover{
  171. color: {color:link hover};
  172. }
  173.  
  174. div#center{
  175. margin-left: 0px;
  176. width: 100%;
  177. height: auto;
  178. overflow-x:hidden;
  179. }
  180.  
  181. div#content {
  182. width: 1200px;
  183. margin-left:30px;
  184. margin-top:200px;
  185. float:left;
  186. position: relative;
  187. }
  188.  
  189. .entry{
  190. margin:40px;
  191.  
  192. {block:if4columns}
  193. margin:20px;
  194. {/block:if4columns}
  195.  
  196. margin-bottom:0px;
  197. padding:0px;
  198. float:left;
  199. height:auto;
  200. background-color: #trans;
  201. {block:IndexPage}
  202. width:150px;
  203.  
  204. {block:if4columns}
  205. width:250px;
  206. {/block:if4columns}
  207.  
  208. overflow:hidden;
  209. {/block:IndexPage}
  210. {block:PermalinkPage}
  211. width:500px;
  212. height:auto;
  213. {/block:PermalinkPage}
  214. -moz-transition: all 0.4s ease-in-out;
  215. -webkit-transition: all 0.4s ease-in-out;
  216. -o-transition: all 0.4s ease-in-out;
  217. -ms-transition: all 0.4s ease-in-out;
  218. transition: all 0.4s ease-in-out;
  219. }
  220.  
  221. .title{
  222. font-size:16px;
  223. line-height:28px;
  224. text-transform:uppercase;
  225. letter-spacing:3px;
  226. color: {color:title};
  227. }
  228.  
  229. blockquote{
  230. padding:0px 0px 0px 3px;
  231. margin:0px 0px 0px 2px;
  232. border-left: 2px solid #ddd;
  233. }
  234.  
  235. .entry .perma{
  236. position:absolute;
  237. left:7px;
  238. top:0px;
  239. width:auto;
  240. height:100%;
  241. padding:5px;
  242. overflow:hidden;
  243. background:{color:permalinks};
  244. overflow:hidden;
  245. font-size:20px;
  246. line-height:30px;
  247. text-align:center;
  248. opacity: 0;
  249. -webkit-transition: all 0.4s linear;
  250. -webkit-transition: all 0.4s linear;
  251. -moz-transition: all 0.4s linear;
  252. transition: all 0.4s linear;
  253. }
  254.  
  255. .entry:hover .perma{
  256. opacity: .7;
  257. -webkit-transition: all 0.4s linear;
  258. -webkit-transition: all 0.4s linear;
  259. -moz-transition: all 0.4s linear;
  260. transition: all 0.4s linear;
  261. }
  262.  
  263. {CustomCSS}
  264. </style>
  265.  
  266. <title>{title}</title>
  267.  
  268. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  269.  
  270. </head>
  271. <body>
  272.  
  273. <div id="fb-root"></div>
  274. <script>(function(d, s, id) {
  275. var js, fjs = d.getElementsByTagName(s)[0];
  276. if (d.getElementById(id)) return;
  277. js = d.createElement(s); js.id = id;
  278. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  279. fjs.parentNode.insertBefore(js, fjs);
  280. }(document, 'script', 'facebook-jssdk'));</script>
  281.  
  282. {block:ifshowtitle}
  283. <div id="blogtitle">{title}</div>
  284. {/block:ifshowtitle}
  285.  
  286. <div id="description">
  287. {Description}
  288. </div>
  289.  
  290. <div id="nav">
  291. <a href="/">{text:home}</a> <br>
  292. <a href="/ask">{text:message}</a> <br>
  293. <a href="/archive">{text:archive}</a> <br>
  294. {block:HasPages}{block:Pages}<a href="{URL}">{Label}</a> <br>{/block:Pages}{/block:HasPages}
  295. <a href="http://atlasdesigns.tumblr.com/">THEME</a> <br>
  296. </div>
  297.  
  298. <div id="center">
  299.  
  300. <div id="content">
  301.  
  302. {block:Posts}
  303.  
  304. <div class="entry">
  305. {block:IndexPage}
  306. <div class="perma">
  307. <a href="{ReblogURL}" target="_blank">⟲</a></div>
  308. {/block:IndexPage}
  309.  
  310. {block:Text}
  311. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  312. <div style="margin-left:1px;">{Body}</div></div>
  313. {/block:Text}
  314.  
  315. {block:Link}
  316. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  317. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  318. {block:Link}
  319.  
  320. {block:Photo}
  321.  
  322. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" {block:if4columns} width=250px {/block:if4columns} width=150px /></a></div>{LinkCloseTag}{/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=500px/>{LinkCloseTag}{/block:PermalinkPage}
  323. {/block:Photo}
  324.  
  325. {block:Photoset}
  326. <center>
  327. {block:IndexPage}{Photoset-300}{/block:IndexPage}
  328. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  329. </center>
  330. {/block:IndexPage}
  331.  
  332. {/block:Photoset}
  333.  
  334. {block:Quote}
  335. <div style="margin-left:3px;">
  336. {Quote}</span>
  337. </div>
  338. {/block:Quote}
  339.  
  340. {block:Chat}
  341. <div style="margin-left:3px;">
  342. {block:Title}<span class="title">{Title}</span>{/block:Title}
  343. <ul class="chat">
  344. {block:Lines}
  345. <li class="user_{UserNumber}">
  346. {block:Label}
  347. <span class="label">{Label}</span>
  348. {/block:Label}
  349. {Line}
  350. </li>
  351. {/block:Lines}
  352. </ul>
  353. </div>
  354. {/block:Chat}
  355.  
  356. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  357. <center>{AudioPlayerBlack}
  358. {block:Caption}{Caption}{/block:Caption}</center>
  359. {/block:Audio}
  360.  
  361. {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>
  362. {/block:Answer}
  363.  
  364. {block:Video}
  365. {block:IndexPage}
  366. <center>
  367. {Video-400}</center>
  368. {/block:IndexPage}
  369. {block:PermalinkPage}
  370. <center>
  371. {Video-500}</center>
  372. {/block:PermalinkPage}
  373. {block:Video}
  374.  
  375. {block:PermalinkPage}
  376. {block:Caption}{Caption}<div style="height:1px;background-color:black;opacity:0.1;width:100%;margin-top:5px;margin-bottom:5px;"></div>{/block:Caption}
  377. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  378. {/block:PermalinkPage}
  379.  
  380.  
  381. {block:PostNotes}
  382. </center></center>
  383. <div align="left">{PostNotes}</div>
  384. {/block:PostNotes}
  385. </div>
  386.  
  387. {/block:Posts}
  388.  
  389. {block:IndexPage}
  390. {block:Pagination}
  391. <div id="pagination">
  392. {block:NextPage}
  393. <a id="nextPage" href="{NextPage}"></a>
  394. {/block:NextPage}
  395. {block:PreviousPage}
  396. <a href="{PreviousPage}"></a>
  397. {/block:PreviousPage}
  398. </div>
  399. {/block:Pagination}
  400. {/block:IndexPage}
  401. </div>
  402.  
  403.  
  404. <div style="position:fixed;z-index:1338; !important;top:26px;right:3px;-webkit-filter: invert(100%);"><a href="http://atlasdesigns.tumblr.com/"><img src="http://static.tumblr.com/2w7y46r/wuvmba8c2/installtheme.png"></a></div>
  405. </body>
  406. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement