Advertisement
ogaraster

Classic Theme v.2

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