Advertisement
paulveretts

Theme #31 // Spectralis

May 17th, 2014
3,623
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.32 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <!--
  4.  
  5. THEME BY JÚLIA // @mclahei
  6. Base code by @hogwat;
  7.  
  8. YOU CAN:
  9. Tweak the code on your blog.
  10. Reblog/Like the original post.
  11. Come to me if you need any help.
  12. Take little parts of the code to get a desired effect. Keep in mind I mean /little/ parts only.
  13. Enjoy this theme :)
  14.  
  15. YOU CAN'T:
  16. Repost any of the codes.
  17. Remove credit from view.
  18. Use this as a base code, as it was made from one that does not belong to me.
  19.  
  20. -->
  21.  
  22. <head>
  23.  
  24.  
  25. <title>{Title}</title>
  26.  
  27. <link rel="shortcut icon" href="{Favicon}">
  28. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  29. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  30.  
  31. <!--Default Variables-->
  32.  
  33. <meta name="color:Background" content="#ffffff"/>
  34. <meta name="color:Text" content="#aaaaaa"/>
  35. <meta name="color:Link" content="#000000"/>
  36.  
  37. <meta name="text:Link 1 URL" content="" />
  38. <meta name="text:Link 1" content="" />
  39. <meta name="text:Link 2 URL" content="" />
  40. <meta name="text:Link 2" content="" />
  41.  
  42. <meta name="image:sidebar" content=""/>
  43.  
  44.  
  45.  
  46. <!-- jquery for tooltips-->
  47.  
  48.  
  49. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  50.  
  51. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  52.  
  53. <script>
  54.  
  55. (function($){
  56.  
  57. $(document).ready(function(){
  58.  
  59. $("a[title]").style_my_tooltips({
  60.  
  61. tip_follows_cursor:true,
  62.  
  63. tip_delay_time:30,
  64.  
  65. tip_fade_speed:300,
  66.  
  67. attribute:"title"
  68.  
  69. });
  70.  
  71. });
  72.  
  73. })(jQuery);
  74.  
  75. </script>
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. <!--CSS customization here. -->
  83.  
  84. <style type="text/css">
  85.  
  86. #s-m-t-tooltip{
  87. position:absolute;
  88. margin-top: 15px;
  89. z-index:9999;
  90. background:{color:background};
  91. }
  92.  
  93.  
  94. /*basics*/
  95. blockquote {padding:5px 0 5px 30px;
  96. border-left:1px solid #f5f5f5;
  97. margin-left:30px;
  98. }
  99.  
  100. body {
  101. background:{color:background};
  102. color:{color:text};
  103. font-family:times;
  104. font-size:11px;
  105. text-align:justify;
  106. margin:0;
  107. line-height:16px;}
  108.  
  109.  
  110. a {
  111. color:{color:link};
  112. text-decoration:none;
  113. }
  114.  
  115. a:hover {
  116. font-style:italic;
  117. }
  118.  
  119. img{opacity:1;
  120. border:none;
  121. text-decoration:none}
  122.  
  123.  
  124. small {
  125. font-size:9px;}
  126.  
  127. big {
  128. font-size:12px;}
  129.  
  130.  
  131. #title {font-size:20px;
  132. line-height:18px;
  133. font-style:italic;
  134. margin-bottom:10px;
  135. text-transform:normal;
  136. font-family:times;
  137. text-align:left;}
  138.  
  139.  
  140. /*sidebar*/
  141. #sidebar {text-align:center;
  142. padding:10px;
  143. margin-left:-300px;
  144. position:fixed;
  145. margin-top:-60px;
  146. width:200px;
  147. }
  148.  
  149. #sidebarim {margin-bottom:20px;}
  150.  
  151. #sidebarim img {width:200px;border-radius:0px; margin-top:-30px;}
  152.  
  153. #blogt {
  154. font-size:20px;
  155. margin-top:-7px;
  156. font-style:italic;
  157. font-family:times;
  158. font-weight:thin;
  159. }
  160.  
  161. #mclahei a{
  162. opacity:0.7;
  163. text-align:center;
  164. text-transform:uppercase;
  165. }
  166.  
  167. #blogt a {
  168. background:#fff;
  169. padding-left:10px;
  170. padding-right:10px;
  171. }
  172.  
  173. #blogt a:hover {
  174. text-decoration:none;
  175. }
  176.  
  177. #border {
  178. border-top:1px solid #e7e7e7;
  179. margin-top:30px;
  180. }
  181.  
  182. #links {
  183. margin-top:-5px;
  184. line-height:16px;
  185. border-bottom:1px solid #e7e7e7;
  186. text-transform:lowercase;
  187. }
  188.  
  189.  
  190. #links a {
  191. margin-right:5px;
  192. display:inline-block;
  193. margin-bottom:5px;
  194. font-size:7px;
  195. letter-spacing:2px;
  196. padding:5px;
  197. text-transform:uppercase;
  198. }
  199.  
  200. #description {
  201. font-family:times;
  202. margin:20px 0;
  203. text-align:justify;
  204. margin-top:20px;
  205. }
  206.  
  207.  
  208. /*pagination*/
  209. #pagination {
  210. margin:50px;
  211. font-size:8px;
  212. text-align:center;
  213. text-transform:uppercase;
  214. letter-spacing:2px;
  215. font-style:italic;
  216. }
  217. #pagination a {
  218. padding:0 15px;
  219. }
  220.  
  221. /*container*/
  222. #con {
  223. left:55%;
  224. top:30%;
  225. margin-left:-250px;
  226. position:absolute;
  227. }
  228.  
  229.  
  230.  
  231. /*posts*/
  232.  
  233. #entries {
  234. margin-top:-100px;
  235. width:400px;
  236. }
  237.  
  238. #posts {
  239. width:400px;
  240. {block:IndexPage}
  241. margin-bottom:75px;
  242. {/block:IndexPage}
  243. {block:PermalinkPage}
  244. margin-bottom:50px;
  245. {/block:PermalinkPage}
  246.  
  247. }
  248. #posts img {
  249. max-width:400px;
  250. }
  251.  
  252. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  253. .caption {width:100%;
  254. margin-top:10px;
  255.  
  256. }
  257.  
  258. #asker {
  259. font-size:7px;
  260. margin-top:10px;
  261. text-align:center;
  262. text-transform:uppercase;
  263. letter-spacing:2px;
  264. font-style:italic;
  265. }
  266.  
  267. #question {
  268. padding:15px;
  269. font-size:11px;
  270. text-align:right;
  271. font-style:italic;
  272. border-bottom:1px solid ##f3f3f3;
  273. background:#f5f5f5;
  274. }
  275.  
  276. /*quote*/
  277.  
  278. #titlequote{text-align:left;
  279. font-size:18px;
  280. line-height:18px;
  281. font-weight:bold;
  282. font-style:italic;
  283. }
  284. #source {
  285. margin-top:15px;
  286. margin-left:15px;}
  287.  
  288. /*audio*/
  289.  
  290. #song {
  291. font-size:8px;
  292. text-decoration:underline;
  293. letter-spacing:2px;
  294. padding:6px 0px 3px 0px;
  295. text-transform:uppercase;
  296. color:#aaa;
  297. }
  298.  
  299. .albumart {
  300. width:50px;
  301. position:absolute;
  302. z-index:2;
  303. }
  304.  
  305. .audiop {
  306. position:relative;
  307. min-height:56px;
  308. }
  309.  
  310. .audioinfo {
  311. margin-left:51px;
  312. height:50px;
  313. padding:0px 7px;
  314. letter-spacing:1px;
  315. font-size:7px;
  316. line-height:170%;
  317. text-transform:uppercase;
  318. text-align:left;
  319. }
  320.  
  321. .player {
  322. width:20px;
  323. height:20px;
  324. overflow:hidden;
  325. margin-top:6px;
  326. margin-left:6px;
  327. }
  328.  
  329. .playerb {
  330. margin-top:5px;
  331. margin-left:5px;
  332. width:40px;
  333. height:40px;
  334. z-index:3;
  335. position:absolute;
  336. opacity:1;
  337. background-color:white;
  338. -webkit-transition:all 0.6s ease-out;
  339. -moz-transition:all 0.6s ease-out;
  340. transition:all 0.6s ease-out;
  341. }
  342.  
  343. .audiop:hover .playerb {
  344. opacity:0.5;
  345. -webkit-transition:all 0.6s ease-out;
  346. -moz-transition:all 0.6s ease-out;
  347. transition:all 0.6s ease-out;}
  348.  
  349.  
  350. /*asks*/
  351. .q {margin-bottom:10px;
  352. }
  353. .as {
  354. font-weight:bold;}
  355.  
  356. .a {
  357. margin-top:10px;
  358. }
  359.  
  360.  
  361. /*chat*/
  362.  
  363. .chat ol {
  364. padding:0;
  365. list-style:none;
  366. }
  367. .line {padding:5px 0;}
  368.  
  369. .label {font-weight:bold;
  370. }
  371.  
  372. /*permalink and notes*/
  373.  
  374. #permalink {
  375. margin-top:15px;
  376. text-align:right;
  377. font-size:7px;
  378. letter-spacing:2px;
  379. text-transform:uppercase;
  380. }
  381.  
  382. #permalink a {margin-right:0px;
  383. }
  384.  
  385.  
  386. .tags {
  387. word-break:break-all;
  388. text-align:right;
  389. font-size:7px;
  390. letter-spacing:2px;
  391. text-transform:uppercase;
  392. }
  393.  
  394. .pagenotes {
  395. {block:IndexPage}
  396. display: none!important;
  397. {/block:IndexPage}
  398. width:370px;
  399. padding:20px;
  400. background:#fbfbfb;
  401. text-align:justify;
  402. font-size:7px;
  403. letter-spacing:1px;
  404. text-transform:uppercase;
  405. }
  406.  
  407. .pagenotes a:hover{
  408. font-style:normal;
  409. }
  410.  
  411. .pagenotes img {
  412. display:none!important;}
  413. .pagenotes li {
  414. list-style-type:none;
  415. padding:5px 0px;
  416. text-align;justify;
  417. margin:0 0 0 -40px;
  418. }
  419.  
  420.  
  421. @font-face {font-family:Castro; src: url(http://static.tumblr.com/mdbfvxz/Qx9n4yxs4/castroscript_personal_use_only.ttf) format("truetype"); }
  422.  
  423.  
  424. {CustomCSS}
  425.  
  426.  
  427. </style>
  428.  
  429.  
  430.  
  431. </head>
  432.  
  433. <body>
  434.  
  435. <div id="con">
  436.  
  437. <div id="sidebar">
  438. <div id="sidebarim"><img src="{image:sidebar}"></div>
  439. <div id="border"></div>
  440. <div id="blogt"><a href="/">{Title}</a></div>
  441. <div id="description">{Description}</div>
  442. <div id="links">
  443. <a href="/">home</a>
  444. <a href="/ask">ask</a>
  445. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
  446. {block:ifLink2}<a href="{text:Link 2 URL}" >{text:Link 2}</a>{/block:ifLink2}
  447. </div>
  448.  
  449.  
  450.  
  451.  
  452. </div>
  453.  
  454.  
  455.  
  456.  
  457. <div id="entries">
  458.  
  459. {block:Posts}
  460. <div id="posts">
  461.  
  462.  
  463. {block:Quote}
  464.  
  465.  
  466. <div id="titlequote">“{Quote}”</div>
  467. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  468. {/block:Quote}
  469.  
  470.  
  471.  
  472. {block:Text}
  473.  
  474. {block:Title}
  475. <div id="title">{Title}</div>{/block:Title}
  476. {Body}
  477. {block:Caption}{Caption}{/block:Caption}
  478. {/block:Text}
  479.  
  480. {block:Link}
  481. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  482. {block:Caption}{Caption}{/block:Caption}
  483. {/block:Link}
  484.  
  485. {block:Chat}
  486. {block:Title}
  487. <h1>{Title}</h1>
  488. {/block:Title}
  489. <div class="chat">
  490. <ol>{block:Lines}
  491. <li class="line {Alt}">
  492. {block:Label}
  493. <span class="label">
  494. {Label}</span>
  495. {/block:Label}{Line}</li>
  496. {/block:Lines}
  497. </ol></div>
  498. {/block:Chat}
  499.  
  500. {block:Photo}
  501. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}
  502. {block:Caption}{Caption}{/block:Caption}
  503. {/block:Photo}
  504.  
  505. {block:Photoset}
  506. {Photoset-400}
  507. {block:Caption}{Caption}{/block:Caption}
  508. {/block:Photoset}
  509.  
  510. {block:Video}
  511. {Video-400}
  512. {block:Caption}{Caption}{/block:Caption}
  513. {/block:Video}
  514.  
  515. {block:Audio}
  516. <div class="audiop">
  517. <div class="playerb"><div class="player">
  518. {AudioPlayerWhite}
  519. </div></div>
  520. <img class="albumart" img src="http://i.imgur.com/q1W8vCH.png"/>
  521. {block:AlbumArt}
  522. <img class="albumart" src="{AlbumArtURL}" />
  523. {/block:AlbumArt}
  524. <div class="audioinfo">
  525. {block:TrackName}<div id="song">{TrackName}</div>{/block:TrackName}
  526. {block:Artist}{Artist}{/block:Artist}
  527. {block:Album}— {Album}{/block:Album}
  528. {block:Playcount}<br>PLAYED: {Playcount} times<br>{/block:Playcount}</div>
  529. {block:Caption}{Caption}{/block:Caption}</div>
  530. {/block:Audio}
  531.  
  532. {block:Answer}
  533. <div id="question">{Question}
  534. </div>
  535. <div id="asker">
  536. asked by <b><big>{Asker}</big></b></div>
  537. <blockquote>{Answer}</blockquote>
  538. {/block:Answer}
  539.  
  540. {block:Date}
  541. <div id="permalink">
  542. <a href="{Permalink}" >{12Hour}:{Minutes} {AmPm}</a>{block:NoteCount}<a href="{Permalink}"> + {NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}"> / via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}"> / source</a>{/block:ContentSource}{/block:RebloggedFrom}
  543. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag} </a>{/block:Tags}</div>{/block:HasTags}
  544. </div>
  545. {/block:Date}
  546.  
  547.  
  548.  
  549. </div>
  550.  
  551.  
  552. {block:PostNotes}
  553. <div class="pagenotes">
  554. {PostNotes}
  555. </div>
  556. {/block:PostNotes}
  557.  
  558.  
  559. {/block:Posts}
  560.  
  561. <div id="pagination">
  562. {block:Pagination}
  563. {block:PreviousPage}
  564. <a href="{PreviousPage}">&larr; previous </a>
  565. {/block:PreviousPage}
  566.  
  567.  
  568. {block:NextPage}
  569. <a href="{NextPage}">next &rarr;</a>
  570. {/block:NextPage}
  571. {/block:Pagination}
  572.  
  573. <div id="mclahei"><a href="http://mclahei.tumblr.com">© theme by júlia</a></div>
  574.  
  575. </div>
  576.  
  577.  
  578. </div>
  579.  
  580. </div>
  581.  
  582.  
  583. {block:ContentSource}
  584. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  585. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  586. {/block:SourceLogo}
  587. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  588. {/block:ContentSource}
  589.  
  590. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement