Advertisement
sofiiayala

Theme 16 by Sofi for Tumblr

Feb 4th, 2014
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.37 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 16 by Sofi. DON'T REMOVE THE CREDIT OR CLAIM THE THEME AS YOURS. DON'T USE IT AS A BASE --->
  9.  
  10. <meta name="color:Background" content="#ffffff"/>
  11. <meta name="color:Text" content="#838282"/>
  12. <meta name="color:Link" content="#b8b8b8"/>
  13.  
  14. <meta name="if:Info on hover" content="1"/>
  15.  
  16. <meta name="text:title text" content=""/>
  17. <meta name="text:askbox title" content="Ask me something"/>
  18. <meta name="text:askbox" content="message me"/>
  19. <meta name="text:link 1 message" content="home"/>
  20. <meta name="text:link 1 url" content="/"/>
  21. <meta name="text:link 2 message" content="navi"/>
  22. <meta name="text:link 2 url" content="/ask"/>
  23. <meta name="text:link 3 message" content="about me"/>
  24. <meta name="text:link 3 url" content="/"/>
  25.  
  26. <script type="text/javascript">
  27. WebFontConfig = {
  28. google: { families: [ 'Petit+Formal+Script::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. <style type="text/css">
  41.  
  42.  
  43. ::-webkit-scrollbar {width: 4px; height: 4px; background: #f0f0f0; }
  44. ::-webkit-scrollbar-thumb { background-color: #999999; -webkit-border-radius: 0ex; }
  45.  
  46. body {
  47. background:{color:background};
  48. margin:0px;
  49. color:{color:text};
  50. font-family:Calibri;
  51. font-size:9px;
  52. line-height:100%;
  53. }
  54.  
  55. body, a, a:hover {cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), auto;}
  56.  
  57. a {
  58. text-decoration:none;
  59. outline:none;
  60. -moz-outline-style:none;
  61. color:{color:link};
  62. }
  63.  
  64. img {
  65. border:none;
  66. }
  67.  
  68. blockquote {
  69. padding-left:5px;
  70. border-left:2px solid;
  71. margin-left: 2px;
  72. }
  73.  
  74. h1 {
  75. font-size:19px;
  76. font-family:times;
  77. font-weight: lighter;
  78. letter-spacing: 1.5px;
  79. }
  80.  
  81. .hr {
  82. color: #f0eded;
  83. }
  84.  
  85. #entries {
  86. width:400px;
  87. margin-top:80px;
  88. margin-left: 50px;
  89. }
  90.  
  91. #post {
  92. width:400px;
  93. padding-bottom:20px;
  94. margin-top:40px;
  95. margin-bottom:0px;
  96. text-align: left;
  97. }
  98.  
  99. #post:hover #tags {
  100. opacity: 1;
  101. transition: all 0.3s linear;
  102. -webkit-transition: opacity 0.3s linear;
  103. -webkit-transition: all 0.3s linear;
  104. -moz-transition: all 0.3s linear;
  105. }
  106.  
  107. #post:hover .info {
  108. opacity: 1;
  109. transition: all 0.3s linear;
  110. -webkit-transition: opacity 0.3s linear;
  111. -webkit-transition: all 0.3s linear;
  112. -moz-transition: all 0.3s linear;
  113. }
  114.  
  115. #title {
  116. width:500px;
  117. margin-top:20px;
  118. height: auto;
  119. text-align: center;
  120. margin-left: 1px;
  121. font-size:30px;
  122. font-family:'Petit Formal Script', cursive;
  123. text-align: center;
  124. letter-spacing: 0.5px;
  125. text-transform: lowercase;
  126. }
  127.  
  128. #sidebar {
  129. width:500px;
  130. margin-top:0px;
  131. height: auto;
  132. padding-top:60px;
  133. text-align: center;
  134. }
  135.  
  136. #links {
  137. width: 500px;
  138. text-align: center;
  139. background-color: transparent;
  140. height: auto;
  141. margin-top: 5px;
  142. padding-top: 5px;
  143. font-family: helvetica;
  144. text-transform: uppercase;
  145. transition: all 0.2s linear;
  146. -webkit-transition: opacity 0.2s linear;
  147. -webkit-transition: all 0.2s linear;
  148. -moz-transition: all 0.2s linear;
  149. }
  150.  
  151. #links a {
  152. color: {color:text};
  153. }
  154.  
  155. #links a:hover {
  156. color: {color:link};
  157. border-bottom: 1px solid {color:link};
  158. transition: all 0.2s linear;
  159. -webkit-transition: opacity 0.2s linear;
  160. -webkit-transition: all 0.2s linear;
  161. -moz-transition: all 0.2s linear;
  162. }
  163.  
  164. #description {
  165. width:190px;
  166. text-align: justify;
  167. background-color: #f4f4f4;
  168. height: auto;
  169. margin-left:140px;
  170. margin-top: 30px;
  171. padding: 15px ;
  172. font-size: 9px;
  173. font-family: garamond;
  174. line-height: 160%;
  175. letter-spacing: 1px;
  176. }
  177.  
  178. .info {
  179. font-size: 7px;
  180. margin-top: 8px;
  181. text-align:left;
  182. font-family: times;
  183. text-transform: uppercase;
  184. letter-spacing: 0.8px;
  185. padding: 1px;
  186. {block:ifInfoonhover}
  187. opacity: 0;
  188. transition: all 0.3s linear;
  189. -webkit-transition: opacity 0.3s linear;
  190. -webkit-transition: all 0.3s linear;
  191. -moz-transition: all 0.3s linear;
  192. {/block:ifInfoonhover}
  193. }
  194.  
  195. #tags {
  196. font-size: 9px;
  197. text-align: left;
  198. opacity: 0;
  199. line-height: 130%;
  200. letter-spacing: 0.5px;
  201. transition: all 0.3s linear;
  202. -webkit-transition: opacity 0.3s linear;
  203. -webkit-transition: all 0.3s linear;
  204. -moz-transition: all 0.3s linear;
  205. }
  206.  
  207. #tags a {
  208. margin-left: 5px;
  209. margin-right: 5px;
  210. }
  211.  
  212. #asker {
  213. float:left;
  214. }
  215.  
  216. .question{
  217. text-align: center;
  218. letter-spacing:1px;
  219. padding:6px;
  220. border-bottom: 1px solid #f0eded;
  221. }
  222.  
  223. .answer{
  224. text-align: center;
  225. letter-spacing:1px;
  226. }
  227.  
  228.  
  229. #credit {
  230. font-size:8px;
  231. font-family:georgia;
  232. letter-spacing:2px;
  233. -moz-transition-duration:0.5s;
  234. -webkit-transition-duration:0.5s;
  235. -o-transition-duration:0.5s;
  236. }
  237.  
  238. #credit a {
  239. background-color:#fff;
  240. padding:5px;
  241. border:1px solid #e9e9e9;
  242. position:fixed;
  243. right:15px;
  244. bottom:10px
  245. }
  246.  
  247. .sources
  248. {
  249. filter:alpha(opacity=0);
  250. opacity:0;
  251. font-size: 0px;
  252. }
  253.  
  254. #con {
  255. background-color:{color:background};
  256. width:500px;
  257. margin: 0 auto -12px auto;
  258. text-align: center;
  259. }
  260.  
  261. #quote {
  262. line-height: 130%;
  263. font-size:18px;
  264. font-family: times;
  265. text-align: center;
  266. letter-spacing: 1px;
  267. }
  268.  
  269. #cover {
  270. position: relative;
  271. z-index: 1;
  272. height: 80px;
  273. float:left;
  274. border:1px solid #f0f0f0;
  275. padding:4px;
  276. }
  277.  
  278. #button {
  279. width:20px;
  280. height:30px;
  281. overflow: hidden;
  282. position: relative;
  283. z-index: 99;
  284. margin: 15px 24px 13px 16px;
  285. }
  286.  
  287. #buttons {
  288. background-color: #fff;
  289. position: absolute;
  290. z-index: 99;
  291. margin-top: 15px;
  292. margin-left: 15px;
  293. opacity: 0;
  294. -webkit-transition: opacity 0.5s linear;
  295. -webkit-transition: all 0.5s linear;
  296. -moz-transition: all 0.5s linear;
  297. -o-transition: all 0.5s linear;
  298. }
  299. #buttons:hover {
  300. opacity:0.5;
  301. }
  302.  
  303. #musicinfo {
  304. margin-top:5px;
  305. padding-top:20px;
  306. margin-left: 100px;
  307. font-size:12px;
  308. min-height:70px;
  309. text-align:center;
  310. }
  311.  
  312. #pagination {
  313. font-family:times;
  314. width:100%;
  315. font-size:11px;
  316. margin-top:25px;
  317. margin-bottom:25px;
  318. letter-spacing:1px;
  319. word-spacing:15px;
  320. text-align:center;
  321. }
  322.  
  323. #pagination a {
  324. color:{color:link};
  325. }
  326.  
  327. #notez {
  328. list-style:lower-roman;
  329. padding-bottom:5px;
  330. padding-top:5px;
  331. margin-left:0px;
  332. font-size:8px;
  333. display:inline-block;
  334. }
  335.  
  336. #notez a {
  337. display:inline-block;
  338. padding-bottom:10px;
  339. }
  340.  
  341. #notez img {
  342. display:none;
  343. }
  344.  
  345. #fade {
  346. display: none;
  347. background: #000;
  348. position: fixed;
  349. left: 0;
  350. top: 0;
  351. width: 100%;
  352. height: 100%;
  353. opacity: .80;
  354. z-index: 9999;
  355. }
  356.  
  357. .popup_block{
  358. display: none;
  359. background:transparent;
  360. padding: 20px;
  361. float: left;
  362. position: fixed;
  363. top: 50%;
  364. left: 50%;
  365. z-index: 99999;
  366. }
  367.  
  368. *html #fade {
  369. position: absolute;
  370. }
  371.  
  372. *html .popup_block {
  373. position: absolute;
  374. }
  375.  
  376. </style>
  377.  
  378. <script type="text/javascript"
  379. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  380.  
  381. <script>
  382. $(document).ready(function() {
  383. //When you click on a link with class of poplight and the href starts with a #
  384. $('a.poplight[href^=#]').click(function() {
  385. var popID = $(this).attr('rel'); //Get Popup Name
  386. var popURL = $(this).attr('href'); //Get Popup href to define size
  387. //Pull Query & Variables from href URL
  388. var query= popURL.split('?');
  389. var dim= query[1].split('&');
  390. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  391. //Fade in the Popup and add close button
  392. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img class="btn_close"/></a>');
  393. //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
  394. var popMargTop = ($('#' + popID).height() + 80) / 2;
  395. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  396. //Apply Margin to Popup
  397. $('#' + popID).css({
  398. 'margin-top' : -popMargTop,
  399. 'margin-left' : -popMargLeft
  400. });
  401. //Fade in Background
  402. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  403. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  404. return false;
  405. });
  406. //Close Popups and Fade Layer
  407. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  408. $('#fade , .popup_block').fadeOut(function() {
  409. $('#fade, a.close').remove(); //fade them both out
  410. });
  411. return false;
  412. });
  413. });
  414. </script>
  415.  
  416. </style></head><body>
  417.  
  418. <div id="con">
  419.  
  420. <div id="sidebar">
  421.  
  422. <div id="title">{text:title text}</div>
  423.  
  424. <div id="description">{description}</div>
  425.  
  426. <div id="links">
  427. <a href="{text:link 1 url}">{text:link 1 message}</a>
  428. · <a href="#?w=450" rel="01" class="poplight">{text:askbox}</a>
  429. · <a href="{text:link 2 url}">{text:link 2 message}</a>
  430. · <a href="{text:link 3 url}">{text:link 3 message}</a>
  431.  
  432. </div>
  433.  
  434. </div>
  435.  
  436. <div id="entries">
  437. {block:Posts}
  438.  
  439. {block:ContentSource}
  440.  
  441. <!--{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  442.  
  443. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  444.  
  445. {/block:SourceLogo}
  446.  
  447. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}-->
  448.  
  449. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  450.  
  451. <div id="post">
  452.  
  453. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  454.  
  455. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  456.  
  457. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  458.  
  459. {block:Quote}<div id="quote">"{Quote}"</div>{block:Source}<br><br> <b><font size="1.5"><div style="text-align: right;">-{Source}</div></font></b>{/block:Source}{/block:Quote}
  460.  
  461. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  462.  
  463. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}<font size="2">{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br><br>{/block:Lines}</font>{/block:Chat}
  464.  
  465. {block:Audio}
  466. <div id="buttons"><div id="button">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div></div>
  467. {block:AlbumArt}<img src="{AlbumArtURL}" id="cover">{/block:AlbumArt}
  468. <div id="musicinfo">
  469. {block:TrackName}<h1>{TrackName}</h1>{/block:Trackname}<br>
  470. {block:Artist}{Artist}{/block:Artist}
  471. </div>
  472. <div style="margin-top:20px;">{block:caption}{Caption}{/block:caption}</div>
  473. {/block:Audio}
  474.  
  475. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  476.  
  477. {block:Answer}
  478. <div class="question"><b>{Asker}</b>: <i>{Question}</i></div><div class="answer">{Answer}</div>{/block:Answer}
  479.  
  480. <div class="info">
  481. {block:Date}{ShortMonth} {DayOfMonthWithZero}{DayOfMonthSuffix}{/block:Date} (<a href="{Permalink}">{NoteCount}</a>) {block:RebloggedFrom}<a href="{ReblogRootURL}">source</a> / <a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}</div>
  482.  
  483. <div id="tags">{block:HasTags}tagged as:{block:Tags}<a href="{TagURL}">{Tag}-</a>{/block:Tags}{/block:HasTags}</div>
  484.  
  485. </div>
  486. {block:Prmalink}<div id="notez">{block:PostNotes}{PostNotes}{/block:PostNotes}{/block:Prmalink}
  487. {/block:Posts}</div>
  488.  
  489. </div></div>
  490.  
  491. {block:Pagination}
  492. <div id="pagination">
  493. {block:PreviousPage}
  494. <a href="{PreviousPage}">←</a>
  495. {/block:PreviousPage}
  496. {block:JumpPagination length="6"}
  497. {block:CurrentPage}
  498. <span class="current_page">{PageNumber}</span>
  499. {/block:CurrentPage}
  500. {block:JumpPage}
  501. <a class="jump_page" href="{URL}">{PageNumber}</a>
  502. {/block:JumpPage}
  503. {/block:JumpPagination}
  504. {block:NextPage}
  505. <a href="{NextPage}">→</a>
  506. {/block:NextPage}
  507. </div>
  508. {/block:Pagination}
  509.  
  510. </div>
  511.  
  512. <div id="credit"><a href="http://www.doctorwatsn.tumblr.com"> 221b</div>
  513.  
  514. </body>
  515.  
  516. <div id="01" class="popup_block" style="color: {color:text}; opacity: 0.9; background-color: white; font-size: 10px; line-height: 150%; letter-spacing: 1px">
  517. <center>
  518. <h1>{text:askbox title}</h1>
  519. <iframe frameborder="0" border="0" scrolling="no" width="100%" height="190" allowtransparency="true" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;"></iframe>
  520. </center>
  521. </div>
  522.  
  523. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement