Advertisement
ogaraster

Drive Theme

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