siothemes

Lilac

Jan 3rd, 2017
983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.96 KB | None | 0 0
  1. <!---
  2.  
  3. Theme Lilac
  4. by siothemes.tumblr.com / j-murphy.tumblr.com
  5.  
  6. yo this is only my second theme - i hope you enjoy it
  7.  
  8. base code by mrsthemes@tumblr <3 (im gonna try to make one from scratch next time)
  9.  
  10. ***make sure if you want hover tags you have 'show tags' turned on as well as 'hover tags' im pretty sure the rest of the options are more straightforward***
  11.  
  12.  
  13.  
  14. -->
  15.  
  16. <!DOCTYPE html>
  17. <head><title>{Title}</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  21.  
  22.  
  23.  
  24. <!--------default variables-------->
  25. <meta name="color:background" content="#f7f7f7"/>
  26. <meta name="color:text" content="#333333"/>
  27. <meta name="color:links" content="#5b5b5b"/>
  28. <meta name="color:links hover" content="#c9c9c9"/>
  29. <meta name="color:scrollbar bg" content="#ffffff"/>
  30. <meta name="color:scrollbar" content="#eeeeee">
  31.  
  32. <meta name="image:header image" content=""/>
  33.  
  34.  
  35. <meta name="if:show header title" content="1" />
  36. <meta name="if:show description" content="1" />
  37. <meta name="if:show header image" content="0" />
  38. <meta name="if:small header image" content="1" />
  39. <meta name="if:circular header image" content="1" />
  40. <meta name="if:captions" content="1" />
  41. <meta name="if:show tags" content="1" />
  42. <meta name="if:hover tags" content="1" />
  43. <meta name="if:show link 1" content="1" />
  44. <meta name="if:show link 2" content="1" />
  45. <meta name="if:show link 3" content="1" />
  46. <meta name="if:show link 4" content="1" />
  47.  
  48. <meta name="select:Title Type" content="uppercase" title="uppercase">
  49. <meta name="select:Title Type" content="lowercase" title="lowercase">
  50. <meta name="select:Title Type" content="none" title="neither">
  51.  
  52.  
  53. <meta name="text:link 1 title" content="link">
  54. <meta name="text:link 1 url" content="/">
  55. <meta name="text:link 2 title" content="link">
  56. <meta name="text:link 2 url" content="/">
  57. <meta name="text:link 3 title" content="link">
  58. <meta name="text:link 3 url" content="/">
  59. <meta name="text:link 4 title" content="link">
  60. <meta name="text:link 4 url" content="/">
  61.  
  62.  
  63.  
  64.  
  65.  
  66. <!------------------------TOOLTIPS SCRIPT--------------------->
  67.  
  68. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  69. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  70. <script src="http://static.tumblr.com/5omyijl/RZtn2yg9v/jquery.style-my-tooltips.js"></script>
  71. <script>
  72. (function($){
  73. $(document).ready(function(){
  74. $("[title]").style_my_tooltips({
  75. tip_follows_cursor:true,
  76. tip_delay_time:200,
  77. tip_fade_speed:300
  78. });
  79. });
  80. })(jQuery);
  81. </script>
  82.  
  83.  
  84. <!-------------------------------------------------------------------->
  85.  
  86. <style type="text/css">
  87.  
  88. /*----------tooltips---------*/
  89.  
  90. #s-m-t-tooltip {
  91. max-width:300px;
  92. margin:15px;
  93. padding:5px;
  94. border:1px solid #eeeeee;
  95. border-radius:0px;
  96. background:#ffffff;
  97. color:{color:text};
  98. z-index:999999;
  99. font-size:7px;
  100. font-style:none;
  101. font-weight:lighter;
  102. letter-spacing:2px;
  103. font-family:helvetica;
  104. text-transform:uppercase;
  105. box-shadow:1px 1px 3px rgba(0,0,0,.0);
  106. }
  107.  
  108.  
  109. /*----------lightbox---------*/
  110.  
  111. .vignette, #vignette {
  112. opacity:0;
  113. }
  114. .lightbox-image, #tumblr_lightbox img {
  115. box-shadow:none !important;
  116. border-radius:0 !important;
  117. max-width:none;
  118. }
  119.  
  120. .tmblr-lightbox, #tumblr_lightbox {
  121. background-color:rgba(245,245,245,.75) !important;
  122. }
  123.  
  124. .lightbox-image, #tumblr_lightbox img {
  125. border:5px solid #fff !important;
  126. -moz-box-sizing:border-box;
  127. box-sizing:border-box;
  128. }
  129.  
  130. /*----------scrollbar---------*/
  131.  
  132. ::-webkit-scrollbar {
  133. background-color: {color:scrollbar bg};
  134. height:8px;
  135. width:5px
  136. }
  137.  
  138. ::-webkit-scrollbar-thumb:vertical {
  139. background-color:{color:scrollbar};
  140. height:50px
  141. }
  142.  
  143. ::-webkit-scrollbar-thumb:horizontal {
  144. background-color:{color:scrollbar bg};
  145. height:8px!important
  146. }
  147.  
  148.  
  149. /*-------tumblr controls thanks to odeysseus.tumblr.com ------*/
  150.  
  151. .tmblr-iframe{ white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:.2;transition: .4s ease-in-out; -webkit-transition: .4s ease-in-out;-moz-transition: .4s ease-in-out;-o-transition: .4s ease-in-out;position:fixed!important;right:-20px!important;transform:scale(0.7,0.7); } .tmblr-iframe:hover { opacity:0.5; }
  152.  
  153.  
  154. /*----------basics---------*/
  155.  
  156. body {
  157. background:{color:background};
  158. color:{color:text};
  159. font-family:arial;
  160. line-height:15px;
  161. font-size:10px;
  162. margin:0;
  163. text-align:left;
  164. }
  165.  
  166. blockquote {
  167. padding-left:10px;
  168. border-left:1px solid;
  169. border-color:#eeeeee;
  170. margin:10px;
  171. }
  172.  
  173. a {
  174. color:{color:links};
  175. text-decoration:none;
  176. }
  177.  
  178. a:hover {
  179. text-decoration:none;
  180. color: {color:links hover};
  181. -webkit-transition:all 0.5s;
  182. -moz-transition:all 0.5s;
  183. -ms-transition:all 0.5s;
  184. -o-transition:all 0.5s;
  185. transition:all 0.5s;
  186. }
  187.  
  188. img {
  189. opacity:1;
  190. text-decoration:none;
  191. }
  192.  
  193. h1 {
  194. font-size:10px;
  195. font-weight:bold;
  196. }
  197.  
  198.  
  199. /*----------posts---------*/
  200.  
  201. .container {
  202. position:relative;
  203. margin:auto;
  204. width:400px;
  205. }
  206.  
  207.  
  208. .posts {
  209. {block:IndexPage}
  210. margin-bottom:80px;
  211. {/block:IndexPage}
  212. {block:PermalinkPage}
  213. margin-bottom:30px;
  214. {/block:PermalinkPage}
  215. width:400px;
  216. }
  217.  
  218. .entries {
  219. width:400px;
  220. margin-top:50px;
  221. margin-bottom:50px;
  222. }
  223.  
  224. .posts img, .posts li, .posts blockquote {
  225. max-width: 400px;
  226. }
  227.  
  228. .posts li {
  229. list-style: square;
  230. }
  231.  
  232. blockquote img {
  233. max-width:320px!important;
  234. }
  235.  
  236.  
  237. /*----------post info---------*/
  238.  
  239. .info {
  240. padding-top:5px;
  241. text-transform:lowercase;
  242. font-size:8px;
  243. letter-spacing:1px;
  244. margin-top:15px;
  245. text-align:right;
  246. }
  247.  
  248. .tags {
  249. margin-top:5px;
  250. font-size:8px;
  251. letter-spacing:1px;
  252. font-style:italic;
  253. text-align:right;
  254. {block:ifHoverTags}
  255. opacity:0;
  256. {/block:ifHoverTags}
  257. }
  258.  
  259. {block:ifHoverTags}
  260. .posts:hover .tags {
  261. opacity:1;
  262. -moz-transition:all 0.8s;
  263. -ms-transition:all 0.8s;
  264. -o-transition:all 0.8s;
  265. transition:all 0.8s;
  266. }
  267. {/block:ifHoverTags}
  268.  
  269. .tags a {
  270. margin-right:8px;
  271. }
  272.  
  273.  
  274. /*----------post notes---------*/
  275.  
  276. ol.notes {
  277. padding:0px;
  278. margin:25px 0px 0px -10px;
  279. list-style-type:none;
  280. }
  281.  
  282. ol.notes li.note {
  283. padding:10px;
  284. }
  285.  
  286. ol.notes li.note img.avatar {
  287. display:none!important;
  288. }
  289.  
  290. ol.notes li.note span.action {
  291. font-weight:none;
  292. }
  293.  
  294. ol.notes li.note .answer_content {
  295. font-weight:normal;
  296. }
  297.  
  298. ol.notes li.note blockquote {
  299. padding:4px 10px;
  300. margin:10px 0px 0px 25px;
  301. }
  302.  
  303. ol.notes li.note blockquote a {
  304. text-decoration:none;
  305. }
  306.  
  307.  
  308. /*----------header----*/
  309. .header {
  310. width:400px;
  311. text-align:center;
  312. padding-top:75px;
  313. }
  314.  
  315. .headerimage img {
  316. {block:ifsmallheaderimage}
  317. width:50px;
  318. {/block:ifsmallheaderimage}
  319. {block:ifnotsmallheaderimage}
  320. width:60px;
  321. {/block:ifnotsmallheaderimage}
  322. margin:auto;
  323. {block:ifcircularheaderimage}
  324. border-radius:50%;
  325. {/block:ifcircularheaderimage}
  326. }
  327.  
  328. .headertitle {
  329. margin-top:5px;
  330. font-size:15px;
  331. font-weight:bold;
  332. width:400px;
  333. text-align:center;
  334. text-transform:{select:Title Type};
  335. }
  336.  
  337. .description {
  338. width:400px;
  339. text-align:center;
  340. margin-top:5px;
  341. }
  342.  
  343. .links {
  344. width:400px;
  345. text-align:center;
  346. margin-top:5px;
  347. word-spacing:3px;
  348. color:{color:links};
  349. }
  350.  
  351. .links a {
  352. padding:3px;
  353. }
  354.  
  355.  
  356.  
  357. /*-------pagination-------*/
  358. .pagination {
  359. width:400px;
  360. margin-top:20px;
  361. text-align:center;
  362. padding-top:10px;
  363. }
  364.  
  365.  
  366.  
  367. /*----------quotes---------*/
  368.  
  369. .quote {
  370. text-transform:uppercase;
  371. font-size:12px;
  372. font-weight:bold;
  373. text-align:center;
  374. font-style:italic;
  375. }
  376.  
  377. .quotesource {
  378. text-align:center;
  379. margin-top:10px;
  380. }
  381.  
  382.  
  383. /*----------chat---------*/
  384.  
  385. .chat {
  386. line-height:20px;
  387. list-style:none;
  388. }
  389.  
  390. .line.odd {
  391. background:#fafafa;
  392. margin-bottom:2px;
  393. padding:5px;
  394. list-style:none;
  395. font-size:10px;
  396. }
  397.  
  398. .line.even {
  399. background:#f5f5f5;
  400. margin-bottom:2px;
  401. padding:5px;
  402. list-style:none;
  403. font-size:10px;
  404. }
  405.  
  406. .label {
  407. padding-right:1px;
  408. text-transform:lowercase;
  409. font-weight:bold;
  410. color:{color:links};
  411. }
  412.  
  413.  
  414. /*----------questions---------*/
  415.  
  416. .question {
  417. background:#fafafa;
  418. padding:10px;
  419. }
  420.  
  421. .asker {
  422. text-transform:lowercase;
  423. }
  424.  
  425. .answer {
  426. padding:10px;
  427. margin-top:-15px;
  428. }
  429.  
  430. /*----------audio---------*/
  431.  
  432. .playerbutton {
  433. position:relative;
  434. width:30px;
  435. height:35px;
  436. overflow:hidden;
  437. }
  438.  
  439. .playerbuttonhug {
  440. position: absolute;
  441. top:-7px;
  442. left:2px;
  443. }
  444.  
  445. .tumblr_audio_player {
  446. height:50px;
  447. width:400px;
  448. }
  449.  
  450. .playerbuttonbg {
  451. position:absolute;
  452. width:35px;
  453. height:35px;
  454. background-color:#e4e4e4;
  455. padding:10px;
  456. }
  457.  
  458. .trackdetails {
  459. width:auto;
  460. display:inline-block;
  461. margin-left:70px;
  462. font-size:10px;
  463. letter-spacing:1px;
  464. text-transform:lowercase;
  465. padding:5px;
  466. line-height:15px;
  467. }
  468.  
  469. .audiowrapper {
  470. position:relative;
  471. display:inline-block;
  472. }
  473.  
  474. /*------permalink page--------*/
  475.  
  476. .permainfo {
  477. text-align:right;
  478. }
  479.  
  480. .postnotes {
  481. line-height:40%;
  482. font-size:9px;
  483. text-align:center;
  484. }
  485.  
  486.  
  487.  
  488. /*----------credit---------*/
  489.  
  490. .credit {
  491. font-size:8px;
  492. position:fixed;
  493. font-weight:bold;
  494. bottom:5px;
  495. right:15px;
  496. z-index:10;
  497. text-align:right;
  498. letter-spacing:1px;
  499. padding:2px;
  500. }
  501.  
  502. .credit a {
  503. color:{color:links};
  504. text-decoration:none;
  505. }
  506.  
  507. .credit a:hover {
  508. color:{color:links hover};
  509. text-decoration:none;
  510. }
  511.  
  512.  
  513. </style>
  514.  
  515.  
  516. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  517. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  518. <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  519.  
  520.  
  521.  
  522. </head>
  523.  
  524. <body>
  525. <div class="container">
  526.  
  527. <div class="credit">
  528. <a title="theme" href="http://siothemes.tumblr.com/" target="_blank">SIO</a></div>
  529.  
  530.  
  531. <div class="header">
  532.  
  533. {block:ifshowheaderimage}
  534. <div class="headerimage">
  535. <a href="/"><img src="{image:header image}"></a>
  536. </div>
  537. {/block:ifshowheaderimage}
  538.  
  539. {block:ifshowheadertitle}
  540. <div class="headertitle">
  541. {block:ifshowheaderimage}
  542. {title}
  543. {/block:ifshowheaderimage}
  544. {block:ifnotshowheaderimage}
  545. <a href="/">{title}</a>
  546. {/block:ifnotshowheaderimage}
  547. </div>
  548. {/block:ifshowheadertitle}
  549.  
  550. {block:ifshowdescription}
  551. <div class="description">
  552. {description}
  553. </div>
  554. {/block:ifshowdescription}
  555.  
  556. <div class="links">
  557. <a href="/">home</a>
  558. <a href="/ask">inbox</a>
  559. {block:IfShowLink1}
  560. <a href="{text:link 1 url}">{text:link 1 title}</a>
  561. {/block:IfShowLink1}
  562.  
  563. {block:IfShowLink2}
  564. <a href="{text:link 2 url}">{text:link 2 title}</a>
  565. {/block:IfShowLink2}
  566.  
  567. {block:IfShowLink3}
  568. <a href="{text:link 3 url}">{text:link 3 title}</a>
  569. {/block:IfShowLink3}
  570.  
  571. {block:IfShowLink4}
  572. <a href="{text:link 4 url}">{text:link 4 title}</a>
  573. {/block:IfShowLink4}
  574. </div>
  575.  
  576.  
  577. </div>
  578.  
  579.  
  580. <div class="entries">
  581. {block:Posts}
  582. <div class="posts">
  583.  
  584. {block:Text}
  585. <h1>{block:Title}{Title}{/block:Title}</h1>
  586. {Body}{/block:Text}
  587.  
  588.  
  589. {block:Photo}
  590. {LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}
  591. {block:ifCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifCaptions}
  592. {/block:Photo}
  593.  
  594.  
  595. {block:Photoset}
  596. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
  597.  
  598. {block:ifCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifCaptions}
  599. {/block:Photoset}
  600.  
  601.  
  602. {block:Quote}
  603. <div class="quote">"{Quote}"</div>
  604. {block:Source}<div class="quotesource"> ~ {Source} ~</div>
  605. {/block:Source}{/block:Quote}
  606.  
  607.  
  608. {block:Link}
  609. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  610. {block:Description}{Description}{/block:Description}
  611. {/block:Link}
  612.  
  613.  
  614. {block:Chat}
  615. {block:Title}<h1>{Title}</h1>{/block:Title} <div class="chat"> {block:Lines} <li class="line {Alt}"> {block:Label} <span class="label"> {Label}</span> {/block:Label}{Line}</li> {/block:Lines}</div>
  616. {/block:Chat}
  617.  
  618.  
  619. {block:Audio}
  620. {block:AudioPlayer}
  621. <div class="audiowrapper">
  622. <div class="playerbuttonbg">
  623. <div class="playerbutton">
  624. <div class="playerbuttonhug">
  625. {AudioPlayerGrey}
  626. </div></div></div>
  627.  
  628. <div class="trackdetails">
  629. {block:TrackName}<b>TRACK:</b> {TrackName}{/block:TrackName}<br>
  630.  
  631. {block:Artist}<b>ARTIST:</b> {Artist}{/block:Artist}<br>
  632.  
  633. <b>PLAYS:</b> {FormattedPlayCount}</div></div>
  634. {/block:AudioPlayer}
  635.  
  636. {block:ifCaptions}{block:Caption}
  637. <div class="caption">{Caption}</div>
  638. {/block:Caption}{/block:ifCaptions}
  639. {/block:Audio}
  640.  
  641.  
  642. {block:Video}
  643. {Video-400}
  644. {block:ifCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifCaptions}
  645. {/block:Video}
  646.  
  647.  
  648. {block:Answer}
  649. <div class="question">
  650. <div class="asker"><b>{Asker} said:</b></div>
  651. {Question}</div><br>
  652. <div class="answer">
  653. {Answer}</div>
  654. {/block:Answer}
  655.  
  656.  
  657. {block:IndexPage}
  658. {block:Date}
  659. <div class="info">
  660.  
  661. <b><a href="{Permalink}">{TimeAgo}</b></a>
  662.  
  663. {block:NoteCount}&nbsp;&nbsp;
  664. <a href="{Permalink}">{NoteCount}n</a>
  665. {/block:NoteCount}&nbsp;&nbsp;
  666.  
  667. <a href="{ReblogURL}" target="_blank" class="details">reblog</a>
  668.  
  669. </div>
  670. {/block:Date}
  671.  
  672. {block:ifShowTags}
  673. {block:HasTags}
  674. <div class="tags">
  675. {block:Tags}
  676. <a href="{TagURL}">#{Tag}</a>
  677. {/block:Tags}
  678. </div>
  679. {/block:HasTags}
  680. {/block:ifShowTags}
  681.  
  682. {/block:IndexPage}
  683.  
  684. </div>
  685.  
  686.  
  687.  
  688. {block:PermalinkPage}
  689. {block:Date}
  690.  
  691. {block:ifnotCaptions}{block:Caption}{Caption}{/block:Caption}{/block:ifnotCaptions}
  692.  
  693. <div class="permainfo">
  694.  
  695. posted on the {DayofMonth}{DayOfMonthSuffix} of {Month} {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}
  696.  
  697. {block:RebloggedFrom}<br>
  698. via: <a href="{ReblogParentURL}">{ReblogParentName}</a>
  699. source: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  700. {/block:RebloggedFrom}
  701.  
  702. {block:HasTags}<br>
  703. tagged as:{block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  704. {/block:HasTags}
  705.  
  706. </div>
  707.  
  708. {block:PostNotes}
  709. <div class="postnotes">
  710. {PostNotes}
  711. </div>
  712. {/block:PostNotes}
  713.  
  714.  
  715. </div>
  716. {/block:Date}
  717. {/block:PermalinkPage}
  718.  
  719.  
  720.  
  721. {/block:Posts}
  722.  
  723.  
  724. <div class="pagination">
  725. {block:Pagination}
  726. {block:PreviousPage}
  727. <a href="{PreviousPage}">back</a>{/block:PreviousPage}&nbsp;
  728.  
  729. {block:NextPage}
  730. <a href="{NextPage}">forth</a>
  731. {/block:NextPage}
  732. {/block:Pagination}
  733. </div>
  734.  
  735.  
  736.  
  737. {block:ContentSource}
  738. <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  739. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  740. {/block:SourceLogo}
  741. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
  742. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  743.  
  744.  
  745.  
  746.  
  747. <script>
  748. $(document).ready(function(){
  749. $('.photo-slideshow').pxuPhotoset({
  750. lightbox: true,
  751. rounded: false,
  752. gutter: '1px',
  753. borderRadius: '0px',
  754. photoset: '.photo-slideshow',
  755. photoWrap: '.photo-data',
  756. photo: '.pxu-photo'
  757. });
  758. });
  759. </script>
  760.  
  761.  
  762.  
  763.  
  764.  
  765. </body>
  766.  
  767. </div></div></div></div></div></div></div></div></div></div></div>
  768. </html>
Advertisement
Add Comment
Please, Sign In to add comment