Advertisement
ogaraster

Motion Theme

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