Advertisement
sofiiayala

Theme 23 by Sofi for Tumblr

Apr 19th, 2014
581
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.54 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 23 by Sofi (doctorwatsn.tumblr.com). DON'T STEAL THE CODE, CUSTOMIZE IT AS MUCH AS YOU WANT BUT DON'T STEAL IT OR REMOVE THE CREDIT, 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="image:sidebar" content=""/>
  14.  
  15. <meta name="if:Info on hover" content="1"/>
  16. <meta name="text:navigation title" content="Navigation"/>
  17. <meta name="text:link 1" content="Link 1"/>
  18. <meta name="text:link 1 url" content="/"/>
  19. <meta name="text:link 2" content="Link 2"/>
  20. <meta name="text:link 2 url" content="/"/>
  21. <meta name="text:link 3" content="Link 3"/>
  22. <meta name="text:link 3 url" content="/"/>
  23. <meta name="text:link 4" content="Link 4"/>
  24. <meta name="text:link 4 url" content="/"/>
  25. <meta name="text:link 5" content="Link 5"/>
  26. <meta name="text:link 5 url" content="/"/>
  27.  
  28. <script type="text/javascript">
  29. WebFontConfig = {
  30. google: { families: [ 'Lato:300,400:latin' ] }
  31. };
  32. (function() {
  33. var wf = document.createElement('script');
  34. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  35. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  36. wf.type = 'text/javascript';
  37. wf.async = 'true';
  38. var s = document.getElementsByTagName('script')[0];
  39. s.parentNode.insertBefore(wf, s);
  40. })(); </script>
  41.  
  42.  
  43. <style type="text/css">
  44.  
  45. #dhtmltooltip{
  46. position: absolute;
  47. padding:5px;
  48. padding-bottom: 3px;
  49. padding-top: 3px;
  50. margin-left:70px;
  51. margin-top: -7px;
  52. background: #fff; /* change the background color */
  53. font-family:helvetica; /* change the font */
  54. font-size:7px; /* change the font size */
  55. letter-spacing:1px; /* change the letter spacing */
  56. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  57. font-style: bold;
  58. color:{color:text}; /* change the text color */
  59. visibility: hidden;
  60. z-index: 100;
  61. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  62. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  63. }
  64.  
  65. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  66. ::-webkit-scrollbar-thumb { background-color: #999999; -webkit-border-radius: 0ex; }
  67.  
  68. body {
  69. background:{color:background};
  70. margin:0px;
  71. color:{color:text};
  72. font-family:garamond;
  73. letter-spacing: 1px;
  74. font-size:10px;
  75. line-height:100%;
  76. background-image:url("{image:background}");
  77. background-size:cover;
  78. background-position:left top;
  79. background-attachment:fixed;
  80. }
  81.  
  82. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  83.  
  84. a {
  85. text-decoration:none;
  86. outline:none;
  87. -moz-outline-style:none;
  88. color:{color:link};
  89. }
  90.  
  91. img {
  92. border:none;
  93. }
  94.  
  95. blockquote {
  96. padding-left:7px;
  97. border-left:1px solid;
  98. margin-left: 2px;
  99. }
  100.  
  101. h1 {
  102. font-size:17px;
  103. font-family:'Lato', sans-serif;
  104. font-weight: lighter;
  105. letter-spacing: 1.5px;
  106. line-height: 130%;
  107. font-weight: 300;
  108. text-align: center;
  109. }
  110.  
  111. #entries {
  112. padding:10px;
  113. width:400px;
  114. margin-left:550px;
  115. margin-top:70px;
  116. {block:permalink}
  117. margin-bottom: 50px;
  118. {/block:permalink}
  119. }
  120.  
  121. #post {
  122. width:400px;
  123. padding-bottom: 5px;
  124. overflow: hidden;
  125. margin-bottom:50px;
  126. }
  127.  
  128. #post:hover #tags {
  129. opacity: 1;
  130. transition: all 0.3s linear;
  131. -webkit-transition: opacity 0.3s linear;
  132. -webkit-transition: all 0.3s linear;
  133. -moz-transition: all 0.3s linear;
  134. }
  135.  
  136. #post:hover #info {
  137. opacity: 1;
  138. transition: all 0.3s linear;
  139. -webkit-transition: opacity 0.3s linear;
  140. -webkit-transition: all 0.3s linear;
  141. -moz-transition: all 0.3s linear;
  142. }
  143.  
  144. #sidebar {
  145. width:200px;
  146. position:fixed;
  147. margin-left:275px;
  148. margin-top:100px;
  149. background-color:{color:background};
  150. }
  151.  
  152. #title {
  153. font-size:15px;
  154. text-align:center;
  155. margin-bottom:5px;
  156. }
  157.  
  158. #sidebarimage {
  159. width 200px;
  160. }
  161.  
  162. #sidebarimage img {
  163. width:168px;
  164. border: 1px solid #ccc;
  165. padding: 15px;
  166. }
  167.  
  168. #navi {
  169. width: 200px;
  170. border-bottom: #ccc 1px solid;
  171. padding-bottom: 8px;
  172. font-style:italic;
  173. font-size: 15px;
  174. }
  175.  
  176. #links {
  177. width: 200px;
  178. height: 19px;
  179. overflow: hidden;
  180. background-color:{color:background};
  181. position: absolute;
  182. text-align: center;
  183. padding-top: 15px;
  184. -webkit-transition: opacity 0.5s linear;
  185. -webkit-transition: all 0.5s linear;
  186. -moz-transition: all 0.5s linear;
  187. transition: all 0.s linear;
  188. }
  189.  
  190. #links:hover {
  191. height: 180px;
  192. -webkit-transition: opacity 0.5s linear;
  193. -webkit-transition: all 0.5s linear;
  194. -moz-transition: all 0.5s linear;
  195. transition: all 0.s linear;
  196. }
  197.  
  198. #links a {
  199. padding-bottom: 5px;
  200. padding-top: 5px;
  201. border-bottom: 1px solid #ccc;
  202. display:block;
  203. background-color: #f4f4f4;
  204. width: 80px;
  205. color: {color:text};
  206. margin-left: 60px;
  207. font-size: 8px;
  208. letter-spacing: 1px;
  209. text-transform: uppercase;
  210. -webkit-transition: opacity 0.5s linear;
  211. -webkit-transition: all 0.5s linear;
  212. -moz-transition: all 0.5s linear;
  213. transition: all 0.s linear;
  214. }
  215.  
  216. #links a:hover {
  217. color: #fff;
  218. background-color: #ccc;
  219. -webkit-transition: opacity 0.5s linear;
  220. -webkit-transition: all 0.5s linear;
  221. -moz-transition: all 0.5s linear;
  222. transition: all 0.s linear;
  223. }
  224.  
  225. #description {
  226. padding:10px;
  227. text-align:justify;
  228. font-family: calibri;
  229. margin-top: 33px;
  230. letter-spacing: 1px;
  231. line-height: 140%;
  232. background-color: #f4f4f4;
  233. padding-left: 13px;
  234. padding-right:13px;
  235. }
  236.  
  237. #pagination {
  238. width:400px;
  239. padding-top: 5px;
  240. line-height: 130%;
  241. height:20px;
  242. text-align:center;
  243. background-color:{color:background};
  244. font-size:11px;
  245. bottom:0px;
  246. opacity: 0.8;
  247. color:{color:text};
  248. letter-spacing: 5px;
  249. font-family: 'Alegreya Sans', sans-serif;
  250. -webkit-transition: opacity 0.5s linear;
  251. -webkit-transition: all 0.5s linear;
  252. -moz-transition: all 0.5s linear;
  253. transition: all 0.s linear;
  254. }
  255.  
  256. #pagination:hover {
  257. opacity: 1;
  258. -webkit-transition: opacity 0.5s linear;
  259. -webkit-transition: all 0.5s linear;
  260. -moz-transition: all 0.5s linear;
  261. transition: all 0.s linear;
  262. }
  263.  
  264. #pagination a {
  265. color:{color:text};
  266. opacity: 1;
  267. -webkit-transition: opacity 0.5s linear;
  268. -webkit-transition: all 0.5s linear;
  269. -moz-transition: all 0.5s linear;
  270. transition: all 0.s linear;
  271. }
  272.  
  273. #pagination a:hover {
  274. color:{color:background};
  275. opacity: 1;
  276. -webkit-transition: opacity 0.5s linear;
  277. -webkit-transition: all 0.5s linear;
  278. -moz-transition: all 0.5s linear;
  279. transition: all 0.s linear;
  280. }
  281.  
  282.  
  283. #info {
  284. text-align:center;
  285. margin-top:10px;
  286. font-family: helvetica;
  287. text-transform: uppercase;
  288. font-size: 8px;
  289. letter-spacing: .8px;
  290. padding: 5px;
  291. padding-bottom: 15px;
  292. margin-top: 3px;
  293. background-color: #f4f4f4;
  294. opacity: 1;
  295. {block:ifInfoonhover}
  296. opacity:0;
  297. {/block:ifInfoonhover}
  298. transition: all 0.3s linear;
  299. -webkit-transition: opacity 0.3s linear;
  300. -webkit-transition: all 0.3s linear;
  301. -moz-transition: all 0.3s linear;
  302. }
  303.  
  304. #info a {
  305. color: {color:text};
  306. }
  307.  
  308. #asker {
  309. float:left;
  310. }
  311.  
  312. .question{
  313. text-align: center;
  314. letter-spacing:1px;
  315. padding:6px;
  316. }
  317.  
  318. .answer{
  319. background-color:transparent;
  320. line-height: 10px;
  321. text-align: left;
  322. letter-spacing:1px;
  323. font-size: 9px;
  324. }
  325.  
  326.  
  327. #credit {
  328. font-size:9px;
  329. font-family:georgia;
  330. letter-spacing:1px;
  331. -moz-transition-duration:0.5s;
  332. -webkit-transition-duration:0.5s;
  333. -o-transition-duration:0.5s;
  334. }
  335.  
  336. #credit a {
  337. background-color:#fff;
  338. padding:5px;
  339. border:1px solid #e9e9e9;
  340. position:fixed;
  341. right:15px;
  342. bottom:10px
  343. }
  344.  
  345. .sources
  346. {
  347. filter:alpha(opacity=0);
  348. opacity:0;
  349. font-size: 0px;
  350. }
  351.  
  352. #quote {
  353. font-size:17px;
  354. font-family:'Lato', sans-serif;
  355. font-weight: lighter;
  356. letter-spacing: 1.5px;
  357. line-height: 130%;
  358. font-weight: 300;
  359. text-align: center;
  360. padding: 20px;
  361. border: 1px solid #ccc;
  362. }
  363.  
  364. #cover {
  365. position: relative;
  366. z-index: 1;
  367. height: 80px;
  368. float:left;
  369. border:1px solid #f0f0f0;
  370. padding:4px;
  371. }
  372.  
  373. #button {
  374. width:20px;
  375. height:30px;
  376. overflow: hidden;
  377. position: relative;
  378. z-index: 99;
  379. margin: 15px 24px 13px 16px;
  380. }
  381.  
  382. #buttons {
  383. background-color: #fff;
  384. position: absolute;
  385. z-index: 99;
  386. margin-top: 15px;
  387. margin-left: 15px;
  388. opacity: 0;
  389. -webkit-transition: opacity 0.5s linear;
  390. -webkit-transition: all 0.5s linear;
  391. -moz-transition: all 0.5s linear;
  392. -o-transition: all 0.5s linear;
  393. }
  394.  
  395. #post:hover #buttons {
  396. opacity:0.5;
  397. }
  398.  
  399. #musicinfo {
  400. margin-left: 100px;
  401. font-size:10px;
  402. min-height:70px;
  403. text-align:center;
  404. }
  405.  
  406.  
  407. #border {
  408. border-top: solid 1px #f0eded;
  409. }
  410.  
  411. #tags {
  412. font-size: 9px;
  413. margin-top: 8px;
  414. text-align: center;
  415. opacity: 0;
  416. font-family: calibri;
  417. letter-spacing: 0.5px;
  418. transition: all 0.3s linear;
  419. -webkit-transition: opacity 0.3s linear;
  420. -webkit-transition: all 0.3s linear;
  421. -moz-transition: all 0.3s linear;
  422. {block:permalinkpage}
  423. opacity: 1;
  424. {/block:permalinkpage}
  425. }
  426.  
  427. #tags a {
  428. color: {color:text};
  429. margin-left: 5px;
  430. }
  431.  
  432. #tags a:hover {
  433. color: {color:link};
  434. transition: all 0.3s linear;
  435. -webkit-transition: opacity 0.3s linear;
  436. -webkit-transition: all 0.3s linear;
  437. -moz-transition: all 0.3s linear;
  438. }
  439.  
  440. .source {
  441. font-size: 13px;
  442. text-align: center;
  443. font-family: courier new;
  444. text-transform: lowercase;
  445. }
  446.  
  447. .source:first-letter {
  448. display: inline-block;
  449. text-transform: uppercase;
  450. }
  451.  
  452. {CustomCSS}</style></head><body>
  453.  
  454. <div id="sidebar">
  455.  
  456. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  457.  
  458. <div id="links">
  459. <div id="navi">{text:navigation title}</div><br>
  460. <a href="{text:link 1 url}">{text:link 1}</a><br>
  461. <a href="{text:link 2 url}">{text:link 2}</a><br>
  462. <a href="{text:link 3 url}">{text:link 3}</a><br>
  463. <a href="{text:link 4 url}">{text:link 4}</a><br>
  464. <a href="{text:link 5 url}">{text:link 5}</a><br>
  465.  
  466. </div>
  467.  
  468. <div id="description">{Description}</div>
  469.  
  470. </div>
  471.  
  472. <div id="entries">
  473. {block:Posts}
  474.  
  475. {block:ContentSource}
  476.  
  477. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  478.  
  479. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  480.  
  481. {/block:SourceLogo}
  482.  
  483. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  484.  
  485. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  486.  
  487. <div id="post">
  488.  
  489. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  490.  
  491. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  492.  
  493. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  494.  
  495. {block:Quote} <b><div class="source">{Source}:</div></b> <br> <div id="quote">"{Quote}"</div>{block:Source}{/block:Source}{/block:Quote}
  496.  
  497. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  498.  
  499. {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}
  500.  
  501. {block:Audio}
  502. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  503. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  504. <div id="musicinfo">
  505. {block:TrackName}<h1><div style="text-transform: none; padding-bottom: 4px; margin-bottom: 0px; border-bottom: 1px solid #f0f0f0; text-align: right;">{TrackName}</div></h1>{/block:Trackname}
  506. {block:Artist}by {Artist}{/block:Artist}<br><br>
  507. {block:PlayCount}►played {PlayCount} times{/block:PlayCount}
  508. </div>
  509. <div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>
  510. {/block:Audio}
  511.  
  512. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  513.  
  514. {block:Answer}
  515. <div class="question"><b>{Asker} said:</b> {Question}</div><blockquote><div class="answer">{Answer}</div></blockquote>{/block:Answer}
  516.  
  517. <div id="info">
  518. <span style="float: left">{block:RebloggedFrom} <a href="{ReblogParentURL}"title="{ReblogParentTitle}">via</a> / <a href="{ReblogRootURL}"title="{ReblogRoottitle}">source</a>{/block:RebloggedFrom}</span><span style="float: right;">{block:Date}{ShortMonth} {DayOfMonthWithZero}{DayOfMonthSuffix}{/block:Date} <a href="{Permalink}">
  519. (+{NoteCount})</a></span>
  520. </div>
  521.  
  522. <div id="tags">{block:HasTags}{block:Tags} <a href="{TagURL}">{Tag} -</a>{/block:Tags}{/block:HasTags}</div>
  523.  
  524. </div>
  525.  
  526. <div id="notez">{block:PostNotes}{PostNotes}{/block:PostNotes}
  527. {/block:Posts}</div>
  528.  
  529. <div id="pagination">
  530. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">NEWER</a>{/block:PreviousPage} -
  531. {block:NextPage}<a href="{NextPage}">OLDER</a>{/block:NextPage}{/block:Pagination}
  532. </div>
  533.  
  534. </div></div>
  535.  
  536. </div>
  537.  
  538. <div id="credit"><a href="http://www.doctorwatsn.tumblr.com">221b</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.  
  613. </script>
  614.  
  615. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement