Advertisement
timbllr

RESTLESS THEME CREATED BY TIMBLLR

Apr 3rd, 2013
4,320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.92 KB | None | 0 0
  1. <html>
  2.  
  3. <!--
  4.  
  5. RESTLESS THEME 2.0 CREATED BY TIMBLLR
  6.  
  7. by using this theme you agree to not do any of the following:
  8.  
  9. - remove or change the credit of this theme
  10. - edit this html and take all credit
  11. - steal any parts of this code or redistribute it
  12.  
  13. -> this theme is licensed under the creative commons attribution 3.0 unported license <-
  14.  
  15. -->
  16.  
  17. <title>{title}</title>
  18.  
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. <link href='http://fonts.googleapis.com/css?family=Didact+Gothic|Lato' rel='stylesheet' type='text/css'>
  22. <link href='http://fonts.googleapis.com/css?family=Open+Sans:800' rel='stylesheet' type='text/css'>
  23.  
  24. <meta name="color:background" content="#ffffff" />
  25. <meta name="color:body links" content="#000"/>
  26. <meta name="color:hover background" content="#d4ff00" />
  27. <meta name="color:links" content="#d4ff00"/>
  28. <meta name="color:text" content="#000" />
  29. <meta name="color:title" content="#000" />
  30. <meta name="color:line" content="#d4ff00" />
  31.  
  32. <meta name="if:Disable Right Click" content="0"/>
  33. <meta name="if:Show A Home Link" content="1"/>
  34. <meta name="if:Show Ask Link" content="1"/>
  35. <meta name="if:Show Archive Link" content="1"/>
  36. <meta name="if:Show Submit Link" content="1"/>
  37. <meta name="if:Show Two Custom Links" content="0"/>
  38. <meta name="if:Show Three Custom Links" content="0"/>
  39. <meta name="if:Show Four Custom Links" content="0"/>
  40. <meta name="if:Infinite scroll" content="1"/>
  41. <meta name="if:Use Banner" content="0">
  42.  
  43. <meta name="text:Ask Page" content="/ask" />
  44. <meta name="text:Reblog Word" content="REBLOG" />
  45. <meta name="text:Custom Link One Title" content="" />
  46. <meta name="text:Custom Link One" content="" />
  47. <meta name="text:Custom Link Two Title" content="" />
  48. <meta name="text:Custom Link Two" content="" />
  49. <meta name="text:Custom Link Three Title" content="" />
  50. <meta name="text:Custom Link Three" content="" />
  51. <meta name="text:Custom Link Four Title" content"" />
  52. <meta name="text:Custom Link Four" content="" />
  53.  
  54. <meta name="image:Banner" content="">
  55. <meta name="image:Line" content="">
  56.  
  57. <head>
  58.  
  59.  
  60. <style type="text/css">
  61.  
  62. .wrapper{width:1350px;margin:0px auto;}
  63.  
  64. iframe#tumblr_controls { white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%); opacity:.2;transition: .8s ease-in-out; -webkit-transition: .8s ease-in-out;-moz-transition: .8s ease-in-out;-o-transition: .8s ease-in-out;position:fixed;}
  65.  
  66. ::-moz-selection {
  67. background: #fdfdfd;
  68. color: {color:text};
  69. }
  70. ::selection {
  71. background: #fdfdfd;
  72. color: {color:hover background};
  73. }
  74.  
  75. #content {
  76. margin: 2%;
  77. width:98%;
  78. position:center;
  79. padding-left:10px;
  80.  
  81. {block:permalinkpage}width:3000px;padding-left:440px;{/block:permalinkpage}
  82. }
  83.  
  84. .menu {margin-top:40px;width:92%; margin-bottom:40px;position:center;}
  85.  
  86.  
  87. body {
  88. background: {color:Background};
  89. background-size: cover;
  90. color: #1d1818;
  91. font-family: 'Didact Gothic', sans-serif;
  92. font-size: 0.8em;
  93. margin: 0;
  94. color:{color:text};
  95. }
  96.  
  97. a {
  98. color: {color:body links};
  99. text-decoration: none;
  100. }
  101.  
  102. iframe, img, embed, object, video {
  103. max-width: 100%;
  104. }
  105. img {
  106. height: auto;
  107. width: auto;
  108. }
  109.  
  110. nav li {
  111. display: inline;
  112. }
  113.  
  114. article {
  115. background: {color:background};
  116. margin: 25px;
  117. margin-left: 25px;
  118. padding: 0%;
  119. width: 14%;
  120. }
  121.  
  122.  
  123. .chat span {
  124. float: left;
  125. margin-right: 1%;
  126. }
  127.  
  128. #tags, nav ul, .chat ul {
  129. list-style: none;
  130. list-style-image: none;
  131. margin: 0;
  132. padding: 0;
  133. }
  134. #tags li {
  135. float: left;
  136. margin-right: 1%;
  137. }
  138.  
  139. .blogtitle {
  140. font-family: 'Open Sans', sans-serif;
  141. font-weight:800px;
  142. font-size:40px;
  143. letter-spacing:2px;
  144. text-transform:uppercase;
  145.  
  146. }
  147.  
  148. .title{
  149. font-family: 'Open Sans', sans-serif;
  150. font-weight:800px;
  151. font-size:16px;
  152. letter-spacing:2px;
  153. text-transform:uppercase;
  154.  
  155. }
  156.  
  157. .description {
  158. font-family: 'Didact Gothic', sans-serif;
  159. font-size:12px;
  160. color:{color:text}
  161. }
  162.  
  163. .credit {opacity:0.7;font-size:24px;position:fixed;bottom:25px;left:5px;color:#000;}
  164.  
  165. .perma {position:absolute;
  166. padding:15px;
  167. opacity:0;
  168. -webkit-transition: 0.2s ease-in;}
  169. .photo:hover .perma {-webkit-transition: 0.2s ease-in;
  170. opacity:0.4;}
  171.  
  172. .photo:hover .perma {
  173. -webkit-transition: 0.3s ease-in;
  174. position:absolute;
  175. margin:8px;
  176. padding:7px;
  177. background:#fff;
  178. opacity:0.7;
  179. }
  180.  
  181. .photo:hover .perma:hover{
  182. background-color:{color:hover background};
  183. }
  184.  
  185. .pset:hover .perma {-webkit-transition: 0.2s ease-in;
  186. opacity:0.4;}
  187.  
  188. .pset:hover .perma {
  189. -webkit-transition: 0.3s ease-in;
  190. position:absolute;
  191. margin:8px;
  192. padding:7px;
  193. background:#fff;
  194. opacity:0.7;
  195. }
  196.  
  197. .pset:hover .perma:hover{
  198. background-color:{color:hover background};
  199. }
  200.  
  201.  
  202. .link:hover .perma{margin-top: -5px; opacity:1}
  203. .text:hover .perma{margin-top: -5px; opacity:1}
  204. .quote:hover .perma{margin-top: -5px;opacity:1}
  205. .video:hover .perma{margin-top: -5px; opacity:1}
  206. .chat:hover .perma{margin-top: -5px; opacity:1}
  207. .video embed:hover .perma{margin-top: -5px; opacity:1}
  208. .video iframe:hover .perma{margin-top: -5px; opacity:1}
  209. .audio:hover .perma{margin-top: -5px; opacity:1}
  210.  
  211. .links {font-size:24px; text-transform:uppercase; margin-left:10px; margin-right:10px; font-weight:normal;}
  212.  
  213. </style>
  214.  
  215. </head>
  216.  
  217. <body>
  218.  
  219. {block:ifdisablerightclick}
  220.  
  221. <script language=JavaScript>
  222. <!--
  223.  
  224. //Disable right mouse click Script
  225. //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
  226. //For full source code, visit http://www.dynamicdrive.com
  227.  
  228. var message="";
  229.  
  230. ///////////////////////////////////
  231. function clickIE4(){
  232. if (event.button==2){
  233. alert(message);
  234. return false;
  235. }
  236. }
  237.  
  238. function clickNS4(e){
  239. if (document.layers||document.getElementById&&!document.all){
  240. if (e.which==2||e.which==3){
  241. alert(message);
  242. return false;
  243. }
  244. }
  245. }
  246.  
  247. if (document.layers){
  248. document.captureEvents(Event.MOUSEDOWN);
  249. document.onmousedown=clickNS4;
  250. }
  251. else if (document.all&&!document.getElementById){
  252. document.onmousedown=clickIE4;
  253. }
  254.  
  255. document.oncontextmenu=new Function("return false")
  256.  
  257. // -->
  258. </script>
  259.  
  260. {/block:ifdisablerightclick}
  261.  
  262. <div class="wrapper"><div class="menustuff"><div class="menu">
  263.  
  264. {block:ifShowAHomeLink}
  265. <a class= "links" style="color:{color:links};font-size:14px;" href="/">home</a>&nbsp;&nbsp;&nbsp;&nbsp;{/block:ifShowAHomeLink}
  266.  
  267. {block:ifShowArchiveLink} <a class= "links" style="color:{color:links};font-size:14px;" href="/archive">archive</a>&nbsp;&nbsp;&nbsp;&nbsp; {/block:ifShowArchiveLink}
  268.  
  269. {block:ifShowAskLink}<a class= "links" style="color:{color:links};font-size:14px;" href="{text:ask page}">message</a>&nbsp;&nbsp;&nbsp;&nbsp;{/block:ifShowAskLink}
  270.  
  271. {block:ifShowSubmitLink}<a class= "links" style="color:{color:links};font-size:14px;" href="/submit">submit</a>&nbsp;&nbsp;&nbsp;&nbsp;{/block:ifShowSubmitLink}
  272.  
  273. {block:ifShowTwoCustomLinks}
  274. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link One}">{text:Custom Link One Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  275. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Two}">{text:Custom Link Two Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  276. {/block:ifShowTwoCustomLinks}
  277.  
  278. {block:ifShowThreeCustomLinks}
  279. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link One}">{text:Custom Link One Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  280. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Two}">{text:Custom Link Two Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  281. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Three}">{text:Custom Link Three Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  282. {/block:ifShowThreeCustomLinks}
  283.  
  284.  
  285. {block:ifShowFourCustomLinks}
  286. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link One}">{text:Custom Link One Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  287. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Two}">{text:Custom Link Two Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  288. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Three}">{text:Custom Link Three Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  289. <a class= "links" style="color:{color:links};font-size:14px;" href="{text:Custom Link Four}">{text:Custom Link Four Title}</a>&nbsp;&nbsp;&nbsp;&nbsp;
  290. {/block:ifShowFourCustomLinks}
  291.  
  292.  
  293. {block:ifnotusebanner}<div align="right"><a href="/"><div class="blogtitle">{Title}</div></a></div>{/block:ifnotusebanner}
  294.  
  295. {block:ifusebanner}<Br><div align="right"><img style="max-width:250px; max-height:200px" src="{image:banner}"/><Br><br>{/block:ifusebanner}
  296.  
  297. {block:description}<div class="description" style="background: {color:line} url('{image:line}'); padding:8px;">{description}</div>{/block:description}</div>
  298.  
  299.  
  300.  
  301. </div></div></div>
  302.  
  303. <div id="content">
  304.  
  305. {block:Posts}
  306.  
  307. <article>
  308.  
  309.  
  310. {block:Photo}
  311. {block:IndexPage}<div class="photo"><span class="perma" style="top:-8px;left:-8px;text-align:center;width:93.5%;"><a href="{Permalink}">{Notecount} ✩</a> <a href="{ReblogURL}" target="_blank">{text:Reblog Word}</a></span><img src="{PhotoURL-500}" alt="{PhotoAlt}" /></div>{/block:IndexPage}
  312.  
  313. {block:permalinkpage}<div style="width:600px;"><img src="{PhotoURL-500}" alt="{PhotoAlt}" /></div>{/block:permalinkpage}
  314.  
  315. {/block:photo}
  316.  
  317. {block:Text}
  318. <div class="text"><div style="padding:1px;">
  319. {block:indexpage} {block:Title}<h1 class="title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  320. {Body}
  321. <div class="perma" style="float:right;width:100%;text-align:right;"><a href="{Permalink}"style="color:gray;">{NoteCount}</a></div></div><div>{/block:indexpage}
  322. {block:permalinkpage} {block:Title}<h1 class="title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
  323. {Body}
  324. {/block:permalinkpage}
  325. {/block:Text}
  326.  
  327. {block:Photoset}
  328.  
  329. {block:IndexPage}<div class="pset"><span class="perma" style="top:-8px;left:-8px;text-align:center;width:93%;"><a href="{Permalink}">{Notecount}</a> ✩ <a href="{ReblogURL}" target="_blank">REBLOG</a></span>{/block:IndexPage}{block:Photos}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}">{/block:Photos}</div>{/block:IndexPage}
  330.  
  331. {block:permalinkpage}<div style="margin-left:500px;">{/block:permalinkpage}
  332.  
  333. {/block:Photoset}
  334.  
  335. {block:Quote}
  336. <div class="quote">"{Quote}"<Br><Br><div style=" float:left;width:100%;text-align:right;"> ― <b>{Source}</b><div class="perma" style=" float:right;width:100%;text-align:right;"><a href="{Permalink}"style="color:gray;">{NoteCount}</a></div></div>
  337.  
  338. {/block:Quote}
  339.  
  340. {block:Chat}
  341. <div class="chat">
  342. {block:indexpage} <ul>
  343. {block:Lines}<li class="{Alt}"><b>{block:Label}<span class="label">{Label}</span>{/block:Label}</b><p> {Line} </p></li>{/block:Lines}
  344. </ul>
  345. <div class="perma" style=" float:right;width:100%;text-align:right;"><a href="{Permalink}"style="color:gray;">{NoteCount}</a></div></div>{/block:indexpage}
  346. {block:permalinkpage}<ul>
  347. {block:Lines}<li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label}<p> {Line} </p></li>{/block:Lines}
  348. </ul>{/block:permalinkpage}
  349. {/block:Chat}
  350.  
  351. {block:Audio}
  352. <div class="audio">
  353. {block:TrackName}<h1 class="title"><a href="{Permalink}">{TrackName}</a></h1>{/block:TrackName}
  354. <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="500" height="500"/>{/block:AlbumArt}</div>
  355. <div class="player">{AudioPlayerBlack}</div>
  356. {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
  357. <div class="perma" style=" float:right;width:100%;text-align:right;"><a href="{Permalink}"style="color:gray;">{NoteCount}</a></div></div>
  358. {/block:Audio}
  359.  
  360. {block:Video}
  361. <div class="video"><div class="video-player">{Video-500}</div>
  362. {/block:Video}
  363.  
  364. {block:Link}
  365. {block:IndexPage}<div class="link"><div class="title"><a href="{URL}" {Target}>{Name}</a></div>{block:Description}{Description}{/block:Description}<div class="perma" style=" float:right;width:100%;text-align:right;"><a href="{Permalink}" style="color:gray;">{NoteCount}</a></div></div>{/block:IndexPage}
  366.  
  367. {block:Permalinkpage} <h1 class="title"><a href="{URL}">{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Permalinkpage}
  368. {/block:Link}
  369.  
  370. {block:Answer}
  371. {block:IndexPage}<div class="text"><div style="padding:15px;">{Question}<br><b>asked by {Asker}</b><br>{Answer}<div class="perma" style=" float:right;width:100%;text-align:right;"><a href="{Permalink}"style="color:gray;">{NoteCount}</a></div></div>{/block:IndexPage}
  372. {block:PermalinkPage}<div style="width:500px">{Question}<br><b>asked by {Asker}</b><br>{Answer}</div>{/block:PermalinkPage}
  373. {/block:Answer}
  374.  
  375. {block:Permalink}
  376. {block:PostNotes}
  377. <div class="postnotes">
  378. <br>{block:RebloggedFrom}
  379. <br>
  380. <b>reblogged from: </b> <a href="{ReblogParentURL}" title="{ReblogParentTitle}">{ReblogParentName}</a> <br>
  381. <b>original source:</b> <a href="{ReblogRootURL}" title="{ReblogRootTitle}">{ReblogRootName}</a>
  382. {/block:RebloggedFrom}<br><br>{block:HasTags}<b>tagged with</b>: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}<br><b><u>this post has {NoteCountWithLabel}</b></u>
  383. <br><br>
  384. {PostNotes}
  385. </div>
  386. {/block:PostNotes}
  387. {/block:Permalink}
  388. </article>
  389. {/block:Posts}
  390.  
  391.  
  392. </div>
  393.  
  394. {block:Pagination}
  395. <div class="pagination">
  396. {block:PreviousPage}<a href="{PreviousPage}">Previous page</a>{/block:PreviousPage}
  397. {block:NextPage}<a href="{NextPage}">Next page</a>{/block:NextPage}
  398. </div>
  399. {/block:Pagination}
  400.  
  401. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  402. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  403. {block:IfInfiniteScroll}
  404. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  405. <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  406. {/block:IfInfiniteScroll}
  407.  
  408. <script>
  409. (function() {
  410. var $tumblelog = $('#content');
  411. {block:IfInfiniteScroll}
  412. $tumblelog.infinitescroll({
  413. navSelector : ".pagination",
  414. nextSelector : ".pagination a:first",
  415. itemSelector : "article",
  416. bufferPx : 50,
  417. done : "",
  418. loading: {
  419. finishedMsg: "<p> </p>",
  420. img : " ",
  421. msg: null,
  422. msgText: "<p> </p>"
  423. },
  424. },
  425. function( newElements ) {
  426. var $newElems = $( newElements ).css({ opacity: 0 });
  427. $newElems.imagesLoaded(function(){
  428. $newElems.animate({ opacity: 1 });
  429. $tumblelog.masonry( 'appended', $newElems);
  430. });
  431. }
  432. );
  433. {/block:IfInfiniteScroll}
  434. $tumblelog.imagesLoaded( function(){
  435. $tumblelog.masonry({
  436. columnWidth: function( containerWidth ) {
  437. return containerWidth / 100;
  438. }
  439. });
  440. });
  441. })();
  442. </script>
  443. </body>
  444. <div class="credit"><a href="http://timbllr-themes.tumblr.com/">ⓣ</a></div>
  445. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement