Advertisement
sofiiayala

Theme 9 by Sofi for Tumblr

Dec 7th, 2013
1,114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 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 9 by Sofi. DON'T STEAL 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="image:sidebar" content=""/>
  14. <meta name="text:sidebar title" content=""/>
  15.  
  16. <meta name="text:link 1 message" content="Link 1"/>
  17. <meta name="text:link 1 url" content="/"/>
  18. <meta name="text:link 2 message" content="Link 2"/>
  19. <meta name="text:link 2 url" content="/"/>
  20. <meta name="text:link 3 message" content="Link 3"/>
  21. <meta name="text:link 3 url" content="/"/>
  22. <meta name="text:link 4 message" content="Link 4"/>
  23. <meta name="text:link 4 url" content="/"/>
  24. <meta name="text:link 5 message" content="Link 5"/>
  25. <meta name="text:link 5 url" content="/"/>
  26.  
  27. <meta name="if:show title" content=""/>
  28.  
  29. <script type="text/javascript">
  30. WebFontConfig = {
  31. google: { families: [ 'Lobster+Two:400,400italic:latin' ] }
  32. };
  33. (function() {
  34. var wf = document.createElement('script');
  35. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  36. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  37. wf.type = 'text/javascript';
  38. wf.async = 'true';
  39. var s = document.getElementsByTagName('script')[0];
  40. s.parentNode.insertBefore(wf, s);
  41. })(); </script>
  42.  
  43.  
  44. <style type="text/css">
  45.  
  46. #dhtmltooltip{
  47. position: absolute;
  48. padding:2px;
  49. margin-left:70px;
  50. margin-top: -7px;
  51. background: #fff; /* change the background color */
  52. border:1px solid {color:text}; /* change the border color */
  53. font-family:times; /* 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:calibri;
  73. font-size:9px;
  74. line-height:100%;
  75. }
  76.  
  77. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  78.  
  79. a {
  80. text-decoration:none;
  81. outline:none;
  82. -moz-outline-style:none;
  83. color:{color:link};
  84. }
  85.  
  86. img {
  87. border:none;
  88. }
  89.  
  90. blockquote {
  91. padding-left:5px;
  92. border-left:2px solid;
  93. margin-left: 2px;
  94. }
  95.  
  96. h1 {
  97. font-size:17px;
  98. font-family:times;
  99. font-weight: lighter;
  100. letter-spacing: 1.5px;
  101. text-align: center;
  102. }
  103.  
  104. .hr {
  105. color: #f0eded;
  106. }
  107.  
  108. #entries {
  109. padding:10px;
  110. width:500px;
  111. margin-top:60px;
  112. margin-left: 500px ;
  113. }
  114.  
  115. #post {
  116. width:500px;
  117. padding-bottom:20px;
  118. margin-top:20px;
  119. margin-bottom:0px;
  120. text-align: left;
  121.  
  122. }
  123.  
  124. #post:hover #tags {
  125. opacity: 1;
  126. }
  127.  
  128. #sidebar {
  129. width:150px;
  130. position:fixed;
  131. margin-left:250px;
  132. margin-top:150px;
  133. text-align: right;
  134. }
  135.  
  136. {block:ifShowtitle}
  137. #title {
  138. font-size:15px;
  139. font-family: 'Lobster Two', cursive;
  140. margin-bottom: 15px;
  141. }
  142. {/block:ifShowtitle}
  143.  
  144. #sidebarimage {
  145. width 100px;
  146. }
  147.  
  148. #sidebarimage img {
  149. width:100px;
  150. margin-bottom: 10px;
  151. }
  152.  
  153. #description {
  154. width: 100px;
  155. margin-left: 50px;
  156. font-family: baskervilles;
  157. font-size: 8px;
  158. border-top: 1px solid #f0eded;
  159. padding-top: 3px;
  160. margin-top: 3px;
  161. margin-bottom: 3px;
  162. letter-spacing: 0.8px;
  163. }
  164.  
  165. #links {
  166. width: 150px;
  167. background-color: transparent;
  168. margin-bottom: 3px;
  169. word-spacing: 4px;
  170. }
  171.  
  172. #pagination {
  173. font-size:8px;
  174. width: 100px;
  175. margin-left: 50px;
  176. font-family: baskervilles;
  177. }
  178.  
  179. #asker {
  180. float:left;
  181. }
  182.  
  183. .question{
  184. text-align: center;
  185. letter-spacing:1px;
  186. padding:6px;
  187. border-bottom: 1px solid #f0eded;
  188. }
  189.  
  190. .answer{
  191. background-color:transparent;
  192. line-height: 10px;
  193. text-align: left;
  194. letter-spacing:1px;
  195. font-size: 9px;
  196. }
  197.  
  198.  
  199. #credit {
  200. font-size:9px;
  201. font-family:georgia;
  202. letter-spacing:1px;
  203. -moz-transition-duration:0.5s;
  204. -webkit-transition-duration:0.5s;
  205. -o-transition-duration:0.5s;
  206. }
  207.  
  208. #credit a {
  209. background-color:#fff;
  210. padding:5px;
  211. border:1px solid #e9e9e9;
  212. position:fixed;
  213. right:15px;
  214. bottom:10px
  215. }
  216.  
  217. .sources
  218. {
  219. filter:alpha(opacity=0);
  220. opacity:0;
  221. font-size: 0px;
  222. }
  223.  
  224. #quote {
  225. line-height: 130%;
  226. font-size:16px;
  227. font-family: times;
  228. text-align: center;
  229. letter-spacing: 1px;
  230. }
  231.  
  232. .audio {
  233. width:250px;
  234. padding-bottom:10px;
  235. }
  236.  
  237. .albumart {
  238. float:left;
  239. padding:4px;
  240. border: 1px solid #ccc;
  241. }
  242.  
  243. .albumart img {
  244. width:50px;
  245. height:50px;
  246. }
  247.  
  248. .player {
  249. text-align:left;
  250. padding:10px;
  251. background-color:#ffffff;
  252. width:50px;
  253. margin-left: 53px;
  254. margin-top:-17px;
  255. }
  256.  
  257. .musicinfo {
  258. padding-left:5px;
  259. padding-top: 3px;
  260. color:{color:text};
  261. margin-left: 65px;
  262. }
  263.  
  264. #notez {
  265. text-align: left;
  266. }
  267.  
  268. .info {
  269. font-family: baskervilles;
  270. font-size: 7px;
  271. text-transform: uppercase;
  272. text-align:center;
  273. background-color:transparent;
  274.  
  275. }
  276.  
  277. .info a {
  278. color: {color:text};
  279. }
  280.  
  281. #border {
  282. border-top: solid 1px #f0eded;
  283. margin-top: 20px;
  284. margin-bottom: -5px;
  285. }
  286.  
  287. #tags {
  288. font-size: 7px;
  289. margin-top: 3px;
  290. text-align: center;
  291. opacity: 0;
  292. font-family: calibri;
  293. letter-spacing: 0.5px;
  294. transition: all 0.3s linear;
  295. -webkit-transition: opacity 0.3s linear;
  296. -webkit-transition: all 0.3s linear;
  297. -moz-transition: all 0.3s linear;
  298. {block:permalinkpage}
  299. opacity: 1;
  300. {/block:permalinkpage}
  301. }
  302.  
  303. #tags a {
  304. color: {color:text};
  305. }
  306.  
  307. #tags a:hover {
  308. color: {color:link};
  309. }
  310.  
  311. {CustomCSS}</style></head><body>
  312.  
  313. <div id="sidebar">
  314.  
  315. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  316.  
  317. {block:ifShowtitle}<div id="title">{text:sidebar title}</div>{/block:ifShowtitle}
  318.  
  319. <div id="links">
  320. <a href="{text:link 1 url}" onMouseover="ddrivetip('{text:link 1 message}')";
  321. onMouseout="hideddrivetip()">01</a>
  322. <a href="{text:link 2 url}" onMouseover="ddrivetip('{text:link 2 message}')";
  323. onMouseout="hideddrivetip()">02</a>
  324. <a href="{text:link 3 url}" onMouseover="ddrivetip('{text:link 3 message}')";
  325. onMouseout="hideddrivetip()">03</a>
  326. <a href="{text:link 4 url}" onMouseover="ddrivetip('{text:link 4 message}')";
  327. onMouseout="hideddrivetip()">04</a>
  328. <a href="{text:link 5 url}" onMouseover="ddrivetip('{text:link 5 message}')";
  329. onMouseout="hideddrivetip()">05</a></div>
  330.  
  331. <div id="description">{Description}</div>
  332.  
  333. <div id="pagination">
  334. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">back</a>{/block:PreviousPage} -
  335. {block:NextPage}<a href="{NextPage}">forth</a>{/block:NextPage}{/block:Pagination}
  336. </div>
  337.  
  338. </div>
  339.  
  340. <div id="entries">
  341. {block:Posts}
  342.  
  343. {block:ContentSource}
  344.  
  345. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  346.  
  347. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  348.  
  349. {/block:SourceLogo}
  350.  
  351. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  352.  
  353. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  354.  
  355. <div id="post">
  356.  
  357. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  358.  
  359. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  360.  
  361. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  362.  
  363. {block:Quote}<div id="quote">"{Quote}"</div>{block:Source}<br><br> —<b><font size="1.5">{Source}</font></b>{/block:Source}{/block:Quote}
  364.  
  365. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  366.  
  367. {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}
  368.  
  369. {block:Audio}<div class="audio">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/></div>{/block:AlbumArt}
  370. <div class="musicinfo">{block:TrackName}<b>•Title:</b> {TrackName}<br />{/block:TrackName}{block:Artist}<b>•Artist:</b> {Artist}<br />{/block:Artist}
  371. {/block:ExternalAudio}<b>•Played:</b> {PlayCount} times</div>
  372. <br><div class="player">{AudioPlayerWhite}</div></div>
  373. {block:permalinkpage}{block:Caption}{Caption}{/block:Caption}{/block:permalinkpage}{/block:Audio}
  374.  
  375. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  376.  
  377. {block:Answer}
  378. <div class="question"><b>{Asker}</b> says: <i>{Question}</i></div><blockquote><div class="answer"{Answer}</div></blockquote>{/block:Answer}
  379.  
  380. <div id="border"></div>
  381. <div class="info">{block:RebloggedFrom}<a href="{ReblogRootURL}" style="background-color: #f4f3f4; padding: 3px;">source.</a><a href="{ReblogParentURL}" style="background-color: #f4f3f3; padding: 3px; ">via.</a>{/block:RebloggedFrom}<a href="{Permalink}" style="background-color: #f4f3f3; padding: 3px; ">{{NoteCount}} {block:Date} {TimeAgo}.{/block:Date}</a></div>
  382.  
  383. <div id="tags">{block:HasTags}{block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}{/block:HasTags}</div>
  384.  
  385. </div>
  386. <div id="notez">{block:PostNotes}{PostNotes}{/block:PostNotes}
  387. {/block:Posts}</div>
  388.  
  389. </div></div>
  390.  
  391. </div>
  392.  
  393. <div id="credit"><a href="http://www.nobodycouldbethatclever.tumblr.com">221b</div>
  394.  
  395. <div id="dhtmltooltip"></div>
  396.  
  397. <script type="text/javascript">
  398.  
  399. /***********************************************
  400. * Cool DHTML tooltip script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
  401. * This notice MUST stay intact for legal use
  402. * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
  403. ***********************************************/
  404.  
  405. var offsetxpoint=-60 //Customize x offset of tooltip
  406. var offsetypoint=20 //Customize y offset of tooltip
  407. var ie=document.all
  408. var ns6=document.getElementById && !document.all
  409. var enabletip=false
  410. if (ie||ns6)
  411. var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""
  412.  
  413. function ietruebody(){
  414. return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
  415. }
  416.  
  417. function ddrivetip(thetext, thecolor, thewidth){
  418. if (ns6||ie){
  419. if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
  420. if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
  421. tipobj.innerHTML=thetext
  422. enabletip=true
  423. return false
  424. }
  425. }
  426.  
  427. function positiontip(e){
  428. if (enabletip){
  429. var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
  430. var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
  431. //Find out how close the mouse is to the corner of the window
  432. var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
  433. var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20
  434.  
  435. var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
  436.  
  437. //if the horizontal distance isn't enough to accomodate the width of the context menu
  438. if (rightedge<tipobj.offsetWidth)
  439. //move the horizontal position of the menu to the left by it's width
  440. tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
  441. else if (curX<leftedge)
  442. tipobj.style.left="5px"
  443. else
  444. //position the horizontal position of the menu where the mouse is positioned
  445. tipobj.style.left=curX+offsetxpoint+"px"
  446.  
  447. //same concept with the vertical position
  448. if (bottomedge<tipobj.offsetHeight)
  449. tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
  450. else
  451. tipobj.style.top=curY+offsetypoint+"px"
  452. tipobj.style.visibility="visible"
  453. }
  454. }
  455.  
  456. function hideddrivetip(){
  457. if (ns6||ie){
  458. enabletip=false
  459. tipobj.style.visibility="hidden"
  460. tipobj.style.left="-1000px"
  461. tipobj.style.backgroundColor=''
  462. tipobj.style.width=''
  463. }
  464. }
  465.  
  466. document.onmousemove=positiontip
  467.  
  468. </script>
  469.  
  470. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement