spirkism

Theme #7: Simplicity

Jul 1st, 2014
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.98 KB | None | 0 0
  1. <!--
  2. THEME: SIMPLICITY
  3. by Zeke (spirkism/spirkthemes)
  4.  
  5. Rules:
  6. - please do not steal/redistribute, I spent quite a bit of time coding this
  7. - also don't remove the credit please, that would make me very sad :(
  8. - don't use as a base code, there are plenty of those out there
  9. - you are allowed to edit as much as you like though, have fun playing around with code, that's how you learn! :)
  10. - tell me if there are any bugs or if you have any questions, need help with the theme or want a detail differently - I'll see what I can do for you ;)
  11. And now: enjoy! :)
  12. -->
  13.  
  14.  
  15.  
  16. <!DOCTYPE html>
  17.  
  18. <head>
  19.  
  20.  
  21. <title>{Title}</title>
  22.  
  23. <link rel="shortcut icon" href="{Favicon}" />
  24.  
  25. <script type="text/javascript" src="http://static.tumblr.com/tiu5k68/xTkm8wqw2/tumblr-title-qtip.js"></script>
  26.  
  27. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  28.  
  29.  
  30. <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
  31.  
  32.  
  33.  
  34. <link href='http://fonts.googleapis.com/css?family=Codystar|Kelly+Slab|Iceland|Megrim|Cinzel+Decorative|Wallpoet|Lobster' rel='stylesheet' type='text/css'>
  35.  
  36. <script>
  37. $(document).ready(function() {
  38. $("#menu").accordion({collapsible: true, active: false, autoHeight: false});
  39. });
  40. </script>
  41.  
  42.  
  43. <meta name="color:background" content="fff" />
  44. <meta name="color:text" content="2E2E2E" />
  45. <meta name="color:links" content="220146" />
  46. <meta name="color:linkshover" content="5104A4" />
  47. <meta name="color:sblinkbg" content="A34DFF" />
  48. <meta name="color:sblinktext" content="303030" />
  49. <meta name="color:sblinkbghover" content="5104A4" />
  50. <meta name="color:sblinktexthover" content="ffffff" />
  51. <meta name="color:post color" content="#DBDBDB" />
  52. <meta name="color:border" content="#E6E6E6" />
  53. <meta name="color:postinside" content="ffffff" />
  54. <meta name="color:title" content="7A1BDF" />
  55. <meta name="color:titlehover" content="B670FF" />
  56. <meta name="color:sbimg" content="000" />
  57.  
  58.  
  59. <meta name="image:background" content="" />
  60. <meta name="image:sbimg" content="" />
  61.  
  62.  
  63. <meta name="text:link1url" content="/" />
  64. <meta name="text:link1text" content="link" />
  65. <meta name="text:link2url" content="/" />
  66. <meta name="text:link2text" content="link" />
  67. <meta name="text:link3url" content="/" />
  68. <meta name="text:link3text" content="link" />
  69. <meta name="text:link4url" content="/" />
  70. <meta name="text:link4text" content="link" />
  71. <meta name="text:link5url" content="/" />
  72. <meta name="text:link5text" content="link" />
  73. <meta name="text:link6url" content="/" />
  74. <meta name="text:link6text" content="link" />
  75.  
  76.  
  77. <style type="text/css">
  78.  
  79.  
  80. ::-webkit-scrollbar-thumb{
  81. background-color: {color:title};
  82. border-left: 2px solid white;
  83. border-right: 2px solid white;
  84. height:auto;
  85. }
  86.  
  87. ::-webkit-scrollbar {
  88. height:auto;
  89. width:11px;
  90. background-color:{color:title};
  91. border-left: 5px solid white;
  92. border-right: 5px solid white;
  93. }
  94.  
  95. iframe#tumblr_controls {
  96. position:fixed;-webkit-filter:invert(100%);opacity:0.5;
  97. -webkit-transition: 0.7s ease;transition: 0.7s ease;
  98. -o-transition: 0.7s ease;-moz-transition: 0.7s ease;}
  99.  
  100.  
  101. div#qTip {
  102. margin-left: 5px;
  103. margin-top: -5px;
  104. text-transform: lowercase;
  105. font-size: 10px;
  106. font-family: 'Iceland', sans-serif;
  107. line-height: 12px;
  108. display: none;
  109. text-align: center;
  110. position: absolute;
  111. z-index: 99999999999999999999999999999999999999999999999;
  112. background-color: {color:background};
  113. padding: 2px 3px;
  114. color: {color:text};
  115. max-width: 200px;
  116. height: auto;
  117. border: 1.5px solid {color:title};
  118. -webkit-transition: all 0.1s ease-out;
  119. -moz-transition: all 0.1s ease-out;
  120. -o-transition: all 0.1s ease-out;
  121. }
  122.  
  123.  
  124. body {
  125. background-color: {color:background};
  126. background-image: url({image:background});
  127. margin: 0 auto;
  128. font-family: 'Calibri', sans-serif;
  129. word-wrap:break-word;
  130. }
  131.  
  132. a:link, a:active, a:visited {
  133. text-decoration: none;
  134. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  135. -o-transition: 0.5s ease;
  136. -moz-transition: 0.5s ease;
  137. color:{color:links};
  138. }
  139.  
  140. a:hover {
  141. color:{color:linkshover};
  142. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  143. -o-transition: 0.5s ease;
  144. -moz-transition: 0.5s ease;
  145. }
  146.  
  147.  
  148. :focus, :active {
  149. outline: 0;
  150. }
  151.  
  152.  
  153.  
  154. #sidebar {
  155. position: fixed;
  156. width: 200px;
  157. height: 400px;
  158. top: 50%;
  159. margin-top: -170px;
  160. margin-left: 170px;
  161. }
  162.  
  163.  
  164.  
  165. #title {
  166. position: relative;
  167. font-family: 'Lobster', sans-serif;
  168. font-size: 20px;
  169. text-align: center;
  170. }
  171.  
  172. #title a {
  173. color: {color:title};
  174. -webkit-transition:all 0.5s ease-out;
  175. -moz-transition:all 0.5s ease-out;
  176. -ms-transition:all 0.5s ease-out;
  177. -o-transition:all 0.5s ease-out;
  178. transition:all 0.5s ease-out;
  179. }
  180.  
  181. #title a:hover {
  182. color: {color:titlehover};
  183. -webkit-transition:all 0.5s ease-out;
  184. -moz-transition:all 0.5s ease-out;
  185. -ms-transition:all 0.5s ease-out;
  186. -o-transition:all 0.5s ease-out;
  187. transition:all 0.5s ease-out;
  188. }
  189.  
  190.  
  191.  
  192. #sbimg {
  193. position: relative;
  194. padding: 5px;
  195. width: 150px;
  196. height: 150px;
  197. margin-left: 20px;
  198. margin-top: 5px;
  199. background-color: {color:sbimg};
  200. }
  201.  
  202. #sbimg img {
  203. height: 150px;
  204. width: 150px;
  205. }
  206.  
  207.  
  208. #menu {
  209. position: relative;
  210. margin-left: 20px;
  211. }
  212.  
  213. .menuheader {
  214. font-family: 'Calibri', sans-serif;
  215. font-size: 12px;
  216. margin-bottom: -10px;
  217. font-weight: normal;
  218. width: 144px;
  219. height: 15px;
  220. border-bottom: 1px solid {color:border};
  221. padding: 1px 3px;
  222. margin-left: 4px;
  223. text-align: center;
  224. color: {color:text};
  225. cursor: pointer;
  226. }
  227.  
  228. .menucontent {
  229. font-family: 'Calibri', sans-serif;
  230. font-size: 10px;
  231. padding: 4px;
  232. width: 150px;
  233. color: {color:text};
  234. height: auto;
  235. }
  236.  
  237. .menulink {
  238. color: {color:sblinktext};
  239. background-color: {color:sblinkbg};
  240. margin-bottom: 2px;
  241. padding: 2px 2px 2px 5px;
  242. margin-left: 10px;
  243. width: 122px;
  244. -webkit-transition:all 0.5s ease-out;
  245. -moz-transition:all 0.5s ease-out;
  246. -ms-transition:all 0.5s ease-out;
  247. -o-transition:all 0.5s ease-out;
  248. transition:all 0.5s ease-out;
  249. }
  250.  
  251. .menulink:hover {
  252. color: {color:sblinktexthover};
  253. background-color: {color:sblinkbghover};
  254. -webkit-transition:all 0.5s ease-out;
  255. -moz-transition:all 0.5s ease-out;
  256. -ms-transition:all 0.5s ease-out;
  257. -o-transition:all 0.5s ease-out;
  258. transition:all 0.5s ease-out;
  259. padding-left: 15px;
  260. width: 112px;
  261. }
  262.  
  263.  
  264.  
  265. #prevpage {
  266. border: none;
  267. text-align: center;
  268. position: absolute;
  269. font-size: 50px;
  270. height: 50px;
  271. z-index: 999;
  272. opacity: 0.8;
  273. }
  274.  
  275. #nextpage {
  276. text-align: center;
  277. position: absolute;
  278. border: none;
  279. font-size: 50px;
  280. margin-left: 170px;
  281. height: 50px;
  282. z-index: 999;
  283. opacity: 0.8;
  284. }
  285.  
  286. #prevpage a {
  287. font-size: 50px;
  288. text-align: center;
  289. color: {color:border};
  290. }
  291.  
  292. #nextpage a {
  293. font-size: 50px;
  294. text-align: center;
  295. color: {color:border};
  296. }
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304. /*CONTENT THINGS */
  305.  
  306. #content {
  307. width: 560px;
  308. background-color: none;
  309. padding: 20px 0;
  310. color: {color:text};
  311. overflow: hidden;
  312. margin-left: 510px;
  313. margin-top: 20px;
  314. position: relative;
  315. }
  316.  
  317. #content a {
  318. color: {color:link color};
  319. text-decoration: none;
  320. }
  321.  
  322. #content a:hover {
  323. color: {color:link hover color};
  324. }
  325.  
  326. #content blockquote {
  327. border-left: solid 2px #505050;
  328. margin: 0;
  329. padding-left: 10px;
  330. }
  331.  
  332. img {
  333. border: 0;
  334. max-width: 100%;
  335. }
  336.  
  337.  
  338. #content #posts {
  339. background-color: {color:post color};
  340. width: 500px;
  341. height: auto;
  342. margin: 0 0 80px 0;
  343. padding: 10px 10px 10px 10px;
  344. font-size: 14px;
  345. position: relative;
  346. box-shadow: 5px 5px 5px #DCDCDC;
  347. }
  348.  
  349.  
  350. #content #posts .title {
  351. font-size: 16px;
  352. }
  353.  
  354. #content #posts .text {
  355. font-size: 12px;
  356. }
  357.  
  358.  
  359. /* PERMALINK STUFF */
  360.  
  361. #permalink {
  362. font-size: 9px;
  363. margin-top: 2px;
  364. }
  365.  
  366. #posts:hover #tags {
  367. opacity: 1;
  368. -webkit-transition: 0.7s ease;transition: 0.7s ease;
  369. -o-transition: 0.7s ease;
  370. -moz-transition: 0.7s ease;
  371. }
  372.  
  373. #tags {
  374. font-size:9px;
  375. width: 500px;
  376. text-align: center;
  377. margin-top: 15px;
  378. opacity:0;
  379. position: absolute;
  380. -webkit-transition: 0.7s ease;transition: 0.7s ease;
  381. -o-transition: 0.7s ease;
  382. -moz-transition: 0.7s ease;
  383. }
  384.  
  385. #tags .comma:last-child {
  386. display: none;
  387. }
  388.  
  389.  
  390. #reblogged {
  391. position: relative;
  392. font-size: 9px;
  393. overflow: hidden;
  394. }
  395.  
  396.  
  397. /* PERMALINK PAGE THINGS */
  398.  
  399. #content #notecontainer {
  400. margin-left: 30px;
  401. margin-top: -10px;
  402. width: 460px;
  403. font-size: 11px;
  404. }
  405.  
  406.  
  407. #content #notecontainer ol.notes {
  408. list-style-type: none;
  409. margin: 1px 1px 1px 1px;
  410. padding: 1px;
  411. line-height: 16px;
  412. }
  413.  
  414. #content #notecontainer img.avatar {
  415. width: 16px;
  416. height: 16px;
  417. margin: 1px 5px 1px 1px;
  418. padding: 1px;
  419. }
  420.  
  421. #content #posts #tagsbox {
  422.  
  423. padding: 1px 4px 3px 4px;
  424. margin-top: 15px;
  425. background-color: {color:postinside};
  426. text-align: center;
  427. }
  428.  
  429. /* POST STUFF */
  430.  
  431. .linkpost {
  432. background-color: #ececec;
  433. padding: 5px;
  434.  
  435. }
  436.  
  437. .linktitle {
  438. margin-left: 7px;
  439. margin-bottom: 3px;
  440. padding: 2px 0 0 0;
  441. font-family: 'Lobster', sans-serif;
  442. font-size: 15px;
  443. }
  444.  
  445.  
  446.  
  447. .askericon {
  448. width: auto;
  449. margin-left:228px;
  450. margin-top: -20px;
  451. overflow: visible;
  452. border-radius: 100px;
  453.  
  454. }
  455.  
  456. .askericon img {
  457. border-radius: 100px;
  458. border: 1px solid {color:border};
  459. }
  460.  
  461. .askericon img:hover{
  462.  
  463. }
  464.  
  465. .askicon img {
  466. z-index: 9;
  467. height: 40px;
  468. width: 40px;
  469. position: relative;
  470. }
  471.  
  472.  
  473.  
  474. .askicon img{
  475. z-index: 9;
  476. width: 40px;
  477. -webkit-transition:all 0.6s ease-out;
  478. -moz-transition:all 0.6s ease-out;
  479. -ms-transition:all 0.6s ease-out;
  480. -o-transition:all 0.6s ease-out;
  481. transition:all 0.6s ease-out;
  482. }
  483.  
  484. .askicon img:hover {
  485. -webkit-transform:rotate(360deg);
  486. -moz-transform:rotate(360deg);
  487. -ms-transform:rotate(360deg);
  488. -o-transform:rotate(360deg);
  489. transform:rotate(360deg);
  490. }
  491.  
  492.  
  493.  
  494. .question {
  495. overflow: hidden;
  496. width: 477px;
  497. height: auto;
  498. margin-top: -14px;
  499. padding: 2px 10px 5px 10px;
  500. color: {color:text color};
  501. background-color: {color:postinside};
  502. font-size: 12px;
  503. text-decoration: italic;
  504. z-index:-9;
  505. text-align: center;
  506.  
  507. }
  508.  
  509. .asker {
  510. font-size: 13px;
  511. text-transform:uppercase;
  512. color: {color:link};
  513. text-align: center;
  514. margin-top: 10px;
  515. margin-bottom: 3px;
  516. font-family: 'Iceland', sans-serif;
  517. }
  518.  
  519. .answer {
  520. font-size: 12px;
  521. padding: 5px 10px 0 10px;
  522. width: 477px;
  523. margin-top:-12px;
  524. overflow: hidden;
  525. background-color: {color:postinside};
  526. text-align: center;
  527. }
  528.  
  529. .textpost {
  530. font-size: 12px;
  531. margin-top: -12px;
  532. }
  533.  
  534. .caption {
  535. font-size: 12px;
  536. }
  537.  
  538. .quote {
  539. font-size: 23px;
  540. font-family: 'Iceland', sans-serif;
  541. }
  542.  
  543. .audiopost {
  544. padding: 0 10px;
  545. width: 477px;
  546. font-size: 10px;
  547. margin-top: -20px;
  548. }
  549.  
  550. .audio {
  551. border: 1px solid {color:border};
  552. text-align: center;
  553. box-shadow: inset 1px 1px 3px gray;
  554. padding: 5px 10px;
  555. width: 478px;
  556. font-size: 15px;
  557. font-family: 'Iceland', sans-serif;
  558. margin-bottom: 7px;
  559. }
  560.  
  561. .chattitle {
  562. font-size: 16px;
  563. }
  564.  
  565.  
  566. /* PLEASE DO NOT REMOVE THE CREDIT OR MOVE IT */
  567.  
  568. #credit {
  569. bottom: 8px;
  570. right: 8px;
  571. border: 1px solid #BABABA;
  572. font-size: 10px;
  573. color: #5A5A5A;
  574. height: 12px;
  575. width: 12px;
  576. line-height: 12px;
  577. position: fixed;
  578. text-align: center;
  579. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  580. -o-transition: 0.5s ease;
  581. -moz-transition: 0.5s ease;
  582. }
  583.  
  584. #credit:hover {
  585. background-color: #2E2E2E;
  586. color: #fff;
  587. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  588. -o-transition: 0.5s ease;
  589. -moz-transition: 0.5s ease;
  590. }
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598. </style>
  599.  
  600.  
  601. </head>
  602.  
  603.  
  604. <body>
  605.  
  606.  
  607. <div id="sidebar">
  608.  
  609. <div id="title"><a href="/">{Title}</a></div>
  610.  
  611. <div id="sbimg"><img src="{image:sbimg}"></div>
  612.  
  613. {block:Pagination}
  614.  
  615.  
  616.  
  617.  
  618. {block:PreviousPage}
  619.  
  620. <a href="{PreviousPage}"><div id="prevpage">&laquo;</div></a>
  621.  
  622. {/block:PreviousPage}
  623.  
  624.  
  625.  
  626. {block:NextPage}
  627.  
  628. <a href="{NextPage}"> <div id="nextpage"> &raquo;</div></a>
  629.  
  630. {/block:NextPage}
  631.  
  632.  
  633. {/block:Pagination}
  634.  
  635. <div id="menu">
  636. <h3><div class="menuheader">DESCRIPTION</div></h3>
  637. <div class="menucontent">{Description}</div>
  638. <h3><div class="menuheader">LINKS</div></h3>
  639. <div class="menucontent">
  640. <a href="{text:link1url}"><div class="menulink">{text:link1text}</div></a>
  641.  
  642. <a href="{text:link2url}"><div class="menulink">{text:link2text}</div></a>
  643. <a href="{text:link3url}"><div class="menulink">{text:link3text}</div></a>
  644. <a href="{text:link4url}"><div class="menulink">{text:link4text}</div></a>
  645. <a href="{text:link5url}"><div class="menulink">{text:link5text}</div></a>
  646. <a href="{text:link6url}"><div class="menulink">{text:link6text}</div></a>
  647. </div>
  648.  
  649.  
  650. </div>
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657. </div>
  658.  
  659. <!-- boring post stuff - you don't really need to edit there I'd say -->
  660. <div id="content">
  661. {block:Posts}
  662.  
  663.  
  664. <div id="posts">
  665.  
  666. {block:ContentSource}
  667. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  668. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  669. {/block:SourceLogo}
  670. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  671. {/block:ContentSource}
  672.  
  673. {block:Photo}
  674. {LinkOpenTag}<img src="{PhotoURL-500}" />{LinkCloseTag}
  675. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  676. {/block:Photo}
  677.  
  678. {block:Photoset}
  679. {Photoset-500}
  680. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  681. {/block:Photoset}
  682.  
  683. {block:Video}
  684. {Video-500}
  685. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  686. {/block:Video}
  687.  
  688. {block:Audio}
  689. <div class="audio">
  690. {block:TrackName}
  691. {TrackName}
  692. {/block:TrackName}
  693. {block:Artist}
  694. &middot;&middot;&middot;
  695. {Artist}
  696. {/block:Artist}
  697. </div>
  698. {AudioPlayerWhite}
  699. {block:Caption}<br /><div class="audiopost">{Caption}</div>{/block:Caption}
  700. {/block:Audio}
  701.  
  702. {block:Quote}
  703. <div class="quote">“{Quote}”</div>
  704. {block:Source}<div class="text">~ {Source}</div>{/block:Source}
  705. {/block:Quote}
  706.  
  707. {block:Text}
  708. {block:Title}<div class="title">{Title}</div><br/>{/block:Title}<div class="textpost">{Body}</div>
  709. {/block:Text}
  710.  
  711. {block:Answer}
  712. <div class="askericon"><div class="askicon"><img src="{AskerPortraitURL-64}" /></div></div>
  713. <div class="question"><div class="asker">{Asker}:</div><em>{Question}</em></div><br />
  714. <div class="answer">{block:Answerer}<div class="answerer">{Answerer}:</div>{/block:Answerer}<div class="answerer-answer">{Answer}</div></div>
  715. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  716. {/block:Answer}
  717.  
  718. {block:Chat}
  719. {block:Title}<div class="chattitle">{Title}</div>{/block:Title}
  720. {block:Lines}
  721. {block:Label}<strong>{Label}</strong>{/block:Label} <em>{Line}</em><br />
  722. {/block:Lines}
  723. {/block:Chat}
  724.  
  725. {block:Link}
  726. <div class="linkpost"><div class="linktitle"><a href="{URL}" >{Name}</a></div></div>
  727. {block:Description}<div class="caption">{Description}</div>{/block:Description}
  728. {/block:Link}
  729.  
  730.  
  731.  
  732. <div id="tagsbox">
  733. <div id="permalink">
  734. <a href="{Permalink}">
  735. {block:Date}{lang:Posted TimeAgo}{/block:Date}
  736. {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}</a>
  737. {block:RebloggedFrom}&nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;&nbsp;via: <a href="{ReblogParentURL}">{ReblogParentName}</a> &nbsp;-&nbsp;
  738. originally: <a href="{ReblogRootURL}">{ReblogRootName}</a>
  739. {/block:RebloggedFrom}
  740. &nbsp;&nbsp;&nbsp;&middot;&nbsp;&nbsp;&nbsp;
  741. <a href="{ReblogURL}" target="_blank">reblog</a>
  742.  
  743. </div>
  744.  
  745. </div>
  746. {block:HasTags}<div id="tags">
  747. {block:Tags}
  748. <a href="{TagURL}">{Tag}</a><span class="comma"> &nbsp;&middot;&nbsp; </span>
  749. {/block:Tags}
  750. </div>
  751. {/block:HasTags}
  752.  
  753. </div> <!-- posts div -->
  754.  
  755.  
  756.  
  757.  
  758. {block:PostNotes}
  759. <div id="notecontainer">{PostNotes}</div>
  760. {/block:PostNotes}
  761.  
  762. {/block:Posts}
  763. </div> <!-- content div-->
  764.  
  765.  
  766. <!-- credit, please do not remove! -->
  767. <a href="http://spirkthemes.tumblr.com"><div id="credit">P</div></a>
  768.  
  769. </body>
  770.  
  771.  
  772. </html>
Advertisement
Add Comment
Please, Sign In to add comment