Advertisement
hellmouths

theme #12: allison

Apr 7th, 2013
9,215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.73 KB | None | 0 0
  1. <!--
  2.  
  3. theme #12 by hellmouths (tumblr)
  4. don't steal, restribute or copy
  5.  
  6. -->
  7.  
  8.  
  9. <html>
  10. <head>
  11.  
  12. <title>{Title}</title>
  13. <link rel="shortcut icon" href="{Favicon}">
  14. <link rel="altertnate" type="application/rss+xml" href="{RSS}">
  15.  
  16. <!-- IMAGES -->
  17. <meta name="image:sidebar" content="http://static.tumblr.com/747hq6z/XuNmktxin/untitled-4.png">
  18. <meta name="image:background" content="">
  19.  
  20. <!-- CUSTOM COLORS -->
  21. <meta name="color: background" content="#ffffff">
  22. <meta name="color: text" content="#000000">
  23. <meta name="color: link" content="#333333">
  24. <meta name="color: hover" content="#999999">
  25. <meta name="color: scrollbar" content="#999999">
  26. <meta name="color: border" content="#f0f0f0">
  27. <meta name="color: blockquote border" content="#f0f0f0">
  28. <meta name="color: sidebar" content="#000000">
  29. <meta name="color: description" content="#ffffff">
  30. <meta name="color: navigate links" content="#e7e7e7">
  31. <meta name="color: navigate hover" content="#f0f0f0">
  32. <meta name="color: blog title" content="#000000">
  33. <meta name="color: post date" content="#555555">
  34. <meta name="color: pagination" content="#000000">
  35. <meta name="color: pagination background" content="#000000">
  36.  
  37. <!-- VARIOUS -->
  38. <meta name="if:Hover Sidebar for Description" content="1">
  39.  
  40. <meta name="text:Sidebar Width" content="380">
  41.  
  42. <!-- LINKS -->
  43. <meta name="text:Link 0 URL" content="/">
  44. <meta name="text:Link 0" content="home">
  45. <meta name="text:Link 1 URL" content="/ask">
  46. <meta name="text:Link 1" content="ask">
  47. <meta name="text:Link 2 URL" content="/archive">
  48. <meta name="text:Link 2" content="archive">
  49. <meta name="text:Link 3 URL" content="#?w=500">
  50. <meta name="text:Link 3" content="links">
  51. <meta name="text:Link 4 URL" content="">
  52. <meta name="text:Link 4" content="">
  53. <meta name="text:Link 5 URL" content="">
  54. <meta name="text:Link 5" content="">
  55. <meta name="text:Link 6 URL" content="">
  56. <meta name="text:Link 6" content="">
  57. <meta name="text:Link 7 URL" content="">
  58. <meta name="text:Link 7" content="">
  59. <meta name="text:Link 8 URL" content="">
  60. <meta name="text:Link 8" content="">
  61. <meta name="text:Link 9 URL" content="">
  62. <meta name="text:Link 9" content="">
  63.  
  64. <link href='http://fonts.googleapis.com/css?family=Petit+Formal+Script' rel='stylesheet' type='text/css'>
  65. <link href='http://fonts.googleapis.com/css?family=Playfair+Display:400,700,900,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
  66.  
  67. </head>
  68. <style>
  69.  
  70.  
  71. /* SCROLLBAR */
  72.  
  73. ::-webkit-scrollbar {width:3px; height:auto; background:transparent;}
  74. ::-webkit-scrollbar-corner {background:{color: scrollbar};}
  75. ::-webkit-scrollbar-thumb:vertical {background:{color: scrollbar};}
  76. ::-webkit-scrollbar-thumb:horizontal {background:{color: scrollbar};}
  77.  
  78.  
  79.  
  80. /*------- Body, Links, Main, etc -------*/
  81.  
  82. body {
  83. background:{color: background} url('{image:background}') repeat;
  84. color:{color: text};
  85. font-family: times;
  86. font-size: 10px;
  87. line-height: 150%;
  88. padding:0;
  89. margin:0; }
  90.  
  91.  
  92. a, a:active, a:visited {
  93. text-decoration: none;
  94. color:{color: link};
  95. -webkit-transition: all 0.3s ease-out;
  96. -o-transition: all 0.3s ease-out;
  97. -webkit-transition: all 0.3s ease-out;
  98. -moz-transition: all 0.3s ease-out; }
  99.  
  100. a:hover {
  101. color:{color: hover};
  102. -webkit-transition: all 0.3s ease-out;
  103. -o-transition: all 0.3s ease-out;
  104. -webkit-transition: all 0.3s ease-out;
  105. -moz-transition: all 0.3s ease-out;
  106. }
  107.  
  108. small { font-size:10px; }
  109.  
  110.  
  111. blockquote {
  112. margin-left:10px;
  113. padding-left:10px;
  114. border-left:3px solid {color: blockquote border}; }
  115.  
  116. blockquote img {
  117. max-width:400px; }
  118.  
  119.  
  120.  
  121. .main-wrap {
  122. width: 900px;
  123. margin:auto; }
  124.  
  125.  
  126. /*------- Sidebar, Description, Links -------*/
  127.  
  128. #sidebar {
  129. position:fixed;
  130. width:{text:Sidebar Width}px;
  131. left:130px;
  132. height:100%;
  133. background: url('{image:sidebar}') top center repeat;
  134. }
  135.  
  136.  
  137. .cover {
  138. width:100%;
  139. height:100%;
  140. position: absolute;
  141. {block:ifHoverSidebarforDescription}
  142. opacity: 0;
  143. {/block:ifHoverSidebarforDescription}
  144. -webkit-transition: all 0.3s ease-out;
  145. -o-transition: all 0.3s ease-out;
  146. -webkit-transition: all 0.3s ease-out;
  147. -moz-transition: all 0.3s ease-out;
  148. }
  149.  
  150. .about {
  151. width:210px;
  152. padding:2px;
  153. margin:100px auto 0 auto;
  154. }
  155.  
  156. .desc {
  157. width:150px;
  158. margin:auto;
  159. background-color: {color: description};
  160. text-align: justify;
  161. padding:30px; }
  162.  
  163.  
  164. .letter {
  165. display:inline-block;
  166. font-family:petit formal script;
  167. font-size:18px;
  168. padding-bottom: 10px;
  169. float: right; }
  170.  
  171.  
  172. .allison {
  173. display: inline-block;
  174. line-height: 120%;
  175. }
  176.  
  177.  
  178.  
  179. .links {
  180. text-align: center;
  181. margin-top:15px;
  182. padding-bottom:3px;
  183. border-bottom:1px double {color: border}; }
  184.  
  185. .links a {
  186. padding:0 2px;
  187. font-family: times;
  188. font-size:7px;
  189. text-transform: uppercase;
  190. letter-spacing: 1px; }
  191.  
  192. .links a:hover { font-style: italic; font-weight: bold; }
  193.  
  194.  
  195.  
  196. #sidebar:hover .cover { opacity:1;
  197. -webkit-transition: all 0.3s ease-out;
  198. -o-transition: all 0.3s ease-out;
  199. -webkit-transition: all 0.3s ease-out;
  200. -moz-transition: all 0.3s ease-out; }
  201.  
  202.  
  203. #pagination {
  204. position: fixed;
  205. width:120px;
  206. margin-top:50%;
  207. text-align: right;
  208. }
  209.  
  210. #pagination a {
  211. font-size: 9px;
  212. display:block;
  213. color:{color: pagination};
  214. width:120px;
  215. padding-right:10px;
  216. font-family: playfair display;
  217. }
  218.  
  219. #pagination a:hover {
  220. background-color: {color: pagination background};
  221. color:white;
  222. }
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229. /* POSTS */
  230.  
  231.  
  232. #entry {
  233. float:right;
  234. margin-top:80px; }
  235.  
  236. .post {
  237. width:500px;
  238. background-color:transparent;
  239. margin-bottom:80px;
  240. overflow:hidden; }
  241.  
  242. .post blockquote img {
  243. width:500px;
  244. max-height:400px; }
  245.  
  246. .title {
  247. font-size:15px;
  248. font-family:{text: Blog Title Font};
  249. margin:5px 0 15px 5px;
  250. font-style:italic;
  251. letter-spacing:1px;}
  252.  
  253. .quote {
  254. font-size:17px;
  255. font-style:italic;
  256. font-family:Petit Formal Script;
  257. text-align:center; }
  258.  
  259. .source {
  260. width:400px;
  261. float:center;
  262. margin:auto;
  263. margin-top:10px;
  264. padding-top:10px;
  265. text-align:center;
  266. border-top:3px double {color: border}; }
  267.  
  268.  
  269.  
  270.  
  271.  
  272. /* AUDIO POSTS */
  273.  
  274. .aud {
  275. width:100%;
  276. background-color:#f3f3f3;
  277. background-image: url('http://static.tumblr.com/747hq6z/un0mk8g22/subtle_grunge.png');
  278. background-attachment:repeat;
  279. background-color:; }
  280.  
  281. .aud2{
  282. height:26px;
  283. width:6.5%;
  284. margin-left: 45%;
  285. overflow:hidden;
  286. opacity:.75;}
  287.  
  288.  
  289.  
  290.  
  291. /* ASKS */
  292.  
  293. .ques { display:block; margin-bottom: 30px; }
  294.  
  295.  
  296.  
  297.  
  298. .answer { display:block; margin-top:20px; }
  299.  
  300.  
  301. .ques asker {
  302. font-family: petit formal script;
  303. font-size:19px;
  304. display:block;
  305. margin-top:5px;
  306. padding:5px;
  307. text-transform: lowercase;
  308. color: #757575; }
  309.  
  310. .ques asker a { color: ; }
  311.  
  312. .zach { padding:2px 0 5px 0; border-bottom: 1px solid #efefef; }
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319. /* DATE, TAGS, NOTES */
  320.  
  321. .tags {
  322. margin:15px 0;
  323. background-color:;
  324. background-image: url('');
  325. padding: 7px 0px;
  326. max-width: 100%;
  327. font-style:italic;
  328. text-transform: lowercase;
  329. }
  330.  
  331. .date {
  332. text-transform:uppercase;
  333. letter-spacing:1px;
  334. font-style:normal;
  335. font-size:8px; }
  336.  
  337.  
  338.  
  339. /* POP UP */
  340.  
  341.  
  342. #fade {
  343. display: none;
  344. background: #000;
  345. position: fixed;
  346. left: 0;
  347. top: 0;
  348. width: 100%;
  349. height: 100%;
  350. opacity: .80;
  351. z-index: 9999;
  352. }
  353.  
  354. .popup_block{
  355. display: none;
  356. background: #FFFFFF;
  357. padding: 20px;
  358. float: left;
  359. line-height:150%;
  360. font-size:10px;
  361. position: fixed;
  362. top: 50%;
  363. left: 50%;
  364. z-index: 99999;
  365. }
  366.  
  367. img.btn_close {
  368. float: right;
  369. margin: -55px -55px 0 0;
  370. }
  371.  
  372. *html #fade {
  373. position: absolute;
  374. }
  375.  
  376. *html .popup_block {
  377. position: absolute;
  378. }
  379.  
  380. #navigate { text-align: center; }
  381.  
  382. #navigate a {
  383. display:inline-block;
  384. background-color: {color: navigate links};
  385. padding:10px 0;
  386. width:160px;
  387. font-size: 10px;
  388. font-family:times;
  389. margin:3px 1px;
  390. text-align:center;
  391. text-transform:uppercase;
  392. }
  393.  
  394. #navigate a:hover {
  395. background-color: {color: navigate hover}; }
  396.  
  397.  
  398. /* CREDIT */
  399.  
  400. .credit {
  401. float:left;
  402. right: 10px;
  403. padding:5px;
  404. font-size: 8px;
  405. background-color:transparent;
  406. border:1px solid {color: border};
  407. text-transform:uppercase;
  408. position: fixed;
  409. bottom: 10px;}
  410.  
  411.  
  412. </style>
  413. <body>
  414.  
  415. <div class="credit"><a href="http://hellmouths.tumblr.com/">HM THEMES</a></div>
  416.  
  417. <div id="pagination">
  418. {block:Pagination}
  419. {block:NextPage}
  420. <a href="{NextPage}">forward</a>
  421. {/block:NextPage}
  422. {block:PreviousPage}
  423. <a href="{PreviousPage}">backward</a>
  424. {/block:PreviousPage}
  425. {/block:Pagination}
  426. </div>
  427.  
  428.  
  429.  
  430. <div id="sidebar">
  431. <div class="cover">
  432. <div class="about">
  433. <div class="desc">
  434. <div class="letter">&mdash; {Title}</div>
  435. <div class="allison">{Description}</div>
  436.  
  437. <div class="links">
  438. <a href="{text:Link 0 URL}">{text:Link 0}</a>
  439. <a href="{text:Link 1 URL}">{text:Link 1}</a>
  440. <a href="{text:Link 2 URL}">{text:Link 2}</a>
  441. <a href="{text:Link 3 URL}" rel="popup_links" class="poplight">{text:Link 3}</a>
  442. </div>
  443. </div>
  444. </div>
  445. </div>
  446. </div>
  447.  
  448.  
  449. <div class="main-wrap">
  450.  
  451. <div id="entry">
  452.  
  453. {block:Posts}
  454.  
  455.  
  456.  
  457. <div class="post">
  458.  
  459.  
  460.  
  461.  
  462. {block:Text}
  463. {block:Title}
  464. <div class="title"><a href="{Permalink}">{Title}</a></div>
  465. {/block:Title}
  466. {Body}
  467. {/block:Text}
  468.  
  469. {block:Photo}
  470. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  471. {block:Caption}
  472. <div class="caption">{Caption}</div>
  473. {/block:Caption}
  474. {/block:Photo}
  475.  
  476. {block:Photoset}
  477. <center>{Photoset-500}</center>
  478. {block:Caption}
  479. <div class="caption">{Caption}</div>
  480. {/block:Caption}
  481. {/block:Photoset}
  482.  
  483. {block:Quote}
  484. <div class="quote">"{Quote}"</div>
  485. {block:Source}
  486. <div class="source">- {Source}</div>
  487. {/block:Source}
  488. {/block:Quote}
  489.  
  490. {block:Link}
  491. <center><div class="title"><a href="{URL}" class="link" {Target}>{Name}</a></div></center>
  492. {block:Description}
  493. {Description}
  494. {/block:Description}
  495. {/block:Link}
  496.  
  497. {block:Chat}{block:Title}<div class="title">{Title}</div>{/block:Title}<p>
  498. <div style="margin:-10px 0px;">
  499. {block:Lines}<div style="padding:7px 3px; border-bottom: 1px solid {color: border}; ">{block:Label}<span style="color: {color: link}; text-transform: uppercase; letter-spacing: 1px;">{Label}</span>{/block:Label}&nbsp;{Line}<br></div>{/block:Lines}</div><br />{/block:Chat}
  500.  
  501. {block:Video}
  502. <center>{Video-500}</center>
  503. {block:Caption}
  504. {Caption}
  505. {/block:Caption}
  506. {/block:Video}
  507.  
  508. {block:Answer}
  509. <div class="ques">
  510.  
  511. <asker>{Asker}:</asker><div class="zach">{Question}</div>
  512.  
  513. <div class="answer">{Answer}</div>
  514.  
  515. </div>
  516. {/block:Answer}
  517.  
  518.  
  519.  
  520. {block:Audio}
  521. <div style="border-top:1px solid #fff;"></div>
  522. <div class="aud"><div class="aud2"><center>{AudioPlayerWhite}</center></div></div><div style="border-top:1px solid #fff;"></div>{block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
  523. {/block:Audio}
  524.  
  525.  
  526.  
  527.  
  528. {block:IndexPage}
  529. <div class="tags">
  530. <div class="date">
  531. <a href="{Permalink}">{Month} {DayOfMonth}{DayOfMonthSuffix}</a>
  532. {block:NoteCount} ∙ <a href="{Permalink}">{NoteCount}</a>{/block:NoteCount}
  533. </div>
  534. {block:HasTags}
  535. {block:Tags}<a href="{TagURL}">{Tag}</a>&nbsp;&nbsp; {/block:Tags}
  536. {/block:HasTags}
  537. </div>
  538. {/block:IndexPage}
  539.  
  540.  
  541. {block:PermalinkPage}
  542. <div style="text-align:right;">
  543. <div class="tags">
  544. <div class="date">
  545. <a href="{Permalink}">{Month} {DayOfMonth}{DayOfMonthSuffix}</a>
  546. {block:NoteCount} ∙ <a href="{Permalink}">{NoteCount}</a>{/block:NoteCount}<br>
  547. {block:ContentSource}
  548. <a href="{SourceURL}">originally</a> {block:RebloggedFrom}/ <a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}{/block:ContentSource}</div>
  549. {block:HasTags}tagged: <i>
  550. {block:Tags}<a href="{TagURL}">{Tag}</a>&nbsp; {/block:Tags} </i>
  551. {/block:HasTags}
  552. </div></div>
  553.  
  554.  
  555. {/block:PermalinkPage}
  556.  
  557. {block:PostNotes}
  558. <div style="height:30px; width:100%; "></div>
  559. {PostNotes}
  560. {/block:PostNotes}
  561.  
  562.  
  563.  
  564. {block:ContentSource}<!-- <div class="from">
  565. <a href="{SourceURL}">originally</a> {block:RebloggedFrom}/ <a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}</div> -->{/block:ContentSource}
  566.  
  567.  
  568. </div>
  569.  
  570. {/block:Posts}
  571.  
  572.  
  573.  
  574. </div>
  575.  
  576. </div>
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584. <!------ POP UP NAVIGATION ----->
  585.  
  586. <div id="popup_links" class="popup_block">
  587.  
  588. <div id="navigate">
  589.  
  590. <a href="{text:Link 4 URL}">{text:Link 4}</a>
  591. <a href="{text:Link 5 URL}">{text:Link 5}</a>
  592. <a href="{text:Link 6 URL}">{text:Link 6}</a><br>
  593.  
  594. <a href="{text:Link 7 URL}">{text:Link 7}</a>
  595. <a href="{text:Link 8 URL}">{text:Link 8}</a>
  596. <a href="{text:Link 9 URL}">{text:Link 9}</a>
  597.  
  598. </div>
  599.  
  600.  
  601. </div>
  602.  
  603.  
  604.  
  605. <!------ POP UP JAVASCRIPT ------->
  606. <script type="text/javascript"
  607. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  608. <script>
  609.  
  610. $(document).ready(function() {
  611. //
  612.  
  613. //When you click on a link with class of poplight and the href starts with a #
  614.  
  615. $('a.poplight[href^=#]').click(function() {
  616. var popID = $(this).attr('rel'); //Get Popup Name
  617. var popURL = $(this).attr('href'); //Get Popup href to define size
  618.  
  619.  
  620. //Pull Query & Variables from href URL
  621. var query= popURL.split('?');
  622. var dim= query[1].split('&');
  623. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  624.  
  625. //Fade in the Popup and add close button
  626.  
  627. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('');
  628.  
  629. //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
  630.  
  631. var popMargTop = ($('#' + popID).height() + 80) / 2;
  632. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  633.  
  634. //Apply Margin to Popup
  635. $('#' + popID).css({
  636. 'margin-top' : -popMargTop,
  637. 'margin-left' : -popMargLeft
  638. });
  639.  
  640. //Fade in Background
  641. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  642. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  643. return false;
  644. });
  645.  
  646. //Close Popups and Fade Layer
  647. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  648. $('#fade , .popup_block').fadeOut(function() {
  649. $('#fade, a.close').remove(); //fade them both out
  650. });
  651. return false;
  652. });
  653. });
  654.  
  655. </script>
  656.  
  657.  
  658.  
  659. </body>
  660.  
  661. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement