Advertisement
gigathemes

Theme #1 by GIGATHEMES

Mar 4th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 13.74 KB | None | 0 0
  1. <!--
  2.  
  3.  
  4.                      [ T H E M E  # 1  B Y  G I G A T H E M E S ]
  5.                            [ GIGATHEMES.TUMBLR.COM ]
  6.  
  7.  
  8. -->
  9.  
  10.  
  11. <!DOCTYPE html>
  12. <html>
  13. <head>
  14.  
  15. <!-- META TAGS ------------------------------------------------------>
  16. <meta name="image:Middle Image" content="" />
  17. <meta name="image:Left Image" content="" />
  18. <meta name="image:Right Image" content="" />
  19.  
  20. <meta name="image:Corner Image" content="" />
  21. <meta name="text:Corner Image Size" content="150" />
  22. <meta name="text:Hover Text" content="" />
  23.  
  24. <meta name="color:Background" content="#fff" />
  25. <meta name="color:Header Background" content="#fff" />
  26. <meta name="color:Post Background" contet="#fff" />
  27. <meta name="color:Image Background" content="#f0f0f0" />
  28. <meta name="color:Title" content="#575757" />
  29. <meta name="color:Title Hover" content="#575757" />
  30. <meta name="color:Links" content="#b8b8b8" />
  31. <meta name="color:Links Hover" content="#868686" />
  32.  
  33. <meta name="font:Body Font" content="Futura" />
  34. <meta name="font:Links Font" content="Futura" />
  35. <meta name="font:Title Font" content="Quadrat"/>
  36. <meta name="text:Title Font Size" content="50" />
  37.  
  38. <meta name="text:Link 1" content="home" />
  39. <meta name="text:Link 1 url" content="/" />
  40. <meta name="text:Link 2" content="ask" />
  41. <meta name="text:Link 2 url" content="/ask" />
  42. <meta name="text:Link 3" content="link 3" />
  43. <meta name="text:Link 3 url" content="" />
  44. <meta name="text:Link 4" content="link 4" />
  45. <meta name="text:Link 4 url" content="" />
  46. <meta name="text:Link 5" content="link 5" />
  47. <meta name="text:Link 5 url" content="" />
  48. <meta name="text:Link 6" content="link 6" />
  49. <meta name="text:Link 6 url" content="" />
  50.  
  51. <meta name="text:Update 1" content="update 1" />
  52. <meta name="text:Update 1 Content" content="" />
  53. <meta name="text:Update 2" content="update 2" />
  54. <meta name="text:Update 2 Content" content="" />
  55. <meta name="" content="" />
  56.  
  57. <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
  58. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  59. <link rel="shortcut icon" href="{Favicon}" />
  60.  
  61. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  62. <script>
  63.     $(document).ready(function() {
  64.         $("#update1").click(function(){
  65.             $("#lupdate").toggleClass('hide');
  66.         });
  67.         $("#update2").click(function(){
  68.             $("#rupdate").toggleClass('hide');
  69.         });
  70.        
  71.        
  72.         $(window).scroll(function() {
  73.             var height = $(window).scrollTop();
  74.             if(height > 170) {
  75.                 $('#header').addClass('sticky')
  76.             }
  77.             if(height < 170)
  78.                $('#header').removeClass('sticky')
  79.            });
  80.        
  81.    });
  82. </script>
  83.  
  84. <!-- CSS ----------------------------------------------------------->
  85. <style type="text/css">
  86.  
  87. iframe#tumblr_controls {
  88.     margin-top: 200px;
  89.     position: absolute;
  90. }
  91.  
  92. body {
  93.     background-color: {color:Background};
  94.     font-family: {font:Body Font};
  95.     margin:0px;
  96.     padding:0px;
  97. }
  98.  
  99. /** HEADER CSS *****************************************************/
  100.  
  101. #header {
  102.     top: 0px;
  103.     left: 0px;
  104.     height: 200px;
  105.     width: 100%;
  106.     background-color: {color:Header Background};
  107.     font-size: 15px;
  108. }
  109.  
  110. #left {
  111.     float: left;
  112.     height: 170px;
  113.     width: 33%
  114. }
  115.  
  116. #middle {
  117.     position: relative;
  118.     background: {color:Image Background};
  119.     background-image: url({image:Middle Image});
  120.     background-size: cover;
  121.     margin-left: auto;
  122.     margin-right: auto;
  123.     height: 200px;
  124.     width: 34%;
  125. }
  126.  
  127. #right {
  128.     float: right;
  129.     margin-top: -200px;
  130.     height: 170px;
  131.     width: 33%
  132. }
  133.  
  134. .links {
  135.     list-style-type: none;
  136.     text-align: center;
  137.     padding: 0;
  138.     color: {color:Links};
  139. }
  140.  
  141. .links li:hover {
  142.     color: {color:Links Hover};
  143. }
  144.  
  145. .links a {
  146.     text-decoration: none;
  147.     color: {color:Links};
  148. }
  149.  
  150. .links a:hover {
  151.     color: {color:Links Hover};
  152. }
  153.  
  154. #title {
  155.     text-align: center;
  156.     font-family: {font:Title Font};  
  157.     text-transform: uppercase;
  158.     font-weight: bold;
  159.     font-size: {text:Title Font Size}px;
  160.     line-height: 50%;
  161. }
  162.  
  163. #title a {
  164.     color: {color:Title};
  165.     text-decoration: none;
  166.     opacity: 0.8;
  167. }
  168.  
  169. #title a:hover {
  170.     color: {color:Title Hover};
  171.     opacity: 0.9;
  172. }
  173.  
  174. #description {
  175.     text-align: center;
  176.     font-family: {font:Links Font};
  177.     background: rgba(255,255,255,0.8);
  178. }
  179.  
  180. #description a {
  181.     color: {color:Title};
  182.     text-decoration: none;
  183.     opacity: 0.8;
  184. }
  185.  
  186. #description a:hover {
  187.     opacity: 0.9;
  188.     color: {color:Title Hover};
  189.    
  190. }
  191.  
  192. #lrow {
  193.     width: 50%;
  194.     float: left;
  195. }
  196.  
  197. #rrow {
  198.     width: 50%;
  199.     float: right;
  200. }
  201.  
  202. #mupdate {
  203.     position: relative;
  204.     width: 20%;
  205.     margin-left: auto;
  206.     margin-right: auto;
  207. }
  208.  
  209. #lupdate {
  210.     position: relative;
  211.     margin-left: 10px;
  212.     top: 50%;
  213.     -webkit-transform: translateY(-50%);
  214.     -ms-transform: translateY(-50%);
  215.     transform: translateY(-50%);
  216.     margin-bottom: auto;
  217.     padding: 3px;
  218.     width:33%;
  219.     float: left;
  220.     border: 1px solid {color:Links};
  221.     color: {color:Links};
  222.     font-size:11px;
  223.     text-align: center;
  224.     -webkit-transition: opacity 0.3s ease-in-out;
  225.     -moz-transition: opacity 0.3s ease-in-out;
  226.     -o-transition: opacity 0.3s ease-in-out;
  227.     -ms-transition: opacity 0.3s ease-in-out;
  228.     transition: opacity 0.3s ease-in-out;
  229. }
  230.  
  231. #lupdate>a {
  232.     text-decoration:none;
  233.     color: {color:Links Hover};
  234. }
  235.  
  236. #lupdate>a:hover {
  237.     color: {color:Links};
  238. }
  239.  
  240. #rupdate {
  241.     position: relative;
  242.     margin-right: 10px;
  243.     top: 50%;
  244.     -webkit-transform: translateY(-50%);
  245.     -ms-transform: translateY(-50%);
  246.     transform: translateY(-50%);
  247.     padding: 3px;
  248.     width: 33%;
  249.     float: right;
  250.     border: 1px solid {color:Links};
  251.     color: {color:Links};
  252.     font-size:11px;
  253.     text-align:center;
  254.     -webkit-transition: opacity 0.3s ease-in-out;
  255.     -moz-transition: opacity 0.3s ease-in-out;
  256.     -o-transition: opacity 0.3s ease-in-out;
  257.     -ms-transition: opacity 0.3s ease-in-out;
  258.     transition: opacity 0.3s ease-in-out;
  259. }
  260.  
  261. #rupdate>a {
  262.     text-decoration:none;
  263.     color: {color:Links};
  264. }
  265.  
  266. #rupdate>a:hover {
  267.     color: {color:Links Hover};
  268. }
  269.  
  270. #lsideimg {
  271.     width: 33%;
  272.     height: 30px;
  273.     margin-top:-30px;
  274.     float: left;
  275.     background: {color:Image Background};
  276.     background-image: url({image:Left Image});
  277.     background-size: cover;
  278. }
  279.  
  280. #rsideimg {
  281.     width: 33%;
  282.     height: 30px;
  283.     margin-top: -30px;
  284.     float: right;
  285.     background: {color:Image Background};
  286.     background-image: url({image:Right Image});
  287.     background-size: cover;
  288. }
  289.  
  290. #middle #pagination {
  291.     position: absolute;
  292.     width: 100%;
  293.     margin-left: auto;
  294.     margin-right: auto;
  295.     height: 30px;
  296.     color: {color:Links};
  297.     opacity: 0.9;
  298.     text-align: center;
  299.     margin-top: 12px;
  300. }
  301.  
  302. #middle #pagination a {
  303.     color: {color:Links};
  304.     font-weight: bold;
  305.     opacity: 0.9;
  306.     text-decoration: none;
  307.     font-size: 30px;
  308.     line-height:23px;
  309. }
  310.  
  311. #middle #pagination a:hover {
  312.     color: {color:Links Hover};
  313.     opacity: 1;
  314. }
  315.  
  316. .hide {
  317.     opacity: 0;
  318. }
  319.  
  320. .sticky {
  321.     position: fixed;
  322.     margin-top: -170px;
  323. }
  324.  
  325.  
  326. /** POSTS CSS ****************************************************/
  327.  
  328. #content {
  329.     width: 560px;
  330.     margin-left: auto;
  331.     margin-right: auto;
  332.     margin-top: 0px;
  333.     margin-bottom: 60px;
  334.     padding: 20px 0;
  335.     color:black;
  336. }
  337.  
  338. #content a {
  339.       color: {color:Links};
  340.       text-decoration: none;
  341. }
  342.  
  343. #content a:hover {
  344.       color: {color:Links Hover};
  345. }
  346.  
  347. img {
  348.     border: 0;
  349.     max-width: 100%;
  350. }
  351.  
  352. #content #posts {
  353.     background-color: {color:Post Background};
  354.     width: 500px;
  355.     margin: 0 auto 50px;
  356.     padding: 10px;
  357. }
  358.  
  359. #content #posts .title {
  360.     font-size: 13px;
  361. }
  362.  
  363. #content #posts .text {
  364.     font-size: 11px;
  365. }
  366.  
  367. #content #posts #info {
  368.     margin-top: 5px;
  369.     font-size: 9px;
  370.     line-height: 70%;
  371.     text-align: right;
  372.     border-top: 1px solid {color:Links};
  373. }
  374.  
  375. #content #posts #permalink {
  376.     margin-top: 5px;
  377. }
  378.  
  379. #content #posts #tags {
  380.     margin-top: 5px;
  381. }
  382.  
  383.  
  384. ol.notes li {
  385.     list-style-type: none;
  386.     margin: 0;
  387.     padding: 0;
  388.     font-size: 10px;
  389. }
  390.  
  391. /** CORNER IMAGE CSS ***********************************************/
  392.  
  393. #bimage {
  394.     width: {text:Corner Image Size}px;
  395.     right: 0px;
  396.     bottom: 0px;
  397.     position: fixed;
  398.     text-align: center;
  399.     color: {color:Links};
  400.     font-size: 11px;
  401. }
  402.  
  403. #bimagetxt {
  404.     opacity: 0;
  405.     -webkit-transition:opacity 0.8s linear;
  406.     -webkit-transition:all 0.5s ease-out;
  407.     -moz-transition:all 0.5s ease-out;
  408.     transition: all 0.5s ease-out;
  409. }
  410.  
  411. #bimagetxt a {
  412.     text-decoration: none;
  413.     color: {color:Links Hover};
  414. }
  415.  
  416. #bimagetxt a:hover {
  417.     color: {color:Links};
  418. }
  419.  
  420. #bimage:hover #bimagetxt {
  421.     opacity: 1;
  422. }
  423.  
  424. #credit {
  425.     position: fixed;
  426.     right: 2px;
  427.     bottom: 0px;
  428. }
  429.  
  430. #creditlogo {
  431.     width: 20px;
  432. }
  433.  
  434.  
  435. {CustomCSS}</style>
  436.  
  437. </head>
  438.  
  439. <!-- BODY ---------------------------------------------------------->
  440. <body>
  441.  
  442. <!-- HEADER -------------------------------------------------------->
  443. <div id="header">
  444.    
  445.     <div id="left">
  446.         <div class="hide" id="lupdate">
  447.             {text:Update 1 Content}
  448.         </div>
  449.         <div class="hide" id="rupdate">
  450.             {text:Update 2 Content}
  451.         </div>
  452.         <div id="mupdate">
  453.             <ul class="links">
  454.                 <br><br>
  455.                 <li id="update1">{text:Update 1}</li>
  456.                 <li><br></li>
  457.                 <li id="update2">{text:Update 2}</li>
  458.             </ul>
  459.         </div>
  460.        
  461.     </div>
  462.    
  463.     <div id="middle">
  464.         <br><br><br><br><div id="title"><a href="/">{Title}</a></div>
  465.         <br><div id="description"><a href="/">{Description}</a></div>
  466.         <div id="pagination">{block:PreviousPage}<a href="{PreviousPage}">« </a>{/block:PreviousPage}{block:NextPage}<a href="{NextPage}"> »</a>{/block:NextPage}
  467.     </div>
  468.     </div>
  469.  
  470.     <div id="right">
  471.         <ul class="links" id="lrow">
  472.             <br>
  473.             <li><a href="{text:Link 1 url}">{text:Link 1}</a><br><br></li>
  474.             <li><a href="{text:Link 3 url}">{text:Link 3}</a><br><br></li>
  475.             <li><a href="{text:Link 5 url}">{text:Link 5}</a></li>
  476.            
  477.         </ul>
  478.         <ul class="links" id="rrow">
  479.             <br>
  480.             <li><a href="{text:Link 2 url}">{text:Link 2}</a><br><br></li>
  481.             <li><a href="{text:Link 4 url}">{text:Link 4}</a><br><br></li>
  482.             <li><a href="{text:Link 6 url}">{text:Link 6}</a></li>
  483.            
  484.         </ul>
  485.     </div>
  486.    
  487.     <div id="lsideimg"></div>
  488.     <div id="rsideimg"></div>
  489.    
  490.      
  491. </div>
  492.    
  493. <!-- POSTS --------------------------------------------------------->
  494.  
  495. <div id="content">
  496. {block:Posts}
  497.  
  498. {block:ContentSource}
  499. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}
  500. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  501. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  502.  
  503. <div id="posts">
  504.  
  505. {block:Photo}
  506. {LinkOpenTag}<img src="{PhotoURL-500}" />{LinkCloseTag}
  507. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  508. {/block:Photo}
  509.  
  510. {block:Photoset}
  511. {Photoset-500}
  512. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  513. {/block:Photoset}
  514.  
  515. {block:Video}
  516. {Video-500}
  517. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  518. {/block:Video}
  519.  
  520. {block:Audio}
  521. {AudioPlayerBlack}
  522. <div class="text">~ {PlayCountWithLabel}</div>
  523. {block:Caption}<div class="text">{Caption}</div>{/block:Caption}
  524. {/block:Audio}
  525.  
  526. {block:Quote}
  527. <div class="title">“{Quote}”</div>
  528. {block:Source}<div class="text"><br>~ {Source}</div>{/block:Source}
  529. {/block:Quote}
  530.  
  531. {block:Text}
  532. {block:Title}<div class="title">{Title}</div>{/block:Title}
  533. <div class="text">{Body}</div>
  534. {/block:Text}
  535.  
  536. {block:Answer}
  537. <div class="title">{Question}</div>
  538. <div class="text">~ {Asker}</div>
  539. <div class="text">{Answer}</div>
  540. {/block:Answer}
  541.  
  542. {block:Chat}
  543. {block:Title}<div class="title">{Title}</div>{/block:Title}
  544. <div class="text">
  545. {block:Lines}
  546. {block:Label}<strong>{Label}</strong>{/block:Label} {Line}<br />
  547. {/block:Lines}
  548. </div>
  549. {/block:Chat}
  550.  
  551. {block:Link}
  552. <div class="title"><a href="{URL}">{Name}</a></div>
  553. {block:Description}
  554. <div class="text">{Description}</div>
  555. {/block:Description}
  556. {/block:Link}
  557.  
  558.  
  559. <div id="info">
  560.  
  561. <div id="source">{block:RebloggedFrom}<br>via:<a href="{ReblogParentURL}"
  562. title="{ReblogParentTitle}">{ReblogParentName}</a> source:<a href="{ReblogRootURL}"title="{ReblogRoottitle}">{ReblogRootName}</a>{/block:RebloggedFrom}</div>
  563.  
  564. <div id="permalink">
  565. <a href="{Permalink}">
  566. {block:Date}{Month} {DayOfMonthWithZero} at {12Hour}:{Minutes} {AmPm}{/block:Date}
  567. {block:NoteCount} - <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}
  568. </a>
  569. </div>
  570.  
  571. {block:HasTags}<div id="tags">
  572. {block:Tags}
  573. <a href="{TagURL}">#{Tag} </a>
  574. {/block:Tags}
  575. </div>
  576. {/block:HasTags}
  577.  
  578. </div> <!-- !info -->
  579.  
  580. </div> <!-- !posts -->
  581.  
  582. {/block:Posts}
  583.  
  584. {block:PostNotes}
  585. <div id="allnotes">{PostNotes}</div>
  586. {/block:PostNotes}
  587.  
  588. </div> <!-- !content -->
  589.  
  590. <!-- CORNER PIC ----------------------------------------------------->
  591. <div id="bimage">
  592.     <div id="bimagetxt">
  593.     {text:Hover Text}
  594.     </div>
  595.     <img src={image:Corner Image} />
  596. </div>
  597.  
  598. <div id="credit">
  599. <a href="http://gigatheme1.tumblr.com">
  600.     <img src="http://68.media.tumblr.com/8bfd1d5d5bde1794102425cf0f13eea9/tumblr_nk3b78X9lq1sy4yqbo1_75sq.png" id="creditlogo">
  601. </a>
  602. </div>
  603.  
  604.     </body>
  605. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement