Advertisement
ogaraster

Frame Theme

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