Advertisement
sofiiayala

Theme 4 by Sofi

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