Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html style="cursor:url('{image:Cursor}'), crosshair !important;">
- <head>
- <title>{Title}</title>
- <!--jquery-->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/bXomx943d/jquery-1.7.1.min.js"></script>
- <!-- isotope -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/pGOokx1ys/isotope.js"></script>
- <!--horizontal horiz-->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/XcXokx1w3/isotope-horiz.js"></script>
- <!--infinite scroll -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/tIEmx9449/jquery.infinitescroll.min.js"></script>
- <!--smooth scrolling -->
- <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
- <!-- smoothstate
- <script src="https://rawgit.com/miguel-perez/smoothState.js/master/demos/csstricks/assets/js/jquery.smoothState.min.js"></script> -->
- <!-- images Loaded -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/9ACokx21m/imagesloaded.js"></script>
- <!--mousewheel -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/Qt9okx233/mousewheel.js"></script>
- <!-- style my tooltips -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/iIZol19jf/jquery.style-my-tooltips.js"></script>
- <script type="text/css" src="https://static.tumblr.com/iuvoef7/pqtol19jl/style-my-tooltips.css"></script>
- <!-- font awesome -->
- <script type="text/javascript" src="https://static.tumblr.com/iuvoef7/Mmpokx241/fontawesome.js"></script>
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
- <!--Responsive photosets-->
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <!-- <script src="https://static.tumblr.com/iuvoef7/M7sok4zc0/photoset.js"></script> -->
- <script src="https://static.tumblr.com/iuvoef7/6Smoskpjg/photoset06.js"></script>
- <script>
- //main function, called isotope
- var isotope = $(function(){
- // filter items when filter link is clicked
- // quick search regex
- var qsRegex;
- var buttonFilter;
- var $container = $('#content');
- var $boxes = $('.box').css('opacity','0');
- $container.imagesLoaded(function(){
- $container.isotope({
- itemSelector : '.box',
- layoutMode : 'masonry',
- masonry: {
- gutter: 100
- },
- getSortData: {
- name: '.name'
- },
- filter: function() {
- var $this = $(this);
- var searchResult = qsRegex ? $this.text().match( qsRegex ) : true;
- var buttonResult = buttonFilter ? $this.is( buttonFilter ) : true;
- return searchResult && buttonResult;
- }
- });
- $('.box').css('opacity','0.9');
- });
- //infinite scroll and callback
- $container.infinitescroll({
- navSelector : '#page_nav',
- nextSelector : '#page_nav a',
- itemSelector : '.box',
- errorCallback: function(){$('.load-more').hide();},
- bufferPx : 1500,
- loading: {
- msgText: "<em></em>",
- finishedMsg: ' ',
- img: 'https://i.imgur.com/qkKy8.gif'
- }
- },
- // call Isotope as a callback
- function ( newElements ) {
- var $newElems = jQuery( newElements ).hide(); // hide to begin with
- // ensure that images load before adding to masonry layout
- $newElems.imagesLoaded(function(){
- $newElems.fadeIn(); // fade in when ready
- $container.isotope( 'insert', $newElems );
- });
- }); //end isotope as callback
- $('#filters').on( 'click', 'button', function() {
- window.scrollTo(0,0);
- buttonFilter = $( this ).attr('data-filter');
- window.scrollTo(0,0);
- $container.isotope();
- window.scrollTo(0,0);
- return false
- });
- // bind sort button click
- $('.sort-by-button-group').on( 'click', 'button', function() {
- var sortValue = $(this).attr('data-sort-value');
- $container.isotope({ sortBy: sortValue });
- });
- // change is-checked class on buttons
- $('.button-group').each( function( i, buttonGroup ) {
- var $buttonGroup = $( buttonGroup );
- $buttonGroup.on( 'click', 'button', function() {
- $buttonGroup.find('.is-checked').removeClass('is-checked');
- $( this ).addClass('is-checked');
- });
- });
- // use value of search field to filter
- var $quicksearch = $('#quicksearch').keyup( debounce( function() {
- qsRegex = new RegExp( $quicksearch.val(), 'gi' );
- $container.isotope();
- }, 200 ) );
- // debounce so filtering doesn't happen every millisecond
- function debounce( fn, threshold ) {
- var timeout;
- return function debounced() {
- if ( timeout ) {
- clearTimeout( timeout );
- }
- function delayed() {
- fn();
- timeout = null;
- }
- setTimeout( delayed, threshold || 100 );
- };
- };
- }); //ending main function
- $(document).ready(isotope);
- </script>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- images/ files upload -->
- <meta name="image:Background" content="" />
- <meta name="image:Header" content="" />
- <meta name="image:Cursor" content="https://static.tumblr.com/iuvoef7/jeMol18eo/small_white_cursor.png" />
- <meta name="image:Custom Font" content="https://static.tumblr.com/iuvoef7/mNnojgowh/jellyka_bees_antique_handwriting.ttf" />
- <!-- background colours -->
- <meta name="color:Background" content="#fbfbfb" />
- <meta name="color:Header Background" content="#fbfbfb" />
- <!-- font colours -->
- <meta name="color:Header Font" content="#000000" />
- <meta name="color:Body Font" content="#000000" />
- <meta name="color:Text highlight" content="#bbbbbb" />
- <meta name="color:Scrollbar" content="#fed3f2" />
- <!-- tumblr preset fonts -->
- <meta name="font:Header Font" content="Arial" />
- <meta name="font:Body Font" content="Baskerville" />
- <meta name="font:Sidebar Font" content="Baskerville" />
- <!-- booleans --> <!-- 1=yes, 0=no -->
- <meta name="if:Head Space" content="1" />
- <meta name="if:Infinite Scroll" content="1" />
- <meta name="select:Content Width" content="30vw" />
- <meta name="select:Content Width" content="10vw" />
- <meta name="select:Content Width" content="20vw" />
- <meta name="select:Content Width" content="40vw" />
- <meta name="select:Content Width" content="50vw" />
- <meta name="select:Content Width" content="60vw" />
- <meta name="select:Content Width" content="70vw" />
- <meta name="select:Content Width" content="80vw" />
- <meta name="select:Content Width" content="90vw" />
- <meta name="select:Content Width" content="100vw" />
- <meta name="select:Fade Opacity" content="0.9" />
- <meta name="select:Fade Opacity" content="0.1" />
- <meta name="select:Fade Opacity" content="0.2" />
- <meta name="select:Fade Opacity" content="0.3" />
- <meta name="select:Fade Opacity" content="0.4" />
- <meta name="select:Fade Opacity" content="0.5" />
- <meta name="select:Fade Opacity" content="0.6" />
- <meta name="select:Fade Opacity" content="0.7" />
- <meta name="select:Fade Opacity" content="0.8" />
- <meta name="select:Fade Opacity" content="1.0" />
- <!-- main -->
- <meta name="text:Number of Columns" content="1" />
- <meta name="text:Horizontal Post Height" content="300px" />
- <meta name="text:Space between Header and Content" content="0px" />
- <meta name="text:Gutter Width" content="200" />
- <meta name="text:Photoset Gutter Width" content="1" />
- <!-- header and footer -->
- <meta name="text:Header Height" content="250px" />
- <meta name="text:Header Width" content="100%" />
- <meta name="text:Header Top and Bottom Gap" content="0px" />
- <meta name="text:Footer Height" content="100px" />
- <!-- fonts -->
- <meta name="text:Header Font" content="Jellyka"/>
- <meta name="text:Header Font Size" content="50px" />
- <meta name="text:Body Font" content="Lora" />
- <meta name="text:Body Font Size" content="10px" />
- <meta name="text:Custom Font Name" content="Jellyka" />
- <!--fonts-->
- <link href='https://fonts.googleapis.com/css?family={text:Body Font}' rel='stylesheet' type='text/css'>
- <link href='https://fonts.googleapis.com/css?family={text:Header Font}' rel='stylesheet' type='text/css'>
- <link href='https://fonts.googleapis.com/css?family={text:Sidebar Font}' rel='stylesheet' type='text/css'>
- <link rel="shortcut icon" href="{Favicon}"><link rel="alternate" type="application/rss+xml" href="{RSS}"><link href="https://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- @font-face {font-family:"{text:Custom Font Name}";src:url('{image:Custom Font}');}
- @-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
- @-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
- @keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
- .fade-in {
- opacity:0; /* make things invisible upon start */
- -webkit-animation:fadeIn ease-in-out 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
- -moz-animation:fadeIn ease-in-out 1;
- animation:fadeIn ease-in-out 1;
- -webkit-animation-fill-mode:forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
- -moz-animation-fill-mode:forwards;
- animation-fill-mode:forwards;
- -webkit-animation-duration:1s;
- -moz-animation-duration:1s;
- animation-duration:1s;
- }
- .iframe-controls--desktop {
- position:fixed;
- top:0px;
- right:0px;
- z-index:9999999999;
- opacity:0.75 !important;
- filter:invert(100%);
- -webkit-filter:invert(100%);
- -webkit-transform:scale(0.7,0.7);
- -webkit-transform-origin: 100% 0%;
- -ms-transform-origin:100% 0%;
- -ms-transform:scale(0.7,0.7);
- transform:scale(0.7,0.7);
- transform-origin:100% 0%;
- }
- ::-webkit-scrollbar {position:fixed; width: 0px; height:0px; background: rgba({RGBcolor:Background},0); }
- ::-webkit-scrollbar-thumb { background-color: {color:Scrollbar}; -webkit-border-radius: 2ex;}
- ::-moz-scrollbar {position:fixed; width: 0px; height:0px; background: rgba({RGBcolor:Background},0); }
- ::-moz-scrollbar-thumb { background-color: {color:Scrollbar}; -moz-border-radius: 2ex; border:10px; }
- ::-o-scrollbar {position:fixed; width: 0px; height:0px; background: rgba({RGBcolor:Background},0); }
- ::-o-scrollbar-thumb { background-color: {color:Scrollbar}; -o-border-radius: 2ex; }
- /*
- ::-webkit-scrollbar {
- width:17px;
- height:17px;
- }
- ::-webkit-scrollbar {
- background-color:rgb(255,255,255);
- }
- ::-webkit-scrollbar-track {
- border:8px solid rgb(255,255,255);
- background-color:rgb(230,230,230);
- }
- ::-webkit-scrollbar-thumb {
- border:8px solid rgb(255,255,255);
- background-color:rgb(144,144,144);
- min-height:24px;
- min-width:24px;
- }
- */
- ::selection {background:{color:Text highlight} ;color: #fff;}
- ::-moz-selection {background:{color:Text highlight};color: #fff;}
- a, a:hover, a:visited {cursor:url('{image:Cursor}'), crosshair; text-decoration:none;color:inherit;}
- ul, li {list-style-type: none; font-size:9px; line-height:10px; }
- button:focus {outline:0;}
- a, a:hover, a:visited, li, button, button:hover {cursor:url('{image:Cursor}'), crosshair; border:none; background:transparent;}
- p {text-align:center; margin:0px; }
- input {border:none;}
- input:focus {outline:0;}
- html {width:100%; font-family:serif; cursor:url('{image:Cursor}'), crosshair;}
- body {
- cursor:url('{image:Cursor}'), crosshair;
- background: {color:Background} url('{image:Background}');
- background-size:cover;
- background-attachment:fixed;
- width:100%;
- font-family:{text:Body Font}, {font:Body Font}, Georgia, 'Times New Roman', Times, serif;
- color:{color:Body Font};
- }
- #wrapper {
- cursor:url('{image:Cursor}'), crosshair;
- {block:IndexPage}
- {block:IfNotHorizontal} overflow-x:hidden; {block:IfNotHorizontal}
- {block:IfHorizontal} overflow-y:hidden; {/block:IfHorizontal}
- {/block:IndexPage}
- {block:PermalinkPage}
- height:100vh;
- width:100vw;
- {/block:PermalinkPage}
- }
- #header{
- cursor:url('{image:Cursor}'), crosshair;
- background:{color:Header Background} url('{image:Header}');
- background-repeat:no-repeat;
- background-size:cover;
- background-position:center center;
- background-attachment:fixed;
- color:{color:Header Font};
- font-family:{text:Header Font}, {font:Header Font}, Georgia, 'Times New Roman', Times, serif;
- height:{text:Header Height};
- position:relative;
- width:{text:Header Width}; left:0; right:0; top:0; bottom:0; margin:auto;
- margin-top:{text:Header Top and Bottom Gap};
- margin-bottom:{text:Header Top and Bottom Gap};
- text-align:center;
- z-index:5;
- }
- #content-wrapper {
- {block:IndexPage}
- min-height:calc(100vh - {text:Header Height} - (2*{text:Header Top and Bottom Gap}) - {text:Footer Height} - 5vh);
- {block:IfNotHorizontal}
- width:100%;
- margin-top:{text:Space between Header and Content};
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- {block:IfNotSidebar}
- margin-left:{text:Space between Header and Content};
- {/block:IfNotSidebar}
- {block:IfSidebar}
- margin-left:270px;
- {/block:IfSidebar}
- height:100vh;
- min-width:100%;
- {block:IfNotHeadspace}
- top:0;
- {/block:IfNotHeadspace}
- {/block:IfHorizontal}
- {/block:IndexPage}
- {block:PermalinkPage}
- height:100vh;
- width:100vw;
- {/block:PermalinkPage}
- }
- #content {
- width:{select:Content Width};
- position:absolute; margin:auto;
- }
- .box {
- opacity:{select:Fade Opacity};
- cursor:url('{image:Cursor}'), crosshair;
- font-family:'{text:Body Font}', '{font:Body Font}', Georgia, 'Times New Roman', Times, serif;
- font-size:{text:Body Font Size};
- position:relative;
- width:calc((100% - ({text:Number of Columns} - 1)*{text:Gutter Width}px)/{text:Number of Columns});
- opacity:{select:Fade Opacity};
- -webkit-transition: opacity 0.8s ease-in-out;
- -moz-transition: opacity 0.8s ease-in-out;
- transition: opacity 0.8s ease-in-out;
- }
- .box:hover {opacity:0.9;}
- .text {
- {block:IfNotHorizontal}height:auto;
- {block:IfCropTextPost}max-height:300px;{/block:IfCropTextPost}
- width:calc((100% - ({text:Number of Columns} - 1)*{text:Gutter Width}px)/{text:Number of Columns});
- white-space: nowrap;
- overflow:hidden;
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- height:{text:Horizontal Post Height};
- width:{text:Horizontal Post Height};
- line-height:10px;
- {/block:IfHorizontal}
- display:block;
- overflow:hidden;
- }
- #footer {
- width:100%;
- position:relative;
- height:{block:IfManualInfiniteScroll}100px{/block:IfManualInfiniteScroll} {block:IfNotManualInfiniteScroll}{text:Footer Height}{/block:IfNotManualInfiniteScroll};
- bottom:0px;
- z-index:10;
- {block:IfHorizontal}
- position:fixed;
- {block:IfHorizontal}
- }
- .pagination {
- z-index:50;
- {block:IfNotHorizontal}
- margin-top:50px;
- margin-bottom:50px;
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- margin-top:0px;
- {/block:IfHorizontal}
- }
- .load-more {
- z-index:100;
- font-family:'{text:Body Font}';
- left:50vw;
- border:0;
- padding-top:2vh;
- padding-bottom:2vh;
- padding-left:10vw;
- padding-right:10vw;
- background:#f0f0f0;
- color:#9f9f9f;
- -webkit-transition: 0.8s ease-in-out;
- -moz-transition: 0.8s ease-in-out;
- transition: 0.8s ease-in-out;
- }
- .load-more:hover {
- background:{color:Links};
- color:{color:Background};
- }
- .load-more:focus {
- border:none;
- }
- #infscr-loading{
- {block:IfNotHorizontal}
- position:absolute;
- margin-left:50%;
- margin-right:50%;
- bottom:0px;
- {/block:IfNotHorizontal}
- {block:IfHorizontal}
- position:fixed;
- right:0px;
- top:50%;
- bottom:50%;
- {/block:IfHorizontal}
- }
- #infscr-loading img{
- width:10px;
- opacity:0.5;
- }
- @media screen and (max-width: 480px) {
- body {
- background-color: {color:Background};
- }
- }
- .navigation { {block:IfInfiniteScroll}display:none!important{/block:IfInfiniteScroll} {block:IfNotInfiniteScroll}display:block{/block:IfNotInfiniteScroll}; font-family:'{text:Body Font}'; font-size:12px; opacity:0.5;}
- .isotope-item {z-index: 2;}
- .isotope-hidden.isotope-item {pointer-events: none;z-index: 1;}
- .isotope, .isotope .isotope-item {-webkit-transition: 0.8s ease-in-out;-moz-transition: 0.8s ease-in-out;transition: 0.8s ease-in-out;}
- .isotope {-webkit-transition-property: height, width;-moz-transition-property: height, width;transition-property: height, width;}
- .isotope .isotope-item {-webkit-transition-property:-webkit-transform, opacity;- moz-transition-property:-moz-transform, opacity; transition-property: transform, opacity;}
- #filters, #quicksearch {opacity:0.4;-webkit-transition: 0.8s ease-in-out;-moz-transition: 0.8s ease-in-out;transition: 0.8s ease-in-out; }
- #filters:hover, #quicksearch:hover {opacity:1;}
- .hide {display:none; }
- .active {display:block;}
- </style>
- </head>
- <body style="cursor:url('{image:Cursor}'), crosshair !important; ">
- <div id="wrapper">
- {block:IndexPage}
- <div id="header" style="{block:IfHorizontal} calc(((100vh - {text:Horizontal Post Height})/2) - 2*{text:Header Top and Bottom Gap}); {/block:IfHorizontal}">
- {block:IfHeadSpace}
- <a href="{BlogURL}" style="font-size:{text:Header Font Size};"> <div style="
- padding-top:calc(({text:Header Height} - {text:Header Font Size})/2);">{Title} </div></a>
- {/block:IfHeadSpace}
- </div>
- {/block:IndexPage}
- <p><input type="text" id="quicksearch" autocomplete="off" style="background:rgba(251,251,251, 0); color:#a8a8a8; text-align:center; font-size:11px; " placeholder= "Search"/></p>
- <div >
- </div>
- <div id="filters" class="button-group sort-by-button-group">
- <p style="padding-bottom:20px; opacity:0.25;">
- <button class="button is-checked" data-sort-value="original-order"><i class="far fa-clock" style="font-size:13px;"></i></button> <button class="button" data-sort-value="name"><i class="fas fa-sort-alpha-down" style="font-size:13px;"></i></button>
- <button data-filter="*" title="all"><i class="fa fa-snowflake-o" style="font-size:13px;"></i></button>
- <button data-filter=".chinese" title="texts">字</button>
- <button data-filter=".english" title="texts">E</button>
- </p>
- </div>
- <div id="content-wrapper">
- <div id="content" class="fade-in">
- {block:Posts}
- <div class="box {block:Text}text{/block:Text} {block:HasTags}{block:Tags}{Tag}{/block:Tags}{/block:HasTags}"
- style="opacity:0.00001;margin-bottom:calc({text:Gutter Width}px);" >
- <center>
- {block:Text}
- <u><a href="{Permalink}">{Title}</a></u>
- <div class="name">{Body}</div>
- <div id="tags" style="position:absolute; opacity:0;">{block:HasTags}{block:Tags}{Tag} {/block:Tags}{/block:HasTags}</div>
- {/block:Text}
- </center>
- </div> <!--box-->
- {/block:Posts}
- </div> <!--content -->
- </div> <!--content wrapper -->
- </div> <!--button-group -->
- <div id="footer">
- <div class="navigation">
- <p id="page_nav">
- <a id="next" href="{NextPage}" style="float:right; right:2px; bottom:50vh; position:fixed;" ><i class="fa fa-long-arrow-right"></i></a>
- <a href="{PreviousPage}" style="float:left; left:2px; bottom:50vh; position:fixed;" ><i class="fa fa-long-arrow-left"></i></a>
- </p>
- </div>
- </div> <!--footer -->
- </div> <!--wrapper-->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement