Advertisement
sofiiayala

Theme 11 by Sofi for Tumblr

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