Advertisement
sofiiayala

Theme 22 by Sofi for Tumblr

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