Advertisement
ogaraster

Steam Theme

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