Advertisement
ogaraster

Mini Theme

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