BabeJeSuisParfait

500 days of summer theme code

Aug 22nd, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.86 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <!-- ----------------------------------
  5.  
  6. {500} Days Of Summer Theme
  7.  
  8. Credit: http://evanescen-t.tumblr.com/
  9.  
  10. Please don't remove the credit! I spent a lot of time on this theme so I feel credit should not be removed from this theme. Feel free to edit the theme as you wish, but please keep the credit.
  11.  
  12. ---------------------------------- -->
  13.  
  14. <head>
  15.  
  16. <script type="text/javascript"
  17. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  18.  
  19. <script type="text/javascript"
  20. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  21.  
  22. <title>{title}</title>
  23.  
  24. <link rel="shortcut icon" href="{Favicon}">
  25. <link rel="alternate" type="application/rss+xml" href="http://rebecaxo.com/rss">
  26. <meta name="description" content="{metadescription}" />
  27.  
  28. <meta name="color:Background" content="#FFFFFF"/>
  29. <meta name="color:Text" content="#000000"/>
  30. <meta name="color:Link" content="#000000"/>
  31. <meta name="color:Hover" content="#5d5d5d"/>
  32. <meta name="image:Header" content="0"/>
  33. <meta name="image:Background" content="1"/>
  34.  
  35. <meta name="if:Show Title" content="1"/>
  36. <meta name="if:Show Header Image" content="0"/>
  37.  
  38. <meta name="text:More" content="type text here" />
  39. <meta name="text:Reblog button" content="steal" />
  40. <meta name="text:Link One Title" content="link 1" />
  41. <meta name="text:Link One" content="" />
  42. <meta name="text:Link Two Title" content="link 2" />
  43. <meta name="text:Link Two" content="" />
  44. <meta name="text:Link Three Title" content="link 3" />
  45. <meta name="text:Link Three" content="" />
  46. <meta name="text:Link Four Title" content="link 4" />
  47. <meta name="text:Link Four" content="" />
  48. <meta name="text:Link Five Title" content="link 5" />
  49. <meta name="text:Link Five" content="" />
  50. <meta name="text:Link Six Title" content="link 6" />
  51. <meta name="text:Link Six" content="" />
  52. <meta name="text:Link Seven Title" content="link 7" />
  53. <meta name="text:Link Seven" content="" />
  54. <meta name="text:Link Eight Title" content="link 8" />
  55. <meta name="text:Link Eight" content="" />
  56.  
  57. <link href='http://fonts.googleapis.com/css?family=Josefin+Sans:100' rel='stylesheet' type='text/css'>
  58. <link href='http://fonts.googleapis.com/css?family=Muli|Oxygen|Varela|Telex' rel='stylesheet' type='text/css'>
  59. <link href='http://fonts.googleapis.com/css?family=Happy+Monkey' rel='stylesheet' type='text/css'>
  60.  
  61. <script src="http://static.tumblr.com/me5sfsd/1YFl414t0/jquery142.js"></script>
  62. <script type="text/javascript">
  63. $(document).ready(function () {
  64. $('li.drawer div:nth-child(2)').hide();
  65. $('li.drawer h4').click(function () {
  66. if ($(this).hasClass('open')) {
  67. $('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');}
  68. else {
  69. $('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');
  70. $(this).next().slideDown();
  71. $(this).addClass('open');}
  72. });
  73. });
  74. </script>
  75.  
  76.  
  77. <style type="text/css">
  78.  
  79. ::-webkit-scrollbar {width: 5px; height: 4px; background: white; }
  80.  
  81. ::-webkit-scrollbar-thumb { background-color:black; }
  82.  
  83. a {color:;text-decoration:none;-webkit-transition: all 0.7s ease-out;-moz-transition: all 0.7s ease-out;transition: all 0.7s ease-out;}
  84.  
  85. #tumblr_controls{
  86. position:fixed !important;
  87. }
  88.  
  89. .wrapper{
  90. margin: 0px auto;
  91. width: 900px;
  92. }
  93.  
  94. .header{
  95. float: left;
  96. width: 100%;
  97. }
  98.  
  99. .left{
  100. float: left;
  101. margin-right: 20px;
  102. width: 802px;
  103. }
  104.  
  105. .right{
  106. float: right;
  107. width: 200px;
  108. background-color: {color:Background};
  109. }
  110.  
  111. body {
  112. padding: 0px;
  113. margin: 0px;
  114. color:{color:text};
  115. font-family: "Happy Monkey";
  116. font-size: 11px;
  117. line-height:11px;
  118. background-color: {color:Background};
  119. background-image:url({image:Background});
  120. background-attachment: fixed;
  121. background-repeat: repeat
  122. text-align: left;
  123. }
  124.  
  125. a:link, a:active, a:visited{
  126. color:{color:link};
  127. text-decoration: none;
  128. -webkit-transition: color 0.4s ease-out;
  129. -moz-transition: color 0.4s ease-out;
  130. }
  131.  
  132. a:hover{
  133. color:{color:hover}
  134. -webkit-transition: color 0.4s ease-out;
  135. -moz-transition: color 0.4s ease-out;
  136. }
  137.  
  138. .entry {
  139. margin: 2px;
  140. padding: 3px;
  141. padding-bottom:2px;
  142. float:right;
  143. text-align: left;
  144. font-family: varela;
  145. font-size: 11px;
  146. line-height:11px;
  147. {block:IndexPage}
  148. width:250px;
  149. {/block:IndexPage}
  150. {block:PermalinkPage}
  151. width:600px;
  152. margin-left:200px;
  153. {/block:PermalinkPage}
  154. }
  155.  
  156. img{
  157. filter: alpha (opacity=90);
  158. opacity: .8;
  159. -webkit-transition: all 0.4s ease;
  160. -moz-transition: all 0.4s ease;
  161. transition: all 0.4s ease;
  162. }
  163.  
  164. img:hover{
  165. filter: alpha (opacity=100);
  166. opacity: 1.0;
  167. -webkit-transition: all 0.4s ease;
  168. -moz-transition: all 0.4s ease;
  169. transition: all 0.4s ease;
  170. }
  171.  
  172. #posts {
  173. width:852px;
  174. margin-top:10px;
  175. float:left;
  176. font-family: 'Happy Monkey';
  177. margin-left:50px;
  178. }
  179.  
  180.  
  181. .textperma{
  182. display: block;
  183. font-family: 'Happy Monkey';
  184. font-size: 11px;
  185. line-height:11px;
  186. text-transform: lowercase;
  187. text-align: right;
  188. padding: 0px;
  189. margin: 2px;
  190. }
  191.  
  192. .title{
  193. font-family: 'Happy Monkey';
  194. font-size: 15px;
  195. line-height: 15px;
  196. color: black;
  197. font-weight: normal;
  198. text-transform:uppercase;
  199. }
  200.  
  201.  
  202.  
  203. #sidebar{
  204. position:fixed !important;
  205. right:15px; padding-top:12px;
  206. top:35px;
  207. padding-bottom:12px;
  208. text-align:right;
  209. text-transform: uppercase;
  210. height:70px;
  211. width:250px;
  212. background-color:#fff;
  213. }
  214.  
  215. #box{
  216. height:auto;
  217. opacity:1.0;
  218. text-align:center;
  219. z-index:99999999999999999999;
  220. background:transparent;}
  221.  
  222.  
  223.  
  224. #cubehome a:link {
  225. color:{color:text};}
  226.  
  227. #block1{
  228. border:1px dashed #000;
  229. position:fixed !important;
  230. right:15px; padding-top:12px;
  231. top:150px;
  232. padding-bottom:12px;
  233. text-align:center;
  234. height:10px;
  235. width:68px;
  236. overflow:hidden;
  237. -webkit-transition: opacity 0.7s linear;
  238. -webkit-transition: all 0.7s ease-in-out;
  239. -moz-transition: all 0.7s ease-in-out;
  240. -o-transition: all 0.7s ease-in-out;
  241. background:transparent;
  242. z-index:9999999999999999999999999999999;}
  243.  
  244. #block1:hover{
  245. border:1px dashed #000;
  246. padding:5px;
  247. height:145px;
  248. width:200px;
  249. z-index:99999999999999999999999999999999999;
  250. opacity: 0.8;
  251. background:#fff;}
  252.  
  253. #block2{
  254. border:1px dashed #000;
  255. position:fixed;
  256. right:15px; padding-top:12px;
  257. top:200px;
  258. padding-bottom:12px;
  259. text-align:center;
  260. height:10px;
  261. width:68px;
  262. overflow:hidden;
  263. -webkit-transition: opacity 0.7s linear;
  264. -webkit-transition: all 0.7s ease-in-out;
  265. -moz-transition: all 0.7s ease-in-out;
  266. -o-transition: all 0.7s ease-in-out;
  267. background:transparent;
  268. z-index:999999999;
  269. }
  270.  
  271. #block2:hover{
  272. border:1px dashed #000;
  273. padding:5px;
  274. height:205px;
  275. overflow:hidden;
  276. width:390px;
  277. opacity:1.0;
  278. background:white;
  279. opacity: 0.8;
  280. z-index:999999999;}
  281.  
  282. #block3{
  283. border:1px dashed #000;
  284. position:fixed !important;
  285. right:15px; padding-top:12px;
  286. top:250px;
  287. padding-bottom:12px;
  288. text-align:center;
  289. height:10px;
  290. width:68px;
  291. overflow:hidden;
  292. -webkit-transition: opacity 0.7s linear;
  293. -webkit-transition: all 0.7s ease-in-out;
  294. -moz-transition: all 0.7s ease-in-out;
  295. -o-transition: all 0.7s ease-in-out;
  296. background:transparent;
  297. z-index:9999;}
  298.  
  299. #block3:hover{
  300. border:1px dashed #000;
  301. padding:5px;
  302. height:145px;
  303. width:200px;
  304. z-index:999999999;
  305. opacity: 0.8;
  306. background:white;}
  307.  
  308.  
  309. #block5{
  310. border:1px dashed #000;
  311. position:fixed !important;
  312. right:15px; padding-top:12px;
  313. top:300px;
  314. padding-bottom:12px;
  315. text-align:center;
  316. height:10px;
  317. width:68px;
  318. overflow:hidden;
  319. -webkit-transition: opacity 0.7s linear;
  320. -webkit-transition: all 0.7s ease-in-out;
  321. -moz-transition: all 0.7s ease-in-out;
  322. -o-transition: all 0.7s ease-in-out;
  323. background:transparent;
  324. z-index:9999;}
  325.  
  326. #block5:hover{
  327. border:1px dashed #000;
  328. padding:5px;
  329. height:145px;
  330. width:200px;
  331. z-index:999999999;
  332. opacity: 0.8;
  333. background:white;}
  334.  
  335.  
  336. .blogtitle{
  337. font-size:40px;
  338. font-family: 'Josefin Sans', sans-serif;
  339. cursor:default;
  340. line-height: 50px;
  341. }
  342. </style>
  343.  
  344. {block:IndexPage}
  345. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  346. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  347.  
  348. <script type="text/javascript">
  349. $(window).load(function () {
  350. var $content = $('#posts');
  351. $content.masonry({itemSelector: '.entry'}),
  352. $content.infinitescroll({
  353. navSelector : 'div#pagination',
  354. nextSelector : 'div#pagination a#nextPage',
  355. itemSelector : '.entry',
  356. loading: {
  357. finishedMsg: '',
  358. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  359. },
  360. bufferPx : 600,
  361. debug : false,
  362. },
  363. // call masonry as a callback.
  364. function( newElements ) {
  365. var $newElems = $( newElements );
  366. $newElems.hide();
  367. // ensure that images load before adding to masonry layout
  368. $newElems.imagesLoaded(function(){
  369. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );
  370.  
  371.  
  372. });
  373. });
  374. });
  375. </script>
  376.  
  377.  
  378.  
  379. {/block:IndexPage}
  380.  
  381. <title>{title}</title>
  382.  
  383. <link rel="shortcut icon" href="{Favicon}">
  384. <meta name="viewport" content="width=820" />
  385.  
  386. </head>
  387.  
  388. <body>
  389.  
  390. <div class="wrapper">
  391.  
  392. <div id="sidebar">
  393. <left>
  394. {block:ifshowtitle}
  395. <div class="blogtitle">
  396. <a href="/">{title}</a>
  397. </div>
  398. {/block:ifshowtitle}
  399. {block:ifshowheaderimage}
  400. <a href="/"><img src="{image:Header}" height="68"/></a>
  401. {/block:ifshowheaderimage}
  402. <br><br>
  403. </left>
  404.  
  405. </div>
  406. </div>
  407.  
  408. <div id="block1">
  409. ABOUT<br>
  410. <div id="box">
  411. <br>
  412. {description}
  413. <br>
  414. </div></div>
  415.  
  416. <div id="block2">
  417. MESSAGE<Br><p><br>
  418. <div id="box">
  419. <iframe frameborder="0" scrolling="no" width="100%" height="150" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;"></iframe>
  420. </div></div>
  421.  
  422. <div id="block3">
  423. LINKS<br><p><br>
  424. <div id="box">
  425. {block:ifLinkOneTitle}
  426. <a href="{text:Link One}" class="link">{text:Link One Title}</a><br>
  427. {/block:ifLinkOneTitle}
  428. {block:ifLinkTwoTitle}
  429. <a href="{text:Link Two}" class="link">{text:Link Two Title}</a><br>
  430. {/block:ifLinkTwoTitle}
  431. {block:ifLinkThreeTitle}
  432. <a href="{text:Link Three}" class="link">{text:Link Three Title}</a><br>
  433. {/block:ifLinkThreeTitle}
  434. {block:ifLinkFourTitle}
  435. <a href="{text:Link Four}" class="link">{text:Link Four Title}</a><br>
  436. {/block:ifLinkFourTitle}
  437. {block:ifLinkFiveTitle}
  438. <a href="{text:Link Five}" class="link">{text:Link Five Title}</a><br>
  439. {/block:ifLinkFiveTitle}
  440. {block:ifLinkSixTitle}
  441. <a href="{text:Link Six}" class="link">{text:Link Six Title}</a><br>
  442. {/block:ifLinkSixTitle}
  443. {block:ifLinkSevenTitle}
  444. <a href="{text:Link Seven}" class="link">{text:Link Seven Title}</a><br>
  445. {/block:ifLinkSevenTitle}
  446. {block:ifLinkEightTitle}
  447. <a href="{text:Link Eight}" class="link">{text:Link Eight Title}</a><br>
  448. {/block:ifLinkEightTitle}
  449. <BR><BR></div></div>
  450.  
  451. <div id="block5">
  452. MORE<br><p><br>
  453. <div id="box">
  454. {text:More}
  455. </div></div></center>
  456.  
  457.  
  458. <div class="content">
  459.  
  460. <div class="left">
  461.  
  462. <div id="posts">
  463.  
  464. {block:Posts}
  465. <div class="entry">
  466.  
  467. {block:Text}
  468. {block:Title}<span class="title">{Title}</span>{/block:Title}
  469. <span class="text">{Body}</span></a>
  470. {block:IndexPage}
  471. <div class="textperma"><a href="{Permalink}">{NoteCount}</a> <a href="{ReblogURL}" target="_blank">{text:ReblogButton}</a></span></a></div>
  472. {/block:IndexPage}
  473. {/block:Text}
  474.  
  475. {block:Link}
  476. <a href="{URL}" class="title">{Name}</a>
  477. {block:Description}{Description}{/block:Description}
  478. {block:IndexPage}
  479. <div class="textperma"><a href="{Permalink}">{NoteCount}</a> <a href="{ReblogURL}" target="_blank">{text:ReblogButton}</a></span></a></div>
  480. {/block:IndexPage}
  481. {block:Link}
  482.  
  483. {block:Photo}
  484. {block:IndexPage}{LinkOpenTag}<a href="{permalink}"><div class="photo"><a><a href="{permalink}"><img class="photo"
  485. src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  486. width="250"/></a></div>{LinkCloseTag}{/block:IndexPage}
  487. {block:PermalinkPage}{LinkOpenTag}<a href="{permalink}"><img
  488. class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"
  489. width="510"/></a>{LinkCloseTag}
  490. {/block:PermalinkPage}
  491. {/block:Photo}
  492.  
  493. {block:Photoset}{block:IndexPage}
  494. <div class="permalink">
  495. <a href="{permalink}">{NoteCountWithLabel}</a> / <a href="{ReblogURL}" target="_blank"> {text:ReblogButton} </a> / <a href="{permalink}">{TimeAgo}</a></span></div>{/block:IndexPage}<center>{Photoset-400}</center></span>{/block:Photoset}
  496.  
  497. {block:Quote}
  498. <span class="title">{Quote}</span><br />
  499. {block:Source}{Source}{/block:Source}
  500. {block:IndexPage}
  501. <br /><div class="textperma"><a href="{Permalink}">{NoteCount}</a> <a href="{ReblogURL}" target="_blank">{text:ReblogButton}</a></span></a></div>
  502. {/block:IndexPage}
  503. {/block:Quote}
  504.  
  505. {block:Chat}
  506. {block:Title}<span class="title">{Title}</span>{/block:Title}
  507. <ul class="chat">
  508. {block:Lines}
  509. <li class="user_{UserNumber}">
  510. {block:Label}
  511. <span class="label">{Label}</span>
  512. {/block:Label}
  513.  
  514. {Line}
  515. </li>
  516. {/block:Lines}
  517. </ul>
  518. {block:IndexPage}
  519. <div class="textperma"><a href="{Permalink}">{NoteCount}</a> <a href="{ReblogURL}" target="_blank">{text:ReblogButton}</a></span></a></div>
  520. {/block:IndexPage}
  521. {/block:Chat}
  522.  
  523. {block:Audio}
  524. <center><div style="width:250px; height:20px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:8px; float:right;"><small>
  525. {FormattedPlayCount} plays</small></div></div></center><br>
  526. {block:Caption}{Caption}{/block:Caption}
  527. {block:IndexPage}
  528. <div class="textperma"><a href="{Permalink}">{NoteCount}</a> <a href="{ReblogURL}" target="_blank">{text:ReblogButton}</a></span></a></div>
  529. {/block:IndexPage}
  530. {/block:Audio}
  531.  
  532. {block:Video}{block:IndexPage}
  533. <div class="permalink">
  534. <a href="{permalink}">{NoteCountWithLabel}</a> / <a href="{ReblogURL}" target="_blank"> {text:ReblogButton} </a> / <a href="{permalink}">{TimeAgo}</a></span></div>{/block:IndexPage}
  535. <center>
  536. <div class="videoperma">{Video-400}</div><BR>
  537. {block:Caption}{Caption}</a>{/block:Caption}</center>
  538. {block:Video}
  539.  
  540. {block:PermalinkPage}
  541. <left>
  542. {block:Caption}{Caption}{/block:Caption}{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}</left>
  543.  
  544. {/block:PermalinkPage}
  545.  
  546. {block:PostNotes}{PostNotes}
  547. {/block:PostNotes}
  548. </div>
  549.  
  550. {/block:Posts}
  551. </div>
  552. </div>
  553. {block:IndexPage}
  554. {block:Pagination}
  555. <div id="pagination">
  556. {block:NextPage}
  557. <a id="nextPage" href="{NextPage}">&nbsp;&rarr;</a>
  558. {/block:NextPage}
  559. {block:PreviousPage}
  560. <a href="{PreviousPage}">&larr;&nbsp;</a>
  561. {/block:PreviousPage}
  562. </div>
  563. {/block:Pagination}
  564. {/block:IndexPage}
  565. </div>
  566.  
  567. <!-- ----------------------------------
  568.  
  569. {500} Days Of Summer Theme
  570.  
  571. Credit: http://evanescen-t.tumblr.com/
  572.  
  573. Please don't remove the credit! I spent a lot of time on this theme so I feel credit should not be removed from this theme. Feel free to edit the theme as you wish, but please keep the credit.
  574.  
  575. ---------------------------------- -->
  576.  
  577. <div style="float: left; position: fixed; bottom: 8px; left: 8px; text-transform:uppercase; font-family:'Josefin Sans'; font-size:20px;"> <a href="http://www.evanescen-t.tumblr.com" target="_blank">E/T</a> </div>
  578.  
  579. </body>
  580. </html>
Advertisement
Add Comment
Please, Sign In to add comment