Advertisement
ogaraster

Sunday Sidebar

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