Advertisement
sofiiayala

Theme 25 for Tumblr

May 10th, 2014
9,252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.44 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7.  
  8. <!----Theme 25 by castiiel. DON'T STEAL NOR COVER THE CREDIT, CUSTOMIZE IT AS MUCH AS YOU WANT BUT DON'T STEAL IT, IT'S ILLEGAL --->
  9.  
  10. <meta name="color:Background" content="#ffffff"/>
  11. <meta name="color:Text" content="#838282"/>
  12. <meta name="color:Link" content="#b8b8b8"/>
  13. <meta name="color:border" content="#ccc"/>
  14. <meta name="color:dots" content="#ccc"/>
  15. <meta name="color:scrollbar" content="#999"/>
  16.  
  17. <meta name="image:sidebar" content=""/>
  18. <meta name="image:background" content=""/>
  19.  
  20. <meta name="if:500px posts" content="0"/>
  21. <meta name="if:infinite scroll" content="0">
  22. <meta name="if:credit on the left" content="0"/>
  23. <meta name="if:repeat background" content="0"/>
  24. <meta name="if:show title" content="1"/>
  25. <meta name="if:faded photos" content="0"/>
  26. <meta name="if:info on hover" content="0"/>
  27. <meta name="if:tags on hover" content="1"/>
  28. <meta name="if:dots under title" content="0"/>
  29. <meta name="if:picture border" content="1"/>
  30. <meta name="if:show notes on click" content="0"/>
  31. <meta name="if:show via and source" content="0"/>
  32.  
  33. <meta name="text:title" content=""/>
  34. <meta name="text:photos opacity" content="0.8"/>
  35. <meta name="text:link 1 message" content="Link 1"/>
  36. <meta name="text:link 1" content="/"/>
  37. <meta name="text:link 2 message" content="Link 2"/>
  38. <meta name="text:link 2" content="/"/>
  39. <meta name="text:link 3 message" content="Link 3"/>
  40. <meta name="text:link 3" content="/"/>
  41. <meta name="text:link 4 message" content="Link 4"/>
  42. <meta name="text:link 4" content="/"/>
  43. <meta name="text:link 5 message" content="Link 5"/>
  44. <meta name="text:link 5" content="/"/>
  45.  
  46. {block:IfInfiniteScroll}
  47. <script type="text/javascript" src="http://yourjavascript.com/21212225154/esz.js"></script>
  48. {/block:IfInfiniteScroll}
  49.  
  50. {block:ifShownotesonclick}
  51. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  52.  
  53. <script src="jquery.js"></script>
  54. <script>
  55. $(document).ready(function(){
  56. $("#notes").click(function(){
  57. $("ol.notes").slideToggle("slow");
  58. });
  59. });
  60. </script>
  61. {/block:ifShownotesonclick}
  62.  
  63. <script type="text/javascript">
  64. WebFontConfig = {
  65. google: { families: [ 'Lato:300,400:latin' ] }
  66. };
  67. (function() {
  68. var wf = document.createElement('script');
  69. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  70. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  71. wf.type = 'text/javascript';
  72. wf.async = 'true';
  73. var s = document.getElementsByTagName('script')[0];
  74. s.parentNode.insertBefore(wf, s);
  75. })(); </script>
  76.  
  77.  
  78. <style type="text/css">
  79.  
  80. #dhtmltooltip{
  81. position: absolute;
  82. padding:7px;
  83. padding-bottom: 4px;
  84. padding-top: 4px;
  85. margin-left:70px;
  86. margin-top: -7px;
  87. border: 1px solid {color:border};
  88. background: {color:background}; /* change the background color */
  89. font-family:helvetica; /* change the font */
  90. font-size:7px; /* change the font size */
  91. letter-spacing:1px; /* change the letter spacing */
  92. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  93. font-style: bold;
  94. color:{color:text}; /* change the text color */
  95. visibility: hidden;
  96. z-index: 100;
  97. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  98. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  99. }
  100.  
  101. ::-webkit-scrollbar {width: 4px; height: 4px; background: {color:background}; }
  102. ::-webkit-scrollbar-thumb { background-color: {color:scrollbar}; -webkit-border-radius: 0ex; }
  103.  
  104. body {
  105. background:{color:background};
  106. margin:0px;
  107. color:{color:text};
  108. font-family:'Lato', sans-serif;
  109. letter-spacing: 0.8px;
  110. line-height: 130%;
  111. font-size:10px;
  112. background-image:url("{image:background}");
  113. background-size:cover;
  114. {block:ifRepeatbackground}
  115. background-size:auto;
  116. background-repeat: repeat;
  117. {block:ifRepeatbackground}
  118. background-attachment:fixed;
  119. background-position: top left;
  120. }
  121.  
  122. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  123.  
  124. a {
  125. text-decoration:none;
  126. outline:none;
  127. -moz-outline-style:none;
  128. color:{color:link};
  129. }
  130.  
  131. img {
  132. border:none;
  133. }
  134.  
  135. p {
  136. margin-left: 0px;
  137. margin-right: 0px;
  138. word-wrap: break-word;
  139. }
  140.  
  141. pre {
  142. white-space: pre-wrap;
  143. white-space: -moz-pre-wrap;
  144. white-space: -pre-wrap;
  145. white-space: -o-pre-wrap;
  146. word-wrap: break-word;
  147. }
  148.  
  149. blockquote {
  150. padding-left:5px;
  151. border-left:1px solid;
  152. margin-left: 0px;
  153. margin-right: 0px;
  154. }
  155.  
  156. h1 {
  157. font-size:17px;
  158. font-family:'Lato', sans-serif;
  159. font-weight: 300;
  160. letter-spacing: 1.5px;
  161. line-height:130%;
  162. text-align: left;
  163. }
  164.  
  165. h2 {
  166. font-size:15px;
  167. font-family:'Lato', sans-serif;
  168. font-weight: 300;
  169. letter-spacing: 1.5px;
  170. line-height:130%;
  171. text-align: left;
  172. }
  173.  
  174. .text img {
  175. height: auto!important;
  176. max-width:100%;
  177. }
  178.  
  179. #entries {
  180. width:400px;
  181. {block:if500pxposts}
  182. width:500px;
  183. {/block:if500pxposts}
  184. margin-left:550px;
  185. margin-top:70px;
  186. margin-bottom:30px;
  187. }
  188.  
  189. #post {
  190. width:400px;
  191. {block:if500pxposts}
  192. width:500px;
  193. {/block:if500pxposts}
  194. margin-top: 80px;
  195. margin-bottom: 50px;
  196. }
  197.  
  198. #post:hover #tags {
  199. opacity: 1;
  200. transition: all 0.3s linear;
  201. -webkit-transition: opacity 0.3s linear;
  202. -webkit-transition: all 0.3s linear;
  203. -moz-transition: all 0.3s linear;
  204. }
  205.  
  206. #post:hover #info {
  207. opacity: 1;
  208. transition: all 0.8s linear;
  209. -webkit-transition: opacity 0.8s linear;
  210. -webkit-transition: all 0.8s linear;
  211. -moz-transition: all 0.8s linear;
  212. }
  213.  
  214. {block:ifFadedphotos}
  215. .photos img {
  216. opacity:{text:photos opacity};
  217. transition: all 0.8s linear;
  218. -webkit-transition: opacity 0.8s linear;
  219. -webkit-transition: all 0.8s linear;
  220. -moz-transition: all 0.8s linear;
  221. }
  222.  
  223. #post .photos img {
  224. transition: all 0.8s linear;
  225. -webkit-transition: opacity 0.8s linear;
  226. -webkit-transition: all 0.8s linear;
  227. -moz-transition: all 0.8s linear;
  228. }
  229.  
  230. #post:hover .photos img {
  231. opacity:1;
  232. transition: all 0.3s linear;
  233. -webkit-transition: opacity 0.3s linear;
  234. -webkit-transition: all 0.3s linear;
  235. -moz-transition: all 0.3s linear;
  236. }
  237. {/block:ifFadedphotos}
  238.  
  239. #title {
  240. padding-top: 13px;
  241. padding-bottom: 8px;
  242. border-bottom: 1px solid {color:border};
  243. font-family: courier, monospace;
  244. font-size: 15px;
  245. line-height: 120%;
  246. text-align: center;
  247. }
  248.  
  249. #sidebar {
  250. width:200px;
  251. position:fixed;
  252. margin-left:250px;
  253. margin-top:80px;
  254. }
  255.  
  256. #sidebarimage img {
  257. width:200px;
  258. {block:ifPictureborder}
  259. width: 170px;
  260. background:#fff;
  261. padding: 14px;
  262. border: solid 1px {color:border};
  263. {/block:ifPictureborder}
  264. }
  265.  
  266. #description {
  267. padding-top: 10px;
  268. text-align: justify;
  269. opacity: 1;
  270. font-family: 'Palatino Linotype', 'Lato', sans-serif;
  271. font-size: 9px;
  272. line-height: 180%;
  273. letter-spacing: 1.5px;
  274. {block:ifDotsundertitle}
  275. padding-top:0px;
  276. {/block:ifDotsundertitle}
  277. }
  278.  
  279. #links {
  280. width: 200px;
  281. text-align: center;
  282. }
  283.  
  284. #links a {
  285. display:inline-block;
  286. width:8px;
  287. height:8px;
  288. background-color: {color:dots};
  289. border-radius:100%;
  290. margin: 13px;
  291. }
  292.  
  293. #pagination {
  294. width:400px;
  295. {block:if500pxposts}
  296. width:500px;
  297. {/block:if500pxposts}
  298. margin-left:550px;
  299. padding-top: 5px;
  300. line-height: 130%;
  301. text-align:center;
  302. font-size:10px;
  303. bottom:0px;
  304. padding-bottom: 40px;
  305. color:{color:text};
  306. letter-spacing: 2px;
  307. font-weight:bolder;
  308. font-family: 'Lato', sans-serif;
  309. -webkit-transition: opacity 0.3s linear;
  310. -webkit-transition: all 0.3s linear;
  311. -moz-transition: all 0.3s linear;
  312. transition: all 0.3s linear;
  313. }
  314.  
  315. #pagination a {
  316. color:{color:text};
  317. border-bottom: 1px solid {color:background};
  318. padding-bottom: 3px;
  319. opacity: 1;
  320. -webkit-transition: opacity 0.3s linear;
  321. -webkit-transition: all 0.3s linear;
  322. -moz-transition: all 0.3s linear;
  323. transition: all 0.3s linear;
  324. }
  325.  
  326. #pagination a:hover {
  327. border-bottom: 1px solid {color:border};
  328. padding-bottom: 3px;
  329. opacity: 1;
  330. -webkit-transition: opacity 0.3s linear;
  331. -webkit-transition: all 0.3s linear;
  332. -moz-transition: all 0.3s linear;
  333. transition: all 0.3s linear;
  334. }
  335.  
  336. #info {
  337. text-align:center;
  338. letter-spacing:0.5px;
  339. margin-top:15px;
  340. font-family:'lato', sans-serif;
  341. opacity:1;
  342. {block:ifInfoonhover}
  343. opacity:0;
  344. {block:permalinkpage}
  345. opacity: 1;
  346. {/block:permalinkpage}
  347. {/block:ifInfoonhover}
  348. -webkit-transition: opacity 0.3s linear;
  349. -webkit-transition: all 0.3s linear;
  350. -moz-transition: all 0.3s linear;
  351. transition: all 0.3s linear;
  352. }
  353.  
  354. .question{
  355. text-align: center;
  356. margin-bottom:10px;
  357. padding: 8px 0px;
  358. border-bottom: 1px solid {color:border};
  359. }
  360.  
  361. .answer{
  362. text-align: left;
  363. }
  364.  
  365. .asker a {
  366. color: {color:text};
  367. }
  368.  
  369. .sources
  370. {
  371. filter:alpha(opacity=0);
  372. opacity:0;
  373. font-size: 0px;
  374. }
  375.  
  376. #quote {
  377. font-size:17px;
  378. font-family:'Lato', sans-serif;
  379. font-weight: 300;
  380. letter-spacing: 1.5px;
  381. line-height:130%;
  382. text-align: center;
  383. }
  384.  
  385. #cover {
  386. position: relative;
  387. z-index: 1;
  388. height: 80px;
  389. float:left;
  390. margin:4px;
  391. box-shadow:0px 0px 5px {color:shadow};
  392. }
  393.  
  394. #button {
  395. width:20px;
  396. height:30px;
  397. overflow: hidden;
  398. position: relative;
  399. z-index: 99;
  400. margin: 15px 24px 13px 16px;
  401. }
  402.  
  403. #buttons {
  404. background-color: #fff;
  405. position: absolute;
  406. z-index: 99;
  407. margin-top: 15px;
  408. margin-left: 15px;
  409. opacity: 0;
  410. -webkit-transition: opacity 0.5s linear;
  411. -webkit-transition: all 0.5s linear;
  412. -moz-transition: all 0.5s linear;
  413. -o-transition: all 0.5s linear;
  414. }
  415.  
  416. #post:hover #buttons {
  417. opacity:0.5;
  418. }
  419.  
  420. #musicinfo {
  421. margin-left: 110px;
  422. font-size:10px;
  423. min-height:70px;
  424. text-align:left;
  425. position: relative;
  426. }
  427.  
  428. #notes {
  429. text-transform: uppercase;
  430. font-size:12px;
  431. font-family:'Lato', sans-serif;
  432. letter-spacing:1.6px;
  433. font-weight:bolder;
  434. border-bottom: solid 1px {color:border};
  435. text-align:left;
  436. padding-bottom:7px;
  437. {block:ifShownotesonclick}
  438. cursor:help!Important;
  439. {/block:ifShownotesonclick}
  440. }
  441.  
  442. ol.notes {
  443. padding: 0px;
  444. margin: 15px 0px;
  445. list-style-type: none;
  446. width:400px;
  447. {block:if500pxposts}
  448. width:500px;
  449. {/block:if500pxposts}
  450. {block:ifShownotesonclick}
  451. display:none;
  452. {/block:ifShownotesonclick}
  453. }
  454.  
  455. ol.notes li.note {
  456. padding: 5px 0px;
  457. }
  458.  
  459. ol.notes li.note img.avatar {
  460. vertical-align: -8px;
  461. margin-right: 10px;
  462. width: 16px;
  463. height: 16px;
  464. padding:2px;
  465. border:1px solid {color:border};
  466. border-radius: 100%;
  467. }
  468.  
  469. ol.notes li.note .answer_content {
  470. font-weight: normal;
  471. }
  472.  
  473. ol.notes li.note blockquote {
  474. padding: 4px 10px;
  475. margin: 10px 0px 0px 25px;
  476. }
  477.  
  478. ol.notes li.note blockquote a {
  479. text-decoration: none;
  480. }
  481.  
  482. #credit {
  483. font-size:12px;
  484. font-family: Helvetica, sans-serif;
  485. letter-spacing:1.5px;
  486. line-height: 100%;
  487. z-index:99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999;
  488. position:fixed;
  489. {block:ifnotCreditontheleft}
  490. right:-100px;
  491. {/block:ifnotCreditontheleft}
  492. {block:ifCreditontheleft}
  493. left:-100px;
  494. {/block:ifCreditontheleft}
  495. bottom:10px;
  496. transition: all 0.9s linear;
  497. -webkit-transition: opacity 0.9s linear;
  498. -webkit-transition: all 0.9s linear;
  499. -moz-transition: all 0.9s linear;
  500. }
  501.  
  502. #credit a {
  503. color:{color:text};
  504. {block:ifnotCreditontheleft}
  505. margin-left:15px;
  506. {/block:ifnotCreditontheleft}
  507. {block:ifCreditontheleft}
  508. margin-right:18px;
  509. {/block:ifCreditontheleft}
  510. transition: all 0.9s linear;
  511. -webkit-transition: opacity 0.9s linear;
  512. -webkit-transition: all 0.9s linear;
  513. -moz-transition: all 0.9s linear;
  514. }
  515.  
  516. #credit:hover {
  517. {block:ifnotCreditontheleft}
  518. right:10px;
  519. {/block:ifnotCreditontheleft}
  520. {block:ifCreditontheleft}
  521. left:10px;
  522. {/block:ifCreditontheleft}
  523. transition: all 0.9s linear;
  524. -webkit-transition: opacity 0.9s linear;
  525. -webkit-transition: all 0.9s linear;
  526. -moz-transition: all 0.9s linear;
  527. }
  528.  
  529. #tags {
  530. font-size: 9px;
  531. margin-top: 5px;
  532. text-align: center;
  533. font-weight:400;
  534. {block:ifTagsonhover}
  535. opacity: 0;
  536. {/block:ifTagsonhover}
  537. font-family: 'lato', sans-serif;
  538. letter-spacing: 0.5px;
  539. transition: all 0.3s linear;
  540. -webkit-transition: opacity 0.3s linear;
  541. -webkit-transition: all 0.3s linear;
  542. -moz-transition: all 0.3s linear;
  543. {block:permalinkpage}
  544. opacity: 1;
  545. {/block:permalinkpage}
  546. }
  547.  
  548. #tags a {
  549. color: {color:text};
  550. margin-right: 5px;
  551. }
  552.  
  553. #tags a:hover {
  554. color: {color:link};
  555. transition: all 0.3s linear;
  556. -webkit-transition: opacity 0.3s linear;
  557. -webkit-transition: all 0.3s linear;
  558. -moz-transition: all 0.3s linear;
  559. }
  560.  
  561. {CustomCSS}</style></head><body>
  562.  
  563. <div id="sidebar">
  564.  
  565. {block:ifnotDotsundertitle}
  566. <div id="links">
  567. <a href="{text:link 1}" onMouseover="ddrivetip('{text:link 1 message}')"; onMouseout="hideddrivetip()"></a>
  568. <a href="{text:link 2}" onMouseover="ddrivetip('{text:link 2 message}')"; onMouseout="hideddrivetip()"></a>
  569. <a href="{text:link 3}" onMouseover="ddrivetip('{text:link 3 message}')"; onMouseout="hideddrivetip()"></a>
  570. <a href="{text:link 4}" onMouseover="ddrivetip('{text:link 4 message}')"; onMouseout="hideddrivetip()"></a>
  571. <a href="{text:link 5}" onMouseover="ddrivetip('{text:link 5 message}')"; onMouseout="hideddrivetip()"></a>
  572. </div>
  573. {/block:ifnotDotsundertitle}
  574.  
  575. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  576.  
  577. {block:ifShowtitle}<div id="title">{text:title}</div>{/block:ifShowtitle}
  578.  
  579. {block:ifDotsundertitle}
  580. <div id="links">
  581. <a href="{text:link 1}" onMouseover="ddrivetip('{text:link 1 message}')"; onMouseout="hideddrivetip()"></a>
  582. <a href="{text:link 2}" onMouseover="ddrivetip('{text:link 2 message}')"; onMouseout="hideddrivetip()"></a>
  583. <a href="{text:link 3}" onMouseover="ddrivetip('{text:link 3 message}')"; onMouseout="hideddrivetip()"></a>
  584. <a href="{text:link 4}" onMouseover="ddrivetip('{text:link 4 message}')"; onMouseout="hideddrivetip()"></a>
  585. <a href="{text:link 5}" onMouseover="ddrivetip('{text:link 5 message}')"; onMouseout="hideddrivetip()"></a>
  586. </div>{/block:ifDotsundertitle}
  587.  
  588. <div id="description">{Description}</div>
  589.  
  590. </div>
  591.  
  592. <div id="entries">
  593. <div class="autopagerize_page_element">
  594. {block:Posts}
  595.  
  596. {block:ContentSource}
  597.  
  598. <!--{SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  599.  
  600. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  601.  
  602. {/block:SourceLogo}
  603.  
  604. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  605.  
  606. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  607.  
  608. <div id="post">
  609.  
  610. {block:Text}<span class="textp"><h1>{block:Title}{Title}{/block:Title}</h1><div class="text">{Body}</div></span>{/block:Text}
  611.  
  612. <span class="photos">
  613. {block:ifnot500pxposts}
  614. {block:Photo}{LinkOpenTag}<center><img src="{PhotoURL-400}"></center>{LinkCloseTag}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photo}
  615. {/block:ifnot500pxposts}
  616.  
  617. {block:if500pxposts}
  618. {block:Photo}{LinkOpenTag}<center><img src="{PhotoURL-500}"></center>{LinkCloseTag}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photo}
  619. {/block:if500pxposts}
  620.  
  621. {block:ifnot500pxposts}
  622. {block:Photoset}{Photoset-400}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photoset}
  623. {/block:ifnot500pxposts}
  624.  
  625. {block:if500pxposts}
  626. {block:Photoset}{Photoset-500}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Photoset}
  627. {/block:if500pxposts}
  628. </span>
  629.  
  630. {block:Quote}{block:Source}<b><div style="font-family: courier new; font-size: 13px; text-align: center;">{Source}</div><br><br></b>{/block:Source}<div id="quote">"{Quote}"</div>{/block:Quote}
  631.  
  632. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}<div class="text">{Description}</div>{/block:Description}{/block:Link}
  633.  
  634. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}{/block:Chat}
  635.  
  636. {block:Audio}
  637. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  638. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  639. <div id="musicinfo">
  640. {block:TrackName}<div style="padding-top: 12px; text-transform: uppercase; font-size:12px; font-family:'Lato', sans-serif; letter-spacing:1.6px;"><b>{TrackName}</b></div>{/block:Trackname}<br>
  641. {block:Artist}by {Artist}{/block:Artist}<br><br>
  642. {block:PlayCount}►played {PlayCount} times{/block:PlayCount}
  643. </div>
  644. <div style="margin-top:23px;">{block:caption}<div class="text">{Caption}</div>{/block:caption}</div>
  645. {/block:Audio}
  646.  
  647. {block:ifnot500pxposts}
  648. {block:Video}{Video-400}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Video}
  649. {/block:ifnot500pxposts}
  650.  
  651. {block:if500pxposts}
  652. {block:Video}{Video-500}{block:Caption}<div class="text">{Caption}</div>{/block:Caption}{/block:Video}
  653. {/block:if500pxposts}
  654.  
  655. {block:Answer}
  656. <div class="question" style="margin-bottom:-3px;"><span class="asker"><b>{Asker}</b></span>: {Question}</div><div class="answer" class="text">{Answer}</div>{/block:Answer}
  657.  
  658. <div id="info">
  659. <span style="padding-top: 3px;">{block:Date}{DayOfMonthWithZero} . {MonthNumberWithZero} . {ShortYear}{/block:Date} (<span style="color:#e17e66;">♥</span><a href="{Permalink}">{NoteCount}</a>) </span>
  660. {block:ifShowviaandsource}
  661. {block:RebloggedFrom}<a href="{ReblogParentURL}" style="font-size:8px; text-transform:uppercase;">via</a> / {/block:RebloggedFrom}{block:ContentSource}<a href="{SourceURL}" style="font-size:10px; text-transform:uppercase; font-family:sans-serif; vertical-align:-0.5px;">©</a>{/block:ContentSource}
  662. {/block:ifShowviaandsource}
  663. </div>
  664.  
  665. <div id="tags">{block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}{/block:HasTags}</div>
  666.  
  667. </div>
  668.  
  669. {block:PostNotes}
  670. <div id="notes">notes</div>
  671. {PostNotes}
  672. {/block:PostNotes}
  673.  
  674. {/block:Posts}</div></div>
  675.  
  676. {block:IfNotInfiniteScroll}
  677. <div id="pagination">
  678. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">GO BACK</a>{/block:PreviousPage} -
  679. {block:NextPage}<a href="{NextPage}">PROCEED</a>{/block:NextPage}{/block:Pagination}
  680. </div>
  681. {/block:IfNotInfiniteScroll}
  682.  
  683. {block:ifnotCreditontheleft}
  684. <div id="credit" style="font-size:14px">©<a href="http://castiiel.tumblr.com" style="font-size:7px; text-transform: uppercase;">theme by castiiel</a></div>
  685. {/block:ifnotCreditontheleft}
  686.  
  687. {block:ifCreditontheleft}
  688. <div id="credit" style="font-size:14px"><a href="http://castiiel.tumblr.com" style="font-size:7px; text-transform: uppercase;">theme by castiiel</a>©</div>
  689. {/block:ifCreditontheleft}
  690.  
  691. </div>
  692.  
  693. {block:ifInfinitescroll}
  694. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  695. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  696. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  697. <script type="text/javascript">
  698. $wall.infinitescroll({
  699. navSelector : '#page-nav',
  700. nextSelector : '#page-nav a',
  701. itemSelector : '#post',
  702. bufferPx : 2000,
  703. debug : false,
  704. errorCallback: function() {
  705. $('#infscr-loading').fadeOut('normal');
  706. }},
  707. function( newElements ) {
  708. var $newElems = $( newElements );
  709. $newElems.hide();
  710. $newElems.imagesLoaded(function(){
  711. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  712. });
  713. }); $('#entries').show(500);
  714. });
  715. </script>
  716. {/block:ifInfinitescroll}
  717.  
  718. <div id="dhtmltooltip"></div>
  719.  
  720. <script type="text/javascript">
  721.  
  722. /***********************************************
  723. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  724. * This notice MUST stay intact for legal use
  725. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  726. ***********************************************/
  727.  
  728. var offsetxpoint=-60 //Customize x offset of tooltip
  729. var offsetypoint=20 //Customize y offset of tooltip
  730. var ie=document.all
  731. var ns6=document.getElementById && !document.all
  732. var enabletip=false
  733. if (ie||ns6)
  734. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  735.  
  736. function ietruebody(){
  737. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  738. }
  739.  
  740. function ddrivetip(thetext, thecolor, thewidth){
  741. if (ns6||ie){
  742. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  743. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  744. tipobj.innerHTML=thetext
  745. enabletip=true
  746. return false
  747. }
  748. }
  749.  
  750. function positiontip(e){
  751. if (enabletip){
  752. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  753. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  754. //Find out how close the mouse is to the corner of the window
  755. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  756. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  757.  
  758. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  759.  
  760. //if the horizontal distance isn't enough to accomodate the width of the context menu
  761. if (rightedge<tipobj.offsetWidth)
  762. //move the horizontal position of the menu to the left by it's width
  763. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  764. else if (curX<leftedge)
  765. tipobj.style.left="5px"
  766. else
  767. //position the horizontal position of the menu where the mouse is positioned
  768. tipobj.style.left=curX+offsetxpoint+"px"
  769.  
  770. //same concept with the vertical position
  771. if (bottomedge<tipobj.offsetHeight)
  772. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  773. else
  774. tipobj.style.top=curY+offsetypoint+"px"
  775. tipobj.style.visibility="visible"
  776. }
  777. }
  778.  
  779. function hideddrivetip(){
  780. if (ns6||ie){
  781. enabletip=false
  782. tipobj.style.visibility="hidden"
  783. tipobj.style.left="-1000px"
  784. tipobj.style.backgroundColor=''
  785. tipobj.style.width=''
  786. }
  787. }
  788.  
  789. document.onmousemove=positiontip
  790.  
  791. </script>
  792.  
  793. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement