Advertisement
ogaraster

Sunday Theme

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