Advertisement
sofiiayala

Theme 15 by Sofi for Tumblr (2 column)

Mar 31st, 2014
888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.48 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 15 by doctorwatsn. DON'T CHANGE OR REMOVE THE CREDIT --->
  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:hover Link" content="#b8b8b8"/>
  14. <meta name="image:sidebar" content=""/>
  15.  
  16. <meta name="text:link 1" content="Link 1"/>
  17. <meta name="text:link 1 url" content="/"/>
  18. <meta name="text:link 2" content="Link 2"/>
  19. <meta name="text:link 2 url" content="/"/>
  20. <meta name="text:link 3" content="Link 3"/>
  21. <meta name="text:link 3 url" content="/"/>
  22. <meta name="text:link 4" content="Link 4"/>
  23. <meta name="text:link 4 url" content="/"/>
  24. <meta name="text:link 5" content="Link 4"/>
  25. <meta name="text:link 5 url" content="/"/>
  26.  
  27. <script type="text/javascript">
  28. WebFontConfig = {
  29. google: { families: [ 'Old+Standard+TT:400,400italic:latin' ] }
  30. };
  31. (function() {
  32. var wf = document.createElement('script');
  33. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  34. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  35. wf.type = 'text/javascript';
  36. wf.async = 'true';
  37. var s = document.getElementsByTagName('script')[0];
  38. s.parentNode.insertBefore(wf, s);
  39. })(); </script>
  40.  
  41. <script type="text/javascript">
  42. WebFontConfig = {
  43. google: { families: [ 'Lato::latin' ] }
  44. };
  45. (function() {
  46. var wf = document.createElement('script');
  47. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  48. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  49. wf.type = 'text/javascript';
  50. wf.async = 'true';
  51. var s = document.getElementsByTagName('script')[0];
  52. s.parentNode.insertBefore(wf, s);
  53. })(); </script>
  54.  
  55. <style type="text/css">
  56.  
  57. #dhtmltooltip{
  58. position: absolute;
  59. padding:5px;
  60. margin-left:70px;
  61. margin-top: -28px;
  62. background: #fff; /* change the background color */
  63. border:0px solid {color:text}; /* change the border color */
  64. font-family: 'Lato', sans-serif; /* change the font */
  65. font-size:7px; /* change the font size */
  66. letter-spacing:1px; /* change the letter spacing */
  67. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  68. font-style: bold;
  69. color:{color:text}; /* change the text color */
  70. visibility: hidden;
  71. z-index: 100;
  72. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  73. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  74. }
  75.  
  76. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  77. ::-webkit-scrollbar-thumb { background-color: #65788e; -webkit-border-radius: 0ex; }
  78.  
  79. body {
  80. background:{color:background};
  81. margin:0px;
  82. color:{color:text};
  83. font-family:Calibri;
  84. font-size:9px;
  85. line-height:110%;
  86. letter-spacing: 0.5px;
  87. cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png) 3 3, auto;
  88. }
  89.  
  90. a {
  91. text-decoration:none;
  92. outline:none;
  93. -moz-outline-style:none;
  94. color:{color:link};
  95. -webkit-transition: all 0.5s ease-in-out;
  96. -moz-transition: all 0.5s ease-in-out;
  97. -o-transition: all 0.5s ease-in-out;
  98. }
  99.  
  100. a:hover {
  101. text-decoration:none;
  102. outline:none;
  103. -moz-outline-style:none;
  104. color:{color:hover link};
  105. -webkit-transition: all 0.5s ease-in-out;
  106. -moz-transition: all 0.5s ease-in-out;
  107. -o-transition: all 0.5s ease-in-out;
  108. }
  109.  
  110. img {
  111. border:none;
  112. }
  113.  
  114. blockquote {
  115. padding-left:5px;
  116. border-left:1px dotted {color: link};
  117. margin-left: 2px;
  118. }
  119.  
  120. h1 {
  121. font-size:16px;
  122. font-family: garamond;
  123. font-weight: lighter;
  124. letter-spacing: 1px;
  125. line-height: 105%;
  126. text-align: center;
  127. }
  128.  
  129. #entries {
  130. padding:10px;
  131. width:630px;
  132. margin-left:475px;
  133. padding-top:40px;
  134. padding-left: 50px;
  135. padding-bottom: 30px;
  136. }
  137.  
  138. #post {
  139. width:250px;
  140. float: left;
  141. margin-top:40px;
  142. margin-bottom:5px;
  143. padding:0px;
  144. overflow: hidden;
  145. margin-right: 65px;
  146. text-align: left;
  147. {block:indexpage}
  148. width: 250px;
  149. opacity: 1;
  150. {/block:indexpage}
  151. {block:PermalinkPage}
  152. width: 500px;
  153. height: auto;
  154. opacity: 1;
  155. {/block:PermalinkPage}
  156. transition: all 0.3s linear;
  157. -webkit-transition: opacity 0.3s linear;
  158. -webkit-transition: all 0.3s linear;
  159. -moz-transition: all 0.3s linear;
  160. }
  161.  
  162. #post:hover {
  163. opacity: 1.5;
  164. margin-bottom:10px;
  165. transition: all 0.3s linear;
  166. -webkit-transition: opacity 0.3s linear;
  167. -webkit-transition: all 0.3s linear;
  168. -moz-transition: all 0.3s linear;
  169. }
  170.  
  171. {block:indexpage}
  172. #post:hover #info {
  173. opacity: 1;
  174. font-size: 9px;
  175. margin-top: 4px;
  176. text-align:center;
  177. letter-spacing: 0.8;
  178. padding-top: 1px;
  179. margin-top: 6px;
  180. border-top: 1px solid #f0eded;
  181. transition: all 0.3s linear;
  182. -webkit-transition: opacity 0.3s linear;
  183. -webkit-transition: all 0.3s linear;
  184. -moz-transition: all 0.3s linear;
  185. }
  186. {/block:indexpage}
  187.  
  188. #con {
  189. width: 460px;
  190. height: 100%;
  191. position: fixed;
  192. border-right: 1px solid #f0eded;
  193. }
  194.  
  195. #sidebar {
  196. width:200px;
  197. position:fixed;
  198. margin-left:250px;
  199. margin-top:200px;
  200. text-align: center;
  201. }
  202.  
  203. #title {
  204. font-size: 15px;
  205. font-family: georgia;
  206. font-style: italic;
  207. letter-spacing: 1.5px;
  208. line-height: 125%;
  209. }
  210.  
  211. #sidebarimage {
  212. width 200px;
  213. }
  214.  
  215. #sidebarimage img {
  216. width:100px;
  217. margin-bottom: 10px;
  218. }
  219.  
  220. #description {
  221. width: 150px;
  222. font-size: 9px;
  223. margin-bottom: 3px;
  224. letter-spacing: 2px;
  225. color: {color:text};
  226. line-height: 150%;
  227. text-align: center;
  228. font-family: garamond;
  229. margin-left: 25px;
  230. }
  231.  
  232. #links {
  233. width: 200px;
  234. background-color: transparent;
  235. letter-spacing: 1px;
  236. font-size: 10px;
  237. padding-bottom: 10px;
  238. border-bottom: double #f0f0f0 4px;
  239. text-transform: uppercase;
  240. }
  241.  
  242. #links a {
  243. margin-left: 5px;
  244. margin-right: 5px;
  245. }
  246.  
  247. #links a:hover {
  248. text-decoration:line-through;
  249. }
  250.  
  251. #info {
  252. {block:indexpage}
  253. opacity: 0;
  254. font-size: -10px;
  255. padding-top: -3px;
  256. margin-top: -7px;
  257. border-top: -1px solid #f0eded;
  258. text-align: center;
  259. {/block:indexpage}
  260. {block:PermalinkPage}
  261. font-size: 9px;
  262. margin-top: 4px;
  263. text-align:right;
  264. letter-spacing: 0.8;
  265. padding-top:1px;
  266. border-top: 1px solid #f0eded;
  267. {/block:PermalinkPage}
  268. transition: all 0.3s linear;
  269. -webkit-transition: opacity 0.3s linear;
  270. -webkit-transition: all 0.3s linear;
  271. -moz-transition: all 0.3s linear;
  272. }
  273.  
  274. #tags {
  275. text-align:center;
  276. font-size: 8px;
  277. margin-top: 5px;
  278. letter-spacing: 1.5px;
  279. }
  280.  
  281. #tags a {
  282. margin-left: 3px;
  283. margin-right: 3px;
  284. }
  285.  
  286. #asker {
  287. float:left;
  288. }
  289.  
  290. .question{
  291. text-align: center;
  292. padding:6px;
  293. line-height: 10px;
  294. }
  295.  
  296. .question a {
  297. color: {color:text};
  298. }
  299.  
  300. .answer{
  301. background-color:transparent;
  302. line-height: 10px;
  303. text-align: left;
  304. {block:indexpage}
  305. width: 280px;
  306. {/block:indexpage}
  307. }
  308.  
  309. .answer img {
  310. {block:indexpage}
  311. max-width: 180px;
  312. {/block:indexpage}
  313. {block:PermalinkPage}
  314. width: 480px;
  315. height: auto;
  316. {/block:PermalinkPage}
  317. }
  318.  
  319. #quote {
  320. line-height: 105%;
  321. font-size:18px;
  322. font-family: times;
  323. font-weight: lighter;
  324. text-align: center;
  325. letter-spacing: 1px;
  326. padding: 15px;
  327. border:1px solid #eeeeee;
  328. background:rgba(222,222,222,0.2);
  329. -webkit-border-radius: 2px;
  330. -moz-border-radius: 2px;
  331. }
  332.  
  333. #source {
  334. text-align: center;
  335. font-family: courier new;
  336. }
  337.  
  338. .text {
  339. padding: 13px;
  340. padding-top: 2px;
  341. padding-bottom: 5px;
  342. border:1px solid #eeeeee;
  343. background:rgba(222,222,222,0.2);
  344. -webkit-border-radius: 2px;
  345. -moz-border-radius: 2px;
  346. border-radius: 2px;
  347. {block:indexpage}
  348. max-width: 220px;
  349. {/block:indexpage}
  350. {block:permalink}
  351. max-width: 470px;
  352. {/block:permalink}
  353. }
  354.  
  355. .text img {
  356. {block:indexpage}
  357. max-width: 220px;
  358. {/block:indexpage}
  359. {block:permalink}
  360. max-width: 470px;
  361. {/block:permalink}
  362. }
  363.  
  364. #credit {
  365. font-size:8px;
  366. font-family:georgia;
  367. letter-spacing:1px;
  368. background-color:#fff;
  369. padding:5px;
  370. border:1px solid #e9e9e9;
  371. position:fixed;
  372. right:10px;
  373. bottom:10px;
  374. -moz-transition-duration:0.5s;
  375. -webkit-transition-duration:0.5s;
  376. -o-transition-duration:0.5s;
  377. }
  378.  
  379. #what {
  380. font-size:1px;
  381. font-family:georgia;
  382. letter-spacing:1px;
  383. background-color:#fff;
  384. padding:5px;
  385. position:fixed;
  386. left:0px;
  387. bottom:0px;
  388. color: #fff;
  389. }
  390.  
  391. #what a {
  392. color: #fff;
  393. }
  394.  
  395. heart {
  396. font-size: 8px;
  397. line-height: -5px;
  398. }
  399.  
  400. #cover {
  401. position: relative;
  402. z-index: 1;
  403. height: 80px;
  404. float:left;
  405. border:1px solid #f0f0f0;
  406. padding:4px;
  407. }
  408.  
  409. #button {
  410. width:20px;
  411. height:30px;
  412. overflow: hidden;
  413. position: relative;
  414. z-index: 99;
  415. margin: 15px 24px 13px 16px;
  416. }
  417.  
  418. #buttons {
  419. background-color: #fff;
  420. position: absolute;
  421. z-index: 99;
  422. margin-top: 15px;
  423. margin-left: 15px;
  424. opacity: 0;
  425. -webkit-transition: opacity 0.5s linear;
  426. -webkit-transition: all 0.5s linear;
  427. -moz-transition: all 0.5s linear;
  428. -o-transition: all 0.5s linear;
  429. }
  430.  
  431. #post:hover #buttons {
  432. opacity:0.5;
  433. }
  434.  
  435. #musicinfo {
  436. margin-top:5px;
  437. padding-top:5px;
  438. margin-left: 100px;
  439. font-size:12px;
  440. min-height:70px;
  441. margin-bottom: 15px;
  442. text-align:center;
  443. }
  444.  
  445. #notez {
  446. list-style:lower-roman;
  447. padding-bottom:5px;
  448. padding-top:5px;
  449. margin-left:0px;
  450. font-size:8px;
  451. display:inline-block;
  452. }
  453.  
  454. #notez a {
  455. display:inline-block;
  456. padding-bottom:10px;
  457. }
  458.  
  459. #notez img {
  460. display:none;
  461. }
  462.  
  463. </style>
  464. </head><body>
  465.  
  466. <div id="sidebar">
  467.  
  468. <div id="sidebarimage"><img src="{image:sidebar}"></div><br><br>
  469.  
  470. <div id="links">
  471. <a href="{text:link 1 url}">{text:link 1}</a>
  472. <a href="{text:link 2 url}">{text:link 2}</a>
  473. <a href="{text:link 3 url}">{text:link 3}</a>
  474. <a href="{text:link 4 url}">{text:link 4}</a>
  475. </div><br>
  476.  
  477. <div id="description">{Description}</div>
  478.  
  479. </div>
  480.  
  481. <div id="entries">
  482. {block:Posts}
  483.  
  484. {block:ContentSource}
  485.  
  486. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  487.  
  488. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  489.  
  490. {/block:SourceLogo}
  491.  
  492. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  493.  
  494. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  495.  
  496. <div id="post">
  497.  
  498. {block:Text}<div class="text"><h1>{block:Title}<span style="padding-top: -5px;">{Title}</span>{/block:Title}</h1>{Body}</div>{/block:Text}
  499.  
  500. {block:Photo}{block:IndexPage}{LinkOpenTag}<img src="{PhotoURL-250}">{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width=500px/>{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photo}
  501.  
  502. {block:Photoset}{block:IndexPage}{LinkOpenTag}{Photoset-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Photoset}
  503.  
  504. {block:Quote}<div id="quote"><font size="3">'{Quote}'</font></div>{block:Source}<div id="source"><br><b><font size="1.5">{Source}</font></b></div>{/block:Source}{/block:Quote}
  505.  
  506. {block:Link}<div class="text"><h1><a href="{URL}" {Target}>{Name}</a></h1></div>{block:Description}{Description}{/block:Description}{/block:Link}
  507.  
  508. {block:Chat}{block:Title}<span style="font-family: courier new;"><h1>{Title}</h1>{/block:Title}<font size="2">{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}</font></span>{/block:Chat}
  509.  
  510. {block:Audio}
  511. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  512. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  513. <div id="musicinfo">
  514. {block:TrackName}<h1><div style="text-transform: none; padding-bottom: 4px; margin-bottom: 0px; border-bottom: 1px solid #f0f0f0;">{TrackName}</div></h1>{/block:Trackname}
  515. {block:Artist}by {Artist}{/block:Artist}
  516. </div>
  517. {block:permalinkpage}<div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>{/block:permalinkpage}
  518. {/block:Audio}
  519.  
  520. {block:Video}{block:IndexPage}{LinkOpenTag}{VideoEmbed-250}{LinkCloseTag}{/block:IndexPage}{block:permalinkpage}{LinkOpenTag}{VideoEmbed-500}{block:Caption}{Caption}{/block:Caption}{LinkCloseTag}{/block:permalinkpage}{/block:Video}
  521.  
  522. {block:Answer}
  523. <div class="question">❝<b>{Asker}:</b> {Question}</div><div class="answer"><blockquote>{Answer}</blockquote></div>{/block:Answer}
  524.  
  525.  
  526. <div id="info">
  527. {block:Date} {ShortMonth} {DayofMonth}{DayOfMonthSuffix} (<a href="{Permalink}">+{NoteCount}</a>){/block:Date}
  528.  
  529.  
  530. {block:permalinkpage}<div id="tags">{block:HasTags}file under: {block:Tags}<a href="{TagURL}">{Tag}-</a>{/block:Tags}{/block:HasTags}</div>{/block:permalinkpage}
  531. </div>
  532.  
  533. </div>
  534.  
  535. {block:PostNotes}<div id="notez">{PostNotes}</div>{/block:PostNotes}
  536. {/block:Posts}</div>
  537.  
  538. <div id="credit" style="display:inline-block;"><a href="http://doctorwatsn.tumblr.com">221b</a></div>
  539.  
  540. <div id="dhtmltooltip"></div>
  541.  
  542. <script type="text/javascript">
  543.  
  544. /***********************************************
  545. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  546. * This notice MUST stay intact for legal use
  547. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  548. ***********************************************/
  549.  
  550. var offsetxpoint=-60 //Customize x offset of tooltip
  551. var offsetypoint=20 //Customize y offset of tooltip
  552. var ie=document.all
  553. var ns6=document.getElementById && !document.all
  554. var enabletip=false
  555. if (ie||ns6)
  556. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  557.  
  558. function ietruebody(){
  559. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  560. }
  561.  
  562. function ddrivetip(thetext, thecolor, thewidth){
  563. if (ns6||ie){
  564. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  565. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  566. tipobj.innerHTML=thetext
  567. enabletip=true
  568. return false
  569. }
  570. }
  571.  
  572. function positiontip(e){
  573. if (enabletip){
  574. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  575. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  576. //Find out how close the mouse is to the corner of the window
  577. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  578. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  579.  
  580. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  581.  
  582. //if the horizontal distance isn't enough to accomodate the width of the context menu
  583. if (rightedge<tipobj.offsetWidth)
  584. //move the horizontal position of the menu to the left by it's width
  585. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  586. else if (curX<leftedge)
  587. tipobj.style.left="5px"
  588. else
  589. //position the horizontal position of the menu where the mouse is positioned
  590. tipobj.style.left=curX+offsetxpoint+"px"
  591.  
  592. //same concept with the vertical position
  593. if (bottomedge<tipobj.offsetHeight)
  594. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  595. else
  596. tipobj.style.top=curY+offsetypoint+"px"
  597. tipobj.style.visibility="visible"
  598. }
  599. }
  600.  
  601. function hideddrivetip(){
  602. if (ns6||ie){
  603. enabletip=false
  604. tipobj.style.visibility="hidden"
  605. tipobj.style.left="-1000px"
  606. tipobj.style.backgroundColor=''
  607. tipobj.style.width=''
  608. }
  609. }
  610.  
  611. document.onmousemove=positiontip
  612. </script>
  613.  
  614. {block:indexpage}
  615. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  616. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  617. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  618. <script type="text/javascript">
  619. $(window).load(function(){
  620. var $wall = $('#entries');
  621. $wall.imagesLoaded(function(){
  622. $wall.masonry({
  623. itemSelector: '#post',
  624. isAnimated : false
  625. });
  626. });
  627.  
  628. $wall.infinitescroll({
  629. navSelector : '#page-nav',
  630. nextSelector : '#page-nav a',
  631. itemSelector : '#post',
  632. bufferPx : 2000,
  633. debug : false,
  634. errorCallback: function() {
  635. $('#infscr-loading').fadeOut('normal');
  636. }},
  637. function( newElements ) {
  638. var $newElems = $( newElements );
  639. $newElems.hide();
  640. $newElems.imagesLoaded(function(){
  641. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  642. });
  643. }); $('#content').show(500);
  644. });
  645. </script>
  646. {/block:indexpage}
  647.  
  648. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement