katsthemes

personal theme

Sep 12th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.13 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <!--
  5.  
  6. this is a theme i (lodoss) has been using for a while im not sure if ive uploaded this version of it so here it is (for safekeeping)
  7.  
  8.  
  9.  
  10. base code by shythemes
  11.  
  12.  
  13.  
  14.  
  15. for you:
  16. * tumblr documentation
  17. https://www.tumblr.com/docs/en/custom_themes
  18. * html reference
  19. http://www.w3schools.com/tags/default.asp
  20. * css reference
  21. http://www.w3schools.com/cssref/default.asp
  22.  
  23. credits:
  24. * photosets by pixel union
  25. https://github.com/PixelUnion/Extended-Tumblr-Photoset
  26. * infinite scroll by paul irish
  27. http://www.infinite-scroll.com/
  28.  
  29.  
  30. -->
  31. <title>{Title}</title>
  32. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  33. <link rel="shortcut icon" href="{Favicon}">
  34. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  35. <meta name="viewport" content="width=device-width, initial-scale=1">
  36. <meta name="color:background" content="#ffffff">
  37. <meta name="color:text" content="#3f3f3f">
  38. <meta name="color:accent" content="#9f9f9f">
  39. <meta name="color:border" content="#ededed">
  40. <meta name="color:link" content="#dcdcdc">
  41. <meta name="color:link hover" content="#cbcbcb">
  42. <meta name="color:caption" content="#f9f9f9">
  43. <meta name="color:posts" content="#ffffff">
  44. <meta name="color:scrollbar" content=""/>
  45. <meta name="color:scrollbar border" content=""/>
  46. <meta name="color:scrollbar track" content=""/>
  47. <meta name="image:header" content=""/>
  48. <meta name="if:show captions" content="1">
  49. <meta name="if:show tags" content="1">
  50. <meta name="if:infinite scroll" content="0">
  51. <meta name="text:link 1" content="">
  52. <meta name="text:link 1 url" content="">
  53. <meta name="text:link 2" content="">
  54. <meta name="text:link 2 url" content="">
  55. <meta name="text:link 3" content="">
  56. <meta name="text:link 3 url" content="">
  57. <meta name="text:link 4" content="">
  58. <meta name="text:link 4 url" content="">
  59. <meta name="text:link 5" content="">
  60. <meta name="text:link 5 url" content="">
  61. <meta name="text:link 6" content="">
  62. <meta name="text:link 6 url" content="">
  63. <style type="text/css">
  64.  
  65. ::-webkit-scrollbar {
  66. width: 13px;
  67. height: 13px;
  68. }
  69. ::-webkit-scrollbar-thumb {
  70. background-color: {color:scrollbar};
  71. border: 5px solid {color:scrollbar border};
  72. }
  73. ::-webkit-scrollbar-track {
  74. background-color: {color:scrollbar track};
  75. }
  76. h1 {
  77. text-decoration:none;
  78. }
  79. body {
  80. margin:0;
  81. font-size:11px;
  82. font-family:tahoma, sans-serif;
  83. line-height:1.6em;
  84. -moz-osx-font-smoothing:grayscale;
  85. -webkit-font-smoothing:antialiased;
  86. font-smoothing:antialiased;
  87. color:{color:text};
  88. background:{color:background};
  89. }
  90. a {
  91. color:inherit;
  92. /*text-decoration:none;*/
  93. -webkit-transition:all .2s linear;
  94. transition:all .2s linear;
  95. }
  96. small, sub {
  97. font-size:1em;
  98. vertical-align:baseline;
  99. }
  100. blockquote {
  101. padding:.6em .6em .6em 2em;
  102. border-left:1px solid {color:border};
  103. }
  104. blockquote, ol, ul, p, pre {
  105. margin:0 0 .6em;
  106. }
  107. h1, h2, h3, h4, h5, h6 {
  108. margin:0 0 .6em;
  109. font-size:1em;
  110. font-weight:inherit;
  111. }
  112. img {
  113. border:0;
  114. max-width:100%;
  115. height:auto;
  116. display:block;
  117. }
  118. hr {
  119. margin:1em 0;
  120. border:0;
  121. height:1px;
  122. -moz-box-sizing:border-box;
  123. box-sizing:border-box;
  124. background-color:{color:border};
  125. }
  126. #header img{
  127. width:200px;
  128. border-radius:100px;
  129. max-width:100%;
  130. margin-left: auto;
  131. margin-right: auto;
  132. margin-bottom:50px;
  133. margin-top:-50px;
  134. }
  135. aside{
  136. text-align:center;
  137. }
  138. .title {
  139. font-size:15px;
  140. font-weight:bold;
  141.  
  142. }
  143. .accent,
  144. .tumblr_blog {
  145. color:{color:accent};
  146. }
  147. .main {
  148. margin:150px auto;
  149. width:500px;
  150. }
  151. nav {
  152. margin:.6em 0 0;
  153. word-spacing:4px;
  154. }
  155. nav li {
  156. display:inline;
  157. color:{color:accent};
  158. }
  159. .content {
  160. margin:150px 0;
  161. }
  162. .post:hover .tags{
  163. opacity:1;
  164. }
  165. .entry {
  166. position:relative;
  167. margin:0 0 150px;
  168. }
  169. .entry:last-child {
  170. margin-bottom:0;
  171. }
  172. .text {
  173. margin:1em 0 0;
  174. }
  175. .text:last-child,
  176. .text *:last-child {
  177. margin-bottom:0;
  178. }
  179. .date {
  180. margin:0 0 0 2em;
  181. position:absolute;
  182. top:0;
  183. left:100%;
  184. width:225px;
  185. /* delete the five lines above if you want the date under posts */
  186. }
  187. .tags {
  188. {block:IndexPage}{block:ifNotShowTags}display:none;{/block:ifNotShowTags}{/block:IndexPage}
  189. margin-top:10px;
  190. color:{color:accent};
  191. opacity:0;
  192. -webkit-transition:all 0.5s ease-in-out;
  193. -moz-transition:all 0.5s ease-in-out;
  194. -o-transition:all 0.5s ease-in-out;
  195. transition:all 0.5s ease-in-out;
  196. }
  197. .tags .comma:last-of-type {
  198. display:none;
  199. }
  200. .caption {
  201. {block:IndexPage}{block:ifNotShowCaptions}display:none;{/block:ifNotShowCaptions}{/block:IndexPage}
  202. }
  203. .chat {
  204. padding:0;
  205. list-style-type:none;
  206. }
  207. .chat .label {
  208. font-weight:bold;
  209. }
  210. .quote {
  211. font-weight:bold;
  212. }
  213. .media {
  214. position:relative;
  215. display:inline-block;
  216. width:100%;
  217. }
  218. #tumblr_controls {
  219. position:fixed!important;
  220. opacity:.67!important;
  221. -webkit-filter:invert(100%);
  222. -webkit-backface-visibility:hidden;
  223. padding:4px;
  224. }
  225. .pagination{
  226. text-align:center;
  227. word-spacing:10px;
  228. color:{color:accent};
  229. }
  230. {block:ifInfiniteScroll}
  231. .pagination,
  232. #infscr-loading {
  233. display:none!important;
  234. }
  235. {/block:ifInfiniteScroll}
  236.  
  237.  
  238. ol.notes{
  239. list-style-type:none;
  240. padding:50px 0 0 0;
  241. margin:0;
  242. }
  243.  
  244. ol.notes li.note img{
  245. width:0px;
  246. height:0px;
  247. }
  248.  
  249. ol.notes li.note{
  250. margin:0px;
  251. }
  252.  
  253. </style>
  254. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
  255. </head>
  256. <body>
  257. <div class="main">
  258. <aside>
  259. <div id="header">
  260. <a href="/">
  261. <img src="{image:header}"></a>
  262. </div>
  263. <h1 class="title"><a href="/">{Title}</a></h1>
  264. <!-- <p>{Description}</p>-->
  265. <nav>
  266. {block:ifLink1}<li><a href="{text:link 1 url}">{text:link 1}</a></li>{/block:ifLink1}
  267. {block:ifLink2}<li><a href="{text:link 2 url}">{text:link 2}</a></li>{/block:ifLink2}
  268. {block:ifLink3}<li><a href="{text:link 3 url}">{text:link 3}</a></li>{/block:ifLink3}
  269. {block:ifLink4}<li><a href="{text:link 4 url}">{text:link 4}</a></li>{/block:ifLink4}
  270. {block:ifLink5}<li><a href="{text:link 5 url}">{text:link 5}</a></li>{/block:ifLink5}
  271. {block:ifLink6}<li><a href="{text:link 6 url}">{text:link 6}</a></li>{/block:ifLink6}
  272. </nav>
  273. </aside>
  274. <div class="content">
  275. {block:Posts}
  276. <article class="entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}">
  277. <section class="post">
  278. {block:Audio}
  279. <div class="audio">
  280. {block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}
  281. </div>
  282. {/block:Audio}
  283. {block:Photo}
  284. <div class="media">
  285. {LinkOpenTag}
  286. <img src="{PhotoURL-500}">
  287. {LinkCloseTag}
  288. </div>
  289. {/block:Photo}
  290. {block:Photoset}
  291. <div class="media photoset">
  292. <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>
  293. </div>
  294. {/block:Photoset}
  295. {block:Video}
  296. <div class="media video">{Video-500}</div>
  297. {/block:Video}
  298. {block:Answer}
  299. <div class="question">
  300. <div class="sender">{lang:Asker asked}:</div>
  301. <span class="inquiry">{Question}</span>
  302. </div>
  303. <div class="answer text">{Answer}</div>
  304. {/block:Answer}
  305. {block:Chat}
  306. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  307. <ul class="chat text">
  308. {block:Lines}
  309. <li class="line">
  310. {block:Label}
  311. <span class="label">{Label}&nbsp; </span>
  312. {/block:Label}
  313. {Line}
  314. </li>
  315. {/block:Lines}
  316. </ul>
  317. {/block:Chat}
  318. {block:Link}
  319. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  320. {block:Description}<div class="text">{Description}</div>{/block:Description}
  321. {/block:Link}
  322. {block:Quote}
  323. <div class="quote text">{Quote}</div>
  324. {block:Source}
  325. <div class="source text">{Source}</div>
  326. {/block:Source}
  327. {/block:Quote}
  328. {block:Text}
  329. {block:Title}<h1 class="title">{Title}</h1>{/block:Title}
  330. <div class="text">{Body}</div>
  331. {/block:Text}
  332. {block:Caption}
  333. <div class="caption text">{Caption}</div>
  334. {/block:Caption}
  335. {block:HasTags}
  336. <div class="tags">#{block:Tags}<a href="{TagURL}">{Tag}</a><i class="comma">, </i>{/block:Tags}</div>
  337. {/block:HasTags}
  338. {block:Date}
  339. <div class="date accent text">
  340. <a class="permalink" href="{Permalink}">{MonthNumber}.{DayOfMonthWithZero}.{ShortYear}</a><br>
  341. {block:ContentSource}
  342. <a href="{SourceURL}">src</a>
  343. {/block:ContentSource}
  344. {block:NoteCount}
  345. <a href="{Permalink}">{NoteCount}</a>
  346. {/block:NoteCount}
  347. </div>
  348.  
  349. {block:PermalinkPage}
  350. {block:NoteCount}
  351. {block:PostNotes}{PostNotes}{/block:PostNotes}
  352. {/block:NoteCount}
  353. {/block:PermalinkPage}
  354. {/block:Date}
  355.  
  356. </section>
  357. </article>
  358. {/block:Posts}
  359. <!-- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} -->
  360. </div>
  361. {block:Pagination}<div class="pagination">{block:PreviousPage}<a class="prev" href="{PreviousPage}">prev</a>{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}</div>{/block:Pagination}
  362. </div>
  363. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  364. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  365. <script src="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  366. {block:IndexPage}
  367. {block:ifInfiniteScroll}
  368. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  369. {/block:ifInfiniteScroll}
  370. {/block:IndexPage}
  371. <script>
  372. $(document).ready(function(){
  373. $('.photo-slideshow').pxuPhotoset({
  374. lightbox: true,
  375. rounded: false,
  376. gutter: '1px',
  377. photoset: '.photo-slideshow',
  378. photoWrap: '.photo-data',
  379. photo: '.pxu-photo'
  380. });
  381. var $container = $('.content');
  382.  
  383. });
  384. </script>
  385.  
  386.  
  387. </body>
  388. </html>
Advertisement
Add Comment
Please, Sign In to add comment