Advertisement
Guest User

revamped! theme 10: starcrossed; by primrosetylers

a guest
Sep 1st, 2014
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.64 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!--
  5.  
  6. theme 10.2: starcrossed;
  7. (revamped theme)
  8. coded by irma at primrosetylers.tumblr.com
  9. do not steal, remove the credit, or use as a base
  10.  
  11. -->
  12.  
  13. <title>{Title}</title>
  14. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  15. <link rel="shortcut icon" href="{Favicon}">
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17.  
  18. <!-- meta stuffs go here -->
  19.  
  20. <meta name="color:background" content="#fff">
  21. <meta name="color:scrollbar" content="#eee">
  22. <meta name="color:title" content="#000">
  23. <meta name="color:sidebar link" content="#aaa">
  24. <meta name="color:link border" content="#000">
  25. <meta name="color:description" content="#000">
  26. <meta name="color:tooltip text" content="#fff">
  27. <meta name="color:tooltip background" content="#000">
  28. <meta name="color:posts" content="#fff">
  29. <meta name="color:post text" content="#000">
  30. <meta name="color:post info" content="#000">
  31. <meta name="color:post info hover" content="#aaa">
  32. <meta name="color:posts link" content="#aaa">
  33. <meta name="color:posts link hover" content="#000">
  34. <meta name="color:pagination" content="#aaa">
  35. <meta name="color:pagination hover" content="#000">
  36. <meta name="color:blockquote" content="#aaa">
  37.  
  38. <meta name="image:sidebar" content="http://38.media.tumblr.com/4ef6dfeb166818b8bb12602c83fe7005/tumblr_n9agbigt2k1teau3lo3_r1_500.gif">
  39.  
  40. <meta name="if:500px posts" content="1">
  41. <meta name="if:400px posts" content="0">
  42. <meta name="if:250px posts" content="0">
  43. <meta name="if:show tags" content="1">
  44. <meta name="if:show caption" content="1">
  45. <meta name="if:tiny cursor" content="1">
  46. <meta name="if:infinite scroll" content="0">
  47.  
  48. <meta name="text:link 1" content="home">
  49. <meta name="text:link 1 url" content="/">
  50. <meta name="text:link 2" content="ask">
  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.  
  59. <!-- metas end-->
  60.  
  61. <!-- infinite scroll script -->
  62.  
  63. {block:IfInfiniteScroll}
  64. <script type="text/javascript" src="http://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>
  65. {/block:IfInfiniteScroll}
  66. {block:IfNotInfiniteScroll}{/block:IfNotInfiniteScroll}
  67.  
  68.  
  69. <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
  70.  
  71. <!-- tooltip script -->
  72. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  73. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  74. <script>
  75. (function($){
  76. $(document).ready(function(){
  77. $("a[title]").style_my_tooltips({
  78. tip_follows_cursor:true,
  79. tip_delay_time:30,
  80. tip_fade_speed:300,
  81. attribute:"title"
  82. });
  83. });
  84. })(jQuery);
  85. </script>
  86.  
  87. <style type="text/css">
  88.  
  89. /*tooltip css*/
  90. #s-m-t-tooltip {
  91. max-width:300px;
  92. position:absolute;
  93. z-index:99999;
  94. margin-top:20px;
  95. text-transform:uppercase;
  96. padding:2px 4px 2px 4px;
  97. background-color:{color:tooltip background};
  98. font-family:arial;
  99. font-size:10px;
  100. color:{color:tooltip text};
  101. }
  102.  
  103. body {
  104. background-color:{color:background};
  105. font-family:'Lato', arial;
  106. color:{color:post text};
  107. font-size:12px;
  108. }
  109.  
  110. a {
  111. text-decoration:none;
  112. color:{color:posts link};
  113. -webkit-transition:0.5s;
  114. -moz-transition:0.5s;
  115. -ms-transition:0.5s;
  116. -o-transition:0.5s;
  117. }
  118.  
  119. blockquote {
  120. border-left:2px solid {color:blockquote};
  121. padding-left:10px;
  122. }
  123.  
  124. a:hover {
  125. color:{color:posts link hover};
  126. }
  127.  
  128. pre {
  129. white-space: pre-wrap;
  130. white-space: -moz-pre-wrap;
  131. white-space: -pre-wrap;
  132. white-space: -o-pre-wrap;
  133. word-wrap: break-word;
  134. }
  135.  
  136. ::-webkit-scrollbar {
  137. width:8px;
  138. height:8px;
  139. }
  140.  
  141. ::-webkit-scrollbar-track {
  142. background-color:{color:background};
  143. }
  144.  
  145. ::-webkit-scrollbar-thumb {
  146. background-color:{color:scrollbar};
  147. }
  148.  
  149. ::selection {
  150. background: {color:scrollbar};
  151. }
  152. ::-moz-selection {
  153. background: {color:scrollbar};
  154. }
  155.  
  156. h2 {
  157. text-align:center;
  158. }
  159.  
  160. /*sidebar*/
  161.  
  162. #sidebar {
  163. width:220px;
  164. position:fixed;
  165. top:200px;
  166. left:165px;
  167. text-align:center;
  168. }
  169.  
  170. #title {
  171. text-transform:uppercase;
  172. font-size:20px;
  173. letter-spacing:4px;
  174. color:{color:title};
  175. }
  176.  
  177. #sidebar img {
  178. width:180px;
  179. margin:5px;
  180. }
  181.  
  182. #description {
  183. width:180px;
  184. margin-left:auto;
  185. margin-right:auto;
  186. margin-top:-10px;
  187. color:{color:description};
  188. font-size:11px;
  189. opacity:0;
  190. -webkit-transition:0.5s;
  191. -moz-transition:0.5s;
  192. -ms-transition:0.5s;
  193. -o-transition:0.5s;
  194. transition:0.5s;
  195. }
  196.  
  197. #sidebar:hover #description {
  198. opacity:1;
  199. margin-top:5px;
  200. }
  201.  
  202. /* effect tutorial from codrops */
  203.  
  204. *:after,
  205. *::before {
  206. -webkit-box-sizing: border-box;
  207. -moz-box-sizing: border-box;
  208. box-sizing: border-box;
  209. }
  210.  
  211. nav a {
  212. position: relative;
  213. display: inline-block;
  214. color: #fff;
  215. text-transform: uppercase;
  216. font-size: 12px;
  217. }
  218.  
  219. .cl-effect-18 {
  220. position: relative;
  221. z-index: 1;
  222. }
  223.  
  224. .cl-effect-18 a {
  225. padding: 0 5px;
  226. color: {color:sidebar link};
  227. -webkit-transition: color 0.3s;
  228. -moz-transition: color 0.3s;
  229. transition: color 0.3s;
  230. }
  231.  
  232. .cl-effect-18 a::before,
  233. .cl-effect-18 a::after {
  234. position: absolute;
  235. width: 100%;
  236. left: 0;
  237. top: 50%;
  238. height: 1px;
  239. margin-top: -1px;
  240. background: {color:link border};
  241. content: '';
  242. z-index: -1;
  243. -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
  244. -moz-transition: -moz-transform 0.3s, opacity 0.3s;
  245. transition: transform 0.3s, opacity 0.3s;
  246. pointer-events: none;
  247. }
  248.  
  249. .cl-effect-18 a::before {
  250. -webkit-transform: translateY(-8px);
  251. -moz-transform: translateY(-8px);
  252. transform: translateY(-8px);
  253. }
  254.  
  255. .cl-effect-18 a::after {
  256. -webkit-transform: translateY(8px);
  257. -moz-transform: translateY(8px);
  258. transform: translateY(8px);
  259. }
  260.  
  261. .cl-effect-18 a:hover::before,
  262. .cl-effect-18 a:hover::after,
  263. .cl-effect-18 a:focus::before,
  264. .cl-effect-18 a:focus::after {
  265. opacity: 0.7;
  266. }
  267.  
  268. .cl-effect-18 a:hover::before,
  269. .cl-effect-18 a:focus::before {
  270. -webkit-transform: rotate(20deg);
  271. -moz-transform: rotate(20deg);
  272. transform: rotate(20deg);
  273. }
  274.  
  275. .cl-effect-18 a:hover::after,
  276. .cl-effect-18 a:focus::after {
  277. -webkit-transform: rotate(-20deg);
  278. -moz-transform: rotate(-20deg);
  279. transform: rotate(-20deg);
  280. }
  281.  
  282.  
  283. /*footer*/
  284.  
  285. #footer {
  286. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  287. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  288. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  289. margin-left:475px;
  290. text-align:center;
  291. font-size:11px;
  292. margin-top:50px;
  293. padding-bottom:25px;
  294. text-transform:uppercase;
  295. letter-spacing:2px;
  296. background-color:{color:background}; /*temp*/
  297. color:{color:pagination};
  298. }
  299.  
  300. #footer a {
  301. color:{color:pagination}; /*variable*/
  302. }
  303.  
  304. #footer a:hover {
  305. color:{color:pagination hover};
  306. }
  307.  
  308. /*posts*/
  309.  
  310. #postage {
  311. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  312. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  313. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  314. margin-top:30px;
  315. margin-bottom:30px;
  316. margin-left:500px;
  317. background-color:{color:posts}; /*temp*/
  318. padding:10px;
  319. -webkit-transition:0.5s;
  320. -moz-transition:0.5s;
  321. -ms-transition:0.5s;
  322. -o-transition:0.5s;
  323. }
  324.  
  325. #panorama img {
  326. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  327. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  328. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  329. }
  330.  
  331. #words {
  332. font-style:italic;
  333. font-size:15px;
  334. }
  335.  
  336. .source {
  337. text-align:right;
  338. padding-right:5px;
  339. }
  340.  
  341. #linkpost {
  342. text-align:center;
  343. font-size:11px;
  344. }
  345.  
  346. .linkety {
  347. font-size:15px;
  348. }
  349.  
  350. #chat ul {
  351. list-style:none;
  352. font-family:courier;
  353. margin-left:-30px;
  354. }
  355.  
  356. .label {
  357. text-transform:uppercase;
  358. font-weight:bold;
  359. }
  360.  
  361. #audioplayer {
  362. width:25px;
  363. height:25px;
  364. position:absolute;
  365. overflow:hidden;
  366. margin-top:25px;
  367. margin-left:25px;
  368. opacity:0.7;
  369. border-radius:100%;
  370. -webkit-border-radius:100%;
  371. -moz-border-radius:100%;
  372. }
  373.  
  374. #albumart {
  375. width:75px;
  376. height:75px;
  377. background-color:#e3e3e3;
  378. }
  379.  
  380. #ask span a {
  381. color:{color:post text};
  382. font-style:italic;
  383. }
  384.  
  385. .info {
  386. text-align:center;
  387. text-transform:uppercase;
  388. {block:If500pxPosts}width:500px;{/block:If500pxPosts}
  389. {block:If400pxPosts}width:400px;{/block:if400pxPosts}
  390. {block:If250pxPosts}width:250px;{/block:if250pxPosts}
  391. margin-top:5px;
  392. opacity:1;
  393. color:{color:post info};
  394. -webkit-transition:0.6s;
  395. -moz-transition:0.6s;
  396. -ms-transition:0.6s;
  397. -o-transition:0.6s;
  398. }
  399.  
  400. .info a {
  401. color:{color:post info};
  402. }
  403.  
  404. .info a:hover {
  405. color:{color:post info hover};
  406. }
  407.  
  408. .tags {
  409. font-size:10px;
  410. text-transform:none;
  411. -webkit-transition:0.6s;
  412. -moz-transition:0.6s;
  413. -ms-transition:0.6s;
  414. -o-transition:0.6s;
  415. }
  416.  
  417. #postnotes {
  418. line-height:200%;
  419. }
  420.  
  421. #postnotes li {
  422. list-style:none;
  423. }
  424.  
  425. #postnotes img {
  426. margin-right:5px;
  427. }
  428.  
  429. #credit {
  430. right:10px;
  431. bottom:15px;
  432. font-size:11px;
  433. padding:2px 5px 2px 5px;
  434. text-transform:uppercase;
  435. text-align:center;
  436. background-color:#000;
  437. position:fixed;
  438. font-family:arial;
  439. }
  440.  
  441. #credit a {
  442. color:#fff;
  443. }
  444.  
  445. #credit a:hover {
  446. text-shadow:0 0 2px #fff;
  447. color:#000;
  448. }
  449.  
  450. {block:IfTinyCursor}
  451. /* 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 */
  452. {/block:IfTinyCursor}
  453.  
  454. {CustomCSS}
  455. </style>
  456. </head>
  457. <body>
  458.  
  459. <div id="sidebar">
  460.  
  461. <div id="title">{Title}</div>
  462.  
  463. <img src="{image:sidebar}"/>
  464.  
  465. <nav class="cl-effect-18" id="cl-effect-18">
  466. <a href="{text:link 1 url}" data-hover="{text:link 1}">{text:link 1}</a><a href="{text:link 2 url}" data-hover="{text:link 2}">{text:link 2}</a><a href="{text:link 3 url}" data-hover="{text:link 3}">{text:link 3}</a><a href="{text:link 4 url}" data-hover="{text:link 4}">{text:link 4}</a><a href="{text:link 5 url}" data-hover="{text:link 5}">{text:link 5}</a>
  467. </nav>
  468.  
  469. <div id="description">{Description}</div>
  470.  
  471. </div>
  472.  
  473. <div class = "autopagerize_page_element" >
  474. {block:Posts}
  475. <div id="postage">
  476.  
  477. {block:Text}
  478. <div id="text">
  479. <h2><a href="{Permalink}">{Title}</a></h2>
  480. {Body}
  481. </div> <!--text post-->
  482. {/block:Text}
  483.  
  484. {block:Photo}
  485. <div id="photo">
  486. {block:If500pxPosts}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{/block:If500pxPosts}
  487. {block:If400pxPosts}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{/block:if400pxPosts}
  488. {block:If250pxPosts}<img src="{PhotoURL-250}" alt="{PhotoAlt}"/>{/block:if250pxPosts}
  489. {block:IfShowCaption}
  490. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  491. {/block:IfShowCaption}
  492. {block:IfNotShowCaption}
  493. {block:PermalinkPage}
  494. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  495. {/block:PermalinkPage}
  496. {/block:IfNotShowCaption}
  497. </div> <!--photo post-->
  498. {/block:Photo}
  499.  
  500. {block:Panorama}
  501. <div id="panorama">
  502. {LinkOpenTag}
  503. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  504. {LinkCloseTag}
  505. {block:IfShowCaption}
  506. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  507. {/block:IfShowCaption}
  508. {block:IfNotShowCaption}
  509. {block:PermalinkPage}
  510. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  511. {/block:PermalinkPage}
  512. {/block:IfNotShowCaption}
  513. </div> <!--panorama post-->
  514. {/block:Panorama}
  515.  
  516. {block:Photoset}
  517. <div id="photoset">
  518. {block:If500pxPosts}{Photoset-500}{/block:If500pxPosts}
  519. {block:If400pxPosts}{Photoset-400}{/block:if400pxPosts}
  520. {block:If250pxPosts}{Photoset-250}{/block:if250pxPosts}
  521. {block:IfShowCaption}
  522. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  523. {/block:IfShowCaption}
  524. {block:IfNotShowCaption}
  525. {block:PermalinkPage}
  526. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  527. {/block:PermalinkPage}
  528. {/block:IfNotShowCaption}
  529. </div> <!--photoset-->
  530. {/block:Photoset}
  531.  
  532. {block:Quote}
  533. <div id="quote">
  534. <div id="words">{Quote}</div>
  535. {block:Source}<div class="source">- {Source}</div>{/block:Source}
  536. </div> <!--quote-->
  537. {/block:Quote}
  538.  
  539. {block:Link}
  540. <div id="linkpost">
  541. {block:PostTitle}<h2><a href="{Permalink}">{PostTitle}</a></h2>{/block:PostTitle}
  542. <a href="{URL}" class="linkety" {Target}>{Name}</a>
  543. {block:Description}
  544. <div class="linkdesc">{Description}</div>
  545. {/block:Description}
  546. </div> <!--link-->
  547. {/block:Link}
  548.  
  549. {block:Chat}
  550. <div id="chat">
  551. <h2><a href="{Permalink}">{Title}</a></h2>
  552. <ul>
  553. {block:Lines}
  554. <li class="{Alt} user_{UserNumber}">
  555. {block:Label}
  556. <span class="label">{Label}</span>
  557. {/block:Label}{Line}
  558. </li>
  559. {/block:Lines}
  560. </ul>
  561. </div> <!--chat-->
  562. {/block:Chat}
  563.  
  564. {block:Video}
  565. <div id="video">
  566. {block:PostTitle}<h2><a href="{Permalink}">{PostTitle}</a></h2>{/block:PostTitle}
  567. {block:If500pxPosts}{Video-500}{/block:If500pxPosts}
  568. {block:If400pxPosts}{Video-400}{/block:if400pxPosts}
  569. {block:If250pxPosts}{Video-250}{/block:if250pxPosts}
  570. {block:IfShowCaption}
  571. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  572. {/block:IfShowCaption}
  573. {block:IfNotShowCaption}
  574. {block:PermalinkPage}
  575. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  576. {/block:PermalinkPage}
  577. {/block:IfNotShowCaption}
  578. </div> <!--video-->
  579. {/block:Video}
  580.  
  581. {block:Audio}
  582. <div id="audio">
  583. <table style="padding:5px; background-color:#fff;margin-bottom:5px;">
  584. <tr>
  585. <td style="vertical-align:top;padding-right:10px;"><div id="audioplayer">{AudioPlayerWhite}</div>
  586. <div id="albumart">
  587. {block:AlbumArt}
  588. <img src="{AlbumArtURL}" style="width:75px;">
  589. {/block:AlbumArt}</div></td>
  590. <td style="vertical-align:top; font-size:12px;"> {block:TrackName}<i>title:</i> {TrackName} <br />{/block:TrackName}
  591. {block:Artist}<i>artist:</i> {Artist} <br />{/block:Artist}
  592. {block:Album}<i>album:</i> {Album} <br />{/block:Album}
  593. {block:PlayCount}<i>played:</i> {FormattedPlayCount} times{/block:PlayCount}
  594. </td>
  595. </tr>
  596. </table>
  597. {block:IfShowCaption}
  598. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  599. {/block:IfShowCaption}
  600. {block:IfNotShowCaption}
  601. {block:PermalinkPage}
  602. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  603. {/block:PermalinkPage}
  604. {/block:IfNotShowCaption}
  605. </div> <!--audio-->
  606. {/block:Audio}
  607.  
  608. {block:Answer}
  609. <div id="ask">
  610. <p style="padding:10px; background-color:#eee;">— <span>{Asker}</span>: {Question}</p>
  611. <p>{block:Answerer}— <span>{Answerer}</span> replied: {/block:Answerer}{Answer}</p>
  612. {block:Answerer}<blockquote>{Replies}</blockquote>{/block:Answerer}
  613. </div> <!--ask-->
  614. {/block:Answer}
  615.  
  616. <div class="info">
  617. {block:IndexPage}
  618. {block:Date}<a title="{NoteCountWithLabel}" href="{Permalink}">{MonthNumberWithZero}.{DayOfMonthWithZero}.{ShortYear}</a>{/block:Date} - <a href="{ReblogURL}" target="_blank">reblog</a>
  619. {/block:IndexPage}
  620.  
  621. {block:PermalinkPage}
  622. {block:Date}Posted on {Month} {DayOfMonth}, {Year} with {NoteCountWithLabel}{/block:Date} <br>
  623. {block:RebloggedFrom} VIA <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} {block:ContentSource}, created by <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
  624. {block:IfNotShowTags}
  625. {block:HasTags}
  626. <div class="tags">
  627. {block:Tags} <a href="{TagURL}">#{Tag}</a>{/block:Tags}
  628. </div>
  629. {/block:HasTags}
  630. {/block:IfNotShowTags}
  631. {/block:PermalinkPage}
  632.  
  633. {block:IfShowTags}
  634. {block:HasTags}
  635. <div class="tags">
  636. {block:Tags} <a href="{TagURL}">#{Tag}</a>{/block:Tags}
  637. </div>
  638. {/block:HasTags}
  639. {/block:IfShowTags}
  640. </div> <!--info-->
  641.  
  642. {block:PermalinkPage}
  643. <div id="postnotes">
  644. {PostNotes}
  645. </div>
  646. {/block:PermalinkPage}
  647.  
  648. </div> <!--postage-->
  649. {/block:Posts}
  650.  
  651. </div>
  652.  
  653. {block:IfNotInfiniteScroll}
  654. {block:Pagination}
  655. <div id="footer">
  656. {block:PreviousPage}<a href="{PreviousPage}">back</a>{/block:PreviousPage} — {block:NextPage}<a href="{NextPage}">forth</a>{/block:NextPage}
  657. </div>
  658. {/block:Pagination}
  659. {block:IfNotInfiniteScroll}
  660. {block:IfInfiniteScroll}{/block:IfInfiniteScroll}
  661.  
  662. </div>
  663. <div id="credit"><a href="http://primrosetylers.tumblr.com">✿THEME</a></div>
  664.  
  665. </body>
  666. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement