Advertisement
Annie_Schmitz

Morning theme

Jun 30th, 2014
4,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.44 KB | None | 0 0
  1. <!--Morning Theme by resiliens
  2. http://fluorescent-themes.tumblr.com/
  3. Please do not remove the credit---->
  4.  
  5. <html lang="en">
  6.  
  7. <head>
  8. {block:IfOneColumn}
  9. <script type="text/javascript" src="http://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>
  10. {/block:IfOneColumn}
  11. {block:IfTwoColumn}
  12. <script type="text/javascript"
  13. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  14. {/block:IfTwoColumn}
  15. {block:IfThreeColumn}
  16. <script type="text/javascript"
  17. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  18. {/block:IfThreeColumn}
  19. <title>{Title}</title>
  20. <link rel="shortcut icon" href="{Favicon}"/>
  21. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  22. {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  23. <meta name="color:link hover" content="#717eb6" />
  24. <meta name="color:background" content="#ffffff" />
  25. <meta name="color:text" content="#717eb6" />
  26. <meta name="color:link" content="#636363" />
  27. <meta name="color:scrollbar" content="#717eb6" />
  28. <meta name="color:scrollbar background" content="#ffffff" />
  29.  
  30. <meta name="text:link 1 title" content="" />
  31. <meta name="text:link 1" content="" />
  32. <meta name="text:link 2 title" content="" />
  33. <meta name="text:link 2" content="" />
  34. <meta name="text:link 3 title" content="" />
  35. <meta name="text:link 3" content="" />
  36. <meta name="text:link 4 title" content="" />
  37. <meta name="text:link 4" content="" />
  38. <meta name="image:Left Background" content""/>
  39. <meta name="image:Right Background" content""/>
  40. <meta name="image:Cover Background" content""/>
  41. <meta name="image:Sidebar" content""/>
  42.  
  43. <meta name="if:One Column" content"1"/>
  44. <meta name="if:Two Column" content""/>
  45. <meta name="if:Three Column" content""/>
  46.  
  47.  
  48. <style type="text/css">
  49. @font-face{font-family:James Fajardo;src:url(http://static.tumblr.com/9wzbixa/QYymj2mkr/james_fajardo.ttf);}
  50.  
  51. body{
  52. background-color:{color:background};
  53. background-image: url({image:Left Background}), url({image:Right Background}), url({image:Cover Background});
  54. background-attachment: fixed;
  55. background-position: bottom 0px left 0px, bottom 0px right 0px;
  56. background-repeat: no-repeat, no-repeat, no-repeat;
  57. -webkit-background-size: auto, auto, auto;
  58. -moz-background-size: auto, auto, auto;
  59. -o-background-size: auto, auto, auto;
  60. background-size: auto, auto, cover;
  61. color:{color:text};
  62. font-family:tahoma;
  63. font-size:10px;}
  64.  
  65. ::-webkit-scrollbar {
  66. height: 5px;
  67. width: 8px;}
  68.  
  69. ::-webkit-scrollbar-thumb {
  70. background-color:{color:scrollbar};}
  71.  
  72. ::-webkit-scrollbar-track{
  73. background-color:{color:scrollbar background};}
  74.  
  75. ::-webkit-scrollbar-buttom{
  76. background-color:{color:scrollbar background};}
  77.  
  78. a:link, a:active, a:visited{
  79. color: {color:link};
  80. text-decoration: none;}
  81.  
  82. a:hover{
  83. -webkit-transition: 0.3s ease;
  84. transition: 0.3s ease;
  85. -o-transition: 0.3s ease;
  86. -moz-transition: 0.3s ease;
  87. color:{color:link hover};}
  88.  
  89.  
  90.  
  91. #entries{{block:IndexPage}
  92. {block:IfOneColumn}
  93. width:250px;
  94. {/block:IfOneColumn}
  95. {block:IfTwoColumn}
  96. width:580px;
  97. {/block:IfTwoColumn}
  98. {block:IfThreeColumn}
  99. width:880px;
  100. {/block:IfThreeColumn}
  101. margin-top:-10px;
  102. margin-left:500px;
  103. position:absolute;
  104. {/block:IndexPage}{block:PermalinkPage}
  105. width:400px;
  106. margin-top:-10px;
  107. margin-left:500px;
  108. position:absolute;
  109. {/block:PermalinkPage}
  110. }
  111.  
  112. #post{
  113. {block:IndexPage}
  114. margin:5px;
  115. padding:10px 10px 10px 10px;
  116. margin-top:20px;
  117. width:250px;
  118. border:solid 1px #ddd;
  119. {/block:IndexPage}{block:PermalinkPage}
  120. padding:10px 10px 2px 10px;
  121. margin-top:20px;
  122. width:400px;{/block:PermalinkPage}
  123. }
  124.  
  125. #sidebar img{
  126. max-width:150px;
  127. }
  128. #desc{
  129. }
  130.  
  131. #post .reblogperma{
  132. {block:IndexPage}
  133. -webkit-transition: 0.3s ease;
  134. transition: 0.3s ease;
  135. -o-transition: 0.3s ease;
  136. -moz-transition: 0.3s ease;
  137. font-size:8px;
  138. margin-top:2px;
  139. text-align:center;
  140. width:250px;
  141. opacity:0;
  142. text-transform:uppercase
  143. {/block:IndexPage}{block:PermalinkPage}
  144. display:none;
  145. {/block:PermalinkPage}
  146. }
  147.  
  148.  
  149. #post:hover .reblogperma{
  150. -webkit-transition: 0.3s ease;
  151. transition: 0.3s ease;
  152. -o-transition: 0.3s ease;
  153. -moz-transition: 0.3s ease;
  154. opacity:.8;
  155. }
  156.  
  157. #post .rblg{
  158. {block:IndexPage}
  159. -webkit-transition: 0.3s ease;
  160. transition: 0.3s ease;
  161. -o-transition: 0.3s ease;
  162. -moz-transition: 0.3s ease;
  163. font-size:8px;
  164. margin-top:-10px;
  165. text-align:center;
  166. word-spacing:5px;
  167. background-color:#fff;
  168. width:250px;
  169. opacity:0;
  170. text-transform:uppercase
  171. {/block:IndexPage}{block:PermalinkPage}
  172. display:none;
  173. {/block:PermalinkPage}
  174. }
  175.  
  176.  
  177. #post:hover .rblg{
  178. -webkit-transition: 0.3s ease;
  179. transition: 0.3s ease;
  180. -o-transition: 0.3s ease;
  181. -moz-transition: 0.3s ease;
  182. opacity:.98;
  183. }
  184.  
  185. #sidebar{
  186. margin-top:100px;
  187. margin-left:100px;
  188. text-align:center;
  189. background:transparent;
  190. width:250px;
  191. position:fixed;
  192. }
  193.  
  194.  
  195. .title{
  196. font-family:James Fajardo;
  197. font-size:46px;
  198. line-height:30px;}
  199.  
  200. .links{
  201. font-family:tahoma;
  202. font-size:11px;
  203. width:210px;
  204. margin-left:10px;
  205. letter-spacing: 2px;
  206. word-spacing:5px;
  207. padding: 5px;}
  208.  
  209.  
  210. #credit {
  211. position:fixed;
  212. font-family:consolas;
  213. font-size:10px;
  214. bottom:10px;
  215. right:10px;
  216. text-transform:uppercase;}
  217.  
  218. #questions {
  219. padding:2px;
  220. border-bottom:1px solid;
  221. font-weight: bold;}
  222.  
  223. .player{
  224. padding-bottom:10px;
  225. margin-left:50px;
  226. margin-top:-55px;
  227. width:150px;
  228. }
  229.  
  230. .audioplayer{
  231. margin-top:5px;
  232. margin-bottom:25px;
  233. margin-left:10px;
  234. opacity: 0.7;
  235. filter:alpha(opacity=70);
  236. -moz-opacity: 0.7;
  237. -khtml-opacity: 0.7;
  238. width:28px;
  239. height:28px;
  240. overflow:hidden;}
  241.  
  242. </style>
  243. {block:IfTwoColumn}
  244. {block:IndexPage}
  245. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  246. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  247.  
  248. <script type="text/javascript">
  249. $(window).load(function(){
  250. var $wall = $('#entries');
  251. $wall.imagesLoaded(function(){
  252. $wall.masonry({
  253. itemSelector: '#post, #post_photo',
  254. isAnimated : false
  255. });
  256. });
  257.  
  258. $wall.infinitescroll({
  259. navSelector : '#pagination',
  260. nextSelector : '#pagination a',
  261. itemSelector : '#post, #post_photo',
  262. bufferPx : 2000,
  263. debug : false,
  264. errorCallback: function() {
  265. $('#scroll').fadeOut('normal');
  266. }},
  267. function( newElements ) {
  268. var $newElems = $( newElements );
  269. $newElems.hide();
  270. $newElems.imagesLoaded(function(){
  271. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  272. });
  273. }); $('#entries').show(500);
  274. });
  275. </script>
  276. {/block:IndexPage}
  277. {/block:IfTwoColumn}
  278. {block:IfThreeColumn}
  279. {block:IndexPage}
  280. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  281. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  282.  
  283. <script type="text/javascript">
  284. $(window).load(function(){
  285. var $wall = $('#entries');
  286. $wall.imagesLoaded(function(){
  287. $wall.masonry({
  288. itemSelector: '#post, #post_photo',
  289. isAnimated : false
  290. });
  291. });
  292.  
  293. $wall.infinitescroll({
  294. navSelector : '#pagination',
  295. nextSelector : '#pagination a',
  296. itemSelector : '#post, #post_photo',
  297. bufferPx : 2000,
  298. debug : false,
  299. errorCallback: function() {
  300. $('#scroll').fadeOut('normal');
  301. }},
  302. function( newElements ) {
  303. var $newElems = $( newElements );
  304. $newElems.hide();
  305. $newElems.imagesLoaded(function(){
  306. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  307. });
  308. }); $('#entries').show(500);
  309. });
  310. </script>
  311. {/block:IndexPage}
  312. {/block:IfThreeColumn}
  313.  
  314. </head>
  315. <body>
  316.  
  317. <div id="sidebar">
  318. <div class="title"><a href="/">{Title}</a></div>
  319. <div class="sidebarimg"><img src="{image:Sidebar}"></div>
  320. <div id="desc">{Description}</div>
  321. <div class="links">
  322. <a href="/">home</a>
  323. <a href="/ask">ask</a>
  324. <a href="{text:link 1}">{text:link 1 title}</a>
  325. <a href="{text:link 2}">{text:link 2 title}</a>
  326. <a href="{text:link 3}">{text:link 3 title}</a>
  327. <a href="{text:link 4}">{text:link 4 title}</a>
  328. </div>
  329. </div>
  330. <div id="entries">
  331.  
  332. {block:IfOneColumn}<div class="autopagerize_page_element">
  333. {/block:IfOneColumn}{block:Posts}
  334.  
  335. <div id="post">
  336.  
  337. {block:Text}
  338. {Title}{Body}
  339. <div class="reblogperma">
  340. <a href="{Permalink}">{NoteCountWithLabel}</a> ☼
  341. <a href="{ReblogURL}">reblog</a>
  342. </div>
  343. {/block:Text}
  344.  
  345. {block:Link}
  346. <a href="{URL}">{Name}</a>
  347. {block:Description}{Description}{/block:Description}
  348. <div class="reblogperma">
  349. <a href="{Permalink}">{NoteCountWithLabel}</a> ☼
  350. <a href="{ReblogURL}">reblog</a>
  351. </div>
  352. {/block:Link}
  353.  
  354. {block:Photo}{block:IndexPage}
  355. <a href="{permalink}"><img src="{PhotoURL-250}"/></a>
  356. <div class="rblg">
  357. <a href="{Permalink}">{DayOfWeek}</a>
  358. <a href="{Permalink}">{NoteCountWithLabel}</a>
  359. <a href="{ReblogURL}">reblog</a>{/block:IndexPage}{block:PermalinkPage}<a href="{permalink}"><img src="{PhotoURL-400}"/>{/block:PermalinkPage}
  360. </div>
  361. {/block:Photo}
  362.  
  363. {block:Photoset}
  364. {block:IndexPage}
  365. {Photoset-250}<div class="rblg">
  366. <a href="{Permalink}">{DayOfWeek}</a>
  367. <a href="{Permalink}">{NoteCountWithLabel}</a>
  368. <a href="{ReblogURL}">reblog</a>
  369. </div>{/block:IndexPage}
  370. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  371. {/block:Photoset}
  372.  
  373.  
  374. {block:Quote}
  375. {Quote}
  376. {block:Source}-{Source}{/block:Source}
  377. <div class="reblogperma">
  378. <a href="{Permalink}">{NoteCountWithLabel}</a> ☼
  379. <a href="{ReblogURL}">reblog</a>
  380. </div>
  381. {/block:Quote}
  382.  
  383.  
  384. {block:Video}
  385. {Video-250}<br>
  386. <div class="rblg">
  387. <a href="{Permalink}">{DayOfWeek}</a>
  388. <a href="{Permalink}">{NoteCountWithLabel}</a>
  389. <a href="{ReblogURL}">reblog</a>
  390. </div>
  391. {/block:Video}
  392.  
  393. {block:Chat}
  394. {block:Lines}
  395. {block:Label}
  396. <br>{Label}
  397. {/block:Label}
  398. &nbsp;{Line}
  399. {/block:Lines}
  400. <div class="reblogperma">
  401. <a href="{Permalink}">{NoteCountWithLabel}</a> ☼
  402. <a href="{ReblogURL}">reblog</a>
  403. </div>
  404. {/block:Chat}
  405.  
  406.  
  407. {block:Audio}
  408. <div class="audioplayer">
  409. {AudioPlayerBlack}</div>
  410. <div class="player">{block:TrackName}{TrackName}{/block:TrackName}<br>
  411. {block:Artist}by {Artist}{/block:Artist}<br>
  412. {block:PlayCount}Played {PlayCount} times{/block:PlayCount} </div>
  413. <div class="rblg">
  414. <a href="{Permalink}">{DayOfWeek}</a>
  415. <a href="{Permalink}">{NoteCountWithLabel}</a>
  416. <a href="{ReblogURL}">reblog</a></div>
  417. {/block:Audio}
  418.  
  419.  
  420.  
  421. {block:Answer}<div id="questions">
  422. {Asker}: {Question}</div>
  423. {Answer}
  424. <div class="reblogperma">
  425. <a href="{Permalink}">{NoteCountWithLabel}</a></div>
  426. {/block:Answer}
  427.  
  428. {block:PermalinkPage}
  429. {block:Tags}<a href="/tagged/{Tag}"> #{Tag} </a>{/block:Tags}
  430. <br>
  431. {block:Date}{TimeAgo}{/block:Date}
  432. {block:NoteCount}
  433. {NoteCount} notes
  434. {/block:NoteCount}
  435. <Br>
  436. {block:Caption}
  437. {Caption}
  438. {/block:Caption}
  439. <br>
  440. {block:PostNotes}{PostNotes}{/block:PostNotes}
  441. {/block:PermalinkPage}
  442. </div>
  443.  
  444. {/block:Posts}
  445.  
  446. {block:IfTwoColumn}
  447. {block:IndexPage}
  448. {block:Pagination}
  449. <div id="pagination">
  450. {block:NextPage}
  451. <a id="nextPage" href="{NextPage}"></a>
  452. {/block:NextPage}
  453. {block:PreviousPage}
  454. <a href="{PreviousPage}"></a>
  455. {/block:PreviousPage}
  456. </div>
  457. {/block:Pagination}
  458. {/block:IndexPage}
  459. {/block:IfTwoColumn}
  460. {block:IfThreeColumn}
  461. {block:IndexPage}
  462. {block:Pagination}
  463. <div id="pagination">
  464. {block:NextPage}
  465. <a id="nextPage" href="{NextPage}"></a>
  466. {/block:NextPage}
  467. {block:PreviousPage}
  468. <a href="{PreviousPage}"></a>
  469. {/block:PreviousPage}
  470. </div>
  471. {/block:Pagination}
  472. {/block:IndexPage}
  473. {/block:IfThreeColumn}
  474.  
  475. </div>
  476. <div id="credit"><a href="http://resiliens.tumblr.com">credit</a></div>
  477. </div>
  478. </body>
  479. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement