spirkism

Theme #9: Geometry

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