Advertisement
sofiiayala

Across the universe by Sofi for Tumblr

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