Advertisement
Guest User

theme 28: at an angle; by primrosetylers

a guest
Jul 5th, 2014
1,623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.93 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. theme 28: at an angle;
  7. coded by irma at primrosetylers.tumblr.com
  8. do not steal, remove the credit, or use as a base
  9.  
  10. -->
  11.  
  12. <title>{Title}</title>
  13. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  16.  
  17. <!-- meta stuffs go here -->
  18.  
  19. <meta name="color:background" content="#fff">
  20. <meta name="color:scrollbar" content="#eee">
  21. <meta name="color:title" content="#000">
  22. <meta name="color:header text shadow" content="#fff">
  23. <meta name="color:header link" content="#000">
  24. <meta name="color:header link hover" content="#fff">
  25. <meta name="color:header link bg hover" content="#000">
  26. <meta name="color:description" content="#000">
  27. <meta name="color:tooltip text" content="#fff">
  28. <meta name="color:tooltip background" content="#000">
  29. <meta name="color:posts" content="#fff">
  30. <meta name="color:post text" content="#000">
  31. <meta name="color:post info" content="#000">
  32. <meta name="color:post info hover" content="#aaa">
  33. <meta name="color:posts link" content="#aaa">
  34. <meta name="color:posts link hover" content="#000">
  35. <meta name="color:pagination" content="#aaa">
  36. <meta name="color:pagination hover" content="#000">
  37. <meta name="color:blockquote" content="#aaa">
  38.  
  39. <meta name="image:header" content="http://static.tumblr.com/9306881b618066c084c0f7374967e322/kdcwkh7/4Ubn7u12b/tumblr_static_xks6jjfzedc0o4c84gwoc8o8.jpg">
  40.  
  41. <meta name="if:500px posts" content="0">
  42. <meta name="if:400px posts" content="1">
  43. <meta name="if:250px posts" content="0">
  44. <meta name="if:tiny cursor" content="1">
  45. <meta name="if:infinite scroll" content="0">
  46. <meta name="if:sticky image" content="1">
  47.  
  48. <meta name="text:link 1" content="index">
  49. <meta name="text:link 1 url" content="/">
  50. <meta name="text:link 2" content="mssg">
  51. <meta name="text:link 2 url" content="/ask">
  52. <meta name="text:link 3" content="past">
  53. <meta name="text:link 3 url" content="/archive">
  54. <meta name="text:link 4" content="">
  55. <meta name="text:link 4 url" content="">
  56. <meta name="text:link 5" content="">
  57. <meta name="text:link 5 url" content="">
  58. <meta name="text:link 6" content="">
  59. <meta name="text:link 6 url" content="">
  60.  
  61.  
  62. <!-- metas end-->
  63.  
  64. <!-- sticky header scripts -->
  65.  
  66. {block:IfStickyImage}
  67. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
  68. <script type="text/javascript">
  69. $(function(){
  70. var stickyRibbonTop = $('#stickyribbon').offset().top;
  71.  
  72. $(window).scroll(function(){
  73. if( $(window).scrollTop() > stickyRibbonTop ) {
  74. $('#stickyribbon').css({'position': 'fixed', 'top': '0px', 'width': '510px', 'margin': 'auto', 'z-index':'10'});
  75. } else {
  76. $('#stickyribbon').css({'position': 'relative', 'top': '0px'});
  77. }
  78. });
  79. });
  80. </script>
  81.  
  82. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
  83. <script type="text/javascript">
  84. $(function(){
  85. var stickyRibbonTop = $('#stickyribbon').offset().top;
  86.  
  87. $(window).scroll(function(){
  88. if( $(window).scrollTop() > stickyRibbonTop ) {
  89. $('#stickribbon').css({'position': 'fixed', 'top': '20px', 'width': '510px', 'margin': 'auto', 'z-index':'2000'});
  90. } else {
  91. $('#stickribbon').css({'position': 'relative', 'top': '0px'});
  92. }
  93. });
  94. });
  95. </script>
  96. {/block:IfStickyImage}
  97.  
  98. {block:IfNotStickyImage}
  99. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
  100. <script type="text/javascript">
  101. $(function(){
  102. var stickyRibbonTop = $('#stickribbon').offset().top;
  103.  
  104. $(window).scroll(function(){
  105. if( $(window).scrollTop() > stickyRibbonTop ) {
  106. $('#stickribbon').css({'position': 'fixed', 'top': '20px', 'width': '510px', 'margin': 'auto', 'z-index':'2000'});
  107. } else {
  108. $('#stickribbon').css({'position': 'relative', 'top': '0px'});
  109. }
  110. });
  111. });
  112. </script>
  113. {/block:IfNotStickyImage}
  114.  
  115.  
  116. <!-- lazy load script -->
  117. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/8mXm7q8vn/jquery.js"></script>
  118. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/ogWm7q8w1/lazyload.js"></script>
  119. <script type="text/javascript" charset="utf-8">
  120. var $j = jQuery.noConflict();
  121. $j(function() {
  122. if (navigator.platform == "iPad" || navigator.platform == "iPhone") return;
  123. $j("img").lazyload({
  124. placeholder : "http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif",
  125. effect: "fadeIn",
  126. });
  127. });
  128. </script>
  129.  
  130. <!-- infinite scroll script -->
  131.  
  132. {block:IfInfiniteScroll}
  133. <script type="text/javascript" src="http://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>
  134. {/block:IfInfiniteScroll}
  135. {block:IfNotInfiniteScroll}{/block:IfNotInfiniteScroll}
  136.  
  137.  
  138. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  139.  
  140. <!-- tooltip script-->
  141.  
  142. <script language="JavaScript" src="http://dl.dropbox.com/u/3173073/GothicDarkness/qTip.js" type="text/JavaScript"></script>
  143.  
  144. <style>
  145.  
  146. /*tooltip css*/
  147. div#qTip {
  148. padding: 3px;
  149. display: none;
  150. text-align: center;
  151. position: absolute;
  152. font-size:8px;
  153. line-height:9px;
  154. font-family:arial;
  155. z-index: 1000;
  156. border-radius:3px;
  157. background-color:{color:tooltip background};
  158. color:{color:tooltip text};
  159. text-transform:uppercase;
  160. letter-spacing: 1px;
  161. }
  162.  
  163. iframe#tumblr_controls {
  164. top: 0% !important;
  165. right:0% !important;
  166. opacity:0.3;
  167. position: fixed !important;
  168. filter:alpha(opacity=30);
  169. -webkit-transition: all 0.7s ease;
  170. -moz-transition: all 0.7s ease;
  171. -o-transition: all 0.7s ease;
  172. }
  173. iframe#tumblr_controls:hover{
  174. top:0% !important;
  175. right:0% !important;
  176. opacity:0.8;
  177. position: fixed !important;
  178. filter:alpha(opacity=80);
  179. -webkit-transition: all 0.7s ease;
  180. -moz-transition: all 0.7s ease;
  181. -o-transition: all 0.7s ease;
  182. }
  183.  
  184. body {
  185. background-color:{color:background};
  186. font-family:'Lato', arial;
  187. color:{color:post text};
  188. font-size:11px;
  189. }
  190.  
  191. a {
  192. text-decoration:none;
  193. color:{color:posts link};
  194. -webkit-transition:0.5s;
  195. -moz-transition:0.5s;
  196. -ms-transition:0.5s;
  197. -o-transition:0.5s;
  198. }
  199.  
  200. blockquote {
  201. border-left:2px solid {color:blockquote};
  202. padding-left:10px;
  203. }
  204.  
  205. a:hover {
  206. color:{color:posts link hover};
  207. }
  208.  
  209. ::-webkit-scrollbar {
  210. width: 7px;
  211. }
  212.  
  213. ::-webkit-scrollbar-track {
  214. background-color:{color:background};
  215. }
  216.  
  217. ::-webkit-scrollbar-thumb {
  218. background-color:{color:scrollbar};
  219. }
  220.  
  221. h2 {
  222. text-align:center;
  223. }
  224.  
  225. /*header*/
  226.  
  227. #header {
  228. width:510px;
  229. margin:auto;
  230. padding-top:25vh;
  231. height:75vh;
  232. text-align:center;
  233. }
  234.  
  235. #title {
  236. z-index:2000;
  237. margin:10px;
  238. text-transform:uppercase;
  239. font-size:35px;
  240. letter-spacing:5px;
  241. color:{title};
  242. }
  243.  
  244. #links {
  245. z-index:2000;
  246. }
  247.  
  248. #links a {
  249. text-transform:uppercase;
  250. color:{color:header link};
  251. background-color:transparent;
  252. padding:2px 5px 2px 5px;
  253. margin: 0 2px 0 2px;
  254. border:1px solid {color:header link};
  255. }
  256.  
  257. #links a:hover {
  258. color:{color:header link hover};
  259. background-color:{color:header link bg hover};
  260. }
  261.  
  262. #description {
  263. margin-top:5px;
  264. width:450px;
  265. margin-left:auto;
  266. margin-right:auto;
  267. font-style:italic;
  268. font-size:12px;
  269. color:{color:description};
  270. }
  271.  
  272. /*footer*/
  273.  
  274. #footer {
  275. width:100%;
  276. text-align:center;
  277. font-size:11px;
  278. margin-top:35px;
  279. padding-bottom:15px;
  280. text-transform:uppercase;
  281. letter-spacing:2px;
  282. background-color:{color:background}; /*temp*/
  283. color:{color:pagination};
  284. }
  285.  
  286. #footer a {
  287. color:{color:pagination}; /*variable*/
  288. }
  289.  
  290. #footer a:hover {
  291. color:{color:pagination hover};
  292. }
  293.  
  294. /*posts*/
  295.  
  296. #postage {
  297. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  298. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  299. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  300. margin-bottom:30px;
  301. margin-left:auto;
  302. margin-right:auto;
  303. background-color:{color:posts}; /*temp*/
  304. padding:10px;
  305. -webkit-transition:0.5s;
  306. -moz-transition:0.5s;
  307. -ms-transition:0.5s;
  308. -o-transition:0.5s;
  309. }
  310.  
  311. #words {
  312. font-style:italic;
  313. font-size:15px;
  314. }
  315.  
  316. .source {
  317. text-align:right;
  318. padding-right:5px;
  319. }
  320.  
  321. #linkpost {
  322. text-align:center;
  323. font-size:11px;
  324. }
  325.  
  326. .linkety {
  327. font-size:15px;
  328. }
  329.  
  330. #chat ul {
  331. list-style:none;
  332. font-family:consolas;
  333. margin-left:-30px;
  334. }
  335.  
  336. .label {
  337. text-transform:uppercase;
  338. font-weight:bold;
  339. }
  340.  
  341. #audioplayer {
  342. width:30px;
  343. height:30px;
  344. overflow:hidden;
  345. position:absolute;
  346. margin-top:35px;
  347. margin-left:35px;
  348. opacity:0.7;
  349. }
  350.  
  351. #albumart {
  352. width:100px;
  353. height:100px;
  354. background-color:#e3e3e3;
  355. }
  356.  
  357. #ask span a {
  358. color:{color:post text};
  359. font-style:italic;
  360. }
  361.  
  362. #postage:hover .tags {
  363. opacity:1;
  364. }
  365.  
  366. .info {
  367. text-align:center;
  368. text-transform:uppercase;
  369. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  370. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  371. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  372. padding-top:8px;
  373. margin-top:10px;
  374. opacity:1;
  375. font-size:10px;
  376. -webkit-transition:0.6s;
  377. -moz-transition:0.6s;
  378. -ms-transition:0.6s;
  379. -o-transition:0.6s;
  380. }
  381.  
  382. .info a {
  383. color:{color:post info};
  384. }
  385.  
  386. .info a:hover {
  387. color:{color:post info hover};
  388. }
  389.  
  390. .tags {
  391. font-size:10px;
  392. text-transform:none;
  393. opacity:0;
  394. -webkit-transition:0.6s;
  395. -moz-transition:0.6s;
  396. -ms-transition:0.6s;
  397. -o-transition:0.6s;
  398. }
  399.  
  400. #postnotes {
  401. line-height:200%;
  402. }
  403.  
  404. #postnotes li {
  405. list-style:none;
  406. }
  407.  
  408. #postnotes img {
  409. margin-right:5px;
  410. }
  411.  
  412. #credit {
  413. right:10px;
  414. bottom:15px;
  415. font-size:11px;
  416. padding:2px 5px 2px 5px;
  417. text-transform:uppercase;
  418. text-align:center;
  419. background-color:#000;
  420. position:fixed;
  421. font-family:arial;
  422. opacity:0.8;
  423. }
  424.  
  425. #credit a {
  426. color:#fff;
  427. }
  428.  
  429. #credit a:hover {
  430. text-shadow:0 0 2px #fff;
  431. color:#000;
  432. opacity:1;
  433. }
  434.  
  435. {block:IfTinyCursor}
  436. /* Start http://www.cursors-4u.com */ body, a:hover {cursor: url(http://cur.cursors-4u.net/cursors/cur-9/cur817.cur), progress !important;} /* End http://www.cursors-4u.com */
  437. {/block:IfTinyCursor}
  438.  
  439. {CustomCSS}
  440. </style>
  441. </head>
  442. <body>
  443.  
  444. <div id="header">
  445.  
  446. <div id="stickyribbon">
  447. <img src="{image:header}" style="width:510px; z-index:10; position:relative;"/>
  448. </div>
  449.  
  450. <div id="stickribbon" style="position:relative; z-index:2000; padding-top:10px; padding-bottom:10px; text-shadow:1px 1px 2px {color:header text shadow};">
  451. <div id="title">{Title}</div>
  452.  
  453. <div id="links">
  454. {block:iflink1}<a href="{text:link 1 url}">{text:link 1}</a>{/block:iflink1}
  455. {block:iflink2}<a href="{text:link 2 url}">{text:link 2}</a>{/block:iflink2}
  456. {block:iflink3}<a href="{text:link 3 url}">{text:link 3}</a>{/block:iflink3}
  457. {block:iflink4}<a href="{text:link 4 url}">{text:link 4}</a>{/block:iflink4}
  458. {block:iflink5}<a href="{text:link 5 url}">{text:link 5}</a>{/block:iflink5}
  459. {block:iflink6}<a href="{text:link 6 url}">{text:link 6}</a>{/block:iflink6}
  460. </div>
  461. </div>
  462.  
  463. <div id="description">{Description}</div>
  464.  
  465. </div>
  466.  
  467. <div class = "autopagerize_page_element" >
  468. {block:Posts}
  469. <div id="postage">
  470.  
  471. {block:Text}
  472. <div id="text">
  473. <h2><a href="{Permalink}">{Title}</a></h2>
  474. {Body}
  475. </div> <!--text post-->
  476. {/block:Text}
  477.  
  478. {block:Photo}
  479. <div id="photo">
  480. {block:If500pxPosts}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{/block:If500pxPosts}
  481. {block:If400pxPosts}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{/block:if400pxPosts}
  482. {block:If250pxPosts}<img src="{PhotoURL-250}" alt="{PhotoAlt}"/>{/block:if250pxPosts}
  483. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  484. </div> <!--photo post-->
  485. {/block:Photo}
  486.  
  487. {block:Panorama}
  488. <div id="panorama">
  489. {LinkOpenTag}
  490. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  491. {LinkCloseTag}
  492. {block:Caption}
  493. <div class="caption">{Caption}</div>
  494. {/block:Caption}
  495. </div> <!--panorama post-->
  496. {/block:Panorama}
  497.  
  498. {block:Photoset}
  499. <div id="photoset">
  500. {block:If500pxPosts}{Photoset-500}{/block:If500pxPosts}
  501. {block:If400pxPosts}{Photoset-400}{/block:if400pxPosts}
  502. {block:If250pxPosts}{Photoset-250}{/block:if250pxPosts}
  503. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  504. </div> <!--photoset-->
  505. {/block:Photoset}
  506.  
  507. {block:Quote}
  508. <div id="quote">
  509. <div id="words">{Quote}</div>
  510. {block:Source}<div class="source">- {Source}</div>{/block:Source}
  511. </div> <!--quote-->
  512. {/block:Quote}
  513.  
  514. {block:Link}
  515. <div id="linkpost">
  516. {block:PostTitle}<h2><a href="{Permalink}">{PostTitle}</a></h2>{/block:PostTitle}
  517. <a href="{URL}" class="linkety" {Target}>{Name}</a>
  518. {block:Description}
  519. <div class="linkdesc">{Description}</div>
  520. {/block:Description}
  521. </div> <!--link-->
  522. {/block:Link}
  523.  
  524. {block:Chat}
  525. <div id="chat">
  526. <h2><a href="{Permalink}">{Title}</a></h2>
  527. <ul>
  528. {block:Lines}
  529. <li class="{Alt} user_{UserNumber}">
  530. {block:Label}
  531. <span class="label">{Label}</span>
  532. {/block:Label}{Line}
  533. </li>
  534. {/block:Lines}
  535. </ul>
  536. </div> <!--chat-->
  537. {/block:Chat}
  538.  
  539. {block:Video}
  540. <div id="video">
  541. {block:PostTitle}<h2><a href="{Permalink}">{PostTitle}</a></h2>{/block:PostTitle}
  542. {block:If500pxPosts}{Video-500}{/block:If500pxPosts}
  543. {block:If400pxPosts}{Video-400}{/block:if400pxPosts}
  544. {block:If250pxPosts}{Video-250}{/block:if250pxPosts}
  545. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  546. </div> <!--video-->
  547. {/block:Video}
  548.  
  549. {block:Audio}
  550. <div id="audio">
  551. <table style="padding:5px; background-color:#fff;margin-bottom:5px;">
  552. <tr>
  553. <td style="vertical-align:top;padding-right:10px;"><div id="audioplayer">{AudioPlayerWhite}</div>
  554. <div id="albumart">
  555. {block:AlbumArt}
  556. <img src="{AlbumArtURL}" style="width:100px;">
  557. {/block:AlbumArt}</div></td>
  558. <td style="vertical-align:top; font-size:14px;"> {block:TrackName}<i>title:</i> {TrackName} <br />{/block:TrackName}
  559. {block:Artist}<i>artist:</i> {Artist} <br />{/block:Artist}
  560. {block:Album}<i>album:</i> {Album} <br />{/block:Album}
  561. {block:PlayCount}<i>played:</i> {FormattedPlayCount} times{/block:PlayCount}
  562. </td>
  563. </tr>
  564. </table>
  565. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  566. </div> <!--audio-->
  567. {/block:Audio}
  568.  
  569. {block:Answer}
  570. <div id="ask">
  571. <p style="padding:10px; background-color:#eee;">— <span>{Asker}</span>: {Question}</p>
  572. <p>{block:Answerer}— <span>{Answerer}</span> replied: {/block:Answerer}{Answer}</p>
  573. {block:Answerer}<blockquote>{Replies}</blockquote>{/block:Answerer}
  574. </div> <!--ask-->
  575. {/block:Answer}
  576.  
  577. <div class="info">
  578. <a href="{Permalink}">{TimeAgo}</a>
  579. {block:RebloggedFrom} - <a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom} {block:ContentSource}, <a title="{SourceTitle}" href="{SourceURL}">src</a>{/block:ContentSource} <a href="{Permalink}">(♥ {NoteCount})</a> <a href="{ReblogURL}" title="reblog" target="_blank">↺</a>
  580. {block:HasTags}
  581. <div class="tags">
  582. {block:Tags} <a href="{TagURL}">#{Tag}</a>{/block:Tags}
  583. </div>
  584. {/block:HasTags}
  585. </div> <!--info-->
  586.  
  587. {block:PermalinkPage}
  588. <div id="postnotes">
  589. {PostNotes}
  590. </div>
  591. {/block:PermalinkPage}
  592.  
  593. </div> <!--postage-->
  594. {/block:Posts}
  595. </div>
  596.  
  597. {block:IfNotInfiniteScroll}
  598. {block:Pagination}
  599. <div id="footer">
  600. {block:PreviousPage}<a href="{PreviousPage}">back</a>{/block:PreviousPage} — {block:NextPage}<a href="{NextPage}">forth</a>{/block:NextPage}
  601. </div>
  602. {/block:Pagination}
  603. {block:IfNotInfiniteScroll}
  604. {block:IfInfiniteScroll}{/block:IfInfiniteScroll}
  605.  
  606. <div id="credit"><a href="http://primrosetylers.tumblr.com">✿THEME</a></div>
  607.  
  608. </body>
  609. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement