Advertisement
spirkism

Theme #3: Spock

May 29th, 2014
591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.03 KB | None | 0 0
  1. <!--
  2. THEME #3: SPOCK
  3. by Phil (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. <!DOCTYPE html>
  16. <html lang="en">
  17.  
  18. <head>
  19.  
  20. <title>{Title}</title>
  21.  
  22. {block:Description}
  23. <meta name="description" content="{MetaDescription}" />
  24. {/block:Description}
  25.  
  26. <link rel="shortcut icon" href="{Favicon}" />
  27.  
  28. <link rel="alternate" type="application/rss+xml" title="{Title} RSS" href="{RSS}"/>
  29.  
  30. <link href='http://fonts.googleapis.com/css?family=Condiment|Allura|Alegreya+Sans|Kaushan+Script|Satisfy' rel='stylesheet' type='text/css'>
  31.  
  32. <link href='http://fonts.googleapis.com/css?family=Quattrocento+Sans' rel='stylesheet' type='text/css'>
  33.  
  34.  
  35. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  36.  
  37.  
  38.  
  39.  
  40. <!-- color metas -->
  41. <meta name="color:background" content="#ffffff" />
  42. <meta name="color:title color" content="#007ba4" />
  43. <meta name="color:title hover color" content="#004484" />
  44. <meta name="color:sidebar" content="#ececec" />
  45. <meta name="color:sidebar link hover color" content="#004586" />
  46. <meta name="color:sidebar link hover color2" content="#004586" />
  47. <meta name="color:sidebar link color" content="#007ba4" />
  48. <meta name="color:sidebar link text hover" content="#C9C9C9" />
  49. <meta name="color:sidebar link text hover2" content="#C9C9C9" />
  50. <meta name="color:text color" content="#000000" />
  51. <meta name="color:link color" content="#000008" />
  52. <meta name="color:link hover color" content="#007ba4" />
  53. <meta name="color:post color inside" content="#ffffff" />
  54. <meta name="color:border color" content="#000000" />
  55. <meta name="color:border" content="#000000" />
  56. <meta name="color:updates" content="fff" />
  57. <meta name="color:updates2" content="000" />
  58.  
  59.  
  60. <!-- image metas -->
  61. <meta name="image:background image" content="" />
  62. <meta name="image:sidebarimg01" content="" />
  63. <meta name="image:sidebarimg02" content="" />
  64.  
  65. <!-- text metas -->
  66. <meta name="text:link1 url" content="" />
  67. <meta name="text:link1 text" content="" />
  68. <meta name="text:link1 hover" content="" />
  69. <meta name="text:link2 url" content="" />
  70. <meta name="text:link2 text" content="" />
  71. <meta name="text:link2 hover" content="" />
  72. <meta name="text:link3 url" content="" />
  73. <meta name="text:link3 text" content="" />
  74. <meta name="text:link3 hover" content="" />
  75. <meta name="text:link4 url" content="" />
  76. <meta name="text:link4 text" content="" />
  77. <meta name="text:link4 hover" content="" />
  78. <meta name="text:link5 url" content="" />
  79. <meta name="text:link5 text" content="" />
  80. <meta name="text:link5 hover" content="" />
  81. <meta name="text:link6 url" content="" />
  82. <meta name="text:link6 text" content="" />
  83. <meta name="text:link6 hover" content="" />
  84. <meta name="text:link7 url" content="" />
  85. <meta name="text:link7 text" content="" />
  86. <meta name="text:link7 hover" content="" />
  87. <meta name="text:link8 url" content="" />
  88. <meta name="text:link8 text" content="" />
  89. <meta name="text:link8 hover" content="" />
  90.  
  91.  
  92.  
  93.  
  94.  
  95. <style type="text/css">
  96.  
  97.  
  98.  
  99. /* GENERAL STUFF */
  100.  
  101. ::-webkit-scrollbar {
  102. width:5px;height: 5px;background: {color:background};
  103. }
  104.  
  105. ::-webkit-scrollbar-thumb {
  106. background: {color:title color};
  107. }
  108.  
  109. body {
  110. background-color: {color:background};
  111. font-family: 'Calibri', sans-serif;
  112. background-image: url({image:background image});
  113. margin: 0;
  114. word-wrap: break-word;
  115. background-attachment: fixed;
  116. background-repeat: no-repeat;
  117. color: {color:text color};
  118. }
  119.  
  120. a:link, a:active, a:visited {
  121. text-decoration: none;
  122. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  123. -o-transition: 0.5s ease;
  124. -moz-transition: 0.5s ease;
  125. color:{color:link color};
  126. }
  127.  
  128. a:hover {
  129. color:{color:link hover color};
  130. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  131. -o-transition: 0.5s ease;
  132. -moz-transition: 0.5s ease;
  133. }
  134.  
  135. /* SIDEBAR THINGS */
  136.  
  137. #sidebar {
  138. overflow: hidden;
  139. position:fixed;
  140. left: 230px;
  141. top: 200px;
  142. }
  143.  
  144. .sidebarlinks {
  145. width: 90px;
  146. height: 15px;
  147. line-height: 15px;
  148. margin-left: 5px;
  149. background-color: {color:sidebar};
  150. padding: 2px 0 2px 0;
  151. margin-bottom: 5px;
  152. margin-top: 5px;
  153. font-size: 12px;
  154. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  155. -o-transition: 0.5s ease;
  156. -moz-transition: 0.5s ease;
  157. }
  158.  
  159. .sidebarlinks:hover {
  160. background-color: {color:sidebar link hover color};
  161. color: {color:sidebar link text hover};
  162. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  163. -o-transition: 0.5s ease;
  164. -moz-transition: 0.5s ease;
  165. }
  166.  
  167. .sidebarlinks2 {
  168. width: 90px;
  169. height: 15px;
  170. line-height: 15px;
  171. margin-left: 5px;
  172. background-color: {color:sidebar};
  173. padding: 2px 0 2px 0;
  174. margin-bottom: 5px;
  175. margin-top: 5px;
  176. font-size: 12px;
  177. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  178. -o-transition: 0.5s ease;
  179. -moz-transition: 0.5s ease;
  180. }
  181.  
  182. .sidebarlinks2:hover {
  183. background-color: {color:sidebar link hover color2};
  184. color: {color:sidebar link text hover2};
  185. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  186. -o-transition: 0.5s ease;
  187. -moz-transition: 0.5s ease;
  188. }
  189.  
  190. .linkbox {
  191. border: 0px solid black;
  192. overflow: hidden;
  193. position:fixed;
  194. width: 100px;
  195. height: 100px;
  196. text-align:center;
  197. }
  198.  
  199. #linkbox01 {
  200. overflow: hidden;
  201. position:fixed;
  202. margin-left: 110px;
  203. }
  204.  
  205. #linkbox02 {
  206. overflow: hidden;
  207. position:fixed;
  208. margin-top: 110px;
  209. }
  210.  
  211. .sidebarimg {
  212. border: 0px solid black;
  213. overflow: hidden;
  214. position:fixed;
  215. width: 100px;
  216. height: 100px;
  217. max-width:100%;
  218. }
  219.  
  220. #sidebarimg01 {
  221. overflow: hidden;
  222. position:fixed;
  223.  
  224.  
  225. }
  226.  
  227. #sidebarimg02 {
  228. overflow: hidden;
  229. position:fixed;
  230. margin-top: 110px;
  231. margin-left: 110px;
  232.  
  233.  
  234. }
  235.  
  236. #blogtitle {
  237. font-size: 30px;
  238. text-align: center;
  239. font-family: 'Allura', cursive;
  240. position:fixed;
  241. width:210px;
  242. margin-top:-45px;
  243. color: {color:title color};
  244. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  245. -o-transition: 0.5s ease;
  246. -moz-transition: 0.5s ease;
  247. }
  248.  
  249. #blogtitle:hover {
  250. color: {color:title hover color};
  251. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  252. -o-transition: 0.5s ease;
  253. -moz-transition: 0.5s ease;
  254. }
  255.  
  256.  
  257. #pagination {
  258. width: 160px;
  259. text-align: center;
  260. font-size: 11px;
  261. overflow: hidden;
  262. margin-top: 360px;
  263. margin-left: 253px;
  264. padding: 5px 3px;
  265. position:fixed;
  266. }
  267.  
  268. #pagination a {
  269. color: {color:link color};
  270. text-decoration: none;
  271. text-align: center;
  272. }
  273.  
  274. #pagination a:hover {
  275. color: {color:link hover color};
  276. }
  277.  
  278.  
  279. /*CONTENT THINGS */
  280.  
  281. #content {
  282. width: 560px;
  283. background-color: none;
  284. margin: -200px 0 60px 600px;
  285. padding: 20px 0;
  286. color: {text:color};
  287. overflow: hidden;
  288. margin-top: 50px;
  289. }
  290.  
  291. #content a {
  292. color: {color:link color};
  293. text-decoration: none;
  294. }
  295.  
  296. #content a:hover {
  297. color: {color:link hover color};
  298. }
  299.  
  300. #content blockquote {
  301. border-left: solid 2px #505050;
  302. margin: 0;
  303. padding-left: 10px;
  304. }
  305.  
  306. img {
  307. border: 0;
  308. max-width: 100%;
  309. }
  310.  
  311.  
  312. #content #posts {
  313. background-color: {color:post color inside};
  314. width: 500px;
  315. margin: 0 auto 20px;
  316. padding: 10px;
  317. border: 3px double {color:border color};
  318. font-size: 14px;
  319. }
  320.  
  321.  
  322. #content #posts .title {
  323. font-size: 16px;
  324. }
  325.  
  326. #content #posts .text {
  327. font-size: 12px;
  328. }
  329.  
  330.  
  331. /* PERMALINK STUFF */
  332.  
  333. #permalink {
  334. font-size: 9px;
  335. margin-top: 2px;
  336. }
  337.  
  338.  
  339. #content #posts #tagsbox #tags {
  340. font-size:9px;
  341. }
  342.  
  343.  
  344. #content #posts #tagsbox #tags .comma:last-child {
  345. display: none;
  346. }
  347.  
  348.  
  349. #reblogged {
  350. font-size: 9px;
  351. margin-left: 155px;
  352. margin-top: -19px;
  353. overflow: hidden;
  354. }
  355.  
  356.  
  357. /* PERMALINK PAGE THINGS */
  358.  
  359. #content #notecontainer {
  360. margin: 60px auto;
  361. width: 460px;
  362. font-size: 11px;
  363. }
  364.  
  365.  
  366. #content #notecontainer ol.notes {
  367. list-style-type: none;
  368. margin: 0;
  369. padding: 0;
  370. }
  371.  
  372. #content #notecontainer img.avatar {
  373. margin-right: 10px;
  374. width: 16px;
  375. height: 16px;
  376. }
  377.  
  378. #content #posts #tagsbox {
  379. border: 1px dotted {color:border color};
  380. padding: 1px 4px 3px 4px;
  381. margin-top: 15px;
  382. }
  383.  
  384.  
  385.  
  386. /* POST STUFF */
  387.  
  388. .linkpost {
  389. background-color: #ececec;
  390. padding: 5px;
  391. }
  392.  
  393. .linkpost .title {
  394. margin-top: -2px;
  395. margin-left: 7px;
  396. padding: 2px 0 0 0;
  397. }
  398.  
  399. #side {
  400. margin-left: 50px;
  401. fixed;
  402. }
  403.  
  404.  
  405. .askericon {
  406. border: 1px dotted {color:border color};
  407. border-radius: 25px;
  408. height:40px;
  409. width:40px;
  410. margin-left:228px;
  411. margin-top: -20px;
  412. overflow: visible;
  413. z-index:999;
  414. }
  415.  
  416.  
  417. .question {
  418. border: 2px double {color:border color};
  419. overflow: hidden;
  420. width: 477px;
  421. height: auto;
  422. margin-top: -14px;
  423. padding: 2px 10px 5px 10px;
  424. color: {color:text color};
  425. background-color: #F6F6F6;
  426. font-size: 12px;
  427. text-decoration: italic;
  428. z-index:-9;
  429.  
  430. }
  431.  
  432. .asker {
  433. font-size: 13px;
  434. text-transform:uppercase;
  435. color: #007ba4;
  436. }
  437.  
  438.  
  439. .answer {
  440. font-size: 12px;
  441. border: 2px double {color:border color};
  442. padding: 5px 10px 0 10px;
  443. width: 477px;
  444. margin-top:-13px;
  445. overflow: hidden;
  446. }
  447.  
  448. .answerer {
  449. font-size: 12px;
  450. text-transform:uppercase;
  451. margin-top: 10px;
  452. padding:5px;
  453. background-color: #ececec;
  454. max-width:100%;
  455. }
  456.  
  457. .textpost {
  458. font-size: 13px;
  459. margin-top: -12px;
  460. }
  461.  
  462. .caption {
  463. font-size: 12px;
  464. margin-top: 3px;
  465. }
  466.  
  467. .quote {
  468. font-size: 20px;
  469. font-family: 'Satisfy', sans-serif;
  470. }
  471.  
  472. .audiopost {
  473. padding: 0 10px;
  474. width: 477px;
  475. font-size: 10px;
  476. margin-top: -20px;
  477. }
  478.  
  479. .audio {
  480. border: 2px double {color:border color};
  481. padding: 5px 10px;
  482. width: 478px;
  483. font-size: 15px;
  484. font-family: 'Satisfy';
  485. margin-bottom: 7px;
  486. }
  487.  
  488. .chattitle {
  489. font-size: 16px;
  490. }
  491.  
  492.  
  493. /* Credit - please do not remove this! */
  494.  
  495. #credit {
  496. bottom: 8px;
  497. right: 8px;
  498. border: 1px solid #BABABA;
  499. font-size: 10px;
  500. color: #5A5A5A;
  501. height: 13px;
  502. width: 13px;
  503. line-height: 13px;
  504. position: fixed;
  505. text-align: center;
  506. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  507. -o-transition: 0.5s ease;
  508. -moz-transition: 0.5s ease;
  509. }
  510.  
  511. #credit:hover {
  512. background-color: #2E2E2E;
  513. color: #fff;
  514. -webkit-transition: 0.5s ease;transition: 0.5s ease;
  515. -o-transition: 0.5s ease;
  516. -moz-transition: 0.5s ease;
  517. }
  518.  
  519.  
  520. {CustomCSS}
  521.  
  522. </style>
  523.  
  524.  
  525. </head>
  526.  
  527. <body>
  528.  
  529.  
  530.  
  531. <div id="sidebar">
  532.  
  533. <div id="blogtitle">{Title}</div>
  534.  
  535. <div class="sidebarimg" id="sidebarimg01"><img src="{image:sidebarimg01}"></div>
  536.  
  537. <div class="linkbox" id="linkbox01">
  538. <a href="{text:link1 url}" title="{text:link1 hover}"><div class="sidebarlinks">{text:link1 text}</div></a>
  539. <a href="{text:link2 url}" title="{text:link2 hover}"><div class="sidebarlinks2">{text:link2 text}</div></a>
  540. <a href="{text:link3 url}" title="{text:link3 hover}"><div class="sidebarlinks">{text:link3 text}</div></a>
  541. <a href="{text:link4 url}" title="{text:link4 hover}"><div class="sidebarlinks2">{text:link4 text}</div></a>
  542. </div>
  543.  
  544. <div class="sidebarimg" id="sidebarimg02"><img src="{image:sidebarimg02}"></div>
  545.  
  546. <div class="linkbox" id="linkbox02">
  547. <a href="{text:link5 url}" title="{text:link5 hover}"><div class="sidebarlinks">{text:link5 text}</div></a>
  548. <a href="{text:link6 url}" title="{text:link6 hover}"><div class="sidebarlinks2">{text:link6 text}</div></a>
  549. <a href="{text:link7 url}" title="{text:link7 hover}"><div class="sidebarlinks">{text:link7 text}</div></a>
  550. <a href="{text:link8 url}" title="{text:link8 hover}"><div class="sidebarlinks2">{text:link8 text}</div></a>
  551. </div>
  552. </div>
  553.  
  554. {block:Pagination}
  555. <div id="pagination">
  556. {block:PreviousPage}
  557. <a href="{PreviousPage}">&#8612;</a>
  558. {/block:PreviousPage}
  559.  
  560. {block:JumpPagination length="5"}
  561. {block:CurrentPage}
  562. <span class="current_page"><u>{PageNumber}</u></span>
  563. {/block:CurrentPage}
  564.  
  565. {block:JumpPage}
  566. <a class="jump_page" href="{URL}">{PageNumber}</a>
  567. {/block:JumpPage}
  568. {/block:JumpPagination}
  569.  
  570. {block:NextPage}
  571. <a href="{NextPage}">&#8614;</a>
  572. {/block:NextPage}
  573. </div>
  574. {/block:Pagination}
  575.  
  576.  
  577.  
  578.  
  579. <!-- boring post stuff - you don't really need to edit there I'd say -->
  580. <div id="content">
  581. {block:Posts}
  582.  
  583.  
  584.  
  585. <div id="posts">
  586.  
  587. {block:ContentSource}
  588. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  589. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  590. {/block:SourceLogo}
  591. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  592. {/block:ContentSource}
  593.  
  594. {block:Photo}
  595. {LinkOpenTag}<img src="{PhotoURL-500}" />{LinkCloseTag}
  596. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  597. {/block:Photo}
  598.  
  599. {block:Photoset}
  600. {Photoset-500}
  601. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  602. {/block:Photoset}
  603.  
  604. {block:Video}
  605. {Video-500}
  606. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  607. {/block:Video}
  608.  
  609. {block:Audio}
  610. <div class="audio">
  611. {block:TrackName}
  612. ' {TrackName} '
  613. {/block:TrackName}
  614. {block:Artist}
  615. by
  616. ' {Artist} '
  617. {/block:Artist}
  618. </div>
  619. {AudioPlayerWhite}
  620. {block:Caption}<br /><div class="audiopost">{Caption}</div>{/block:Caption}
  621. {/block:Audio}
  622.  
  623. {block:Quote}
  624. <div class="quote">“{Quote}”</div>
  625. {block:Source}<div class="text">~ {Source}</div>{/block:Source}
  626. {/block:Quote}
  627.  
  628. {block:Text}
  629. {block:Title}<div class="title">{Title}</div><br/>{/block:Title}<div class="textpost">{Body}</div>
  630. {/block:Text}
  631.  
  632. {block:Answer}
  633. <div class="askericon"><img src="{AskerPortraitURL-64}" /></div>
  634. <div class="question"><div class="asker">{Asker}:</div><em>{Question}</em></div><br />
  635. <div class="answer">{block:Answerer}<div class="answerer">{Answerer}:</div>{/block:Answerer}<div class="answerer-answer">{Answer}</div></div>
  636. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  637. {/block:Answer}
  638.  
  639. {block:Chat}
  640. {block:Title}<div class="chattitle">{Title}</div>{/block:Title}
  641. {block:Lines}
  642. {block:Label}<strong>{Label}</strong>{/block:Label} <em>{Line}</em><br />
  643. {/block:Lines}
  644. {/block:Chat}
  645.  
  646. {block:Link}
  647. <div class="linkpost"><div class="title"><a href="{URL}" >{Name}</a></div></div>
  648. {block:Description}<div class="caption">{Description}</div>{/block:Description}
  649. {/block:Link}
  650.  
  651. <div id="tagsbox">
  652. <div id="permalink">
  653. <a href="{Permalink}">
  654. {block:Date}{lang:Posted TimeAgo}{/block:Date}
  655. {block:NoteCount} with {NoteCountWithLabel}{/block:NoteCount}</a>{block:RebloggedFrom}<div id="reblogged"><br/>&nbsp;
  656. --- &nbsp;via: <a href="{ReblogParentURL}">{ReblogParentName}</a> &nbsp;-&nbsp;
  657. originally: <a href="{ReblogRootURL}">{ReblogRootName}</a></div>
  658. {/block:RebloggedFrom}
  659.  
  660. </div>
  661.  
  662.  
  663. {block:HasTags}<div id="tags">
  664. {block:Tags}
  665. <a href="{TagURL}">{Tag}</a><span class="comma">, </span>
  666. {/block:Tags}
  667. </div>
  668. {/block:HasTags}
  669. </div>
  670.  
  671.  
  672. </div> <!-- posts div -->
  673.  
  674.  
  675. {block:PostNotes}
  676. <div id="notecontainer">{PostNotes}</div>
  677. {/block:PostNotes}
  678.  
  679. {/block:Posts}
  680. </div> <!-- content div-->
  681.  
  682.  
  683. <a href="http://spirkthemes.tumblr.com"><div id="credit">P</div></a>
  684.  
  685. </body>
  686.  
  687. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement