siothemes

Hydrangea

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