Advertisement
ogaraster

Window v.2

Mar 23rd, 2013
6,669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.11 KB | None | 0 0
  1. <!--
  2.  
  3. Window Theme brought to you by Atlas Designs
  4. http://atlasdesigns.co/
  5.  
  6. Do not remove credit unless given permisison to do so.
  7.  
  8. Updated July 2013:
  9. - larger posts
  10. - new like/reblog buttons
  11. - auto-sizing columns
  12. - formatted text posts
  13. - minor design tweaks
  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=Lato:400' 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:header" content="#ebebeb" />
  59. <meta name="color:text" content="#000000" />
  60. <meta name="color:title" content="#ffffff" />
  61. <meta name="color:link" content="#828282" />
  62. <meta name="color:header links" content="#828282" />
  63. <meta name="color:link hover" content="#ebebeb" />
  64. <meta name="color:scrollbar" content="#ebebeb" />
  65. <meta name="color:post background" content="#f0f0f0">
  66. <meta name="color:description" content="#ffffff">
  67.  
  68. <meta name="if:show description" content="1">
  69. <meta name="if:long description" content="0">
  70. <meta name="if:header shadow" content="0">
  71. <meta name="if:show captions" content="0">
  72. <meta name="if:banner" content="0">
  73.  
  74. <meta name="text:home" content="refresh">
  75. <meta name="text:message" content="mailbox">
  76. <meta name="text:reblog" content="reblog">
  77. <meta name="text:archive" content="index">
  78.  
  79. <meta name="image:background" content="" />
  80. <meta name="image:header" content="">
  81. <meta name="image:banner" content="">
  82.  
  83. <style type="text/css">
  84.  
  85.  
  86. ::-webkit-scrollbar {width: 7px; height: 0px; background:{color:background};}
  87. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  88.  
  89. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  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:lato;
  98. line-height:14px;
  99. text-transform:none;
  100. color: {color:text};
  101. }
  102.  
  103. #top{
  104. position:absolute;
  105. top:0px;
  106. left:0px;
  107. width:100%;
  108. height:165px;
  109. {block:iflongdescription}
  110. height:205px;
  111. {/block:iflongdescription}
  112. {block:ifnotshowdescription}
  113. height:110px;
  114. {/block:ifnotshowdescription}
  115. background-color:{color:header};
  116. background-image:url('{image:header}');
  117. {block:ifheadershadow}
  118. box-shadow:0px 1px 3px gray;
  119. {block:ifheadershadow}
  120. }
  121.  
  122. .blogtitle{
  123. position:absolute;
  124. top:45px;
  125. left:50px;
  126. font-size:21px;
  127. letter-spacing:5px;
  128. line-height:30px;
  129. padding:5px;
  130. color:{color:title};
  131. border:2px solid {color:title};
  132. text-transform:uppercase;
  133. -moz-transition: all 0.1s ease-in-out;
  134. -webkit-transition: all 0.1s ease-in-out;
  135. -o-transition: all 0.1s ease-in-out;
  136. -ms-transition: all 0.1s ease-in-out;
  137. transition: all 0.1s ease-in-out;
  138. }
  139.  
  140. .blogtitle:hover{
  141. background-color:{color:title};
  142. color:{color:header};
  143. -moz-transition: all 0.1s ease-in-out;
  144. -webkit-transition: all 0.1s ease-in-out;
  145. -o-transition: all 0.1s ease-in-out;
  146. -ms-transition: all 0.1s ease-in-out;
  147. transition: all 0.1s ease-in-out;
  148. }
  149.  
  150. .banner{
  151. position:absolute;
  152. top:5px;
  153. left:50px;
  154. z-index:99999;
  155. }
  156.  
  157. .description{
  158. position:absolute;
  159. top:105px;
  160. left:52px;
  161. width:300px;
  162. height:200px;
  163. font-size:12px;
  164. line-height:14px;
  165. color:{color:description};
  166. }
  167.  
  168. #nav{
  169. position:absolute;
  170. top:70px;
  171. right:50px;
  172. width:800px;
  173. display:inline;
  174. font-size:12px;
  175. letter-spacing:2px;
  176. word-spacing:10px;
  177. text-align:right;
  178. text-transform:uppercase;
  179. color:{color:header links};
  180. -moz-transition: all 0.4s ease-in-out;
  181. -webkit-transition: all 0.4s ease-in-out;
  182. -o-transition: all 0.4s ease-in-out;
  183. -ms-transition: all 0.4s ease-in-out;
  184. transition: all 0.4s ease-in-out;
  185. }
  186.  
  187. #nav a{
  188. color:{color:header links};
  189. }
  190.  
  191. #nav a:hover{
  192. color:{color:link hover};
  193. }
  194.  
  195. .answer{
  196. width:90%;
  197. padding:5%;
  198. background:{color:post background};
  199. }
  200. .answer img {
  201. width:250px;
  202. height:auto;
  203. {block:permalinkpage}
  204. width:auto;
  205. height:auto;
  206. {/block:permalinkpage}
  207. }
  208.  
  209. a{
  210. text-decoration:none;
  211. color:{color:link};
  212. -webkit-transition: all 0.4s linear;
  213. -moz-transition: all 0.4s linear;
  214. transition: all 0.4s linear;
  215. }
  216.  
  217. a:link, a:active, a:visited{
  218. color:{color:link};
  219. }
  220.  
  221. a:hover{
  222. color:{color:link hover};
  223. }
  224.  
  225. div#content {
  226. width: 100%;
  227. margin-left:40px;
  228. margin-top:170px;
  229. {block:iflongdescription}
  230. margin-top:210px;
  231. {/block:iflongdescription}
  232. {block:ifnotshowdescription}
  233. margin-top:150px;
  234. {/block:ifnotshowdescription}
  235. float:left;
  236. position: absolute;
  237. }
  238.  
  239. .entry{
  240. margin:10px;
  241. float:left;
  242. height:auto;
  243. background-color: #trans;
  244. {block:IndexPage}
  245. width:22%;
  246. {/block:IndexPage}
  247. {block:PermalinkPage}
  248. position:absolute;
  249. left:50%;
  250. margin-left:-510px;
  251. width:500px;
  252. height:auto;
  253. {/block:PermalinkPage}
  254. -moz-transition: all 0.4s ease-in-out;
  255. -webkit-transition: all 0.4s ease-in-out;
  256. -o-transition: all 0.4s ease-in-out;
  257. -ms-transition: all 0.4s ease-in-out;
  258. transition: all 0.4s ease-in-out;
  259. }
  260.  
  261. .entry:hover{
  262. -moz-transition: all 0.4s ease-in-out;
  263. -webkit-transition: all 0.4s ease-in-out;
  264. -o-transition: all 0.4s ease-in-out;
  265. -ms-transition: all 0.4s ease-in-out;
  266. transition: all 0.4s ease-in-out;
  267. }
  268.  
  269. .title{
  270. font-size:17px;
  271. line-height:17px;
  272. font-weight:600;
  273. color: {color:text};
  274. }
  275.  
  276. blockquote{
  277. padding:0px 0px 0px 3px;
  278. margin:0px 0px 0px 2px;
  279. border-left: 2px solid #ddd;
  280. }
  281.  
  282. .like_and_reblog_buttons {
  283. position:absolute;
  284. top:-3px;
  285. left:-23px;
  286. list-style: none;
  287. opacity:0;
  288. -webkit-transition: all 0.2s linear;
  289. -webkit-transition: all 0.2s linear;
  290. -moz-transition: all 0.2s linear;
  291. transition: all 0.2s linear;
  292. }
  293. .entry:hover .like_and_reblog_buttons{
  294. opacity:1;
  295. -webkit-transition: all 0.2s linear;
  296. -webkit-transition: all 0.2s linear;
  297. -moz-transition: all 0.2s linear;
  298. transition: all 0.2s linear;
  299. }
  300.  
  301. .like_and_reblog_buttons li {
  302. float: left;
  303. height:20px;
  304. width:20px;
  305. }
  306.  
  307. .like_and_reblog_buttons li:first-child {
  308. margin-right:12px;
  309. }
  310.  
  311. {block:IndexPage}
  312. .entry .gradient{
  313. position: absolute;
  314. left:0px;
  315. top:0px;
  316. width:100%;
  317. height:40px;
  318. background:rgba(0,0,0,.2);
  319. opacity:0;
  320. -webkit-transition: all 0.2s linear;
  321. -webkit-transition: all 0.2s linear;
  322. -moz-transition: all 0.2s linear;
  323. transition: all 0.2s linear;
  324. }
  325. .entry:hover .gradient{
  326. opacity:1;
  327. -webkit-transition: all 0.2s linear;
  328. -webkit-transition: all 0.2s linear;
  329. -moz-transition: all 0.2s linear;
  330. transition: all 0.2s linear;
  331. }
  332. .permanote{
  333. position:absolute;
  334. top:12px;
  335. right:15px;
  336. font-weight:600;
  337. font-size:12px;
  338. opacity:0;
  339. }
  340. .permanote a{
  341. color:white;
  342. }
  343. .entry:hover .permanote{
  344. opacity:1;
  345. -webkit-transition: all 0.2s linear;
  346. -webkit-transition: all 0.2s linear;
  347. -moz-transition: all 0.2s linear;
  348. transition: all 0.2s linear;
  349. }
  350. {/block:IndexPage}
  351.  
  352. .play{
  353. position:absolute;
  354. left:50%;
  355. margin-left:-24px;
  356. top:50%;
  357. margin-top:-42px;
  358. border:10px solid white;
  359. height:27px;
  360. width:27px;
  361. border-radius:100%;
  362. overflow:hidden;
  363. }
  364.  
  365. .notess{
  366. position:absolute;
  367. left:520px;
  368. top:0px;
  369. height:500px;
  370. width:450px;
  371. overflow:scroll;
  372. padding:10px;
  373. background-color:{color:post background};
  374. }
  375. ol.notes {
  376. list-style-type: none;
  377. margin-top:20px;
  378. padding:0px;
  379. line-height:40px;
  380. font-size:13px;
  381. }
  382. .notess img{
  383. border-radius:100%;
  384. }
  385.  
  386. .textbuttons ul{
  387. list-style:none;
  388. position:relative;
  389. }
  390. .textbuttons li {
  391. list-style:None;
  392. float: right;
  393. }
  394. .textbuttons li:first-child {
  395. margin-left:12px;
  396. }
  397.  
  398. .textnote{
  399. position:absolute;
  400. margin-left:0px;
  401. margin-bottom:10px;
  402. font-weight:700;
  403. font-size:12px;
  404. }
  405. .textnote a{
  406. font-size:11px;
  407. color:gray;
  408. }
  409.  
  410. .caption{
  411. width:90%;
  412. padding:5%;
  413. background:{color:post background};
  414. margin-top:-3px;
  415. }
  416.  
  417. .chat li {
  418. list-style-type:none;
  419. margin-left:-40px;
  420. padding:5px;
  421. border-bottom:2px solid #dddddd;
  422. }
  423. .label{
  424. font-weight:700;
  425. font-size:11px;
  426. }
  427.  
  428. {CustomCSS}
  429. </style>
  430.  
  431. <title>{title}</title>
  432.  
  433. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  434.  
  435. </head>
  436. <body>
  437.  
  438. <div id="fb-root"></div>
  439. <script>(function(d, s, id) {
  440. var js, fjs = d.getElementsByTagName(s)[0];
  441. if (d.getElementById(id)) return;
  442. js = d.createElement(s); js.id = id;
  443. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  444. fjs.parentNode.insertBefore(js, fjs);
  445. }(document, 'script', 'facebook-jssdk'));</script>
  446.  
  447. <div id="top">
  448.  
  449. {block:ifnotbanner}<a href="/"><span class="blogtitle">{Title}</span></a>{/block:ifnotbanner}
  450. {block:ifbanner}<span class="banner"><img src="{image:banner}" height="95px"></span>{/block:ifbanner}
  451. {block:ifshowdescription}
  452. <span class="description">{Description}</span
  453. {/block:ifshowdescription}
  454. </div>
  455.  
  456. <div id="nav">
  457. <a href="/">{text:home}</a>
  458. <a href="/ask">{text:message}</a>
  459. <a href="/archive">{text:archive}</a>
  460. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label}</span></a> {/block:Pages}{/block:HasPages}
  461. <a href="http://baesil.tumblr.com/">theme</a>
  462. </div>
  463.  
  464.  
  465. <div id="content">
  466. {block:Posts}
  467. <div class="entry">
  468.  
  469. {block:Text}
  470. <div class="answer">{block:Title}<span class="title">{Title}</span>{/block:Title}{Body}
  471. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  472. <ul class="textbuttons">
  473. <li>{ReblogButton color="gray" size=15}</li>
  474. <li>{LikeButton color="gray" size=15}</li>
  475. </ul><br>
  476. {/block:IndexPage}
  477. </div>
  478. {/block:Text}
  479.  
  480. {block:Link}
  481. <div class="answer"><a href="{URL}"><span class="title">{Name}</span></a>
  482. {block:Description}{Description}{/block:Description}
  483. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  484. <ul class="textbuttons">
  485. <li>{ReblogButton color="gray" size=15}</li>
  486. <li>{LikeButton color="gray" size=15}</li>
  487. </ul><br>
  488. {/block:IndexPage}
  489. </div>
  490. {block:Link}
  491.  
  492. {block:Photo}
  493. {block:IndexPage}
  494. <div class="gradient"></div>
  495. <div class="permanote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  496. <ul class="like_and_reblog_buttons">
  497. <li>{ReblogButton color="white"}</li>
  498. <li>{LikeButton color="white"}</li>
  499. </ul>
  500. {/block:IndexPage}
  501. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=100%/></a></div>{LinkCloseTag}
  502. {block:ifshowcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifshowcaptions}
  503. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width=500px/>{LinkCloseTag}{/block:PermalinkPage}
  504. {/block:Photo}
  505.  
  506. {block:Photoset}
  507. <center>
  508. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  509. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  510. </center>
  511. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  512. <ul class="textbuttons">
  513. <li>{ReblogButton color="gray" size=15}</li>
  514. <li>{LikeButton color="gray" size=15}</li>
  515. </ul><br>
  516. {/block:IndexPage}
  517. {/block:Photoset}
  518.  
  519. {block:Quote}
  520. <div class="answer"><div class="title">{Quote}</div>- {Source}
  521. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  522. <ul class="textbuttons">
  523. <li>{ReblogButton color="gray" size=15}</li>
  524. <li>{LikeButton color="gray" size=15}</li>
  525. </ul><br>
  526. {/block:IndexPage}
  527. </div>
  528. {/block:Quote}
  529.  
  530. {block:Chat}
  531. <div class="answer">
  532. <div style="margin-left:3px;">
  533. {block:Title}<span class="title">{Title}</span>{/block:Title}
  534. <ul class="chat">
  535. {block:Lines}
  536. <li class="user_{UserNumber}">
  537. {block:Label}
  538. <span class="label">{Label}</span>
  539. {/block:Label}
  540. {Line}
  541. </li>
  542. {/block:Lines}
  543. </ul>
  544. </div>
  545. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  546. <ul class="textbuttons">
  547. <li>{ReblogButton color="gray" size=15}</li>
  548. <li>{LikeButton color="gray" size=15}</li>
  549. </ul><br>
  550. {/block:IndexPage}
  551. </div>
  552. {/block:Chat}
  553.  
  554. {block:Audio}
  555. {block:AlbumArt}
  556. <center><a href="{Permalink}"><img src="{AlbumArtURL}" width="100%"></a></center>
  557. {/block:AlbumArt}
  558. <div class="play">{AudioPlayerWhite}</div>
  559. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  560. <ul class="like_and_reblog_buttons">
  561. <li>{ReblogButton color="white" size=17}</li>
  562. <li>{LikeButton color="white" size=17}</li>
  563. </ul>
  564. {/block:IndexPage}
  565. {/block:Audio}
  566.  
  567. {block:Answer}
  568. <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:header}>{Answer}
  569. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  570. <ul class="textbuttons">
  571. <li>{ReblogButton color="gray" size=15}</li>
  572. <li>{LikeButton color="gray" size=15}</li>
  573. </ul><br>
  574. {/block:IndexPage}
  575. </div>
  576. {/block:Answer}
  577.  
  578. {block:Video}
  579. {block:IndexPage}
  580. <center>
  581. {Video-250}</center>
  582. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  583. <ul class="textbuttons">
  584. <li>{ReblogButton color="gray" size=15}</li>
  585. <li>{LikeButton color="gray" size=15}</li>
  586. </ul><br>
  587. {/block:IndexPage}
  588. {/block:IndexPage}
  589. {block:PermalinkPage}
  590. <center>
  591. {Video-500}</center>
  592. {/block:PermalinkPage}
  593. {block:Video}
  594.  
  595. {block:PermalinkPage}
  596. {block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  597. {/block:PermalinkPage}
  598.  
  599. {block:PostNotes}
  600. <div class="notess">{block:Caption}{Caption}{/block:Caption}
  601. {block:NoteCount}<br><span class="title">{NoteCountWithLabel}:</span>{/block:NoteCount}
  602. <br>{PostNotes}</div>
  603. {/block:PostNotes}
  604. </div>
  605.  
  606. {/block:Posts}
  607.  
  608. {block:IndexPage}
  609. {block:Pagination}
  610. <div id="pagination">
  611. {block:NextPage}
  612. <a id="nextPage" href="{NextPage}"></a>
  613. {/block:NextPage}
  614. {block:PreviousPage}
  615. <a href="{PreviousPage}"></a>
  616. {/block:PreviousPage}
  617. </div>
  618. {/block:Pagination}
  619. {/block:IndexPage}
  620. </div>
  621.  
  622. <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>
  623.  
  624. </body>
  625. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement