thejacketslut

chamomile

May 5th, 2016
50,726
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 35.69 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5.  
  6.  
  7. <!--
  8.  
  9. Theme «chamomile» by felinum
  10.  
  11. Last update: 25.08.2016
  12.  
  13. Rules:
  14. 1. Don't claim any part of the code as your own.
  15. 2. Don't redistribute it on other sites.
  16. 3. Don't implement parts of my code into your themes w/o permission.
  17. 4. Leave the credit intact and visible (don't move it to secondary pages).
  18. 5. You may edit the theme, but not beyond recognition.
  19.  
  20.      
  21. Notes:
  22.  
  23. 1) If you enable the Right Sidebar, make sure to disable the Left Sidebar and vice versa.
  24. 2) If you insert a number higher than 1 in the "Number of Columns" text field, don't forget to type in a value bigger than 0 in the "Post Side Margin" text field as well, otherwise the posts will have no spacing.
  25.        
  26.              
  27.              
  28. Credits:
  29.  - Infinite Scroll: Paul Irish (https://github.com/infinite-scroll/infinite-scroll)
  30.  - Masonry with Infinite Scroll and PXU Photosets: @ shythemes (http://shythemes.tumblr.com/post/148791415248/)
  31.  - Video Resizing: @ shythemes (http://shythemes.tumblr.com/post/134536748863/)
  32.  - Photo Lightbox: @ shythemes (http://shythemes.tumblr.com/post/140444996328/)
  33.  - Masonry: David DeSandro (http://masonry.desandro.com/)
  34.  - Like Button with Infinite Scroll: @ magnusthemes (http://magnusthemes.tumblr.com/post/132530444620)
  35.  - Styled Tooltips: Manos Malihutsakis (http://manos.malihu.gr/tuts/style-my-tooltips.html)
  36.  
  37.  
  38. -->
  39.                    
  40.                    
  41.     <title>{Title}</title>
  42.     <link rel="shortcut icon" href="{Favicon}">
  43.     <link rel="alternate" type="application/rss+xml" href="{RSS}">
  44.     {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
  45.     <meta http-equiv="x-dns-prefetch-control" content="off"/>
  46.     <style> body, a, a:hover{cursor:url({select:Tiny Cursor}), auto} </style>
  47.     <link href='https://fonts.googleapis.com/css?family=Karla|Muli:400,400italic|Roboto:400,400italic,500,500italic|Hind|Lato|Source+Sans+Script|Lily+Script+One' rel='stylesheet' type='text/css'>
  48.     <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  49.     <link rel="stylesheet" href="http://static.tumblr.com/0cdn90j/3lyocfhe5/felinum.css">
  50.    
  51.     <meta name="image:Background" content=""/>
  52.     <meta name="image:Sidebar Icon" content="http://static.tumblr.com/0cdn90j/GkRo6o3dp/untitled-1.png"/>
  53.     <meta name="color:Background" content="#fff"/>
  54.     <meta name="color:Text" content="#b6b6b6"/>
  55.     <meta name="color:Link" content="#000"/>
  56.     <meta name="color:Link Hover" content="#000"/>
  57.     <meta name="color:Posts BG" content="#fff"/>
  58.     <meta name="color:Italic" content="#a0acc9"/>
  59.     <meta name="color:Bold" content="#56585b"/>
  60.  
  61.     <meta name="color:Sidebar Title" content="#000"/>
  62.     <meta name="color:Sidebar BG" content="#fff"/>
  63.     <meta name="color:Navigation Links" content="#a2b1c9"/>
  64.     <meta name="color:Navigation Links Hover" content="#cecece"/>
  65.  
  66.     <meta name="color:Post Info" content="#000"/>
  67.     <meta name="color:Post Info Hover" content="#ccc"/>
  68.     <meta name="color:Like Reblog Buttons" content="#4f4f4f"/>
  69.     <meta name="color:Like Reblog Buttons Hover" content="#b3b3b3"/>
  70.     <meta name="color:Like Button Liked" content="#c9d1dc"/>
  71.     <meta name="color:Tags" content="#a5a5a5"/>
  72.     <meta name="color:Tags Hover" content="#c9d1dc"/>
  73.    
  74.     <meta name="color:Text Post Title" content="#000"/>
  75.     <meta name="color:Text Post Title Hover" content="#dcdcdc"/>
  76.     <meta name="color:Blockquote Border" content="#ededed"/>
  77.     <meta name="color:Quote" content="#333"/>
  78.     <meta name="color:Chat Label" content="#a3aeb6"/>
  79.     <meta name="color:Question" content="#474747"/>
  80.     <meta name="color:Audio Caption" content="#f5f6f7"/>
  81.     <meta name="color:Track Title" content="#000"/>
  82.     <meta name="color:Track Artist" content="#ccc"/>
  83.    
  84.     <meta name="color:Back to Top Text" color="#000"/>
  85.     <meta name="color:Back to Top BG" content="#fbfbfb"/>
  86.     <meta name="color:Selection BG" content="#e2eff5"/>
  87.     <meta name="color:Selection Text" content="#000"/>
  88.     <meta name="color:Tooltip Text" content="#363636"/>
  89.     <meta name="color:Tooltip BG" content="#fff"/>
  90.     <meta name="color:Tooltip Border" content="#dfdfdf"/>
  91.    
  92.     <meta name="select:Body Font Size" content="10" title="10px"/>
  93.     <meta name="select:Body Font Size" content="11" title="11px"/>
  94.     <meta name="select:Body Font Size" content="12" title="12px"/>
  95.    
  96.     <meta name="select:Body Font Family" content="Karla" title="Karla">
  97.     <meta name="select:Body Font Family" content="Roboto" title="Roboto"/>
  98.     <meta name="select:Body Font Family" content="Hind" title="Hind"/>
  99.     <meta name="select:Body Font Family" content="Inconsolata" title="Inconsolata"/>
  100.     <meta name="select:Body Font Family" content="Muli" title="Muli"/>
  101.     <meta name="select:Body Font Family" content="Source Code Pro" title="Source Code Pro"/>
  102.     <meta name="select:Body Font Family" content="Lato" title="Lato"/>
  103.    
  104.     <meta name="select:Photoset Gutter" content="2" title="2px"/>
  105.     <meta name="select:Photoset Gutter" content="1" title="1px"/>
  106.     <meta name="select:Photoset Gutter" content="3" title="3px"/>
  107.     <meta name="select:Photoset Gutter" content="4" title="4px"/>
  108.    
  109.     <meta name="select:Sidebar Icon Shape" content="32" title="round"/>
  110.     <meta name="select:Sidebar Icon Shape" content="4" title="rounded corners"/>
  111.     <meta name="select:Sidebar Icon Shape" content="0" title="square"/>
  112.    
  113.     <meta name="select:Asker Avatar Shape" content="4" title="rounded corners"/>
  114.     <meta name="select:Asker Avatar Shape" content="15" title="round"/>
  115.     <meta name="select:Asker Avatar Shape" content="0" title="square"/>
  116.    
  117.     <meta name="select:Audio Image Shape" content="4" title="rounded corners"/>
  118.     <meta name="select:Audio Image Shape" content="25" title="round"/>
  119.     <meta name="select:Audio Image Shape" content="0" title="square"/>
  120.    
  121.     <meta name="select:Controls" content=".3" title="gray"/>
  122.     <meta name="select:Controls" content="1" title="black"/>
  123.    
  124.     <meta name="select:Tiny Cursor" content="http://cur.cursors-4u.net/cursors/cur-9/cur817.cur" title="white"/>
  125.     <meta name="select:Tiny Cursor" content="http://media.tumblr.com/tumblr_lqs4qdUu8n1qfoi4t.png" title="black"/>
  126.    
  127.     <meta name="if:Fade In On Refresh" content="1"/>
  128.     <meta name="if:Left Sidebar" content="1"/>
  129.     <meta name="if:Right Sidebar" content="0"/>
  130.     <meta name="if:Infinite Scroll" content="0"/>
  131.     <meta name="if:Show Caption" content="1"/>
  132.     <meta name="if:Second Description" content="1"/>
  133.    
  134.     <meta name="text:Post Size" content="300"/>
  135.     <meta name="text:Permalink Post Size" content="540"/>
  136.     <meta name="text:Number of Columns" content="1"/>
  137.     <meta name="text:Post Side Padding" content="0"/>
  138.     <meta name="text:Post Side Margin" content="0"/>
  139.     <meta name="text:Sidebar Top Margin" content="0"/>
  140.     <meta name="text:Sub Title" content="sub title"/>
  141.     <meta name="text:Second Description" content="second description: scroll down your Theme Options panel to edit or disable this section (via the toggle button)"/>
  142.    
  143.     <meta name="text:Link 1 URL" content="/"/>
  144.     <meta name="text:Link 1" content="home"/>
  145.     <meta name="text:Link 2 URL" content="/ask"/>
  146.     <meta name="text:Link 2" content="mssg"/>
  147.     <meta name="text:Link 3 URL" content="/archive"/>
  148.     <meta name="text:Link 3" content="map"/>
  149.     <meta name="text:Link 4 URL" content="/"/>
  150.     <meta name="text:Link 4" content="link 4"/>
  151.     <meta name="text:Link 5 URL" content="/"/>
  152.     <meta name="text:Link 5" content="link 5"/>
  153.     <meta name="text:Link 6 URL" content="/"/>
  154.     <meta name="text:Link 6" content="link 6"/>
  155.     <meta name="text:Link 7 URL" content="/"/>
  156.     <meta name="text:Link 7" content="link 7"/>
  157.    
  158.     <style type="text/css">
  159.    
  160.     /* general */
  161.    
  162.     *:not(#s-m-t-tooltip):not(a):not(.tmblr-iframe), *:not(#s-m-t-tooltip):not(a):not(.tmblr-iframe):hover {transition-duration:.5s;}
  163.     a, a:hover, .tmblr-iframe, .tmblr-iframe:hover, #audio_player_container, #audio_player_bg_container, #audio_player_container:hover #audio_player_bg_container, .posts:hover #like_reblog, #post_source, .posts:hover #post_source {transition-duration:.5s;}
  164.    
  165.     ::-webkit-scrollbar {width:11px; height:11px;}
  166.    
  167.     ::-webkit-scrollbar-thumb {
  168.         border:5px solid rgba(0, 0, 0, 0);
  169.         background-clip:padding-box;
  170.         background-color:rgba(0, 0, 0, 1);
  171.     }
  172.    
  173.     ::-webkit-scrollbar-track {border:5px solid {color:Background}; background-color:#eee;}
  174.  
  175.     #s-m-t-tooltip {
  176.         margin:15px 14px 7px 12px;
  177.         padding:5px;
  178.         max-width:300px;
  179.         z-index:9999999;
  180.         text-shadow:none;
  181.         font-style:italic;
  182.         border:1px solid {color:Tooltip Border};
  183.         background:{color:Tooltip BG};
  184.         color:{color:Tooltip Text};
  185.     }
  186.    
  187.     #scrolltotop {
  188.         position:fixed;
  189.         top:50%;
  190.         right:-70px;
  191.         padding:10px 6px 10px 10px;
  192.         width:50px;
  193.         height:auto;
  194.         z-index:99999;
  195.         cursor:pointer;
  196.         text-transform:lowercase;
  197.         font:italic 10px roboto;
  198.         border:1px solid #f5f5f5;
  199.         background-color:{color:Back to Top BG};
  200.         color:{color:Back to Top Text};
  201.     }
  202.    
  203.      .tmblr-iframe {
  204.         position:fixed;
  205.         top:10px !important;
  206.         right:5px !important;
  207.         z-index:900000000000000000000000000000;
  208.         opacity:{select:Controls};
  209.         -webkit-filter: invert(100%);
  210.             -moz-filter:invert(100%);
  211.              -ms-filter:invert(100%);
  212.               -o-filter:invert(100%);
  213.                  filter:invert(100%);
  214.     }
  215.    
  216.     .tmblr-iframe:hover {opacity:.7;}
  217.    
  218.     ::selection {background:{color:Selection BG}; color:{color:Selection Text};}
  219.     ::-moz-selection {background:{color:Selection BG}; color:{color:Selection Text};}
  220.  
  221.     body {
  222.         opacity:1;
  223.         transition:.5s opacity;
  224.         font:{select:Body Font Size}px {select:Body Font Family}, calibri, sans-serif;
  225.         background:{color:Background} url('{image:Background}') repeat fixed center;
  226.         color:{color:Text};
  227.         overflow-wrap:break-word;  
  228.         word-wrap:break-word;
  229.     }
  230.    
  231.     body.fade-out {opacity:0; transition:none;}
  232.    
  233.     a {text-decoration:none;}
  234.     a:link, a:visited {color:{color:Link};}
  235.     a:hover {color:{color:Link Hover};}
  236.     a:active {color:{color:Link};}
  237.    
  238.     i, em {color:{color:Italic};}
  239.     b, strong {color:{color:Bold};}
  240.     pre {
  241.         font-family:inherit !important;
  242.         white-space:pre-wrap;      
  243.         white-space:-moz-pre-wrap;  
  244.         white-space:-o-pre-wrap;  
  245.         white-space:-pre-wrap;      
  246.         word-wrap:break-word;      
  247.     }
  248.    
  249.     h6, small, big, sup, sub {font-size:1em;}
  250.     h4, h5, h6 {margin:6px 0;}
  251.     h5 {font-size:1.1em;}
  252.     h4 {font-size:1.2em;}
  253.     h3 {font-size:1.3em;}
  254.     h2 {font-size:1.4em;}
  255.     h1 {font-size:1.5em;}
  256.  
  257.     blockquote {
  258.         margin:0;
  259.         padding:0 10px;
  260.         border-left:1px solid {color:Blockquote Border};
  261.     }
  262.    
  263.     ul {margin:0 0 0 -35px; list-style-type:none;}
  264.     ol {margin-left:-25px;}
  265.     ul li:not(.like):not(.reblog):before {
  266.         content:'—';
  267.         display:inline-block;
  268.         margin-right:5px;
  269.     }
  270.    
  271.     img {max-width:100%; height:auto;}
  272.    
  273.     /* posts */
  274.        
  275.     #posts_container {
  276.         {block:IndexPage}width:calc(({text:Post Size}px - 4px + 2 * ({text:Post Side Padding}px + {text:Post Side Margin}px)) * {text:Number of Columns});{/block:IndexPage}
  277.         {block:Permalink}width:calc({text:Permalink Post Size}px + {text:Post Side Padding}px * 2 - 4px);{/block:Permalink}
  278.         margin:0 auto;
  279.         left:auto;
  280.         right:auto;
  281.         margin-top:70px;
  282.         margin-bottom:70px;
  283.     }
  284.  
  285.     .posts {
  286.         {block:IndexPage}
  287.             margin-left:{text:Post Side Margin}px;
  288.             margin-right:{text:Post Side Margin}px;
  289.             opacity:0;
  290.             z-index:-1;
  291.         {/block:IndexPage}
  292.         margin-bottom:100px;
  293.         padding:{text:Post Side Padding}px;
  294.         background-color:{color:Posts BG};
  295.         text-align:justify;
  296.     }
  297.    
  298.     .vertebrae {
  299.         margin:auto;
  300.         overflow:hidden;
  301.         {block:Permalink}width:calc({text:Permalink Post Size}px - 4px);{/block:Permalink}
  302.         {block:IndexPage}width:calc({text:Post Size}px - 4px);{/block:IndexPage}
  303.     }
  304.    
  305.     .photo-slideshow .count-1, .pancake {
  306.         {block:Permalink}width:{text:Permalink Post Size}px;{/block:Permalink}
  307.         {block:IndexPage}width:{text:Post Size}px;{/block:IndexPage}
  308.     }
  309.    
  310.     .photo-slideshow {position:relative;}
  311.     .photo-slideshow .count-3 {max-width:177px; margin-bottom:calc({select:Photoset Gutter}px + 2px);}
  312.     .photo-slideshow .row:last-of-type .count-3 {margin-bottom:0 !important;}
  313.     .photo-slideshow .count-3:last-child {float:right;}
  314.     .photo-slideshow .count-3:nth-child(2) {
  315.         max-width:178px;
  316.         position:absolute;
  317.         left:50%;
  318.         transform: translateX(-50%);
  319.         -webkit-transform: translateX(-50%)
  320.     }
  321.    
  322.     /* photoset lightbox */
  323.    
  324.     .vignette, #vignette {opacity:0;}
  325.    
  326.     .lightbox-image, #tumblr_lightbox img {
  327.         box-shadow:none !important;
  328.         max-width:none;
  329.         -moz-box-sizing:border-box;
  330.         box-sizing:border-box;
  331.     }
  332.    
  333.     .tmblr-lightbox, #tumblr_lightbox {
  334.         position:absolute;
  335.         z-index:99999999999999999999999999999 !important;
  336.         background-color:rgba(255,255,255,.9) !important;        
  337.     }
  338.    
  339.     /*    text / caption    */
  340.        
  341.     .text {padding:10px;}
  342.    
  343.     .audio {padding:1px 10px 12px 10px; background:{color:Audio Caption};}
  344.    
  345.     .appel a {display:inline-block;}
  346.     .appel a:after {
  347.         content:'';
  348.         display:block;
  349.         width:0;
  350.         height:1px;
  351.         margin-top:1px;
  352.         background:transparent;
  353.         transition:width 1s ease, background-color 1s ease;
  354.     }
  355.    
  356.     .appel a:hover:after {width:100%; background:{color:Link Hover};}
  357.    
  358.     .text_post_title {
  359.         padding:10px 10px 0 10px;
  360.         text-transform:lowercase;
  361.         font-weight:bold;
  362.         font-size:14px;
  363.     }
  364.  
  365.     .text_post_title a:link, .text_post_title a:visited {color:{color:Text Post Title};}
  366.     .text_post_title a:hover {color:{color:Text Post Title Hover};}
  367.    
  368.     /*    question    */
  369.    
  370.     #ask_post {padding:7px 7px 0 7px;}
  371.  
  372.     #asker_avatar {
  373.         display:inline-block;
  374.         padding-right:5px;
  375.         height:30px;
  376.         width:30px;
  377.         vertical-align:middle;
  378.     }
  379.    
  380.     #asker_avatar img {border-radius:{select:Asker Avatar Shape}px;}
  381.     #asker_avatar img:hover {opacity:.6;}
  382.    
  383.     #a {font-weight:bold;}
  384.    
  385.     #asker {
  386.         display:inline-block;
  387.         letter-spacing:1px;
  388.         text-transform:uppercase;
  389.         font-size:8px;
  390.     }
  391.    
  392.     #question {padding-top:5px; color:{color:Question};}
  393.    
  394.     /*    quote    */
  395.    
  396.     #quote_post {
  397.         margin-top:30px;
  398.         padding:7px;
  399.         color:{color:Quote};
  400.     }
  401.    
  402.     #quote_header {position:absolute; margin-top:-37px;}
  403.    
  404.     #quo_marks {font:40px 'Lily Script One';}
  405.    
  406.     #dash {
  407.         position:relative;
  408.         vertical-align:top;
  409.         top:6px;
  410.         text-transform:lowercase;
  411.         font:bold 14px muli;
  412.     }
  413.    
  414.     #source {
  415.         padding:8px 10px 0 10px;
  416.         text-align:right;
  417.         text-transform:uppercase;
  418.         font-weight:bold;
  419.         font-size:8px;
  420.     }
  421.    
  422.     /*    chat    */
  423.    
  424.     #chat {padding:7px 7px 7px 5px;}
  425.     #chat li {padding:5px 0;}
  426.     #line #label {color:{color:Chat Label};}
  427.    
  428.     /*    audio    */
  429.    
  430.     #audio_player_container {padding:7px;}
  431.    
  432.     #album_art {
  433.         position:absolute;
  434.         width:50px;
  435.         height:50px;
  436.         z-index:1;
  437.         background-color:{color:Background};
  438.     }
  439.    
  440.     #album_art img {max-width:100%;}
  441.     #album_art, #album_art img {border-radius:{select:Audio Image Shape}px;}
  442.    
  443.     #audio_player_bg_container {
  444.         position:absolute;
  445.         width:48px;
  446.         height:48px;
  447.         margin-top:1px;
  448.         margin-left:1px;
  449.         z-index:9;
  450.         overflow:hidden;
  451.         opacity:0;
  452.         background:white;
  453.         border-radius:calc({select:Audio Image Shape}px - 1px);
  454.     }
  455.    
  456.     #audio_player_container:hover #audio_player_bg_container {opacity:1;}
  457.    
  458.     #audio_player_bg {
  459.         margin-top:14px;
  460.         margin-left:-4px;
  461.     }
  462.    
  463.     #track_details_container {
  464.         display:table;
  465.         height:50px;
  466.         max-height:50px;
  467.         margin-left:60px;
  468.         overflow:hidden;
  469.     }
  470.    
  471.     #track_details {display:table-cell; vertical-align:middle;}
  472.    
  473.     #track_name {
  474.         text-transform:lowercase;
  475.         font-weight:bold;
  476.         font-size:14px;
  477.         color:{color:Track Title};
  478.     }
  479.    
  480.     #artist_name {text-transform:uppercase; color:{color:Track Artist};}
  481.  
  482.     .tumblr_audio_player {
  483.         height:130px;
  484.         width:1000px;
  485.         -moz-transform:scale(0.70, 0.70);
  486.         -webkit-transform:scale(0.70, 0.70);
  487.         -o-transform:scale(0.70, 0.70);
  488.         -ms-transform:scale(0.70, 0.70);
  489.         transform:scale(0.70, 0.70);
  490.         -moz-transform-origin:top left;
  491.         -webkit-transform-origin:top left;
  492.         -o-transform-origin:top left;
  493.         -ms-transform-origin:top left;
  494.         transform-origin:top left;
  495.     }
  496.    
  497.     /*    post notes    */
  498.    
  499.     #notecontainer {width:calc({text:Permalink Post Size}px - 5px); background-color:{color:Posts BG};}
  500.  
  501.     #notecontainer ol.notes {
  502.         list-style-type:none;
  503.         margin:0;
  504.         padding:0;
  505.         word-break:break-all;
  506.     }
  507.    
  508.     #notecontainer li {padding:10px;}
  509.  
  510.     #notecontainer img.avatar {
  511.         margin-right:10px;
  512.         width:16px;
  513.         height:16px;
  514.         vertical-align:-4px;
  515.         border-radius:8px;
  516.     }
  517.    
  518.     #notecontainer .retags {
  519.         margin-left:25px;
  520.         text-transform:uppercase;
  521.         letter-spacing:2px;
  522.         font-weight:bold;
  523.         font-size:7px;
  524.     }
  525.    
  526.     #notecontainer .retags.error {color:{color:Italic} !important;}
  527.    
  528.     #notecontainer .retags a:hover {color:{color:Link Hover} !important;}
  529.    
  530.     #notecontainer .answer_content {font-style:italic; color:{color:Italic};}
  531.  
  532.     #notecontainer blockquote {margin:10px 0px 10px 25px;}
  533.     #notecontainer blockquote a:after, #notecontainer .retags a:after, #notecontainer .avatar_frame.smt-current-element a:after {height:0;}
  534.    
  535.     /*    post info    */
  536.  
  537.     #post_info_container {
  538.         padding:5px;
  539.         {block:Permalink}overflow:auto;{/block:Permalink}
  540.         font:italic 10px roboto;
  541.         border-top:1px solid #eee;
  542.         background-color:{color:Posts BG};
  543.     }
  544.    
  545.     #post_info_container a {color:{color:Post Info};}
  546.     #post_info_container a:hover {color:{color:Post Info Hover};}
  547.    
  548.     #date, #post_source {float:left;}
  549.     #notes, #tags {float:right;}
  550.    
  551.     #post_source, #tags {margin-bottom:5px; font-family:{select:Body Font Family};}
  552.    
  553.     #post_source {
  554.         {block:Permalink}max-width:calc({text:Permalink Post Size}px * 1 / 3);{/block:Permalink}
  555.         {block:IndexPage}
  556.             max-width:calc({text:Post Size}px * 1 / 3);
  557.             opacity:0;
  558.         {/block:IndexPage};
  559.     }
  560.    
  561.     .posts:hover #post_source {opacity:1;}
  562.    
  563.     #tags {
  564.         {block:Permalink}max-width:calc({text:Permalink Post Size}px * 2 / 3);{/block:Permalink}
  565.         {block:IndexPage}max-width:calc({text:Post Size}px * 2 / 3);{/block:IndexPage};
  566.         text-align:right;
  567.     }
  568.    
  569.     #tags a:link, #tags a:visited, #post_source a:link, #post_source a:visited {color:{color:Tags};}
  570.     #tags a:hover, #post_source a:hover {color:{color:Tags Hover};}
  571.    
  572.     #c {
  573.         position:fixed;
  574.         z-index:9999999999999999;
  575.         bottom:5px;
  576.         right:5px;
  577.     }
  578.    
  579.     /*    sidebar    */
  580.    
  581.     #sidebar {
  582.         position:fixed;
  583.         {block:Permalink}
  584.             {block:ifLeftSidebar}left:calc(50% - ({text:Permalink Post Size}px + {text:Post Side Padding}px * 2 - 4px) / 2 - 180px - 70px);{/block:ifLeftSidebar}
  585.             {block:ifRightSidebar}left:calc(50% + ({text:Permalink Post Size}px + {text:Post Side Padding}px * 2 - 4px) / 2 + 60px);{/block:ifRightSidebar}
  586.         {/block:Permalink}
  587.         {block:IndexPage}
  588.             {block:ifLeftSidebar}left:calc(50% - (({text:Post Size}px - 4px + 2 * ({text:Post Side Padding}px + {text:Post Side Margin}px)) * {text:Number of Columns}) / 2 - 180px - 70px + {text:Post Side Margin}px);{/block:ifLeftSidebar}
  589.             {block:ifRightSidebar}left:calc(50% + (({text:Post Size}px - 4px + 2 * ({text:Post Side Padding}px + {text:Post Side Margin}px)) * {text:Number of Columns}) / 2 + 60px - {text:Post Side Margin}px);{/block:ifRightSidebar}
  590.         {/block:IndexPage}
  591.         margin-top:{text:Sidebar Top Margin}px;
  592.         padding:10px;
  593.         width:180px;
  594.         z-index:9999;
  595.         text-align:center;
  596.         background:{color:Sidebar BG};
  597.     }
  598.    
  599.     #imgtitle {display:table; padding-bottom:5px;}
  600.    
  601.     #sidebar a {color:{color:Navigation Links};}
  602.     #sidebar a:hover {color:{color:Navigation Links Hover};}
  603.    
  604.     #sidebar_image {width:64px; height:64px;}
  605.     #sidebar_image img {max-width:100%; border-radius:{select:Sidebar Icon Shape}px;}
  606.     #sidebar_image img:hover {opacity:.5;}
  607.    
  608.     #sidebar_image, #title_container {display:table-cell; vertical-align:middle;}
  609.    
  610.     #title_container {padding-left:10px; text-align:left;}
  611.    
  612.     #title {
  613.         text-transform:lowercase;
  614.         font-weight:bold;
  615.         font-size:14px;
  616.         color:{color:Sidebar Title};
  617.     }
  618.    
  619.     #subtitle {
  620.         text-transform:uppercase;
  621.         margin-left:-4px;
  622.         font-size:9px;
  623.     }
  624.    
  625.     #descr {padding:7px 0; font-style:italic;}
  626.    
  627.     #subdescr {padding:7px 0; border-top:1px solid #eee;}
  628.    
  629.     #nav {padding-bottom:5px; font-style:italic;}
  630.    
  631.     #nav a {display:inline-block; margin:4px 6px;}
  632.    
  633.     #navigation {padding:5px 0; font-style:italic;}
  634.    
  635.     #prev, #next {display:inline-block;}
  636.    
  637.     #like_reblog {
  638.         position:absolute;
  639.         right:20px;
  640.         top:0;
  641.         opacity:0;
  642.         -webkit-transition-duration: .9s;
  643.            -moz-transition-duration: .9s;
  644.              -o-transition-duration: .9s;
  645.                 transition-duration: .9s;
  646.         -webkit-transition-delay: 1s;
  647.            -moz-transition-delay: 1s;
  648.              -o-transition-delay: 1s;
  649.                 transition-delay: 1s;
  650.     }
  651.    
  652.     .posts:hover #like_reblog {
  653.         right:-18px;
  654.         opacity:1;
  655.         -webkit-transition-delay: 0ms;
  656.            -moz-transition-delay: 0ms;
  657.              -o-transition-delay: 0ms;
  658.                 transition-delay: 0ms;
  659.     }
  660.    
  661.     .control {
  662.         display:block;
  663.         position:relative;
  664.         color:{color:Like Reblog Buttons};
  665.     }
  666.    
  667.     .control a {color:{color:Like Reblog Buttons};}
  668.     .control .like_button {font-size:12px; padding-bottom:3px;}
  669.     .control .reblog_button {font-size:10px;}
  670.     .control .like_button:hover,
  671.     .control .reblog_button:hover {color:{color:Like Reblog Buttons Hover};}
  672.     .control .like_button::before,
  673.     .control .reblog_button::before {display:block; line-height:1;}
  674.     .like_button.liked {color:{color:Like Button Liked};}
  675.     .like_button.liked:hover {color:{color:Like Button Liked};}
  676.     .like_button iframe {
  677.         display:block;
  678.         position:absolute;
  679.         top:0;
  680.         right:0;
  681.         bottom:0;
  682.         left:0;
  683.         margin:0;
  684.         opacity:0;
  685.     }
  686.  
  687.     #c img {height:100%; opacity:1;}
  688.     #c img:hover {opacity:.6;}
  689.     #c {
  690.         position:fixed;
  691.         z-index:9999999999999999999999999999;
  692.         bottom:7px;
  693.         right:7px;
  694.         height:24px;
  695.     }
  696.  
  697.     </style>
  698.  
  699. </head>
  700.  
  701. <body>
  702.  
  703. {block:ifFadeInOnRefresh}<script>document.body.className += ' fade-out';</script>{/block:ifFadeInOnRefresh}
  704.  
  705. <div id="sidebar">
  706.     <div id="imgtitle">
  707.         <div id="sidebar_image"><a href="/"><img src="{image:Sidebar Icon}"></a></div>
  708.         <div id="title_container">
  709.             <div id="title">{Title}</div>
  710.             <div id="subtitle"><span style="font-size:8px;">&nbsp;</span>{text:Sub Title}<span style="font-size:8px;">&nbsp;</span></div>
  711.         </div>
  712.     </div>
  713.    
  714.     <div id="descr_container">
  715.         <div id="descr">{Description}</div>
  716.         <div id="subdescr">{block:ifSecondDescription}{text:Second Description}{/block:ifSecondDescription}</div>
  717.     </div>
  718.    
  719.     <div id="nav">
  720.         <a href="{text:Link 1 URL}">.&nbsp;{text:Link 1}</a>
  721.         <a href="{text:Link 2 URL}">.&nbsp;{text:Link 2}</a>
  722.         <a href="{text:Link 3 URL}">.&nbsp;{text:Link 3}</a>
  723.         <a href="{text:Link 4 URL}">.&nbsp;{text:Link 4}</a>
  724.         <a href="{text:Link 5 URL}">.&nbsp;{text:Link 5}</a>
  725.         <a href="{text:Link 6 URL}">.&nbsp;{text:Link 6}</a>
  726.         <a href="{text:Link 7 URL}">.&nbsp;{text:Link 7}</a>
  727.     </div>
  728.  
  729.     {block:IfNotInfiniteScroll}
  730.     {block:Pagination}
  731.     <div id="navigation">
  732.         <div id="prev">{block:PreviousPage}<a href="{PreviousPage}">prev</a>{/block:PreviousPage}</div>&nbsp;&mdash;&nbsp;
  733.         <div id="next">{block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}</div>
  734.     </div>
  735.     {/block:Pagination}
  736.     {/block:IfNotInfiniteScroll}
  737. </div>
  738.  
  739. <!-- posts container -->
  740.  
  741. <div id="posts_container">
  742.  
  743.     <!-- posts -->
  744.  
  745.     {block:Posts}
  746.     <div class="posts" id="{PostID}">
  747.         {block:Text}
  748.         <div class="vertebrae">
  749.             {block:Title}<div class="text_post_title"><a href="{Permalink}">&mdash;&nbsp;{Title}</a></div>{/block:Title}
  750.             <div class="text appel">{Body}</div>
  751.         </div>
  752.         {/block:Text}
  753.         {block:Link}
  754.         <div class="vertebrae">
  755.             <div class="text_post_title"><a href="{URL}">&mdash;&nbsp;{Name}</a></div>
  756.             {block:Description}<div class="text appel">{Description}</div>{/block:Description}
  757.         </div>
  758.         {/block:Link}
  759.         {block:Quote}
  760.         <div class="vertebrae">
  761.             <div id="quote_post" class="appel">
  762.                 <div id="quote_header">
  763.                     <span id="dash">&mdash;&nbsp;</span>
  764.                     <span id="quo_marks">&rdquo;</span>
  765.                 </div>
  766.                 {Quote}
  767.                 {block:Source}<div id="source" class="appel">&mdash;&nbsp;{Source}</div>{/block:Source}
  768.             </div>
  769.         </div>
  770.         {/block:Quote}
  771.         {block:Chat}
  772.         <div class="vertebrae">
  773.             {block:Title}<div class="text_post_title"><a href="{Permalink}">&mdash;&nbsp;{Title}</a></div>{/block:Title}
  774.             <div id="chat" class="appel"><ul>{block:Lines}<li id="line">{block:Label}<span id="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul></div>
  775.         </div>
  776.         {/block:Chat}
  777.         {block:Answer}
  778.         <div class="vertebrae">
  779.             <div id="ask_post" class="appel">
  780.                 <div id="asker_avatar"><img src="{AskerPortraitURL-30}"></div>
  781.                 <div id="asker"><span id="a">{Asker}</span> asked:</div>
  782.                 <div id="question">&mdash;&nbsp;{Question}</div>
  783.                 <div>{Answer}</div>
  784.             </div>
  785.         </div>
  786.         {/block:Answer}
  787.         {block:AudioPlayer}
  788.         <div class="vertebrae">
  789.             <div id="audio_player_container">
  790.                 <div id="album_art">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
  791.                 <div id="audio_player_bg_container"><div id="audio_player_bg">{AudioPlayer}</div></div>
  792.                 <div id="track_details_container"><div id="track_details">
  793.                     {block:TrackName}<span id="track_name">{TrackName}</span>{/block:TrackName}<br/>
  794.                     {block:Artist}<span id="artist_name">{Artist}</span>{/block:Artist}<br/>
  795.                 </div></div>
  796.             </div>
  797.             {block:IfShowCaption}{block:Caption}<div class="audio appel">{Caption}</div>{/block:Caption}{/block:IfShowCaption}
  798.         </div>
  799.         {/block:AudioPlayer}
  800.         {block:Photo}
  801.         <div class="vertebrae">
  802.             <div class="pancake">
  803.                 {LinkOpenTag}<a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"></a>{LinkCloseTag}
  804.             {block:IfShowCaption}{block:Caption}<div class="text appel">{Caption}</div>{/block:Caption}{/block:IfShowCaption}
  805.             </div>
  806.         </div>
  807.         {/block:Photo}
  808.         {block:Photoset}
  809.         <div class="vertebrae">
  810.             <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
  811.                 {block:Photos}
  812.                 <div class="photo-data">
  813.                     <div class="pxu-photo"><img src="{PhotoURL-500}"  width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div>
  814.                     <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a>
  815.                 </div>
  816.                 {/block:Photos}
  817.             </div>
  818.             {block:IfShowCaption}{block:Caption}<div class="text appel">{Caption}</div> {/block:Caption}{/block:IfShowCaption}
  819.         </div>
  820.         {/block:Photoset}
  821.         {block:Video}
  822.         <div class="vertebrae">
  823.             <div class="video">{Video-500}</div>
  824.             {block:IfShowCaption}{block:Caption}<div class="text appel">{Caption}</div>{/block:Caption}{/block:IfShowCaption}
  825.         </div>
  826.         {/block:Video}
  827.         {block:Date}
  828.             <div id="post_info_container">
  829.                 <div id="date">
  830.                     <a href="{Permalink}" title="{TimeAgo}">&mdash;&nbsp;{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</a>
  831.                 </div>
  832.                 <div id="notes">
  833.                     <a href="{Permalink}">{block:NoteCount}+{NoteCountWithLabel}&nbsp;&mdash;{/block:NoteCount}</a>
  834.                 </div>
  835.                 <!--{block:RebloggedFrom}<a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}-->
  836.                 <br/>
  837.                 <div id="post_source">{block:RebloggedFrom}<a href="{ReblogRootURL}" title="{ReblogRootTitle}">©:&nbsp;{ReblogRootName}</a>{/block:RebloggedFrom}</div>
  838.                 <div id="tags">{block:HasTags}{block:Tags}<a href="{TagURL}">#{Tag}</a> &nbsp;{/block:Tags}{/block:HasTags}</div>
  839.             </div>
  840.             {block:IndexPage}
  841.             <div id="like_reblog">
  842.                 <div class="control like-control">{LikeButton size="13" color="black"}</div>
  843.                 <div class="control reblog-control">{ReblogButton size="11" color="black"}</div>
  844.             </div>  
  845.             {/block:IndexPage}
  846.         {/block:Date}
  847.  
  848.     </div>
  849.  
  850.     {block:IndexPage}
  851.     {block:ifInfiniteScroll}
  852.     <div class="navigation" id="navigation">
  853.         {block:Pagination}
  854.         {block:PreviousPage}<a href="{PreviousPage}" class="navigate">{/block:PreviousPage}{block:PreviousPage}</a>{/block:PreviousPage}
  855.         {block:NextPage}<a href="{NextPage}" class="navigate" id="nextPage">{/block:NextPage}{block:NextPage}</a>{/block:NextPage}
  856.         {/block:Pagination}
  857.     </div>
  858.     {/block:IfInfiniteScroll}
  859.     {/block:IndexPage}
  860.    
  861.     {block:ContentSource}<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}
  862.    
  863.     <div id="notecontainer" class="appel">{PostNotes-16}</div>
  864.    
  865.     {/block:Posts}
  866.     <!-- end posts -->
  867.    
  868. </div>
  869. <!-- end posts container-->
  870.  
  871. <div id="scrolltotop">back to top</div>
  872.  
  873. <!-- scripts -->
  874.  
  875. <script type="text/javascript" src="http://static.tumblr.com/iuggpng/bGqm4yfv9/jquery-1.7.2.js"></script>
  876. <script>
  877.     var p = $("#sidebar");
  878.     var offset = p.offset();
  879.     if (offset.left < 0) {
  880.        $('#sidebar').css({"left":"0"})
  881.    }
  882. </script>
  883. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script><script src="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>{block:IndexPage}<script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>{block:ifInfiniteScroll}<script src="http://static.tumblr.com/0cdn90j/vsOo9wcfa/infinitescroll.js"></script>{/block:ifInfiniteScroll}{/block:IndexPage}
  884. <script>
  885. $(document).ready(function(){
  886.     $('.photo-slideshow').pxuPhotoset({
  887.         lightbox:true,
  888.         rounded:false,
  889.         gutter:'{select:Photoset Gutter}px',
  890.         photoset:'.photo-slideshow',
  891.         photoWrap:'.photo-data',
  892.         photo:'.pxu-photo'
  893.     });
  894.     {block:IndexPage}
  895.     var $container = $('#posts_container');
  896.     $container.masonry({itemSelector:'.posts'});
  897.     $container.imagesLoaded(function(){
  898.         $container.masonry();
  899.         $container.find('.posts').animate({opacity:1, zIndex:1});
  900.     });
  901.     {block:ifInfiniteScroll}
  902.     $container.infinitescroll({
  903.         itemSelector:'.posts',
  904.         navSelector:'#navigation',
  905.         nextSelector:'#navigation a#nextPage',
  906.         loadingImg:'',
  907.         loadingText:'<em></em>',
  908.         bufferPx:2000
  909.     },
  910.     function (newElements){
  911.         var $newElems = $(newElements);
  912.         resizeVideos();
  913.         var $newElemsIDs = $newElems.map(function(){
  914.             return this.id;
  915.         }).get();
  916.         console.log($newElems, $newElemsIDs);
  917.         Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  918.         $newElems.find('.photo-slideshow').pxuPhotoset({
  919.             lightbox:true,
  920.             rounded:false,
  921.             gutter:'{select:Photoset Gutter}px',
  922.             photoset:'.photo-slideshow',
  923.             photoWrap:'.photo-data',
  924.             photo:'.pxu-photo'
  925.         },
  926.         function(){
  927.             $container.masonry();
  928.         });
  929.         $newElems.imagesLoaded(function(){
  930.             $container.masonry('appended', $newElems);
  931.             $newElems.animate({opacity:1, zIndex:1});
  932.         });
  933.     });
  934.     {/block:ifInfiniteScroll}
  935.     {/block:IndexPage}
  936. });
  937. </script>
  938. <script type="text/javascript">
  939.     $(document).ready(function(){
  940.         $(window).scroll(function(){
  941.             if ($(this).scrollTop() > 400) {
  942.                 $('#scrolltotop').stop().animate({right:'0px'});
  943.             }
  944.             else {
  945.                 $('#scrolltotop').stop().animate({right:'-85px'});
  946.             }
  947.         });
  948.         $('#scrolltotop').click(function(){
  949.             $("html, body").animate({scrollTop:0}, 800);
  950.                 return false;
  951.         });
  952.     });
  953. </script>
  954. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.4/SmoothScroll.js"></script><script src="http://static.tumblr.com/0cdn90j/glvnidntk/jquery.style-my-tooltips.js"></script><div id="c"><a href="http://felinum.tumblr.com" title="theme by felinum"><img src="http://static.tumblr.com/0cdn90j/ZjQobhv98/snowshoe-cat.png"></a></div>
  955. <script>
  956.     (function($){
  957.         $(document).ready(function(){
  958.             $("[title]").style_my_tooltips({
  959.                 tip_follows_cursor:true,
  960.                 tip_delay_time:0,
  961.                 tip_fade_speed:0,
  962.                 attribute:"title"
  963.             });
  964.         });
  965.     })(jQuery);
  966. </script>
  967. <script>
  968.     $(function() {
  969.         $('body').removeClass('fade-out');
  970.     });
  971. </script>
  972.  
  973. </body>
  974.  
  975. </html>
Add Comment
Please, Sign In to add comment