Advertisement
ogaraster

Submerge Theme

Apr 14th, 2013
37,070
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.63 KB | None | 0 0
  1. <!--
  2.  
  3. Submerge Theme brought to you by Atlas Designs
  4. http://atlasdesigns.co/
  5. Do not remove credit unless given permission to do so.
  6.  
  7. Updated July 2013:
  8. - New like/reblog buttons with gradient background
  9. - Padding for all text posts
  10. - Redesigned Permalink Page
  11. - Formatted audio and chat posts
  12. -->
  13.  
  14. <head>
  15.  
  16. <link rel="shortcut icon" href="{PortraitURL-24}">
  17. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  18. <meta name="viewport" content="width=820" />
  19.  
  20. <link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
  21.  
  22. <link href='http://fonts.googleapis.com/css?family=Lobster+Two|Handlee|Satisfy' rel='stylesheet' type='text/css'></script>
  23.  
  24. {block:IndexPage}
  25.  
  26. <script type="text/javascript"
  27. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  28.  
  29. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  30.  
  31. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  32. <script type="text/javascript">
  33. $(window).load(function () {
  34. var $content = $('#content');
  35. $content.masonry({itemSelector: '.entry'}),
  36. $content.infinitescroll({
  37. navSelector : 'div#pagination',
  38. nextSelector : 'div#pagination a#nextPage',
  39. itemSelector : '.entry',
  40. loading: {
  41. finishedMsg: '',
  42. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  43. },
  44. bufferPx : 600,
  45. debug : false,
  46. },
  47. // call masonry as a callback.
  48. function( newElements ) {
  49. var $newElems = $( newElements );
  50. $newElems.hide();
  51. // ensure that images load before adding to masonry layout
  52. $newElems.imagesLoaded(function(){
  53. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  54. {/block:IndexPage}
  55.  
  56. <meta name="color:background" content="#000000" />
  57. <meta name="color:header" content="#ffffff" />
  58. <meta name="color:text" content="#ffffff" />
  59. <meta name="color:title" content="#ffffff" />
  60. <meta name="color:link" content="#828282" />
  61. <meta name="color:link hover" content="#ebebeb" />
  62. <meta name="color:scrollbar" content="#a3a3a3" />
  63.  
  64. <meta name="if:title font one" content="0">
  65. <meta name="if:title font two" content="0">
  66. <meta name="if:title font three" content="0">
  67. <meta name="if:header shadow" content="0">
  68. <meta name="if:banner" content="0">
  69.  
  70. <meta name="text:home link" content="refresh">
  71. <meta name="text:message link" content="mailbox">
  72. <meta name="text:reblog" content="reblog">
  73. <meta name="text:archive link" content="index">
  74.  
  75. <meta name="image:background" content="" />
  76. <meta name="image:banner" content="">
  77.  
  78. <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
  79.  
  80. <style type="text/css">
  81.  
  82. ::-webkit-scrollbar {width: 7px; height: 0px; 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;}
  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. font-family:lato;
  94. line-height:14px;
  95. text-transform:none;
  96. color: {color:text};
  97. }
  98.  
  99. #header {
  100. background:{color:header};
  101. padding-top:10px;
  102. padding-bottom:30px;
  103. text-align: center;
  104. font-size: 11px;
  105. position:fixed;
  106. width:100%;
  107. top:0px;
  108. left:0px;
  109. z-index:999;
  110. }
  111.  
  112. .plus {
  113. position:fixed;
  114. height:47px;
  115. width:47px;
  116. opacity:.9;
  117. top:30px;
  118. left:30px;
  119. background-color:rgba(0,0,0,.6);
  120. border-radius:100%;
  121. z-index:999999999;
  122. cursor:pointer;
  123. }
  124. .plus img{
  125. margin-top:-7px;
  126. margin-left:-7px;
  127. }
  128.  
  129. #blogtitle a{
  130. font-family:pt sans;
  131. font-size:35px;
  132. line-height:38px;
  133. text-align:center;
  134. color:{color:title};
  135. {block:iftitlefontone}
  136. font-family: Lobster Two;
  137. font-size:36px;
  138. {/block:iftitlefontone}
  139. {block:iftitlefonttwo}
  140. font-family: satisfy;
  141. font-size:36px;
  142. {/block:iftitlefonttwo}
  143. {block:iftitlefontthree}
  144. font-family: handlee;
  145. font-size:36px;
  146. {/block:iftitlefontthree}
  147. }
  148.  
  149. #description{
  150. width:600px;
  151. text-align:center;
  152. height:auto;
  153. font-size:12px;
  154. line-height:14px;
  155. color:{color:text};
  156. overflow:hidden;
  157. }
  158.  
  159. #description a{
  160. color:{top links};
  161. }
  162. #nav{
  163. word-spacing:20px;
  164. }
  165. #nav a{
  166. font-family:pt sans;
  167. font-size:13px;
  168. line-height:30px;
  169. letter-spacing:1px;
  170. word-spacing:20px;
  171. text-align:center;
  172. font-weight:100;
  173. text-transform:uppercase;
  174. color:{color:top links};
  175. -moz-transition: all 0.2s ease-in-out;
  176. -webkit-transition: all 0.2s ease-in-out;
  177. -o-transition: all 0.2s ease-in-out;
  178. -ms-transition: all 0.2s ease-in-out;
  179. transition: all 0.2s ease-in-out;
  180. }
  181. #nav a:hover{
  182. color:{color:link hover};
  183. border-bottom:2px solid {color:title};
  184. }
  185.  
  186. .answer{
  187. }
  188. .answer img {
  189. width:250px;
  190. height:auto;
  191. {block:permalinkpage}
  192. width:auto;
  193. height:auto;
  194. {/block:permalinkpage}
  195. }
  196.  
  197. a{
  198. text-decoration:none;
  199. color:{color:link};
  200. -webkit-transition: all 0.4s linear;
  201. -moz-transition: all 0.4s linear;
  202. transition: all 0.4s linear;
  203. }
  204.  
  205. a:link, a:active, a:visited{
  206. color:{color:link};
  207. }
  208.  
  209. a:hover{
  210. color:{color:link hover};
  211. }
  212.  
  213. div#content {
  214. width: 101%;
  215. left:0px;
  216. margin-top:-8px;
  217. float:center;
  218. position: absolute;
  219. }
  220.  
  221. .entry{
  222. padding:-1px;
  223. margin:-1px;
  224. float:left;
  225. height:auto;
  226. background-color: #trans;
  227. {block:IndexPage}
  228. width:20%;
  229. {/block:IndexPage}
  230. {block:PermalinkPage}
  231. margin-top:250px;
  232. margin-left:-450px;
  233. left:50%;
  234. position:absolute;
  235. width:450px;
  236. height:auto;
  237. {/block:PermalinkPage}
  238. }
  239. .entry img{
  240. margin-bottom:-3px;
  241. }
  242.  
  243. .title{
  244. font-size:20px;
  245. line-height:21px;
  246. text-transform:none;
  247. color: {color:text};
  248. }
  249.  
  250. blockquote{
  251. padding:0px 0px 0px 3px;
  252. margin:0px 0px 0px 2px;
  253. border-left: 2px solid #ddd;
  254. }
  255.  
  256. .permanote{
  257. position:absolute;
  258. top:12px;
  259. right:15px;
  260. font-weight:600;
  261. font-size:12px;
  262. opacity:0;
  263. }
  264. .permanote a{
  265. color:white;
  266. }
  267. .entry:hover .permanote{
  268. opacity:1;
  269. -webkit-transition: all 0.2s linear;
  270. -webkit-transition: all 0.2s linear;
  271. -moz-transition: all 0.2s linear;
  272. transition: all 0.2s linear;
  273. }
  274.  
  275. .entry .gradient{
  276. position: absolute;
  277. left:0px;
  278. top:0px;
  279. width:100%;
  280. height:40px;
  281. background: -moz-linear-gradient(top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
  282. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  283. background: -webkit-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
  284. background: -o-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
  285. background: -ms-linear-gradient(top, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
  286. background: linear-gradient(to bottom, rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%); /* W3C */
  287. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
  288. opacity:0;
  289. -webkit-transition: all 0.2s linear;
  290. -webkit-transition: all 0.2s linear;
  291. -moz-transition: all 0.2s linear;
  292. transition: all 0.2s linear;
  293. }
  294. .entry:hover .gradient{
  295. opacity:1;
  296. -webkit-transition: all 0.2s linear;
  297. -webkit-transition: all 0.2s linear;
  298. -moz-transition: all 0.2s linear;
  299. transition: all 0.2s linear;
  300. }
  301.  
  302. .like_and_reblog_buttons {
  303. position:absolute;
  304. top:0px;
  305. left:-20px;
  306. list-style: none;
  307. opacity:0;
  308. -webkit-transition: all 0.2s linear;
  309. -webkit-transition: all 0.2s linear;
  310. -moz-transition: all 0.2s linear;
  311. transition: all 0.2s linear;
  312. }
  313. .entry:hover .like_and_reblog_buttons{
  314. opacity:1;
  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.  
  321. .like_and_reblog_buttons li {
  322. float: left;
  323. height:20px;
  324. width:20px;
  325. }
  326.  
  327. .like_and_reblog_buttons li:first-child {
  328. margin-right:12px;
  329. }
  330.  
  331. .permalink{
  332. text-align:right;
  333. opacity:0;
  334. -webkit-transition: all 0.4s linear;
  335. -webkit-transition: all 0.4s linear;
  336. -moz-transition: all 0.4s linear;
  337. transition: all 0.4s linear;
  338. }
  339.  
  340. .entry:hover .permalink{
  341. opacity:1;
  342. -webkit-transition: all 0.4s linear;
  343. -webkit-transition: all 0.4s linear;
  344. -moz-transition: all 0.4s linear;
  345. transition: all 0.4s linear;
  346. }
  347.  
  348. .speclink{
  349. word-spacing:1px;
  350. }
  351.  
  352. .notess{
  353. position:absolute;
  354. left:480px;
  355. top:0px;
  356. height:400px;
  357. width:500px;
  358. overflow:scroll;
  359. }
  360. .notess li{
  361. list-style:none;
  362. margin-left:-40px;
  363. line-height:30px;
  364. }
  365.  
  366. .chat li{
  367. list-style:none;
  368. margin-left:-40px;
  369. border-bottom:1px solid rgba(0,0,0,.4);
  370. line-height:20px;
  371. }
  372. .label{
  373. font-weight:700;
  374. }
  375.  
  376. .answer{
  377. width:90%;
  378. padding:5%;
  379. background-color:rgba(0,0,0,.1);
  380. box-shadow:0 0px 1px gray;
  381. }
  382.  
  383. .play{
  384. position:absolute;
  385. left:50%;
  386. margin-left:-24px;
  387. top:50%;
  388. margin-top:-42px;
  389. border:10px solid white;
  390. height:27px;
  391. width:27px;
  392. border-radius:100%;
  393. overflow:hidden;
  394. }
  395.  
  396. {CustomCSS}
  397. </style>
  398.  
  399. <title>{title}</title>
  400.  
  401. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  402.  
  403. </head>
  404. <body>
  405. <script type="text/javascript">
  406. $(document).ready(function(){
  407. $("#header").hide(0);
  408. $(".plus").click(function(){
  409. $("#header").slideToggle(300);
  410. });
  411. });
  412. </script>
  413.  
  414. <div id="header">
  415. {block:ifbanner}<img src="{image:banner}" height="90px"><br>{/block:ifbanner}{block:ifnotbanner}<div id="blogtitle"><a href="/">{title}</div>{/block:ifnotbanner}
  416. <div id="nav">
  417. <a href="/ask">{text:message link}</a>
  418. <a href="/archive">{text:archive link}</a>
  419. {block:HasPages}{block:Pages}<span class="speclink"><a href="{URL}">{Label}</a></span> {/block:Pages}{/block:HasPages}
  420. <a href="http://atlasdesigns.tumblr.com/">theme</a>
  421. </div>
  422. <span id="description"><br>{Description}</span>
  423. </div>
  424.  
  425. <div class="plus"><center><img src="http://www.iconsdb.com/icons/preview/white/plus-5-xxl.png" width=60px></center></div>
  426.  
  427. <div id="fb-root"></div>
  428. <script>(function(d, s, id) {
  429. var js, fjs = d.getElementsByTagName(s)[0];
  430. if (d.getElementById(id)) return;
  431. js = d.createElement(s); js.id = id;
  432. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  433. fjs.parentNode.insertBefore(js, fjs);
  434. }(document, 'script', 'facebook-jssdk'));</script>
  435.  
  436. <div id="content">
  437. {block:Posts}
  438. <div class="entry">
  439.  
  440. {block:Text}
  441. <div class="answer">{block:Title}<center><span class="title">{Title}</span></center>{/block:Title}{Body}
  442. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  443. </div>
  444. {/block:Text}
  445.  
  446. {block:Link}
  447. <div class="answer"><center><a href="{URL}"><span class="title">{Name}</span></a></center>{block:Description}{Description}{/block:Description}
  448. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  449. </div>
  450. {block:Link}
  451.  
  452. {block:Photo}
  453. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=100%/></a></div>{LinkCloseTag}
  454. <div class="gradient"></div>
  455. <div class="permanote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  456. <ul class="like_and_reblog_buttons">
  457. <li>{ReblogButton color="white"}</li>
  458. <li>{LikeButton color="white"}</li>
  459. </ul>
  460. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=450px/>{LinkCloseTag}{/block:PermalinkPage}
  461. {/block:Photo}
  462.  
  463. {block:Photoset}
  464. <center>
  465. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  466. {block:PermalinkPage}{Photoset-250}{/block:PermalinkPage}
  467. </center>
  468. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  469. {/block:IndexPage}
  470. {/block:Photoset}
  471.  
  472. {block:Quote}
  473. <div class="answer">{Quote}<br><i>{Source}</i>
  474. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  475. </div>
  476. {/block:Quote}
  477.  
  478. {block:Chat}
  479. <div class="answer">
  480. {block:Title}<span class="title">{Title}</span>{/block:Title}
  481. <ul class="chat">
  482. {block:Lines}
  483. <li class="user_{UserNumber}">
  484. {block:Label}
  485. <span class="label">{Label}</span>
  486. {/block:Label}
  487. {Line}
  488. </li>
  489. {/block:Lines}
  490. </ul>
  491. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  492. </div>
  493. {/block:Chat}
  494.  
  495. {block:Audio}
  496. {block:AlbumArt}
  497. <center><a href="{Permalink}"><img src="{AlbumArtURL}" width="100%"></a></center>
  498. {/block:AlbumArt}
  499. <div class="play">{AudioPlayerWhite}</div>
  500. <div class="answer">
  501. {block:Caption}{Caption}{/block:Caption}
  502. </div>
  503. {block:IndexPage}
  504. {/block:IndexPage}
  505. {/block:Audio}
  506.  
  507. {block:Answer}
  508. <div class="answer">
  509. {Asker} asked: <br><i>{Question}</i><br><br>{Answer}</div>
  510. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  511. {/block:Answer}
  512.  
  513. {block:Video}
  514. {block:IndexPage}
  515. <center>
  516. {Video-250}</center>
  517. <div class="permalink"><a href="{permalink}">{NoteCountwithLabel}</a></div>
  518. {/block:IndexPage}
  519. {block:PermalinkPage}
  520. <center>
  521. {Video-250}</center>
  522. {/block:PermalinkPage}
  523. {block:Video}
  524.  
  525. {block:PermalinkPage}
  526. {block:Caption}{Caption}<div style="height:1px;background-color:black;opacity:0.1;width:100%;margin-top:5px;margin-bottom:5px;"></div>{/block:Caption}
  527. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  528. {/block:PermalinkPage}
  529.  
  530.  
  531. {block:PostNotes}
  532. <div class="notess">{PostNotes}</div>
  533. {/block:PostNotes}
  534. </div>
  535.  
  536. {/block:Posts}
  537.  
  538. {block:IndexPage}
  539. {block:Pagination}
  540. <div id="pagination">
  541. {block:NextPage}
  542. <a id="nextPage" href="{NextPage}"></a>
  543. {/block:NextPage}
  544. {block:PreviousPage}
  545. <a href="{PreviousPage}"></a>
  546. {/block:PreviousPage}
  547. </div>
  548. {/block:Pagination}
  549. {/block:IndexPage}
  550. </div>
  551.  
  552. <div style="position:fixed;z-index:99999999999999999999999999999999999; !important;top:24px;right:3px;"><a href="http://atlasdesigns.tumblr.com/"><img src="http://static.tumblr.com/2w7y46r/wuvmba8c2/installtheme.png"></a></div>
  553.  
  554. </body>
  555. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement