Advertisement
sofiiayala

Theme 18 by Sofi for Tumblr

Feb 22nd, 2014
1,713
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.81 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 18 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. <meta name="image:background" content=""/>
  15.  
  16. <meta name="text:title" content=""/>
  17. <meta name="text:link 1 message" content="Link 1"/>
  18. <meta name="text:link 1 url" content="/"/>
  19. <meta name="text:link 2 message" content="Link 2"/>
  20. <meta name="text:link 2 url" content="/"/>
  21. <meta name="text:link 3 message" content="Link 3"/>
  22. <meta name="text:link 3 url" content="/"/>
  23. <meta name="text:link 4 message" content="Link 4"/>
  24. <meta name="text:link 4 url" content="/"/>
  25. <meta name="text:link 5 message" content="Link 5"/>
  26. <meta name="text:link 5 url" content="/"/>
  27.  
  28. <script type="text/javascript">
  29. WebFontConfig = {
  30. google: { families: [ 'Alegreya+Sans::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:3px;
  48. padding-bottom: 2px;
  49. margin-left:70px;
  50. margin-top: -7px;
  51. background: #f0f0f0; /* change the background color */
  52. font-family:times; /* change the font */
  53. font-size:7px; /* change the font size */
  54. letter-spacing:1px; /* change the letter spacing */
  55. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  56. font-style: bold;
  57. color:{color:text}; /* change the text color */
  58. visibility: hidden;
  59. z-index: 100;
  60. /*Remove below line to remove shadow. Below line should always appear last within this CSS*/
  61. filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
  62. }
  63.  
  64. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  65. ::-webkit-scrollbar-thumb { background-color: #999999; -webkit-border-radius: 0ex; }
  66.  
  67. body {
  68. background:{color:background};
  69. margin:0px;
  70. color:{color:text};
  71. font-family:garamond;
  72. letter-spacing: 1px;
  73. font-size:9px;
  74. line-height:100%;
  75. background-image:url("{image:background}");
  76. background-size:cover;
  77. background-position:left top;
  78. background-attachment:fixed;
  79. }
  80.  
  81. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  82.  
  83. a {
  84. text-decoration:none;
  85. outline:none;
  86. -moz-outline-style:none;
  87. color:{color:link};
  88. }
  89.  
  90. img {
  91. border:none;
  92. }
  93.  
  94. blockquote {
  95. padding-left:5px;
  96. border-left:2px solid;
  97. margin-left: 2px;
  98. }
  99.  
  100. h1 {
  101. font-size:17px;
  102. font-family:'Alegreya Sans', sans-serif;
  103. font-weight: lighter;
  104. letter-spacing: 1.5px;
  105. text-align: center;
  106. }
  107.  
  108. #entries {
  109. padding:10px;
  110. width:500px;
  111. margin-left:550px;
  112. margin-top:70px;
  113. {block:permalink}
  114. margin-bottom: 50px;
  115. {/block:permalink}
  116. }
  117.  
  118. #post {
  119. width:500px;
  120. padding-bottom: 5px;
  121. overflow: hidden;
  122. margin-bottom:50px;
  123. }
  124.  
  125. #post:hover #tags {
  126. opacity: 1;
  127. transition: all 0.3s linear;
  128. -webkit-transition: opacity 0.3s linear;
  129. -webkit-transition: all 0.3s linear;
  130. -moz-transition: all 0.3s linear;
  131. }
  132.  
  133. #sidebar {
  134. width:200px;
  135. position:fixed;
  136. margin-left:225px;
  137. margin-top:150px;
  138. }
  139.  
  140. #title {
  141. font-size:20px;
  142. text-align:center;
  143. margin-bottom:5px;
  144. font-family: 'Alegreya Sans', sans-serif;
  145. line-height: 180%;
  146. letter-spacing: 0.5px;
  147. }
  148.  
  149. #sidebarimage {
  150. width: 200px;
  151. }
  152.  
  153. #sidebarimage img {
  154. width:150px;
  155. margin-left: 25px;
  156. }
  157.  
  158. #description {
  159. padding:10px;
  160. text-align:justify;
  161. font-family: garamond;
  162. font-size: 9px;
  163. letter-spacing: 2px;
  164. line-height: 150%;
  165. border-top: 1px {color:link} solid;
  166. border-bottom: 1px {color:link} solid;
  167. }
  168.  
  169. #links {
  170. width: 200px;
  171. text-align: center;
  172. font-family: calibri;
  173. }
  174.  
  175. #links li {
  176. display:inline;
  177. }
  178.  
  179. #links a {
  180. width:30px;
  181. line-height:20px;
  182. text-decoration:none;
  183. padding-right:3px;
  184. padding-left:3px;
  185. margin-left: 2px;
  186. margin-right: 2px;
  187. display:inline-block;
  188. color: {color:background};
  189. background-color: {color:link};
  190. transition: all 0.3s linear;
  191. -webkit-transition: opacity 0.3s linear;
  192. -webkit-transition: all 0.3s linear;
  193. -moz-transition: all 0.3s linear;
  194. }
  195.  
  196. #links a:hover {
  197. color: {color:link};
  198. background-color: {color:background};
  199. transition: all 0.3s linear;
  200. -webkit-transition: opacity 0.3s linear;
  201. -webkit-transition: all 0.3s linear;
  202. -moz-transition: all 0.3s linear;
  203. }
  204.  
  205. #pagination {
  206. width:500px;
  207. padding-top: 5px;
  208. line-height: 130%;
  209. height:20px;
  210. text-align:center;
  211. background-color:{color:background};
  212. font-size:13px;
  213. bottom:0px;
  214. opacity: 0.8;
  215. color:{color:text};
  216. position:fixed;
  217. letter-spacing: 5px;
  218. font-family: 'Alegreya Sans', sans-serif;
  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. #pagination:hover {
  226. opacity: 1;
  227. -webkit-transition: opacity 0.5s linear;
  228. -webkit-transition: all 0.5s linear;
  229. -moz-transition: all 0.5s linear;
  230. transition: all 0.s linear;
  231. }
  232.  
  233. #pagination a {
  234. color:{color:text};
  235. opacity: 1;
  236. -webkit-transition: opacity 0.5s linear;
  237. -webkit-transition: all 0.5s linear;
  238. -moz-transition: all 0.5s linear;
  239. transition: all 0.s linear;
  240. }
  241.  
  242. #pagination a:hover {
  243. color:{color:background};
  244. opacity: 1;
  245. -webkit-transition: opacity 0.5s linear;
  246. -webkit-transition: all 0.5s linear;
  247. -moz-transition: all 0.5s linear;
  248. transition: all 0.s linear;
  249. }
  250.  
  251. #info {
  252. text-align:center;
  253. color: {color:text};
  254. margin-top: 5px;
  255. letter-spacing: 0.5px;
  256. border-bottom: #e4e4e4 solid 1px;
  257. border-top: #e4e4e4 solid 1px;
  258. padding-top: 3px;
  259. padding-bottom: 5px;
  260. font-family: calibri;
  261. }
  262.  
  263. #info a {
  264. color: {color:text};
  265. }
  266.  
  267. #asker {
  268. float:left;
  269. }
  270.  
  271. .question{
  272. text-align: center;
  273. letter-spacing:1px;
  274. padding:6px;
  275. }
  276.  
  277. .answer{
  278. background-color:transparent;
  279. line-height: 10px;
  280. text-align: left;
  281. letter-spacing:1px;
  282. font-size: 9px;
  283. }
  284.  
  285.  
  286. #credit {
  287. font-size:9px;
  288. font-family:georgia;
  289. letter-spacing:1px;
  290. -moz-transition-duration:0.5s;
  291. -webkit-transition-duration:0.5s;
  292. -o-transition-duration:0.5s;
  293. }
  294.  
  295. #credit a {
  296. background-color:#fff;
  297. padding:5px;
  298. border:1px solid #e9e9e9;
  299. position:fixed;
  300. right:15px;
  301. bottom:10px
  302. }
  303.  
  304. .sources
  305. {
  306. filter:alpha(opacity=0);
  307. opacity:0;
  308. font-size: 0px;
  309. }
  310.  
  311. #quote {
  312. line-height: 130%;
  313. font-size:16px;
  314. font-family: 'Alegreya Sans', sans-serif;
  315. text-align: center;
  316. letter-spacing: 1px;
  317. padding: 20px;
  318. background-color: #f4f4f4;
  319. }
  320.  
  321. #cover {
  322. position: relative;
  323. z-index: 1;
  324. height: 80px;
  325. float:left;
  326. border:1px solid #f0f0f0;
  327. padding:4px;
  328. }
  329.  
  330. #button {
  331. width:20px;
  332. height:30px;
  333. overflow: hidden;
  334. position: relative;
  335. z-index: 99;
  336. margin: 15px 24px 13px 16px;
  337. }
  338.  
  339. #buttons {
  340. background-color: #fff;
  341. position: absolute;
  342. z-index: 99;
  343. margin-top: 15px;
  344. margin-left: 15px;
  345. opacity: 0;
  346. -webkit-transition: opacity 0.5s linear;
  347. -webkit-transition: all 0.5s linear;
  348. -moz-transition: all 0.5s linear;
  349. -o-transition: all 0.5s linear;
  350. }
  351.  
  352. #post:hover #buttons {
  353. opacity:0.5;
  354. }
  355.  
  356. #musicinfo {
  357. margin-top:5px;
  358. padding-top:5px;
  359. margin-left: 100px;
  360. font-size:12px;
  361. min-height:70px;
  362. text-align:center;
  363. }
  364.  
  365. #notez {
  366. text-align: left;
  367. }
  368.  
  369.  
  370. #border {
  371. border-top: solid 1px #f0eded;
  372. }
  373.  
  374. #tags {
  375. font-size: 9px;
  376. margin-top: 5px;
  377. text-align: center;
  378. opacity: 0;
  379. font-family: calibri;
  380. letter-spacing: 0.5px;
  381. transition: all 0.3s linear;
  382. -webkit-transition: opacity 0.3s linear;
  383. -webkit-transition: all 0.3s linear;
  384. -moz-transition: all 0.3s linear;
  385. {block:permalinkpage}
  386. opacity: 1;
  387. {/block:permalinkpage}
  388. }
  389.  
  390. #tags a {
  391. color: {color:text};
  392. margin-left: 5px;
  393. }
  394.  
  395. #tags a:hover {
  396. color: {color:link};
  397. transition: all 0.3s linear;
  398. -webkit-transition: opacity 0.3s linear;
  399. -webkit-transition: all 0.3s linear;
  400. -moz-transition: all 0.3s linear;
  401. }
  402.  
  403. {CustomCSS}</style></head><body>
  404.  
  405. <div id="sidebar">
  406.  
  407. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  408.  
  409. <div id="title">{text:title}</div>
  410.  
  411. <div id="description">{Description}</div>
  412.  
  413. <div id="links">
  414. <a href="{text:link 1 url}" onMouseover="ddrivetip('{text:link 1 message}')";
  415. onMouseout="hideddrivetip()">01</a>
  416. <a href="{text:link 2 url}" onMouseover="ddrivetip('{text:link 2 message}')";
  417. onMouseout="hideddrivetip()">02</a>
  418. <a href="{text:link 3 url}" onMouseover="ddrivetip('{text:link 3 message}')";
  419. onMouseout="hideddrivetip()">03</a>
  420. <a href="{text:link 4 url}" onMouseover="ddrivetip('{text:link 4 message}')";
  421. onMouseout="hideddrivetip()">04</a>
  422.  
  423. </div>
  424.  
  425. </div>
  426.  
  427. <div id="entries">
  428. {block:Posts}
  429.  
  430. {block:ContentSource}
  431.  
  432. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  433.  
  434. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  435.  
  436. {/block:SourceLogo}
  437.  
  438. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  439.  
  440. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  441.  
  442. <div id="post">
  443.  
  444. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  445.  
  446. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  447.  
  448. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  449.  
  450. {block:Quote}<div id="quote">"{Quote}"</div>{block:Source}<br> <b><div style="font-size: 13px; text-align: right">—{Source}</div></b>{/block:Source}{/block:Quote}
  451.  
  452. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  453.  
  454. {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}
  455.  
  456. {block:Audio}
  457. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  458. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  459. <div id="musicinfo">
  460. {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}
  461. {block:Artist}by {Artist}{/block:Artist}<br><br>
  462. {block:PlayCount}►played {PlayCount} times{/block:PlayCount}
  463. </div>
  464. <div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>
  465. {/block:Audio}
  466.  
  467. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  468.  
  469. {block:Answer}
  470. <div class="question"><b>{Asker}</b> said: <i>{Question}</i></div><blockquote><div class="answer">{Answer}</div></blockquote>{/block:Answer}
  471.  
  472. <div id="info">
  473. {block:Date}{ShortMonth} {DayOfMonthWithZero}{DayOfMonthSuffix}{/block:Date} <a href="{Permalink}">
  474. (+{NoteCount})</a>{block:RebloggedFrom} <a href="{ReblogParentURL}"
  475. title="{ReblogParentTitle}">via</a> / <a href="{ReblogRootURL}"title="{ReblogRoottitle}">source</a>{/block:RebloggedFrom}</div>
  476.  
  477. <div id="tags">{block:HasTags}{block:Tags} <a href="{TagURL}">{Tag} -</a>{/block:Tags}{/block:HasTags}</div>
  478.  
  479. </div>
  480.  
  481. <div id="notez">{block:PostNotes}{PostNotes}{/block:PostNotes}
  482. {/block:Posts}</div>
  483.  
  484. <div id="pagination">
  485. {block:Pagination}
  486. <div id="pagination">
  487. {block:PreviousPage}
  488. <a href="{PreviousPage}">←</a>
  489. {/block:PreviousPage}
  490. {block:JumpPagination length="3"}
  491. {block:CurrentPage}
  492. <span class="current_page">{PageNumber}</span>
  493. {/block:CurrentPage}
  494. {block:JumpPage}
  495. <a class="jump_page" href="{URL}">{PageNumber}</a>
  496. {/block:JumpPage}
  497. {/block:JumpPagination}
  498. {block:NextPage}
  499. <a href="{NextPage}">→</a>
  500. {/block:NextPage}
  501. </div>
  502. {/block:Pagination}
  503. </div>
  504.  
  505. </div></div>
  506.  
  507. </div>
  508.  
  509. <div id="credit"><a href="http://www.doctorwatsn.tumblr.com">221b</div>
  510.  
  511. <div id="dhtmltooltip"></div>
  512.  
  513. <script type="text/javascript">
  514.  
  515. /***********************************************
  516. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  517. * This notice MUST stay intact for legal use
  518. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  519. ***********************************************/
  520.  
  521. var offsetxpoint=-60 //Customize x offset of tooltip
  522. var offsetypoint=20 //Customize y offset of tooltip
  523. var ie=document.all
  524. var ns6=document.getElementById && !document.all
  525. var enabletip=false
  526. if (ie||ns6)
  527. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  528.  
  529. function ietruebody(){
  530. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  531. }
  532.  
  533. function ddrivetip(thetext, thecolor, thewidth){
  534. if (ns6||ie){
  535. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  536. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  537. tipobj.innerHTML=thetext
  538. enabletip=true
  539. return false
  540. }
  541. }
  542.  
  543. function positiontip(e){
  544. if (enabletip){
  545. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  546. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  547. //Find out how close the mouse is to the corner of the window
  548. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  549. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  550.  
  551. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  552.  
  553. //if the horizontal distance isn't enough to accomodate the width of the context menu
  554. if (rightedge<tipobj.offsetWidth)
  555. //move the horizontal position of the menu to the left by it's width
  556. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  557. else if (curX<leftedge)
  558. tipobj.style.left="5px"
  559. else
  560. //position the horizontal position of the menu where the mouse is positioned
  561. tipobj.style.left=curX+offsetxpoint+"px"
  562.  
  563. //same concept with the vertical position
  564. if (bottomedge<tipobj.offsetHeight)
  565. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  566. else
  567. tipobj.style.top=curY+offsetypoint+"px"
  568. tipobj.style.visibility="visible"
  569. }
  570. }
  571.  
  572. function hideddrivetip(){
  573. if (ns6||ie){
  574. enabletip=false
  575. tipobj.style.visibility="hidden"
  576. tipobj.style.left="-1000px"
  577. tipobj.style.backgroundColor=''
  578. tipobj.style.width=''
  579. }
  580. }
  581.  
  582. document.onmousemove=positiontip
  583.  
  584. </script>
  585.  
  586. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement