ahu419

Theme 004: Spontaneous Combustion

Jun 23rd, 2012
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.61 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3.  
  4. <html>
  5.  
  6. <head>
  7.  
  8. <!--Theme 004 of Alice (gloriously-pond @ tumblr.com).
  9.  
  10. Just use common sense, which includes not removing the credit, using as a base code, or stealing parts of the code. If you want to know how to do something feel free to learn from this code or just plain out drop an ask. Also, I'm happy to answer any questions you have about this theme.
  11.  
  12. Features of this theme include six customizable links, Amatic SC Bold font, and the usual, like webkit scrollbars, a highly customizable color scheme, a sidebar picture, yada yada yada.
  13.  
  14. Warnings: Please have six links, or else the theme will look weird.
  15.  
  16. Default Settings-->
  17.  
  18. <meta name="color:background" content="#FFFFFF" />
  19. <meta name="color:permalink" content="#022C53" />
  20. <meta name="color:post" content="#FFFFFF" />
  21. <meta name="color:sidebar" content="#640909" />
  22. <meta name="color:link 1 background" content="#fdcf78" />
  23. <meta name="color:link 2 background" content="#a75757" />
  24. <meta name="color:link 3 background" content="#d55409" />
  25. <meta name="color:post info background" content="#e3e8eb" />
  26. <meta name="color:quote" content="#d3c09c" />
  27. <meta name="color:links background" content="#f0b27d" />
  28.  
  29. <meta name="color:title" content="#641815" />
  30. <meta name="color:text" content="#943617" />
  31. <meta name="color:link" content="#5c86a8" />
  32. <meta name="color:link hover" content="#008EAA" />
  33.  
  34. <meta name="font:title" content="georgia" />
  35. <meta name="font:body" content="calibri" />
  36.  
  37. <meta name="image:sidebar" content="" />
  38. <meta name="image:background" content="" />
  39.  
  40. <meta name="text:Link1" content="/" />
  41. <meta name="text:Link1 Title" content="link 1" />
  42. <meta name="text:Link2" content="/" />
  43. <meta name="text:Link2 Title" content="link 2" />
  44. <meta name="text:Link3" content="/" />
  45. <meta name="text:Link3 Title" content="link 3" />
  46. <meta name="text:Link4" content="/" />
  47. <meta name="text:Link4 Title" content="link 4" />
  48. <meta name="text:Link5" content="/" />
  49. <meta name="text:Link5 Title" content="link 5" />
  50. <meta name="text:Link6" content="/" />
  51. <meta name="text:Link6 Title" content="link 5" />
  52.  
  53. <meta name="color:link1" content="#307D7E" />
  54. <meta name="color:link2" content="#B7E4AC" />
  55. <meta name="color:link3" content="#D5FFCA" />
  56.  
  57.  
  58. <title>{Title}</title>
  59.  
  60. <link href='http://fonts.googleapis.com/css?family=Amatic+SC:700' rel='stylesheet' type='text/css'>
  61.  
  62.  
  63. <link rel="shortcut icon" href="{Favicon}"/>
  64. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  65. {block:Description} <meta name="description" content="{MetaDescription}"/> {/block:Description}
  66.  
  67.  
  68. <style type="text/css">
  69.  
  70.  
  71.  
  72.  
  73. body {
  74. background-color:{color:background};
  75. background-attachment:fixed;
  76. background-image: url('{image:Background}');
  77. font-family:calibri;
  78. font-size:11px;
  79. color:{color:text};
  80. text-wrap:normal
  81. word-wrap:break-word;
  82. margin:0px 0px;
  83. height:100%;
  84. top:0px;
  85. left:0px;
  86. bottom:0px;
  87. right:10px;
  88. overflow-y:scroll;
  89. overflow-x:hidden;
  90. }
  91.  
  92. html {
  93. overflow-y:auto;
  94. background-color:transparent;
  95. }
  96.  
  97. ::-webkit-scrollbar {
  98. width:10px;
  99. height:auto;
  100. background:#FFFFFF;
  101. }
  102.  
  103. ::-webkit-scrollbar-corner {
  104. background:{color:sidebar};
  105. }
  106.  
  107. ::-webkit-scrollbar-thumb:vertical {
  108. background:{color:sidebar};
  109. }
  110.  
  111. ::-webkit-scrollbar-thumb:horizontal {
  112. background:{color:sidebar};
  113. }
  114.  
  115. a, a:active, a:visited{
  116. text-decoration:none;
  117. color:{color:link};
  118. }
  119.  
  120. a:hover{
  121. color:{color:link hover};
  122. border-bottom:1px solid {color:link};
  123. }
  124.  
  125. img {
  126. opacity:1;
  127. }
  128.  
  129. img:hover {
  130. border:none;
  131. }
  132.  
  133. #main {
  134. background-color:{color:background};
  135. background-attachment:fixed;
  136. background-image: url('{image:Background}');
  137. position:absolute;
  138. width:1250px;
  139. height:100%;
  140. top:0px;
  141. left:90px;
  142. }
  143.  
  144. #sidebar {
  145. background-color:{color:sidebar};
  146. text-align:center;
  147. position:fixed;
  148. top:0px;
  149. left:300px;
  150. width:180px;
  151. height:100%;
  152. font-family:{font:body};
  153. font-size:10.5px;
  154. padding:20px;
  155. }
  156.  
  157. #sidebar a {
  158. opacity:1;
  159. }
  160.  
  161. #sidebar a:hover {
  162. opacity:0.75;
  163. }
  164.  
  165. #simg img {
  166. width:180px;
  167. -webkit-transition: all 0.8s ease;
  168. }
  169.  
  170. #title a {
  171. font-family:'Amatic SC',calibri;
  172. font-size:30px;
  173. line-height:22px;
  174. display:block;
  175. text-align:center;
  176. padding:5px;
  177. letter-spacing:0px;
  178. background-color:transparent;
  179. color:{color:link};
  180. margin-top:130px;
  181. -webkit-transition:opacity 0.5s linear;
  182. opacity:1;
  183. -webkit-transition:all 0.5s ease-out;
  184. -moz-transition:all 0.5s ease-out;
  185. transition:all 0.5s ease-out;
  186. }
  187.  
  188. #title a:hover {
  189. background-color:transparent;
  190. color:{color:link hover};
  191. font-family:'Amatic SC', calibri;
  192. border:none;
  193. font-size:38px;
  194. -webkit-transition:
  195. opacity:0.7s linear;
  196. opacity:0.6;-webkit-transition:
  197. all 0.3s ease-out;
  198. -moz-transition:all 0.3s ease-out;
  199. transition:all 0.3s ease-out;
  200. }
  201.  
  202. #linkage a {
  203. width:50px;
  204. height:50px;
  205. font-family:{font:body};
  206. font-size:10px;
  207. line-height:40px;
  208. display:block;
  209. text-align:center;
  210. color:{color:link};
  211. padding:5px;
  212. letter-spacing:0px;
  213. border:none;
  214. }
  215.  
  216. .linkask {
  217. background-color:{color:link 1 background};
  218. color:{color:link};
  219. margin-left:60px;
  220. position:fixed;
  221. margin-top:0px;
  222. opacity:1;
  223. }
  224.  
  225. .linkask:hover {
  226. opacity:0.75;
  227. }
  228.  
  229. .linkarchive {
  230. background-color:{color:link 2 background};
  231. color:{color:link};
  232. margin-left:120px;
  233. position:fixed;
  234. margin-top:0px;
  235. opacity:1;
  236.  
  237. }
  238.  
  239. .linkarchive:hover {
  240. opacity:0.75;
  241. border-bottom:2px solid {color:post};
  242. }
  243.  
  244. .link1 {
  245. background-color:{color:link 3 background};
  246. color:{color:link};
  247. margin-left:180px;
  248. position:fixed;
  249. margin-top:0px;
  250. opacity:1;
  251. }
  252.  
  253. .link1:hover {
  254. opacity:0.75;
  255. }
  256.  
  257. .link2 {
  258. background-color:{color:link 3 background};
  259. color:{color:link};
  260. margin-left:60px;
  261. position:fixed;
  262. margin-top:60px;
  263. opacity:1;
  264.  
  265. }
  266.  
  267. .link2:hover {
  268. opacity:0.75;
  269. }
  270.  
  271. .link3 {
  272. background-color:{color:link 1 background};
  273. color:{color:link};
  274. margin-left:120px;
  275. position:fixed;
  276. margin-top:60px;
  277. opacity:1;
  278.  
  279. }
  280.  
  281. .link3:hover {
  282. opacity:0.75;
  283. }
  284.  
  285. .link4 {
  286. background-color:{color:link 2 background};
  287. color:{color:link};
  288. margin-left:180px;
  289. position:fixed;
  290. margin-top:60px;
  291. opacity:1;
  292.  
  293. }
  294.  
  295. .link4:hover {
  296. opacity:0.75;
  297. border-bottom:2px solid {color:post};
  298.  
  299. }
  300.  
  301. .link5 {
  302. background-color:{color:link 2 background};
  303. color:{color:link};
  304. margin-left:60px;
  305. position:fixed;
  306. margin-top:120px;
  307. opacity:1;
  308. }
  309.  
  310. .link5:hover {
  311. opacity:0.75;
  312. border-bottom:2px solid {color:post};
  313.  
  314. }
  315.  
  316. .link6 {
  317. background-color:{color:link 3 background};
  318. color:color:link;
  319. margin-left:120px;
  320. position:fixed;
  321. margin-top:120px;
  322. opacity:1;
  323. }
  324.  
  325. .link6:hover {
  326. opacity:0.75;
  327. }
  328.  
  329. .linkcredit {
  330. background-color:{color:link 1 background};
  331. color:{color:link};
  332. margin-left:180px;
  333. position:fixed;
  334. margin-top:120px;
  335. opacity:1;
  336. }
  337.  
  338. .linkcredit:hover {
  339. opacity:0.75;
  340. }
  341.  
  342. #credit a {
  343. width:50px;
  344. height:50px;
  345. font-family:{font:body};
  346. font-size:10px;
  347. line-height:40px;
  348. display:block;
  349. text-align:center;
  350. color:{color:link};
  351. background-color:{color:sidebar};
  352. padding:5px;
  353. letter-spacing:0px;
  354. -webkit-transition:opacity 0.5s linear;
  355. opacity:1;
  356. -webkit-transition:all 0.5s ease-out;
  357. -moz-transition:all 0.5s ease-out;
  358. transition:all 0.5s ease-out;
  359. }
  360.  
  361. #dash {
  362. left:0px;
  363. padding:0px;
  364. width:300px;
  365. background-color:{color:links background};
  366. height:100%;
  367. position:fixed;
  368. text-align:center;
  369. }
  370.  
  371. #dashbkg img {
  372. max-width:280px;
  373. bottom:0px;
  374. position:fixed;
  375. }
  376.  
  377. #question {
  378. font-family:{font:text};
  379. letter-spacing:1px;
  380. padding:9px;
  381. border-bottom:1px solid {color:sidebar};
  382. text-transform:uppercase;
  383. }
  384.  
  385. #asker {
  386. letter-spacing:1px;
  387. font-family:{font:title};
  388. font-size:11;
  389. margin-top:10px;
  390. text-transform:italic;
  391. }
  392.  
  393. #content {
  394. position:absolute;
  395. height:auto;
  396. width:590px;
  397. left:460px;
  398. font-family:{font:body};
  399. margin-top:0px;
  400. margin-bottom:10px;
  401. }
  402.  
  403. #post {
  404. padding:10px 20px 25px 10px;
  405. margin-left:20px;
  406. margin-right:20px;
  407. margin-top:45px;
  408. background-color:{color:post};
  409. font-size:11px;
  410. font-family:{font:body};
  411. }
  412.  
  413. .tagging {
  414. font-family:{font:body};
  415. position:relative;
  416. padding:0px 5px 0px;
  417. display:block;
  418. color:#000000;
  419. margin-top:-7px;
  420. }
  421.  
  422. h1{
  423. font-size:18px;
  424. font-weight:700;
  425. color:{color:title};
  426. }
  427.  
  428. .quote {
  429. font-size:14px;
  430. font-style:italic;
  431. font-family:{font:title};
  432. }
  433.  
  434. .quotesource {
  435. font-family:{font:body};
  436. text-transform:uppercase;
  437. font-size:9px;
  438. height:15px;
  439. padding:2px;
  440. background-color:{color:quote};
  441. text-align:right;
  442. }
  443.  
  444. .user_1 .label {
  445. color:{color:link};
  446. font-weight:bold;
  447. }
  448.  
  449. .user_2 .label {
  450. color:{color:text};
  451. font-weight:bold
  452. }
  453. .user_3 .label {
  454. color:{color:link};
  455. font-weight:bold;
  456. }
  457.  
  458. .user_4 .label {
  459. color:{color:text};
  460. font-weight:bold
  461. }
  462. .user_5 .label {
  463. color:{color:link};
  464. font-weight:bold;
  465. }
  466.  
  467. .user_6 .label {
  468. color:{color:text};
  469. font-weight:bold
  470. }
  471.  
  472. ul.chat, .chat ol, .chat li {
  473. list-style:none;
  474. margin:0px;
  475. padding:0px;
  476. }
  477.  
  478. #post:hover #permalink {
  479. border-left:50px solid {color:sidebar};
  480. }
  481.  
  482. #permalink {
  483. margin-top:5px;
  484. margin-bottom:25px;
  485. margin-left:3px;
  486. border-left:10px solid {color:sidebar};
  487. line-height:100%;
  488. font-family:{font:body};
  489. font-size:11px;
  490. text-align:left;
  491. letter-spacing:1px;
  492. -webkit-transition-duration:1s;
  493. -moz-transition-duration:1s;
  494. position:absolute;
  495. padding-left:3px;
  496. }
  497.  
  498. #note {
  499. text-align:left;
  500. text-transform:uppercase;
  501. font:14px {font:title};
  502.  
  503. }
  504.  
  505. #pagination a {
  506. font-family:{font:title};
  507. text-align:center;
  508. font-size:60px;
  509. letter-spacing:1px;
  510. opacity:1;
  511. margin-top:100px;
  512. border:none;
  513. }
  514.  
  515. #notes {
  516. font-weight:normal;
  517. }
  518.  
  519. #notes li {
  520. padding-bottom:0.5em;
  521. }
  522.  
  523. #notes li img.avatar {
  524. vertical-align:-4px;
  525. margin-right:5px;
  526. width:16px;
  527. height:16px;
  528. border-radius:8px;
  529. }
  530.  
  531. #division {
  532. border-top:3px dotted {color:sidebar};
  533. }
  534.  
  535. blockquote {
  536. border-left:2px solid {color:link};
  537. padding-left:3px;
  538. margin:0px 2px 0px 10px;
  539. }
  540.  
  541. #audentryprob {
  542. display:block;
  543. height:auto;
  544. min-height:135px;
  545. position:relative;
  546. }
  547.  
  548. .audentry {
  549. position:relative;
  550. width:490px;
  551. background-color:white;
  552. padding:5px;
  553. min-height:135px;
  554. {block:IndexPage}overflow:hidden;{/block:IndexPage};
  555. }
  556.  
  557. .audioplayersquare {
  558. position:absolute;
  559. z-index:3;
  560. top:0px;
  561. left:0px;
  562. background:white;
  563. opacity:0.7;
  564. filter:alpha(opacity=70);
  565. }
  566.  
  567.  
  568. .audioplayer {
  569. width:20px;
  570. height:30px;
  571. overflow:hidden;
  572. margin:15px 24px 15px 16px;
  573. }
  574.  
  575. .audiodata {
  576. text-transform:uppercase;
  577. height:15px;
  578. }
  579.  
  580. .audiocaption {
  581. color:{color:link};
  582. }
  583.  
  584. </style>
  585. </head>
  586.  
  587.  
  588. <body>
  589. <div id="main">
  590.  
  591. <div id="sidebar">
  592.  
  593. <div id="simg">
  594. <img src="{image:sidebar}"></div>
  595. <br>
  596. {Description}<br>
  597. </div>
  598.  
  599.  
  600. <div id="dash">
  601. <div id="title"><a href="/">{Title}</a></div>
  602. <div id="linkage">
  603. <div class="linkask">
  604. <a href="/ask">ask</a></div>
  605. <div class="link1">
  606. {block:ifLink1}<a href="{text:Link1}">{text:Link1 Title}</a>{/block:ifLink1}</div>
  607. <div class="link2">
  608. {block:ifLink2}<a href="{text:Link2}">{text:Link2 Title}</a>{/block:ifLink2}</div>
  609. <div class="link3">
  610. {block:ifLink3}<a href="{text:Link3}">{text:Link3 Title}</a>{/block:ifLink3}</div>
  611. <div class="link4">
  612. {block:ifLink4}<a href="{text:Link4}">{text:Link4 Title}</a>{/block:ifLink4}</div>
  613. <div class="link5">
  614. {block:ifLink5}<a href="{text:Link5}">{text:Link5 Title}</a>{/block:ifLink5}</div>
  615. <div class="link6">
  616. {block:ifLink6}<a href="{text:Link6}">{text:Link6 Title}</a>{/block:ifLink6}</div>
  617. <div class="linkcredit">
  618. <a href="/mythemes">theme</a></div>
  619. <div class="linkarchive">
  620. <a href="/archive">archive</a></div></div><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  621. <div id="pagination">{block:PreviousPage}<a href="{PreviousPage}">-</a>
  622. {/block:PreviousPage}{block:NextPage} <a href="{NextPage}">+</a>{/block:NextPage}</div>
  623. </div>
  624.  
  625. <div id="content">
  626. {block:Posts}
  627.  
  628. <div id="post">
  629.  
  630. {block:Text}
  631. {block:Title}
  632. <h1><a href="{Permalink}">{Title}</a></h1>
  633. {/block:Title}
  634. {Body}
  635. {/block:Text}
  636.  
  637. {block:Photo}
  638. {block:Title}
  639. <h1><a href="{Permalink}">{Title}</a></h1>
  640. {/block:Title}
  641. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  642. {block:Caption}
  643. <div class="caption">{Caption}</div>
  644. {/block:Caption}
  645. {/block:Photo}
  646.  
  647. {block:Photoset}
  648. <center>{Photoset-500}</center>
  649. {block:Caption}
  650. <div class="caption">{Caption}</div>
  651. {/block:Caption}
  652. {/block:Photoset}
  653.  
  654. {block:Quote}
  655. {block:Title}
  656. <h1><a href="{Permalink}">{Title}</a></h1>
  657. {/block:Title}
  658. <div class="quote">"{Quote}"</div>
  659. {block:Source}<br>
  660. <div class="quotesource">-<b> {Source}</b></div>
  661. {/block:Source}
  662. {/block:Quote}{block:Link}
  663. <center><h1><a href="{URL}" class="link" {Target}>{Name}</a></h1></center>
  664. {block:Description}
  665. <div class="description">{Description}</div>
  666. {/block:Description}
  667. {/block:Link}
  668. {block:Chat}
  669. {block:Title}
  670. <h1><a href="{Permalink}">{Title}</a></h1>
  671. {/block:Title}
  672. <ul class="chat">
  673. {block:Lines}
  674. <li class="user_{UserNumber}">
  675. {block:Label}
  676. <span class="label">
  677. {Label}
  678. </span>
  679. {/block:Label}
  680. &nbsp;{Line}</li>
  681. {/block:Lines}
  682. </ul>{/block:Chat}
  683. {block:Answer}
  684.  
  685. <div id="asker"><img src="{AskerPortraitURL-30}"> <b>{Asker}</b> said:</div>
  686. <div id="question">{Question}</div>
  687. {Answer}{/block:Answer}
  688.  
  689. {block:Video}
  690. {block:Title}
  691. <h1><a href="{Permalink}">{Title}</a></h1>
  692. {/block:Title}
  693. <center>{Video-500}</center>
  694. {block:Caption}
  695. <div class="caption">{Caption}</div>
  696. {/block:Caption}
  697. {/block:Video}
  698.  
  699. {block:Audio}
  700. <div id="audentryprob">
  701. <div class="audentry">
  702. <img src="http://static.tumblr.com/2lqtwbf/hLRlz1vgy/2.png" alt="default album art" width="120" height="120" style="position:absolute; vertical-align:middle;" />
  703. {block:AlbumArt}
  704. <img width="120" height="120" src="{AlbumArtURL}" style="position:absolute;" />
  705. {/block:AlbumArt}
  706.  
  707. <div class="audioplayersquare">
  708. <div class="audioplayer">{AudioPlayerWhite}</div></div>
  709. <table style="float:right;" width="360px" cellspacing="1px" cellpadding="0">
  710. {block:TrackName}
  711. <tr>
  712. <td class="audiodata"><b>Song: </b>{TrackName}</td>
  713. </tr>
  714. {/block:TrackName}
  715. {block:Artist}
  716. <tr>
  717. <td class="audiodata"><b>Artist: </b> {Artist}</td>
  718. </tr>
  719. {/block:Artist}
  720. {block:Album}
  721. <tr>
  722. <td class="audiodata"><b>Album: </b>{Album}</td>
  723. </tr>
  724. {/block:Album}
  725. <tr>
  726. <td class="audiodata">Played {FormattedPlayCount} times</td>
  727. </tr>
  728. {block:ExternalAudio}
  729. <tr>
  730. <td class="audiodata"><a href="{ExternalAudioURL}" target="_blank">Source</a></td>
  731. </tr>
  732. {/block:ExternalAudio}
  733. {block:Caption}<tr>
  734. <td class="audiocaption">{Caption}</td></tr>
  735. {/block:Caption}
  736. </table>
  737. </div>
  738. </div>{/block:Audio}
  739. <br>
  740.  
  741. <div id="division"></div>
  742. <br>
  743. <div class="tagging">{block:HasTags}{block:Tags}#<a href="/tagged/{Tag}">{Tag}</a> {/block:Tags}{/block:HasTags}</div>
  744. <div id="permalink">
  745. {block:Date}<a href="{Permalink}">{DayOfMonthWithZero}</a> {Month} '{ShortYear}{/block:Date}{block:NoteCount} + <a href="{Permalink}">{NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom} // via <a href="{ReblogParentURL}"><a href="{ReblogParentURL}">{ReblogParentName}</a> {/block:RebloggedFrom}
  746. {block:ContentSource} + © <a href="{SourceURL}">{SourceLink}</a>{/block:ContentSource}
  747. </div>
  748. </div>
  749. <br>
  750.  
  751.  
  752. {/block:Posts}
  753. <br><br>
  754. {block:PostNotes}<div id="notes">{PostNotes}{/block:PostNotes}
  755. </div>
  756. </div>
  757. </div>
  758. </div>
  759.  
  760. </body>
  761.  
  762. </html>
  763.  
  764. <!--Remember to leave credit intact.-->
Advertisement
Add Comment
Please, Sign In to add comment