Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!--Eudamia Page Pack: All In One 03 Hessa (Custom Blogroll version) by antoniosvivaldi / athenathms
- antoniosvivaldi © 2021
- Note:
- - Optimised for modern browsers e.g. Google Chrome / Opera
- - Optimised for computer monitor sizes 13in. ~ 15in.
- - Common terms of use apply
- - Feel free to tweak the layout as long as the credit stays intact
- -->
- <head>
- <meta charset="UTF-8" />
- <meta https-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="{Favicon}">
- <title>{Title}</title>
- <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,700,700i" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Karla:400,400i,700,700i" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Playfair+Display:700" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Elsie:900" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Unna:700" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Libre+Baskerville:700" rel="stylesheet">
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
- <style type="text/css">
- /*Customise stuff here*/
- :root {
- /*font size*/
- --fontsize:18px;
- /*accent colours*/
- --accent: #53759b;
- --highlight: #cfe9f6;
- /*accent colours with opacity*/
- /*
- convert the accent & highlight hex codes to RGB values using the following website:
- https://www.rapidtables.com/convert/color/hex-to-rgb.html
- */
- --accentalpha: 83, 117, 155;
- --highlightalpha: 207, 233, 246;
- /* available blend modes:
- - Normal
- - Multiply
- - Scren
- - Color Burn
- - Color Dodge
- - Overlay
- - Soft Light
- - Hard Light
- - Hue
- - Color
- */
- --abtblend:multiply;
- --faqblend:multiply;
- }
- /*Available body fonts:
- - Fira Sans
- - Open Sans
- - Karla
- - Source Sans Pro
- */
- body {
- font-family:'Fira Sans',sans-serif;
- }
- /*Available heading fonts:
- - Playfair Display
- - Elsie
- - Unna
- - Libre Baskerville
- */
- h1, h2, .tilter__title {font-family:'Playfair Display',serif;}
- /*FAQ background*/
- article.faqbg {
- background-image: url('https://64.media.tumblr.com/7c29a2e824b9521c05054c115361f86f/4e8a6883106985ad-1d/s2048x3072/7a35f4e0e60ed72f6bdc469df7a3dfc53d9db1d0.jpg');
- }
- </style>
- <!--the rest of the CSS stylesheet-->
- <link rel="stylesheet" href="https://static.tumblr.com/hqib8pd/orEr5hqe4/eudamia-main-v2.css">
- </head>
- <!--How to use different theme modes: in the body tag below
- Light theme: day-mode
- Dark theme: night-mode
- Alternating theme: remove day-mode / night-mode from the classname and uncomment the script at the end of the HTML
- -->
- <body class="animsition day-mode">
- <div class="topbar">
- <div class="topbar__inner">
- <!--If you want to change the title, just replace the 3 "{Title}" below to your desired heading title-->
- <h1><a class="a-link tbrefresh" href="/">{Title}
- <span class="tbletters" data-letters="{Title}"></span>
- <span class="tbletters" data-letters="{Title}"></span>
- </a></h1>
- <nav class="tbnav">
- <a data-tabs="tab1" class="active">About</a>
- <a data-tabs="tab2">FAQ</a>
- <a data-tabs="tab3">Navi</a>
- <a data-tabs="tab4">Blogroll</a>
- </nav>
- </div>
- </div>
- <main class="smooth">
- <div id="wrapper">
- <!--Posts and hero image-->
- <section class="tabs" id="tab1">
- <div class="abt_cont">
- <article class="abtstuff hoverbox">
- <a class="tilter tilter--4">
- <figure class="tilter__figure">
- <div class="abtimg">
- <!--About Me section image-->
- <img class="tilter__image" src="https://64.media.tumblr.com/e97a64470998fd16b116b17f67fbab4c/4e8a6883106985ad-75/s2048x3072/38b3b295a1dde5bff3c30e2896ef1f2d847147ed.png"data-focus-x=".5" data-focus-y="0" />
- <!--/About Me section image-->
- </div>
- <div class="tilter__deco tilter__deco--shine"><div></div></div>
- <div class="tilter__deco tilter__deco--overlay"></div>
- <figcaption class="tilter__caption">
- <!--Name-->
- <h3 class="tilter__title">Name</h3>
- <!--/Name-->
- <!--Short info-->
- <p class="tilter__description">some info here</p>
- <!--/Short info-->
- </figcaption>
- <svg class="tilter__deco tilter__deco--lines" viewBox="0 0 300 415">
- <path d="M20.5,20.5h260v375h-260V20.5z" />
- </svg>
- </figure>
- </a>
- </article>
- <article class="abtstuff biography">
- <h1>About Me</h1>
- <!--Write your bio here-->
- <p>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
- </p>
- <!--Add bio quote if you want-->
- <p class="abtqt">
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- </p>
- <!--to add more paragraphs: add one more set of <p></p> to add one moreline of quote <p class="abtqt"></p> -->
- <!--/to here -->
- <nav class="abtlinks">
- <!--About Me Link-->
- <a href="/" title="Link">
- <svg height="30" viewBox="0 0 30 30" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M15 1c-.38 0-.692.184-.963.416-.27.232-.518.534-.766.883-.493.697-.98 1.596-1.456 2.518-.475.923-.94 1.868-1.357 2.625-.418.758-.85 1.338-.998 1.444-.15.105-.853.328-1.722.482-.868.153-1.93.292-2.976.448-1.046.157-2.072.33-2.903.573-.416.122-.783.258-1.092.438-.31.18-.59.413-.71.776-.122.362-.035.717.108 1.042.143.326.36.648.623.985.526.675 1.25 1.407 2.003 2.134.752.726 1.53 1.446 2.14 2.068.608.622 1.042 1.21 1.096 1.37.053.163.055.883-.063 1.735-.118.853-.314 1.88-.485 2.9-.17 1.02-.317 2.028-.337 2.878-.01.425.01.81.09 1.156.08.347.224.683.535.903.31.22.67.247 1.03.215.356-.032.734-.13 1.143-.27.82-.282 1.754-.73 2.694-1.204.94-.473 1.883-.97 2.677-1.344.795-.374 1.497-.6 1.686-.6.19 0 .89.226 1.686.6.794.374 1.737.87 2.677 1.344.94.473 1.875.922 2.694 1.203.41.14.787.24 1.144.27.36.033.72.006 1.03-.214.31-.22.455-.556.536-.902.08-.345.1-.73.09-1.155-.02-.85-.168-1.858-.338-2.877-.17-1.02-.367-2.048-.485-2.9-.118-.853-.116-1.573-.062-1.735.055-.162.49-.75 1.098-1.37.61-.623 1.387-1.343 2.14-2.07.75-.726 1.476-1.458 2.003-2.132.265-.336.48-.658.624-.984.143-.325.23-.68.11-1.042-.12-.363-.402-.596-.712-.776-.31-.18-.676-.316-1.09-.437-.832-.242-1.858-.415-2.904-.572-1.045-.156-2.108-.295-2.976-.45-.87-.153-1.572-.376-1.72-.48-.15-.107-.58-.687-1-1.445-.417-.757-.88-1.702-1.356-2.625-.476-.922-.963-1.82-1.457-2.52-.25-.348-.496-.65-.767-.882C15.693 1.184 15.38 1 15 1zm.313 1.176c.17.146.38.39.6.7.436.617.914 1.49 1.384 2.4.47.91.933 1.858 1.37 2.65.435.79.786 1.417 1.294 1.777.51.36 1.223.49 2.128.65.905.16 1.97.3 3.002.454 1.032.154 2.032.33 2.77.545.37.107.674.227.87.34.31.138.27.384.188.552-.09.203-.26.473-.494.772-.467.597-1.17 1.312-1.912 2.03-.742.716-1.523 1.438-2.158 2.087-.636.65-1.136 1.162-1.333 1.754-.196.592-.1 1.298.023 2.19.124.89.32 1.922.488 2.927.17 1.005.307 1.987.325 2.736.01.375-.012.692-.062.906-.083.354-.293.354-.502.346-.228-.02-.545-.096-.91-.22-.727-.25-1.64-.684-2.567-1.15-.928-.468-1.873-.97-2.702-1.358-.827-.39-1.487-.694-2.11-.694-.623 0-1.283.304-2.11.694-.83.39-1.775.89-2.703 1.357-.927.468-1.84.902-2.568 1.15-.365.126-.682.202-.91.222-.315.008-.433-.11-.503-.346-.05-.214-.072-.53-.062-.906.018-.75.156-1.73.324-2.736.167-1.005.363-2.037.487-2.928.124-.89.22-1.597.022-2.19-.198-.59-.698-1.104-1.334-1.753-.635-.65-1.416-1.37-2.158-2.088-.74-.717-1.445-1.432-1.912-2.03-.233-.298-.405-.568-.494-.77-.127-.245.017-.453.188-.552.196-.114.5-.234.87-.34.738-.217 1.738-.392 2.77-.546 1.032-.155 2.097-.293 3.002-.453.905-.16 1.62-.29 2.127-.65.507-.36.858-.987 1.294-1.778.436-.792.9-1.74 1.37-2.65.47-.91.947-1.783 1.384-2.4.22-.31.428-.554.6-.7.312-.26.452-.176.624 0z"/></svg>
- </a>
- <!--/About Me Link-->
- <!--About Me Link-->
- <a href="/" title="Link">
- <svg height="30" viewBox="0 0 30 30" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M19.5 7c-.657 0-.657 1 0 1H22c3.887 0 7 3.113 7 7s-3.113 7-7 7h-2c-3.887 0-7-3.113-7-7v-.5c0-.672-1-.648-1 0v.5c0 4.423 3.577 8 8 8h2c4.423 0 8-3.577 8-8s-3.577-8-8-8zM8 7c-4.423 0-8 3.577-8 8s3.577 8 8 8h2.5c.665 0 .66-1 0-1H8c-3.887 0-7-3.113-7-7s3.113-7 7-7h2c3.887 0 7 3.113 7 7v.5c0 .676 1 .656 1 0V15c0-4.423-3.577-8-8-8z"/></svg>
- </a>
- <!--/About Me Link-->
- <!--About Me Link-->
- <a href="/" title="Link">
- <svg height="30" viewBox="0 0 30 30" width="30" xmlns="http://www.w3.org/2000/svg"><path d="M7.975 2c-2.235.116-4.365 1.203-5.82 2.89C.7 6.57 0 8.786 0 11c0 1.938.697 3.816 1.646 5.46.95 1.644 2.19 3.077 3.5 4.394 2.824 2.833 6.08 5.232 9.622 7.09.145.076.32.076.464 0 3.543-1.858 6.798-4.257 9.622-7.09 1.31-1.317 2.55-2.75 3.5-4.393C29.304 14.817 30 12.94 30 11c0-2.22-.7-4.428-2.154-6.11C26.39 3.202 24.26 2.115 22.026 2c-1.516-.078-3.045.286-4.362 1.04-1.097.626-1.975 1.558-2.664 2.614-.69-1.056-1.567-1.988-2.664-2.615C11.02 2.285 9.49 1.92 7.976 2zm.05 1c1.32-.068 2.665.25 3.813.906 1.148.656 2.107 1.652 2.72 2.824.186.36.698.36.885 0 .612-1.172 1.57-2.168 2.72-2.824 1.147-.656 2.49-.974 3.812-.906 1.942.1 3.837 1.062 5.115 2.54C28.37 7.023 29 9 29 11c0 1.73-.628 3.43-1.512 4.96-.885 1.535-2.064 2.904-3.342 4.186-2.686 2.697-5.788 4.975-9.146 6.766-3.358-1.79-6.46-4.07-9.146-6.766-1.278-1.282-2.457-2.65-3.342-4.185C1.628 14.43 1 12.73 1 11c0-2 .63-3.978 1.91-5.46C4.188 4.063 6.083 3.1 8.025 3z"/></svg>
- </a>
- <!--/About Me Link-->
- </nav>
- </article>
- </div>
- <footer>
- <div>Theme by <a href="https://antoniosvivaldi.tumblr.com" class="a-link">antoniosvivaldi</a></div>
- </footer>
- </section>
- <!--/Posts and hero image-->
- <!--FAQ + Info-->
- <section class="tabs"id="tab2">
- <div class="faq_cont">
- <article class="faqstuff fask">
- <h1>FAQ</h1>
- <div>
- <!--Question + Answer 1-->
- <p class="tabq">This is a question?</p>
- <p class="taba">This is an answer.</p>
- <!--Question + Answer 2-->
- <p class="tabq">This is a question?</p>
- <p class="taba">This is an answer.</p>
- <!--Question + Answer 3-->
- <p class="tabq">This is a question?</p>
- <p class="taba">This is an answer.</p>
- <h2>{AskLabel}</h2>
- <p>
- <iframe frameborder="0" scrolling="no" width="100%" height="320px" src="https://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:auto;" id="askbox"></iframe>
- </p>
- </div>
- </article>
- <article class="faqstuff faqbg"></article>
- </div>
- </section>
- <!--/FAQ + Info-->
- <!--Navi-->
- <section class="tabs"id="tab3">
- <h1>Navigation</h1>
- <div class="navi_cont">
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 1</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 2</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 3</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 4</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 5</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- <!--Navigation category-->
- <div class="navi_box">
- <!--Rename category if you want-->
- <h2>Category 6</h2>
- <ul>
- <!--links-->
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- <li><a class="a-link"href="/">link</a></li>
- </ul>
- </div>
- <!--/Navigation category-->
- </div>
- </section>
- <!--/Navi-->
- <!--Blogroll-->
- <section class="tabs"id="tab4">
- <h1>Blogroll</h1>
- <div class="broll_cont">
- <!--Static blogroll: copy / paste the following div to add more users. Texts to add in include link to a blog and etc.-->
- <!--one user-->
- <div class="followed_user">
- <div class="followed_img">
- <div>
- <img src="https://64.media.tumblr.com/e2da596a623fa7093789bbba06585057/f5a516df81d7d77b-58/s128x128u_c1/e0950fadc15b3ca1052540c8c4ace900597acbb7.png">
- </div>
- </div>
- <div class="followed_txt">
- <span>
- <b><a class="a-link" href="#">Blog URL</a></b><br>
- Blog Title
- </span>
- </div>
- </div>
- <!--/one user-->
- <!--to here-->
- </div>
- </section>
- <!--/Blogroll-->
- </div>
- </main>
- <!--Please do not alter the credit!-->
- <div id="athena_wrapper">
- <a class="a-link" href="https://antoniosvivaldi.tumblr.com"><span>thm</span></a>
- </div>
- <!--/credit-->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.1/imagesloaded.pkgd.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.2.0/anime.min.js"></script>
- <script>
- /**
- * main.js
- * http://www.codrops.com
- *
- * Licensed under the MIT license.
- * http://www.opensource.org/licenses/mit-license.php
- *
- * Copyright 2016, Codrops
- * http://www.codrops.com
- */
- ;(function(window) {
- 'use strict';
- // Helper vars and functions.
- function extend( a, b ) {
- for( var key in b ) {
- if( b.hasOwnProperty( key ) ) {
- a[key] = b[key];
- }
- }
- return a;
- }
- // from http://www.quirksmode.org/js/events_properties.html#position
- function getMousePos(e) {
- var posx = 0, posy = 0;
- if (!e) var e = window.event;
- if (e.pageX || e.pageY) {
- posx = e.pageX;
- posy = e.pageY;
- }
- else if (e.clientX || e.clientY) {
- posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
- posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
- }
- return { x : posx, y : posy }
- }
- /**
- * TiltFx obj.
- */
- function TiltFx(el, options) {
- this.DOM = {};
- this.DOM.el = el;
- this.options = extend({}, this.options);
- extend(this.options, options);
- this._init();
- }
- TiltFx.prototype.options = {
- movement: {
- imgWrapper : {
- translation : {x: 0, y: 0, z: 0},
- rotation : {x: -5, y: 5, z: 0},
- reverseAnimation : {
- duration : 1200,
- easing : 'easeOutElastic',
- elasticity : 600
- }
- },
- lines : {
- translation : {x: 10, y: 10, z: [0,10]},
- reverseAnimation : {
- duration : 1000,
- easing : 'easeOutExpo',
- elasticity : 600
- }
- },
- caption : {
- translation : {x: 20, y: 20, z: 0},
- rotation : {x: 0, y: 0, z: 0},
- reverseAnimation : {
- duration : 1500,
- easing : 'easeOutElastic',
- elasticity : 600
- }
- },
- /*
- overlay : {
- translation : {x: 10, y: 10, z: [0,50]},
- reverseAnimation : {
- duration : 500,
- easing : 'easeOutExpo'
- }
- },
- */
- shine : {
- translation : {x: 50, y: 50, z: 0},
- reverseAnimation : {
- duration : 1200,
- easing : 'easeOutElastic',
- elasticity: 600
- }
- }
- }
- };
- /**
- * Init.
- */
- TiltFx.prototype._init = function() {
- this.DOM.animatable = {};
- this.DOM.animatable.imgWrapper = this.DOM.el.querySelector('.tilter__figure');
- this.DOM.animatable.lines = this.DOM.el.querySelector('.tilter__deco--lines');
- this.DOM.animatable.caption = this.DOM.el.querySelector('.tilter__caption');
- this.DOM.animatable.overlay = this.DOM.el.querySelector('.tilter__deco--overlay');
- this.DOM.animatable.shine = this.DOM.el.querySelector('.tilter__deco--shine > div');
- this._initEvents();
- };
- /**
- * Init/Bind events.
- */
- TiltFx.prototype._initEvents = function() {
- var self = this;
- this.mouseenterFn = function() {
- for(var key in self.DOM.animatable) {
- anime.remove(self.DOM.animatable[key]);
- }
- };
- this.mousemoveFn = function(ev) {
- requestAnimationFrame(function() { self._layout(ev); });
- };
- this.mouseleaveFn = function(ev) {
- requestAnimationFrame(function() {
- for(var key in self.DOM.animatable) {
- if( self.options.movement[key] == undefined ) {continue;}
- anime({
- targets: self.DOM.animatable[key],
- duration: self.options.movement[key].reverseAnimation != undefined ? self.options.movement[key].reverseAnimation.duration || 0 : 1,
- easing: self.options.movement[key].reverseAnimation != undefined ? self.options.movement[key].reverseAnimation.easing || 'linear' : 'linear',
- elasticity: self.options.movement[key].reverseAnimation != undefined ? self.options.movement[key].reverseAnimation.elasticity || null : null,
- scaleX: 1,
- scaleY: 1,
- scaleZ: 1,
- translateX: 0,
- translateY: 0,
- translateZ: 0,
- rotateX: 0,
- rotateY: 0,
- rotateZ: 0
- });
- }
- });
- };
- this.DOM.el.addEventListener('mousemove', this.mousemoveFn);
- this.DOM.el.addEventListener('mouseleave', this.mouseleaveFn);
- this.DOM.el.addEventListener('mouseenter', this.mouseenterFn);
- };
- TiltFx.prototype._layout = function(ev) {
- // Mouse position relative to the document.
- var mousepos = getMousePos(ev),
- // Document scrolls.
- docScrolls = {left : document.body.scrollLeft + document.documentElement.scrollLeft, top : document.body.scrollTop + document.documentElement.scrollTop},
- bounds = this.DOM.el.getBoundingClientRect(),
- // Mouse position relative to the main element (this.DOM.el).
- relmousepos = { x : mousepos.x - bounds.left - docScrolls.left, y : mousepos.y - bounds.top - docScrolls.top };
- // Movement settings for the animatable elements.
- for(var key in this.DOM.animatable) {
- if( this.DOM.animatable[key] == undefined || this.options.movement[key] == undefined ) {
- continue;
- }
- var t = this.options.movement[key] != undefined ? this.options.movement[key].translation || {x:0,y:0,z:0} : {x:0,y:0,z:0},
- r = this.options.movement[key] != undefined ? this.options.movement[key].rotation || {x:0,y:0,z:0} : {x:0,y:0,z:0},
- setRange = function (obj) {
- for(var k in obj) {
- if( obj[k] == undefined ) {
- obj[k] = [0,0];
- }
- else if( typeof obj[k] === 'number' ) {
- obj[k] = [-1*obj[k],obj[k]];
- }
- }
- };
- setRange(t);
- setRange(r);
- var transforms = {
- translation : {
- x: (t.x[1]-t.x[0])/bounds.width*relmousepos.x + t.x[0],
- y: (t.y[1]-t.y[0])/bounds.height*relmousepos.y + t.y[0],
- z: (t.z[1]-t.z[0])/bounds.height*relmousepos.y + t.z[0],
- },
- rotation : {
- x: (r.x[1]-r.x[0])/bounds.height*relmousepos.y + r.x[0],
- y: (r.y[1]-r.y[0])/bounds.width*relmousepos.x + r.y[0],
- z: (r.z[1]-r.z[0])/bounds.width*relmousepos.x + r.z[0]
- }
- };
- this.DOM.animatable[key].style.WebkitTransform = this.DOM.animatable[key].style.transform = 'translateX(' + transforms.translation.x + 'px) translateY(' + transforms.translation.y + 'px) translateZ(' + transforms.translation.z + 'px) rotateX(' + transforms.rotation.x + 'deg) rotateY(' + transforms.rotation.y + 'deg) rotateZ(' + transforms.rotation.z + 'deg)';
- }
- };
- window.TiltFx = TiltFx;
- })(window);
- </script>
- <script>
- (function() {
- var tiltSettings = [
- {
- movement: {
- imgWrapper : {
- rotation : {x: -5, y: 10, z: 0},
- reverseAnimation : {duration : 50, easing : 'easeOutQuad'}
- },
- caption : {
- translation : {x: 20, y: 20, z: 0},
- reverseAnimation : {duration : 200, easing : 'easeOutQuad'}
- },
- overlay : {
- translation : {x: 5, y: -5, z: 0},
- rotation : {x: 0, y: 0, z: 6},
- reverseAnimation : {duration : 1000, easing : 'easeOutQuad'}
- },
- shine : {
- translation : {x: 50, y: 50, z: 0},
- reverseAnimation : {duration : 50, easing : 'easeOutQuad'}
- }
- }
- },{}];
- function init() {
- var idx = 0;
- [].slice.call(document.querySelectorAll('a.tilter')).forEach(function(el, pos) {
- idx = pos%2 === 0 ? idx+1 : idx;
- new TiltFx(el, tiltSettings[idx-1]);
- });
- }
- // Preload all images.
- imagesLoaded(document.querySelector('main'), function() {
- document.body.classList.remove('loading');
- init();
- });
- })();
- </script>
- <!-- animsition.js -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/animsition/4.0.1/js/animsition.min.js"></script>
- <script>
- $(document).ready(function() {
- $(".animsition").animsition({
- inClass: 'fade-in',
- outClass: 'fade-out',
- inDuration: 1500,
- outDuration: 800,
- linkElement: '.a-link',
- loading: true,
- loadingParentElement: 'body',
- loadingClass: 'animsition-loading',
- loadingInner: '',
- timeout: true,
- timeoutCountdown: 3000,
- onLoadEvent: true,
- browser: [ 'animation-duration', '-webkit-animation-duration'],
- overlay : false,
- overlayClass : 'animsition-overlay-slide',
- overlayParentElement : 'body',
- transition: function(url){ window.location.href = url; }
- });
- });
- </script>
- <script>
- (function ( $ ) {
- $.fn.responsify = function() {
- return this.each(function() {
- var owdith, oheight,
- twidth, theight,
- fx, fy,
- width, height, top, left;
- owidth = $('img', this).width();
- oheight = $('img', this).height();
- twidth = $(this).width();
- theight = $(this).height();
- fx = $('img', this).attr('data-focus-x');
- fy = $('img', this).attr('data-focus-y');
- if( owidth/oheight > twidth/theight ) {
- height = theight;
- width = theight*owidth/oheight;
- var fleft = Number(fx) * width;
- var fright = width - Number(fx) * width;
- if (fleft < twidth/2) {
- left = 0;
- }
- else if (fleft >= twidth/2 && fright >= twidth/2) {
- left = twidth/2 - fleft;
- }
- else if (fleft >= twidth/2 && fright < twidth/2) {
- left = twidth - width;
- }
- top = 0;
- }
- else if( owidth/oheight <= twidth/theight ) {
- width = twidth;
- height = twidth*oheight/owidth;
- var ftop = Number(fy) * height;
- var fbottom = height - Number(fy) * height;
- if (ftop < theight/2) {
- top = 0;
- }
- else if (ftop >= theight/2 && fbottom >= theight/2) {
- top = theight/2 - ftop;
- }
- else if (ftop >= theight/2 && fbottom < theight/2) {
- top = theight - height;
- }
- left = 0;
- }
- $(this).css({
- "overflow": "hidden"
- })
- $('img', this).css({
- "position": "relative",
- "height": height,
- "width": width,
- "left": left,
- "top": top
- })
- });
- };
- }( jQuery ));
- $(window).resize(function(){
- $('.abtimg').responsify();
- })
- $(document).ready(function(){
- $(window).load(function() {
- $('.abtimg').responsify();
- });
- });
- </script>
- <script>
- // TABS SHORTCODE
- $(function(e) {
- $('.tabs').hide().filter(':first').show();
- $('.tbnav a[data-tabs]').on('click', function () {
- $(this).siblings().removeClass('active');
- $('.tabs').hide();
- var tab = $(this).data('tabs');
- $(this).addClass('active');
- $('#' + tab).fadeIn().show()
- $(window).trigger('resize'); ;
- });
- $(".tbnav a").click(function(){
- var cur =$(".tbnav a").index(this);
- var elm = $('.tb:eq('+cur+')');
- elm.addClass("fadeIn");
- setTimeout(function() {
- elm.removeClass("fadeIn");
- $(window).trigger('resize');
- }, 220);
- });
- });
- </script>
- <!-- Uncomment this if you want to use alternating theme colours
- <script>
- (function($) {
- var url, hour = new Date().getHours();
- if (hour > 18 || hour < 8) {
- jQuery('body').addClass('night-mode');
- } else {
- jQuery('body').addClass('day-mode');
- }
- }(jQuery));
- </script>
- -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script><script>
- jQuery.noConflict();
- (function($){
- $(document).ready(function(){
- $("a[title],img[title],[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:30,
- tip_fade_speed:300,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment