Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>{Title}</title>
- <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" />
- <link href="https://fonts.googleapis.com/css?family=Courgette|Great+Vibes|Open+Sans+Condensed:300|Red+Hat+Display&display=swap" rel="stylesheet">
- <script src="https://static.tumblr.com/5ojoydj/Kzyp56cvt/jquery-2.2.0.min.js"></script>
- <style type="text/css">
- #content {
- margin-left:35%;
- width: 900px; /*changes # of columns*/
- float: left;
- color:#bf8dc0;
- position:relative;
- }
- body {
- background-color: white;
- background-attachment:fixed;
- background-repeat:repeat;
- background-position:center;
- font-size: 10px;
- font-family: 'Open Sans Condensed', sans-serif;
- color: purple;
- margin-top:-60px;}
- a {
- color:rgb(185,120,120)
- text-decoration:none;
- }
- blockquote {
- padding-left:5px;
- border-left:1px dotted;
- color: {color:text};
- margin-left:3px;
- margin-bottom:5px;
- font-family: 'Red Hat Display', sans-serif;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- img {
- height: auto;
- width: auto;
- }
- #sidebar {
- height:100%;
- width:450px;
- position:fixed;
- margin-top:-20px;
- background: #bc8cbe;
- color:white;
- border: 1px solid rgb(185,120,120);
- font-size: 10px;
- font-family:arial;
- text-align:center;
- }
- #blogtitle a {
- color:white!important;
- text-decoration:none;
- font-size:25px;
- padding:5px;
- font-family: 'Great Vibes', cursive;
- text-shadow: 2px 2px purple;
- }
- .description {
- text-align:center justify;
- padding:4px;
- line-height:1.3;
- color:#D8BFD8;
- }
- #navlinks {
- position:absolute;
- margin-left:250px;
- text-transform:uppercase;
- bottom:40px;
- font-size:15px;
- text-shadow: 2px 2px purple;
- font-family: 'Red Hat Display', sans-serif;
- text-align:left;
- line-height:1.5;
- }
- #navlinks ul{
- list-style:none;
- }
- #navlinks a{
- color:white;
- }
- #navlinks a:hover{
- color:rgb(185,120,120);
- }
- article {
- background: white;
- margin: 12px;
- padding: 8px;
- border: 1px solid purple;
- width: 350px!important;
- overflow:auto;
- color:#bf8dc0;
- }
- article img {
- }
- article a{
- color:#bf8dc0;
- }
- .title {
- text-align:center;
- text-transform:uppercase;
- font-family: Purple;
- font-size: 18px;
- }
- .title a{
- color:purple;
- text-decoration:none;
- }
- .text {
- font-size:10px;
- width:100%;
- color:#bf8dc0;
- }
- .photo {
- }
- .photoset {
- }
- .quote {
- text-align:center;
- }
- .link {
- }
- .audio {
- width:100%;
- }
- .video{
- }
- .video-player {
- }
- .answer {
- }
- .ques {
- font-weight:bolder;
- }
- .ans {
- font-style:italic;
- }
- .chat{
- margin-left:-30px;
- }
- .chat span {
- float: left;
- margin-right: 10px;
- }
- .chat:nth-child(even) {
- background:#f9f9f9;
- }
- .odd{
- background:#f6f6f6;
- }
- #perma {
- text-align: center;
- position: relative;
- text-transform:uppercase;
- margin-top:2px;
- padding:4px;
- font-size: 8px;
- {block:PermalinkPage}
- display:none;
- {/block:PermalinkPage}
- }
- .tumblr_audio_player {
- width: 100%;
- height: 100px;
- overflow: hidden;
- position: relative;
- z-index: 1000;
- }
- .pagination {
- }
- .pagi {
- font-size:15px;
- color: purple;
- text-align:center;
- padding:2px;
- padding-top:5px;
- }
- .pagi a{
- color:purple;
- }
- .pagi a:hover{
- color:#bf8dc0;
- }
- hr {
- width:75%;
- border-top:1px solid purple;
- }
- caption {
- margin:12px;
- color:purple;
- }
- caption a{
- color:purple
- }
- #fen {
- bottom:0;
- left:0;
- position:absolute;
- float:left;
- height:auto;
- width:280px;
- }
- .pref{
- position:relative;
- margin-left:550px;
- }
- /*------------Featured post (by FUKUO) for more info go to https://fukuo.tumblr.com/post/182468748665/how-to-make-a-featured-post-using-tumblr-api-as---------------*/
- #wrapper_featured_posts{max-width:1000px;margin:5rem auto;font-family:'Source Sans Pro',sans-serif;font-size:.9em
- margin-left:400px;
- }
- #wrapper_featured_posts .inner_featured_posts{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:1.5rem}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured{position:relative;
- max-height: 200px;width:auto;:200px;overflow:hidden;background-color:#fff;border:1px solid rgba(0,0,0,.25)}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured .body_caption{position:relative;padding:1em 1.5em}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured h3{font-size:1.5em;padding:1em 1.2em;word-break:break-all;margin:0;background-color:#d43189}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured h3 a{color:#fff}#wrapper_featured_posts .inner_featured_posts>.grid_featured a{color:#d43189}
- #wrapper_featured_posts .inner_featured_posts a.tumblr_blog{text-decoration:none;color:#d43189;font-weight:700;margin-bottom:-1.4em}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured .body_caption blockquote{margin:0}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured .body_caption h2{font-size:1.2em;margin:.4em 0 0}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured:after{position:absolute;content:'';width:100%;height:200px;background:linear-gradient(0deg,#fff,rgba(255,255,255,.15));bottom:0;left:0}
- #wrapper_featured_posts .inner_featured_posts>.grid_featured .btnMore{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:999;text-decoration:none;display:block;font-size:.85em;background-color:#2c1421;color:#fff!important;padding:.6em 1em;-webkit-border-radius:20px;-moz-border-radius:20px;-ms-border-radius:20px;-o-border-radius:20px;border-radius:20px}
- </style>
- </head>
- <body>
- <div id="sidebar">
- <div id="blogtitle"><a href="/">{Title}</a></div><hr>
- <div class="description">{Description}</div>
- <div id="navlinks">
- <ul>
- <li><a href="/ask">Request</a></li>
- <li><a href="/tagged/icons">Icons</a></li>
- <li><a href="/tagged/wallpapers">Wallpapers</a></li>
- <li><a href="https://archiveofourown.org/users/HighKingFen">A03</a></li>
- <li><a href="spoonful.productions">Podcasts<a></li>
- <li><a href="twitter.com/highkinfen">Twitter</a></li>
- <li><a href="https://unofficialmagiciansdnd.tumblr.com">DND Book</a></li>
- <li><a href="https://www.redbubble.com/people/FillorianQueen">Redbubble</a></li>
- <li><a href="https://www.etsy.com/ca-fr/shop/FillorianQueen">Etsy</a></li>
- <li><a href="/ask">Send a bunny</a></li>
- </ul></div>
- {block:Pagination}
- <div class="pagination">
- <div class="pagi">
- {block:PreviousPage}<a href="{PreviousPage}"><i class="fas fa-chevron-left"></i></a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}"><i class="fas fa-chevron-right"></i></a>{/block:NextPage}
- </div></div>
- {/block:Pagination}
- <img id="fen" src="https://66.media.tumblr.com/815e4154254143c51ab85bb98e0d4c9e/tumblr_px4az6CQ5i1wd05tno2_500.png">
- </div>
- <div class="pref"><div id="wrapper_featured_posts"> <h1>Featured Posts</h1> <div class="inner_featured_posts"> <!-- the posts will appear below using jQuery --> </div> </div></div>
- <br> <br>
- <div id="content">
- {block:Posts}
- <article>
- {block:Text}
- <div class="text">
- {block:Title}<h1 class="title">
- <a href="{Permalink}">{Title}</a>
- </h1><hr>{/block:Title}
- {Body}
- {/block:Text}
- {block:Photo}
- <div class="photo">
- {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:IndexPage}
- {Photoset-500}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-500}
- {/block:PermalinkPage}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">
- ❝ {Quote} ❞
- <br><br>{block:Source}<cite>— {Source}</cite>{/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="link">
- <h1 class="title"><a href="{URL}">{Name}</a><hr></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- <div class="chat">
- <ul>
- {block:Lines}
- <div class="{Alt} user_{UserNumber}">
- {block:Label}
- <b>{Label}</b>{/block:Label}
- {Line}
- </div>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AlbumArt}
- <img src="{AlbumArtURL}" width="100px" height="100px"/>
- {/block:AlbumArt}
- {block:AudioEmbed}
- {AudioEmbed}
- {/block:AudioEmbed}<br>
- {block:TrackName}
- <b>track:</b> {TrackName}
- {/block:TrackName}</span><br>
- {block:Artist}
- <b>artist:</b> {Artist}
- {/block:Artist}
- {block:Caption}
- {Caption}
- {/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">
- <div class="video-player">{Video-500}</div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="answer">
- {Asker} asked: <b><div class="ques">{Question}</div></b>
- <div class="ans">{Answer}</div>
- {/block:Answer}
- </div>
- <div id="perma">
- <hr><a href="{Permalink}" title="this post has {NoteCount} notes">{NoteCount} <i class="fas fa-heart"></i></a> <a href="{reblogURL}" title="reblog this post">reblog</a> <a href="{Permalink}" title="posted — {ShortMonth} {DayOfMonth} {Year} {12Hour}:{Minutes}{AmPm}">{TimeAgo}</a> {block:ifShowTags}{block:HasTags} <a style="font-size:9px;" title="{block:Tags}#{Tag} {/block:Tags}"><i class="fas fa-hashtag"></i></a>{block:HasTags} {block:ifShowTags}
- </div>
- {block:PermalinkPage}
- {block:Date}{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}{/block:Date}
- {block:NoteCount} - {NoteCountWithLabel}{/block:NoteCount}
- {block:HasTags}</br>tagged as: {block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
- {block:RebloggedFrom}</br>source: <a href="{ReblogRootURL}">{ReblogRootName}</a> - via: <a href="{ReblogParentURL}">{ReblogParentName}</a><br>{/block:RebloggedFrom}
- {block:PostNotes}{PostNotes-16}{/block:PostNotes}
- </div></div>
- {/block:PermalinkPage}
- </footer>
- </article>
- {/block:Posts}
- </div>
- <!-- SCRIPTS -->
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="https://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- {block:IfInfiniteScroll}
- <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="https://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- {/block:IfInfiniteScroll}
- <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:0,
- tip_fade_speed:0
- }
- );
- });
- })(jQuery);
- </script>
- <script>
- (function() {
- var $tumblelog = $('#content');
- {block:IfInfiniteScroll}
- $tumblelog.infinitescroll({
- navSelector : ".pagination",
- nextSelector : ".pagination a:first",
- itemSelector : "article",
- bufferPx : 50,
- done : "",
- loading: {
- img : "",
- msgText: ""
- },
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $tumblelog.masonry( 'appended', $newElems);
- });
- }
- );
- {/block:IfInfiniteScroll}
- $tumblelog.imagesLoaded( function(){
- $tumblelog.masonry({
- columnWidth: function( containerWidth ) {
- return containerWidth / 100;
- }
- });
- });
- })();
- </script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.js"></script>
- <script>
- SmoothScroll({
- // Scrolling Core
- animationTime : 700, // [ms]
- stepSize : 100, // [px]
- // Acceleration
- accelerationDelta : 50, // 50
- accelerationMax : 3, // 3
- // Keyboard Settings
- keyboardSupport : true, // option
- arrowScroll : 100, // [px]
- // Pulse (less tweakable)
- // ratio of "tail" to "acceleration"
- pulseAlgorithm : true,
- pulseScale : 4,
- pulseNormalize : 1,
- // Other
- touchpadSupport : false, // ignore touchpad by default
- fixedBackground : true,
- excluded : ''
- });
- </script>
- <script src="https://static.tumblr.com/5ojoydj/Kzyp56cvt/jquery-2.2.0.min.js"></script>
- <script>
- $(document).ready(function() {
- var readData, insert;
- var url = "https://{Name}.tumblr.com/api/read/json?&tagged=featured";
- $.getScript(url, function() {
- readData = tumblr_api_read;
- console.log(readData);
- /*replace "2" with your desired number.
- please remember that the number starts from zero
- if you want to show 4 featured posts, replace "2" with "3" and so on.
- */
- for (var i = 0; i <= 2; i++) {
- var posts = readData.posts[i]; /* is equivalent to tumblr_api_read.posts */
- var link = posts["url"]; /* get an url of the posts */
- /* photo posts */
- var img = posts["photo-url-1280"]; /* get an image url */
- var captionPhotos = posts["photo-caption"]; /* get a caption of the photo/photoset posts */
- /* text posts */
- var titleText = posts["regular-title"]; /* title of the posts */
- var captionText = posts["regular-body"]; /* body of the posts */
- /* condition
- if the post type is not photo/photoset posts */
- if (img === undefined) {
- insert = '<div class="grid_featured">';
- insert += '<h3><a href="' + link + '">' + titleText + '</a></h3>';
- insert += '<div class="body_caption">' + captionText + '</div>';
- insert += '<a class="btnMore" href="' + link + '">See Full Post</a>';
- insert += '</div>';
- $('h3').filter(function () {
- return $(this).text() == 'null';
- }).remove();
- $('.inner_featured_posts').append(insert); /* insert the HTML inside the <div class="featured_posts"></div> */
- } else {
- insert = '<div class="grid_featured">';
- insert += '<img src="' + img + '">';
- insert += '<div class="body_caption">' + captionPhotos + '</div>';
- insert += '<a class="btnMore" href="' + link + '">See Full Post</a>';
- insert += '</div>';
- $('.inner_featured_posts').append(insert); /* insert the HTML inside the <div class="featured_posts"></div> */
- }
- }
- });
- });
- </script>
- <a href="https://highkingfen.tumblr.com" title="theme by HighKingFen." style="position:fixed;font-size:18px;bottom:3px;right:5px;">
- <i class="fas fa-crown"></i>
- </a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment