Advertisement
Guest User

oxygenthemes nicotine theme

a guest
May 28th, 2015
1,886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.61 KB | None | 0 0
  1. <!--theme by ella (oxygenthemes).
  2. enjoy using and feel free to message me if you encounter any issues.
  3. flawless base code by farahmir-->
  4.  
  5. <!DOCTYPE html>
  6. <head>
  7.  
  8.  
  9. <title>{Title}</title>
  10.  
  11. <link rel="shortcut icon" href="{Favicon}">
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  13. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  14.  
  15. <!--Default Variables-->
  16.  
  17. <meta name="color:Background" content="#ffffff"/>
  18. <meta name="color:Text" content="#aaaaaa"/>
  19. <meta name="color:Link" content="#000000"/>
  20. <meta name="color:blog title" content=""/>
  21. <meta name="image:Sidebar Image" content=""/>
  22. <meta name="image:pop up image" content=""/>
  23. <meta name="if:pop up image" content="1"/>
  24. <meta name="if:back to top button" content="1"/>
  25. <meta name="text:Link 1 URL" content="" />
  26. <meta name="text:Link 1" content="" />
  27. <meta name="text:Link 2 URL" content="" />
  28. <meta name="text:Link 2" content="" />
  29. <meta name="text:Link 3 URL" content="" />
  30. <meta name="text:Link 3" content="" />
  31. <meta name="text:Link 4 URL" content="" />
  32. <meta name="text:Link 4" content="" />
  33.  
  34.  
  35. <!-- jquery for tooltips-->
  36.  
  37.  
  38. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  39.  
  40. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  41.  
  42. <script>
  43.  
  44. (function($){
  45.  
  46. $(document).ready(function(){
  47.  
  48. $("a[title]").style_my_tooltips({
  49.  
  50. tip_follows_cursor:true,
  51.  
  52. tip_delay_time:30,
  53.  
  54. tip_fade_speed:300,
  55.  
  56. attribute:"title"
  57.  
  58. });
  59.  
  60. });
  61.  
  62. })(jQuery);
  63.  
  64. </script>
  65.  
  66. <!--pop up script-->
  67. <script type="text/javascript"
  68. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  69. <script>
  70. $(document).ready(function() {
  71. //
  72. $('a.poplight[href^=#]').click(function() {
  73. var popID = $(this).attr('rel'); //Get Popup Name
  74. var popURL = $(this).attr('href'); //Get Popup href to define size
  75. var query= popURL.split('?');
  76. var dim= query[1].split('&');
  77. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  78. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  79. var popMargTop = ($('#' + popID).height() + 80) / 2;
  80. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  81. //Apply Margin to Popup
  82. $('#' + popID).css({
  83. 'margin-top' : -popMargTop,
  84. 'margin-left' : -popMargLeft
  85. });
  86. $('body').append('<div id="fade"></div>');
  87. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  88. return false;
  89. });
  90. $('a.close, #fade').live('click', function() {
  91. $('#fade , .popup_block').fadeOut(function() {
  92. $('#fade, a.close').remove(); //fade them both out
  93. });
  94. return false;
  95. });
  96. });
  97. </script>
  98.  
  99.  
  100. <!--CSS customization here. -->
  101.  
  102. <style type="text/css">
  103.  
  104. #s-m-t-tooltip{
  105. position:absolute;
  106. margin:10px 0px 0px 25px;
  107. font-size:9px;
  108. font-style:italic;
  109. text-transform:uppercase;
  110. z-index:9999;
  111. padding:5px;
  112. color:#555555;
  113. background:#f8f8f8;
  114. }
  115.  
  116.  
  117.  
  118. /*basics*/
  119.  
  120. ::-webkit-scrollbar {
  121. height:5px;
  122. width:5px;
  123. background:{color:background};
  124. }
  125.  
  126. ::-webkit-scrollbar-thumb{
  127. background:{color:text};
  128. }
  129.  
  130. blockquote {
  131. margin-left:4px;
  132. padding-left:4px;
  133. border-left:2px solid;
  134. font-style:italic;
  135. font-size:9px;
  136. text-transform:uppercase;
  137. }
  138.  
  139. blockquote blockquote {
  140. margin-left:8px;
  141. padding-left:4px;
  142. border-left:2px solid;
  143. font-style:italic;
  144. font-size:9px;
  145. text-transform:uppercase;
  146. }
  147.  
  148. body {
  149. background:{color:background};
  150. color:{color:text};
  151. font-family:calibri;
  152. font-size:10px;
  153. text-align:left;
  154. margin:0;
  155. line-height:16px;}
  156.  
  157.  
  158. a {
  159. color:{color:link};
  160. text-decoration:none;
  161. -webkit-transition: 0.5s all;
  162. -moz-transition: 0.5s all;
  163. -o-transition: 0.5s all;
  164. transition:0.5s all;
  165. }
  166.  
  167. a:hover {
  168. text-decoration:none;
  169. color:{color:text};
  170. -webkit-transition: 0.5s all;
  171. -moz-transition: 0.5s all;
  172. -o-transition: 0.5s all;
  173. transition:0.5s all;
  174. }
  175.  
  176. img{opacity:1;
  177. border:none;
  178. text-decoration:none}
  179.  
  180.  
  181. small {
  182. font-size:9px;}
  183.  
  184. big {
  185. font-size:12px;}
  186.  
  187.  
  188. #title {font-size:12px;
  189. line-height:18px;
  190. font-weight:normal;
  191. font-style:italic;
  192. margin-bottom:10px;
  193. text-transform:uppercase;
  194. text-align:center;}
  195.  
  196. h1 {
  197. font-size:12px;
  198. line-height:18px;
  199. font-weight:normal;
  200. font-style:italic;
  201. margin-bottom:10px;
  202. text-transform:uppercase;
  203. text-align:center;
  204.  
  205. }
  206. /*sidebar*/
  207. #sidebar {text-align:left;
  208. position:fixed;
  209. margin-left:-225px;
  210. margin-top:200px;
  211. width:125px;
  212. }
  213.  
  214. #sidebarim {margin-bottom:20px;text-align:center;}
  215.  
  216. #sidebarim img {width:100px;border-radius:100%;text-align:center;}
  217.  
  218. /* -webkit-transition: 0.5s all;
  219. -moz-transition: 0.5s all;
  220. -o-transition: 0.5s all;
  221. transition:0.5s all; */
  222.  
  223.  
  224.  
  225. #blogt {font-size:12px;
  226. text-align:center;
  227. text-transform:uppercase;
  228. letter-spacing:.5px;
  229. color:{color:blog title};
  230. font-weight:bold;}
  231.  
  232. #blogt a {
  233. color:{color:blog title}
  234. -webkit-transition: 0.5s all;
  235. -moz-transition: 0.5s all;
  236. -o-transition: 0.5s all;
  237. transition:0.5s all;;
  238. }
  239.  
  240. #blogt a:hover {
  241. text-decoration:none;
  242. letter-spacing:2px;
  243. -webkit-transition: 0.5s all;
  244. -moz-transition: 0.5s all;
  245. -o-transition: 0.5s all;
  246. transition:0.5s all;
  247. }
  248.  
  249.  
  250.  
  251. .description {
  252. padding:10px;
  253. font-family:calibri;
  254. font-size:9px;
  255. width:280px;
  256. text-transform:uppercase;
  257. color:{color:text};
  258. font-style:italic;
  259. }
  260.  
  261.  
  262. /*pagination*/
  263. #pagination {
  264. text-align:center;
  265. text-transform:lowercase;
  266. font-weight:normal;
  267. font-size:13px;
  268. }
  269. #pagination a {
  270. padding:15px;
  271. }
  272.  
  273. /*container*/
  274. #con {
  275. left:50%;
  276. margin-left:-250px;
  277. position:absolute;
  278. }
  279.  
  280.  
  281.  
  282. /*posts*/
  283.  
  284. #entries {
  285. margin-top:75px;
  286. width:400px;
  287. }
  288.  
  289.  
  290.  
  291. #posts {
  292. width:400px;
  293. {block:IndexPage}
  294. margin-bottom:75px;
  295. {/block:IndexPage}
  296. {block:PermalinkPage}
  297. margin-bottom:50px;
  298. {/block:PermalinkPage}
  299.  
  300. }
  301. #posts img {
  302. max-width:400px;
  303. }
  304.  
  305. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  306. .caption {width:100%;
  307. margin-top:10px;
  308.  
  309. }
  310.  
  311. /*quote*/
  312.  
  313. #titlequote{text-align:left;
  314. font-size:12px;
  315. line-height:18px;
  316. font-weight:normal;
  317. font-style:italic;
  318. text-transform:uppercase;
  319. }
  320. #source {
  321. margin-top:15px;
  322. margin-left:15px;
  323. font-weight:bold;
  324. text-transform:uppercase;
  325. font-style:normal;
  326. }
  327.  
  328. /*audio*/
  329.  
  330. .player {
  331. width:25px;
  332. height:25px;
  333. overflow:hidden;
  334. position:absolute;
  335. background:white;}
  336.  
  337. .audioinfo {
  338. margin-left:50px;
  339. }
  340.  
  341.  
  342. /*asks*/
  343. .q {margin-bottom:10px;
  344. }
  345. .as {
  346. font-weight:bold;}
  347.  
  348. .a {
  349. margin-top:10px;
  350. }
  351.  
  352.  
  353. /*chat*/
  354.  
  355. .chat ol {
  356. padding:0;
  357. list-style:none;
  358. }
  359. .line {padding:5px 0;}
  360.  
  361. .label {font-weight:bold;
  362. }
  363.  
  364.  
  365.  
  366.  
  367.  
  368. /*permalink and notes*/
  369.  
  370. #permalink {
  371. border-top:1px solid #eeeeee;
  372. margin-top:15px;
  373. font-size:9px;
  374. padding:8px;
  375. text-transform:uppercase;
  376. opacity:0;
  377. -webkit-transition: 0.5s all;
  378. -moz-transition: 0.5s all;
  379. -o-transition: 0.5s all;
  380. transition:0.5s all;
  381. }
  382.  
  383. #permalink a {margin-right:10px;color:{color:text};
  384. }
  385.  
  386. #posts:hover #permalink {
  387. opacity:1;
  388. -webkit-transition: 0.5s all;
  389. -moz-transition: 0.5s all;
  390. -o-transition: 0.5s all;
  391. transition:0.5s all;
  392. }
  393.  
  394. .tags a {
  395. word-break:break-all;
  396. font-size:9px;
  397. font-style:italic;
  398. color:{color:link};
  399. }
  400.  
  401. .pagenotes {
  402. {block:IndexPage}
  403. display: none!important;
  404. {/block:IndexPage}
  405. width:400px;
  406. text-align:left;
  407.  
  408. }
  409. .pagenotes img {
  410. display:none!important;}
  411. .pagenotes li {
  412. list-style-type:none;
  413. padding:5px 0px;
  414. text-align:left;
  415. margin:0 0 0 -40px;
  416. }
  417.  
  418.  
  419. /*pop up*/
  420. .popup_block{
  421. display:none;
  422. background:#fff;
  423. padding:20px;
  424. border:1px solid #eee;
  425. float:left;
  426. position:fixed;
  427. top:50%;left:50%;
  428. z-index: 99999;
  429. }
  430.  
  431. *html #fade {position: absolute;}
  432. *html .popup_block {position: absolute;}
  433. #fade {
  434. display:none;
  435. position:fixed;
  436. left:0px;
  437. top:0px;
  438. width:100%;
  439. height:100%;
  440. z-index:9999;
  441. background:#eee; /* change to #fff for solid white */
  442. opacity:1; /* change to opacity:1; */
  443. }
  444.  
  445. .popupimage img {
  446. width:280px;
  447. border:1px solid #eeeeee;
  448. padding:10px;
  449. text-align:center;
  450. }
  451.  
  452. .links {
  453. padding:9px;
  454. text-align:center;
  455. width:280px;
  456.  
  457. }
  458.  
  459. .links a {
  460. border-top:1px solid #eeeeee;
  461. width:135px;
  462. text-transform:uppercase;
  463. font-size:9px;
  464. font-family:calibri;
  465. font-style:normal;
  466. color:{color:text};
  467. }
  468.  
  469. .links a:hover {
  470. border-top:1px solid #666666;
  471. text-decoration:none;
  472. }
  473.  
  474. #pineapple {
  475. bottom:20px;
  476. right:20px;
  477. font-size:13px;
  478. position:fixed;
  479. }
  480.  
  481. {CustomCSS}
  482.  
  483.  
  484. </style>
  485.  
  486.  
  487.  
  488. </head>
  489.  
  490. <body>
  491.  
  492. <div id="con">
  493.  
  494. <div id="sidebar">
  495. <div id="sidebarim"><img src="{image:Sidebar Image}"></div>
  496. <div id="blogt"><a href="#?w=300" rel="box1" class="poplight" style="cursor:help" title="explore">{title}</a></div>
  497.  
  498. <p>
  499. <div id="pagination">
  500. {block:Pagination}
  501. {block:PreviousPage}
  502. <a href="{PreviousPage}" title="previous">-</a>
  503. {/block:PreviousPage}
  504.  
  505.  
  506. {block:NextPage}
  507. <a href="{NextPage}" title="next">+</a>
  508. {/block:NextPage}
  509. {/block:Pagination}
  510. </div>
  511.  
  512.  
  513.  
  514. </div>
  515.  
  516.  
  517.  
  518.  
  519. <div id="entries">
  520.  
  521. {block:Posts}
  522. <div id="posts">
  523.  
  524.  
  525. {block:Quote}
  526.  
  527.  
  528. <div id="titlequote">“{Quote}”</div>
  529. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  530. {/block:Quote}
  531.  
  532.  
  533.  
  534. {block:Text}
  535.  
  536. {block:Title}
  537. <div id="title">{Title}</div>{/block:Title}
  538. {Body}
  539. {/block:Text}
  540.  
  541. {block:Link}
  542. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  543. {/block:Link}
  544.  
  545. {block:Chat}
  546. {block:Title}
  547. <h1>{Title}</h1>
  548. {/block:Title}
  549. <div class="chat">
  550. <ol>{block:Lines}
  551. <li class="line {Alt}">
  552. {block:Label}
  553. <span style="font-style:italic;font-weight:normal;color:{color:link};text-transform:uppercase"class="label">
  554. {Label}</span>
  555. {/block:Label}{Line}</li>
  556. {/block:Lines}
  557. </ol></div>
  558. {/block:Chat}
  559.  
  560. {block:Photo}
  561. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}
  562. {/block:Photo}
  563.  
  564. {block:Photoset}
  565. {Photoset-400}
  566. {/block:Photoset}
  567.  
  568. {block:Video}
  569. {Video-400}
  570. {/block:Video}
  571.  
  572. {block:Audio}
  573. <div class="player">{AudioPlayerWhite}</div>
  574. <div class="audioinfo">
  575. {block:TrackName}<i style="text-transform:uppercase">{TrackName}</i>{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  576. </div>
  577. {/block:Audio}
  578.  
  579. {block:Answer}
  580. <div class="q">
  581. <div class="as">{Asker} said: </div>
  582. {Question}</div>
  583. <div class="a">{Answer}</div>
  584. {/block:Answer}
  585.  
  586. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  587.  
  588. {block:Date}
  589. <div id="permalink">
  590. <a href="{Permalink}" title="{TimeAgo}">{shortmonth} {dayofmonth}{dayofmonthsuffix}</a>{block:NoteCount}<a title="{NoteCountWithLabel}"href="{Permalink}"><b style="color:#E371AE">♥</b> {notecount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" style="float:right"title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" style="float:right" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  591. {block:HasTags}<div class="tags"><b>indexed:&nbsp;&nbsp;</b>{block:Tags}<a href="{TagUrl}">{Tag},</a>{/block:Tags}</div>{/block:HasTags}
  592. </div>
  593. {/block:Date}
  594.  
  595.  
  596.  
  597. </div>
  598.  
  599.  
  600. {block:PostNotes}
  601. <div class="pagenotes">
  602. {PostNotes}
  603. </div>
  604. {/block:PostNotes}
  605.  
  606.  
  607. {/block:Posts}
  608.  
  609.  
  610.  
  611.  
  612. </div>
  613.  
  614. </div>
  615.  
  616.  
  617. {block:ContentSource}
  618. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  619. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  620. {/block:SourceLogo}
  621. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  622. {/block:ContentSource}
  623.  
  624. {block:ifbacktotopbutton}
  625. <a style="position:fixed;bottom:20px;right:400px;font-style:italic;text-transform:uppercase" href="#top">back to top</a>
  626. {/block:ifbacktotopbutton}
  627.  
  628. <div id="pineapple">
  629. <a href="http://oxygenthemes.tumblr.com" title="oxygenthemes">O<sub>2</sub></a>
  630. </div>
  631. </body>
  632. <div id="box1" class="popup_block">
  633. {block:ifpopupimage}
  634. <div class="popupimage"><img src="{image:pop up image}"></div>
  635. {/block:ifpopupimage}
  636. <div class="description">{description}</div>
  637. <div class="links">
  638. <a href="/">index</a> &nbsp;
  639. <a href="/ask">message</a> &nbsp;
  640. <a href="{text:link 1 url}">{text:link 1}</a> &nbsp;
  641. <a href="{text:link 2 url}">{text:link 2}</a> &nbsp;
  642. <a href="{text:link 3 url}">{text:link 3}</a> &nbsp;
  643. <a href="{text:link 4 url}">{text:link 4}</a> &nbsp;
  644. </div>
  645. </div>
  646.  
  647. </div></div></div></div></div></div></div></div></div></div>
  648. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement