Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-----------------------------------------------------------------------
- Theme [06]: Determination
- Made by glenthemes
- Initial release: 2015/08/29
- Remake date: 2019/02/05
- Last updated: 2019/03/02
- TERMS OF USE:
- 1) Do not remove the theme credit.
- 2) Do not repost/redistribute my themes.
- 3) Do not take parts of the code and use it as your own.
- 4) Do not use my themes as a base code.
- 5) Do not integrate my codes together.
- I worked on this for 20 hours straight on no sleep nor caffeine so if you wanna support this dumb bitch then feel free to drop me a donation
- https://ko-fi.com/glenthemes
- --- Credits:
- Images:
- - sidebar animation: Waterstride-Sunrise @ DeviantArt
- - corner image: @pixelins
- Fonts:
- - 'PixelOperator Bold' by Jayvee Enaguas @ dafont
- - 'Silkscreen' by Jason Aleksandr Kottke @ dafont
- Icon font:
- - LinearIcons by Perxis
- Music:
- - NieR: Automata OST - Peaceful Sleep (music box)
- Inspiration:
- - Undertale UI and old Windows OS UI
- ------------------------------------------------------------------------>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="//www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <!--------------------JAVASCRIPTS-------------------->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("a[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:50,
- tip_fade_speed:0,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <script>
- $(document).ready(function() {
- $('iframe.tumblr_audio_player').load( function() {
- $('iframe.tumblr_audio_player').contents().find("head")
- .append($("<style type='text/css'> .audio-player{background:{color:post box shadow} !important; padding:5px 10px 5px 0px !important} .play-pause{color:{color:post} !important; font-size:15px!important; padding:0 9.5px!important} </style>"));
- });
- });
- </script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '{text:photoset gutter width}px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <link href="https://fonts.googleapis.com/css?family={select:body font family}" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Domine" rel="stylesheet">
- <link rel="stylesheet" href="//static.tumblr.com/2pnwama/IUZoyg6qw/specialfonts.css">
- <script src="//dl.dropbox.com/s/1mztc6y7i6ry9ri/gtresizing.js"></script>
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <script src="//static.tumblr.com/2pnwama/t4Gpmgzq9/imsotired.js"></script>
- <script>
- $(document).ready(function(){
- var mapelle = '{text:music name}';
- var char = 24;
- if (mapelle.length > char) {
- $(".ensou").html('<marquee scrollamount="' + '4' + '">' + mapelle + '</marquee>');
- }
- });
- $(document).ready(function(){
- var june = '{text:description title}';
- var kar = 22;
- if (june.length > kar) {
- $(".ttb").html('<marquee scrollamount="' + '3' + '">' + june + '</marquee>');
- }
- });
- </script>
- <!--------------------COLORS-------------------->
- <meta name="color:background" content="#fefefe"/>
- <meta name="color:sidebar nav heart" content="#ec5a5a">
- <meta name="color:sidebar nav links" content="#f8a096">
- <meta name="color:description box borders" content="#f3d7d7"/>
- <meta name="color:description box shadow" content="#f6e3e3"/>
- <meta name="color:description background" content="#fefefe"/>
- <meta name="color:desc title" content="#ec5a5a"/>
- <meta name="color:desc text" content="#888"/>
- <meta name="color:desc bold" content="#ffb3b3"/>
- <meta name="color:desc italic" content="#f0bfb6"/>
- <meta name="color:desc link" content="#fb897e"/>
- <meta name="color:custom links background" content="#fefefe"/>
- <meta name="color:custom links border" content="#f3d7d7"/>
- <meta name="color:custom links box shadow" content="#f6e3e3"/>
- <meta name="color:custom links" content="#e8abab"/>
- <meta name="color:custom links hover" content="#fff"/>
- <meta name="color:custom links background hover" content="#fca097"/>
- <meta name="color:custom links border hover" content="#fca097"/>
- <meta name="color:music player button" content="#eec9c9"/>
- <meta name="color:music player background" content="#fefefe"/>
- <meta name="color:music player border" content="#f3d7d7"/>
- <meta name="color:music player box shadow" content="#f6e3e3"/>
- <meta name="color:music player text" content="#e8abab"/>
- <meta name="color:post" content="#fff"/>
- <meta name="color:post borders" content="#f3d7d7"/>
- <meta name="color:post box shadow" content="#f6e3e3"/>
- <meta name="color:post top bar permalink" content="#e8abab"/>
- <meta name="color:post top bar permalink hover" content="#f8a096"/>
- <meta name="color:text" content="#999"/>
- <meta name="color:bold" content="#666">
- <meta name="color:Italic" content="#f0bfb6">
- <meta name="color:Link" content="#f8a096">
- <meta name="color:Link Hover" content="#ec5a5a">
- <meta name="color:blockquote" content="#f3d7d7"/>
- <meta name="color:permalink" content="#e8abab">
- <meta name="color:tags" content="#e8abab">
- <meta name="color:tags hover" content="#ec5a5a">
- <meta name="color:scrollbar thumb" content="#ffb3b3"/>
- <meta name="color:scrollbar track" content="#eee"/>
- <meta name="color:scrollbar background" content="#fefefe"/>
- <meta name="color:highlight" content="#fff"/>
- <meta name="color:highlighted text" content="#f8a096"/>
- <!--------------------OPTIONS-------------------->
- <meta name="select:description text align" title="center" content="center"/>
- <meta name="select:description text align" title="left" content="left"/>
- <meta name="select:description text align" title="justify" content="justify"/>
- <meta name="select:description text align" title="right" content="right"/>
- <meta name="select:body font family" title="Muli" content="Muli"/>
- <meta name="select:body font family" title="Karla" content="Karla"/>
- <meta name="select:body font family" title="Lato" content="Lato"/>
- <meta name="select:body font family" title="Open Sans" content="Open Sans"/>
- <meta name="select:body font family" title="Quicksand" content="Quicksand"/>
- <meta name="if:photo fade" content="0" />
- <meta name="if:monochrome posts" content="0" />
- <meta name="if:dark tumblr controls" content="0" />
- <!--------------------IMAGES-------------------->
- <meta name="image:background image" content="//static.tumblr.com/d40eae727a79de74c5b3c4cb5c8e9fd5/2pnwama/mW8pmgswh/tumblr_static_2ddnvvrhh78k4ogc880kokg8c.png"/>
- <meta name="image:sidebar image" content="https://static.tumblr.com/2ea4a1fad481c84fc2ea8d9ef2ac743d/2pnwama/m4Lpmgsh7/tumblr_static_8mbbntkkf7k00swwcgccososw.gif"/>
- <meta name="image:corner image" content="https://static.tumblr.com/fd8db8d5cb0f9311af276d4fb6b9fff9/2pnwama/uB6pmgsol/tumblr_static_6rad1tctxs84w4w48444ookws.gif"/>
- <!--------------------TITLES-------------------->
- <meta name="text:top gap" content="60">
- <meta name="text:description title" content="C:\ welcome!">
- <meta name="text:Link 1" content="Sample link 1">
- <meta name="text:Link 1 URL" content="/">
- <meta name="text:Link 2" content="">
- <meta name="text:Link 2 URL" content="">
- <meta name="text:Link 3" content="">
- <meta name="text:Link 3 URL" content="">
- <meta name="text:Link 4" content="">
- <meta name="text:Link 4 URL" content="">
- <meta name="text:Link 5" content="">
- <meta name="text:Link 5 URL" content="">
- <meta name="text:Link 6" content="">
- <meta name="text:Link 6 URL" content="">
- <meta name="text:music name" content="Peaceful Sleep">
- <meta name="text:music file URL" content="https://dl.dropbox.com/s/hw0dpiv3vg4f50a/Peaceful%20Sleep%20%28Music%20Box%29.mp3">
- <meta name="text:side margins" content="80">
- <meta name="text:font size" content="12">
- <meta name="text:post width" content="400">
- <meta name="text:post padding" content="25">
- <meta name="text:permalink padding" content="10">
- <meta name="text:photoset gutter width" content="10">
- <meta name="text:post margin" content="45">
- <meta name="text:corner image width" content="120">
- <meta name="text:corner image from bottom" content="60">
- <!-------------------------------------------------------------------->
- <style type="text/css">
- @font-face { font-family: "pixeloperator bold"; src: url('https://dl.dropbox.com/s/et80cjf7nsftqpo/PixelOperator-Bold.ttf'); }
- @font-face { font-family: "silkscreen"; src: url('https://dl.dropbox.com/s/l0frac4d7bz3zx6/silkscreen.ttf'); }
- @font-face { font-family: "quicksand regular"; src: url('https://dl.dropbox.com/s/usin5xvyupvikw0/Quicksand%20Regular.ttf'); }
- /*--------------------TOOLTIPS--------------------*/
- #s-m-t-tooltip {
- padding: 4px 9px;
- margin: 20px;
- background-color:{color:post}; /* tooltip background color */
- border:1px solid {color:post borders}; /* tooltip border color */
- box-shadow:4px 4px {color:post box shadow};
- font-family:silkscreen;
- font-size:9px;
- letter-spacing:-1px;
- color: {color:text};
- max-width: calc({text:post width}px * 1.25);
- }
- /*--------------------TUMBLR CONTROLS--------------------*/
- iframe#tumblr_controls, .iframe-controls--desktop {
- top:5px!important;
- right:5px!important;
- position:fixed!important;
- {block:ifdarktumblrcontrols}
- filter:invert(100%) hue-rotate(180deg);
- -webkit-filter:invert(100%) hue-rotate(180deg);
- {/block:ifdarktumblrcontrols}
- transform:scale(0.7,0.7);
- -webkit-transform:scale(0.7,0.7);
- transform-origin:100% 0;
- z-index:999999!important;
- }
- /*--------------------SCROLLBAR--------------------*/
- ::-webkit-scrollbar {
- width:13px;
- height:13px;
- background-color:{color:scrollbar background};
- }
- ::-webkit-scrollbar-thumb {
- border-top:8px solid {color:scrollbar background};
- border-right:6px solid {color:scrollbar background};
- border-bottom:8px solid {color:scrollbar background};
- border-left:6px solid {color:scrollbar background};
- background-color:{color:scrollbar thumb};
- }
- ::-webkit-scrollbar-track {
- border-top:8px solid {color:scrollbar background};
- border-right:6px solid {color:scrollbar background};
- border-bottom:8px solid {color:scrollbar background};
- border-left:6px solid {color:scrollbar background};
- background-color:{color:scrollbar track};
- }
- /*--------------------TEXT HIGHLIGHT--------------------*/
- ::selection {
- background: {color:highlight};
- color:{color:highlighted text};
- }
- ::-moz-selection {
- background: {color:highlight};
- color:{color:highlighted text};
- }
- /*--------------------BASICS--------------------*/
- body {
- background:{color:background} url({image:background image});
- background-attachment:fixed;
- background-repeat:repeat;
- color:{color:text};
- cursor:normal;
- font-family:{select:body font family};
- line-height:1.6em;
- font-size:{text:font size}px;
- text-align:left;
- overflow-x:hidden;
- }
- blockquote {
- padding-left:10px;
- margin-left:5px;
- border-left:1px solid;
- border-color:{color:blockquote};
- margin:10px;
- }
- b, strong {font-weight:bold;color: {color:Bold};}
- .non a, a.non {
- padding-bottom:0px!important;
- border-bottom:0px solid transparent!important;
- }
- .nonn a {
- border-bottom:0px solid transparent!important;
- }
- i, em, .em {color: {color:Italic};}
- pre, code {
- white-space:pre-wrap;
- display:block;
- }
- hr {
- width:70%;
- border-width:0px;
- height:1px;
- background-color:rgba({RGBcolor:text},0.3);
- }
- p.npf_quirky, p.npf_quote {font-size:calc({text:font size}px + 5px);line-height:1em;}
- /*--------------------LINKS--------------------*/
- a {
- color:{color:link};
- text-decoration:none;
- cursor:normal;
- text-decoration:none;
- -webkit-transition: all 0.4s ease-in-out;
- -moz-transition: all 0.4s ease-in-out;
- -o-transition: all 0.4s ease-in-out;
- }
- a:hover {text-decoration:none;}
- img {opacity:1;text-decoration:none;}
- h1 {
- font-size:calc({text:font size}px + 1px);
- font-family:quicksand regular;
- text-transform: uppercase;
- letter-spacing: 2px;
- color:{color:text};
- text-align:center;
- }
- h1:first-child {margin-top:0px}
- .pp p:first-child {margin-top:0px;}
- /*-----------------CONT-----------------*/
- #container {
- position:absolute;
- margin:0 auto;
- margin-top:{text:top gap}px;
- margin-bottom:{text:top gap}px;
- top:0;left:0;right:0;
- width:calc(225px + {text:side margins}px + {text:post width}px + ({text:post padding}px * 2) + (({text:post width}px + ({text:post padding}px * 2)) * 0.025) + {text:side margins}px + {text:corner image width}px);
- }
- #nudge {
- margin-left:calc(225px + {text:side margins}px);
- }
- #c0rner {
- position:fixed;
- margin-left:calc((225px + {text:side margins}px + {text:post width}px + ({text:post padding}px * 2) + (({text:post width}px + ({text:post padding}px * 2)) * 0.025)) + {text:side margins}px);
- bottom:0;margin-bottom:{text:corner image from bottom}px;
- width:{text:corner image width}px;
- height:auto;
- }
- /*-----------------SIDEBAR-----------------*/
- #galaxy {
- position:fixed;
- margin-top:0px;
- margin-left:0px;
- /* total post width + gap between posts and sb */
- width:225px;
- }
- .mushroom {display:flex;}
- .mushroom > * {
- align-self:center;
- -webkit-align-self:center;
- }
- .yeacon {
- width:100px;
- }
- .yeaboi {
- display:block;
- margin:auto;
- max-width:100%;
- }
- .salmon {
- display:flex;
- margin-left:20px;
- padding-bottom:10px;
- }
- .salmon:last-of-type {padding-bottom:0px}
- .kokoro {
- width:16px;
- height:16px;
- opacity:0;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- }
- .salmon:first-child .kokoro {opacity:1}
- .salmon:hover .kokoro {
- opacity:1;
- }
- .salmonwrap:hover .salmon:first-child .kokoro {opacity:0}
- .salmonwrap:hover .salmon:first-child:hover .kokoro {opacity:1}
- .daydreamer .kokoro {opacity:1}
- .raw {display:flex;}
- .gt-fill {
- background:{color:sidebar nav heart};
- height:1px;
- }
- .f2 {width:2px;}
- .f4 {width:4px;}
- .f5 {width:5px;}
- .f7 {width:7px;}
- .f8 {width:8px;}
- .f12 {width:12px;}
- .f16 {width:16px;height:6px;}
- .gtwo {height:2px;}
- .cue, .custard {
- margin-top:-2px;
- font-family:pixeloperator bold;
- text-transform:uppercase;
- color:{color:sidebar nav links};
- }
- .cue {
- margin-left:10px;
- font-size:19px;
- }
- .custard {
- margin-left:10px;
- font-size:13px;
- letter-spacing:0.3px;
- }
- .bigboyy {
- margin-top:20px;
- width:inherit;
- background-color:{color:description background};
- box-shadow:6px 6px {color:description box shadow};
- }
- .heyboy {
- border:1px solid {color:description box borders};
- padding:5px 5px 0px 5px;
- }
- .winboy {
- border:1px solid {color:description box borders};
- padding:5px;
- overflow:auto;
- margin-bottom:5px;
- }
- .change {margin-bottom:0px!important}
- .titboy {
- float:left;
- margin-top:2.5px;
- width:calc(100% - 50px);
- font-family:silkscreen;
- font-size:9px;
- color:{color:desc title};
- line-height:1em;
- max-height:1em;
- overflow:hidden;
- }
- .winny {
- position:absolute;
- white-space:nowrap;
- }
- .velvet .titboy {
- width:auto;
- letter-spacing:-0.5px;
- color:{color:post top bar permalink};
- }
- .velvet .titboy:hover {color:{color:post top bar permalink hover};}
- .niceboy {
- float:right;
- display:flex;
- }
- .smallbox {
- margin-right:3px;
- padding:3px;
- width:5px;
- height:5px;
- border:1px solid {color:description box borders};
- cursor:help;
- }
- .smallbox:last-of-type {margin-right:0px}
- .sm-min {
- margin-top:4px;
- width:5px;
- height:1px;
- background:{color:description box borders};
- }
- .velvet .sm-min {background:{color:post borders};}
- .sm-max {
- margin-top:-1px;margin-left:-1px;
- width:5px;height:5px;
- border:1px solid {color:description box borders};
- }
- .velvet .sm-max {border:1px solid {color:post borders};}
- .sm-x {
- margin-top:-7px;margin-left:-1.5px;
- height:0;
- font-size:9px;
- color:{color:description box borders};
- }
- .velvet .sm-x {
- margin-top:-0.5px;
- margin-left:-1.3px;
- color:{color:description box borders};
- }
- .desc {
- margin-bottom:5px;
- border:1px solid {color:description box borders};
- padding:13px 15px;
- font-family:silkscreen;
- font-size:9px;
- color:{color:desc text};
- line-height:1.9em;
- text-align:{select:description text align};
- }
- .desc b, .desc strong {color:{color:desc bold}}
- .desc i, .desc em {color:{color:desc italic}}
- .desc a {
- color:{color:desc link};
- padding-bottom:1px;
- border-bottom:0.5px solid rgba({RGBcolor:desc link},0.4);
- }
- .desc a:hover {
- color:{color:desc link hover};
- border-bottom:0.5px solid rgba({RGBcolor:desc link hover},0.4);
- }
- .marshmallow {
- margin-top:20px;
- display:flex;
- }
- .on-cont {
- width:22px;
- height:22px;
- background:{color:music player background};
- border:1px solid {color:music player border};
- box-shadow:6px 5px {color:music player box shadow};
- cursor:pointer;
- }
- .tri-h {
- margin-left:6.5px;
- margin-top:4.5px;
- }
- .b-tri {
- width:1px;
- height:1.3px;
- }
- .b1 {width:1px}
- .b3 {width:3px}
- .b5 {width:5px}
- .b7 {width:7px}
- .b8 {width:8px}
- .b9 {width:9px}
- .ll-h {
- display:none;
- margin-top:6px;
- margin-left:7px;
- }
- .ll-z {display:flex;}
- .ll-a, .ll-b {
- width:3px;
- height:9px;
- }
- .ll-b {margin-left:3px}
- .b-tri, .ll-a, .ll-b {background:{color:music player button};}
- .ensou {
- margin-left:12px;
- width:calc(100% - 39px - 12px);
- padding:calc((22px - 9px) / 2);
- background:{color:music player background};
- border:1px solid {color:music player border};
- box-shadow:6px 5px {color:music player box shadow};
- font-family:silkscreen;
- font-size:9px;
- color:{color:music player text};
- line-height:1em;
- max-height:1em;
- overflow:hidden;
- }
- .ennei {
- position:absolute;
- white-space:nowrap;
- }
- .cloud {margin-top:20px;}
- .ensei {
- display:flex;
- margin-bottom:calc(10px + 2px);
- }
- .ensei:last-of-type {margin-bottom:0px}
- .yi, .er {
- width:calc((100% / 2) - 23px);
- padding:3px 8px;
- background:{color:custom links background};
- border:1px solid {color:custom links border};
- font-family:silkscreen;
- font-size:9px;
- color:{color:custom links};
- line-height:2em;
- text-align:center;
- cursor:pointer;
- -webkit-transition: all 0.1s ease-in-out;
- -moz-transition: all 0.1s ease-in-out;
- -o-transition: all 0.1s ease-in-out;
- }
- .yi {box-shadow:5px 6px {color:custom links box shadow};}
- .er {
- margin-left:calc(5px + 5px);
- box-shadow:6px 6px {color:custom links box shadow};
- }
- .yi:hover, .er:hover {
- background:{color:custom links background hover};
- border:1px solid {color:custom links border hover};
- color:{color:custom links hover};
- }
- /*--------------------POSTS--------------------*/
- .velvet {
- padding:5px;
- border:1px solid {color:post borders};
- font-family:silkscreen;
- font-size:9px;
- color:#ec5a5a;
- line-height:1em;
- overflow:auto;
- }
- .pcontent {
- margin-top:0px;
- padding-top:{text:post padding}px;
- }
- .posts {
- overflow:hidden;
- margin-bottom:{text:post margin}px;
- width:{text:post width}px;
- min-width:210px;
- padding:{text:post padding}px;
- background-color:{color:post};
- border:1px solid {color:post borders};
- box-shadow:calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) {color:post box shadow};
- }
- .posts:last-of-type {margin-bottom:0px;}
- .posts a {
- color:{color:link};
- padding-bottom:1px;
- border-bottom:0.5px solid rgba({RGBcolor:link},0.4);
- }
- .posts a:hover {
- color:{color:link hover};
- border-bottom:0.5px solid rgba({RGBcolor:link hover},0.4);
- }
- .photos, .photos img {
- position:relative;
- overflow:hidden;
- width:{text:post width}px;
- {block:IndexPage}
- {block:ifphotofade}
- opacity:0.8;
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifphotofade}
- {block:ifmonochromeposts}
- -webkit-filter:grayscale(100%);
- filter:grayscale(100%);
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifmonochromeposts}
- {/block:IndexPage}
- }
- .posts:hover .photos {
- opacity:1;
- -webkit-filter:grayscale(0%);
- filter:grayscale(0%);
- }
- .posts img {
- {block:IndexPage}
- {block:ifphotofade}
- opacity:0.8;
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifphotofade}
- {block:ifmonochromeposts}
- -webkit-filter:grayscale(100%);
- filter:grayscale(100%);
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifmonochromeposts}
- {/block:IndexPage}
- }
- .posts:hover img {
- opacity:1;
- -webkit-filter:grayscale(0%);
- filter:grayscale(0%);
- }
- .posts img, .posts li, .posts blockquote {max-width:100%;height:auto;}
- .posts iframe {max-width:100%;}
- /*--------------------PERMALINK--------------------*/
- .permawrap {
- margin-top:{text:post padding}px;
- margin-left:-{text:post padding}px;
- margin-bottom:-{text:post padding}px;
- width:calc({text:post width}px + ({text:post padding}px * 2));
- border-top:1px solid {color:post borders};
- }
- .poof{
- padding:{text:permalink padding}px;
- overflow:auto;
- }
- .perma {float:left}
- .candy {
- margin-right:10px;
- font-family:consolas;
- font-size:8px;
- letter-spacing:1px;
- color:{color:permalink}!important;
- text-transform:uppercase;
- font-weight:bold;
- }
- .candy:last-of-type {margin-right:0px;}
- .candy txt {
- font-family:silkscreen;
- font-size:9px;
- letter-spacing:-1px;
- font-weight:normal;
- }
- .tagsin {
- margin-top:5px;
- margin-right:-3px;
- font-family:silkscreen;
- line-height:1.5em;
- letter-spacing:-1px;
- font-size:9px;
- text-align:right;
- }
- .tagsin a {
- display:inline-block;
- margin:3px;
- color:{color:tags};
- }
- .tagsin a:hover {color:{color:tags hover};}
- .vinegar {float:right;}
- /* -- Like + Reblog buttons (1/2) -- */
- /* -- mikedidthis from StackOverflow: https://stackoverflow.com/users/2312574/mikedidthis -- */
- /* -- and tutorial by shythemes: //shythemes.tumblr.com/post/147903463743/custom-like-and-reblog-buttons -- */
- /* -- and help from borntobewildcodes -- */
- .controls {
- margin-top:2px;
- height:0;
- }
- .controls li {
- position:relative;
- display:inline-block;
- margin:0 2px;
- list-style-type:none;
- }
- .controls li:first-child {margin-left:0px;}
- .controls li:last-child {margin-right:0px;}
- /* both svg colors */
- .controls .lnr {
- font-size:11px;
- color:{color:permalink};
- }
- .controls .like .liked + .lnr {
- color:#ED1C24;
- font-weight:bold;
- }
- .controls .like .like_button {
- position:absolute;
- width:11px;
- height:11px;
- margin-top:4px;
- }
- .controls .like .like_button iframe {
- position:absolute;
- top:0;left:0;bottom:0;right:0;
- width:100%;height:100%;
- z-index:2;
- opacity:0.0000001;
- }
- /*--------------------POST NOTES--------------------*/
- ol.notes {
- margin-top:-2px;
- width:{text:post width}px;
- padding:{text:post padding}px;
- background:{color:post};
- border:1px solid {color:post borders};
- list-style-type:none;
- box-shadow:calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) {color:post box shadow};
- }
- .heyho {
- width:calc(({text:post width}px + ({text:post padding}px * 2)) - ({text:permalink padding}px * 2));
- padding:{text:permalink padding}px;
- background:{color:post};
- border:1px solid {color:post borders};
- box-shadow:calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) {color:post box shadow};
- }
- ol.notes li.note {
- padding:10px;
- }
- ol.notes li.note img.avatar {
- vertical-align:-4px;
- margin-right:10px;
- width:16px;
- height:16px;
- }
- ol.notes li.note span.action {
- font-weight:none;
- }
- ol.notes li.note .answer_content {
- font-weight:normal;
- }
- ol.notes li.note blockquote {
- padding:4px 10px;
- margin:10px 0px 0px 25px;
- }
- ol.notes li.note blockquote a {
- text-decoration:none;
- }
- /*---------------------------LIGHTBOXES---------------------------*/
- .vignette, #vignette {
- opacity:0;
- }
- .lightbox-image, #tumblr_lightbox img {
- z-index:99999999999999999999999999999 !important;
- box-shadow:none !important;
- border-radius:0px !important;
- max-width:none;
- padding:{text:post padding}px !important;
- background:{color:post} !important;
- border:1px solid {color:post borders} !important;
- }
- .tmblr-lightbox, #tumblr_lightbox {
- background-color:rgba({RGBcolor:post},0.78) !important;
- z-index:99999999999999999999999999999 !important;
- }
- /*---------------------------QUOTES---------------------------*/
- .daydreamer {
- display:block;
- margin:auto;
- width:16px;
- padding:10px;
- background:{color:post};
- border:1px solid {color:post borders};
- }
- .glae {
- width:calc((({text:post width}px + ({text:post padding}px * 2)) - 38px) / 2);
- height:1px;
- background:{color:post borders};
- }
- .glae.g1 {
- float:left;
- margin-top:calc(-20px);
- margin-left:calc(-{text:post padding}px);
- }
- .glae.g2 {
- float:right;
- margin-top:calc(-20px);
- margin-right:calc(-{text:post padding}px);
- }
- .quote {
- margin-top:{text:post padding}px;
- font-family:domine;letter-spacing:0.5px;
- font-size:{text:font size}px;
- font-style:italic;
- line-height:2em;
- text-align:center;
- }
- .quotesource {
- text-align:center;
- margin-top:10px;
- }
- /*---------------------------CHATS---------------------------*/
- .chat {
- line-height:2em;
- list-style:none;
- color:{color:text};
- border:1px solid {color:post borders};
- }
- .line.odd {
- padding:10px;
- list-style:none;
- }
- .line.even {
- padding:10px;
- border-top:1px solid {color:post borders};
- list-style:none;
- }
- .label.odd, .label.even {
- padding-right:1px;
- text-transform:uppercase;
- font-weight:bold;
- }
- p.npf_chat { font-family:Courier; font-size:{text:font size}px; }
- /*---------------------------ASKS---------------------------*/
- .q-wrap {
- padding:10px;
- border:1px solid {color:post borders};
- min-height:64px;
- display:flex;
- }
- .askimg {
- width:64px;height:64px!important;
- }
- .question {
- margin-left:10px;
- color:{color:text};
- }
- .asker, .asker b, .asker a {
- text-transform:uppercase;color:{color:text};
- }
- .answer {
- margin:0px auto;
- text-transform:none;
- color:{color:text};
- }
- /*---------------------------AUDIO---------------------------*/
- .playerbutton {
- position:absolute;
- margin-top:18.5px;
- margin-left:18.5px;
- width:27px;
- height:27px;
- overflow:hidden;
- border-radius:100%;
- }
- .trackdetails {
- width:auto;
- display:inline-block;
- margin-left:70px;
- padding:5px;
- line-height:1.7;
- }
- .trackdetails b {
- font-weight:normal;
- }
- .audiowrapper {
- position:relative;
- display:inline;
- height:0px;
- }
- /*---------------------------VIDEO---------------------------*/
- .tumblr_video_container {
- width:{text:post width}px!important;
- min-width:210px!important;
- height:auto!important;
- max-height:540px!important;
- overflow:hidden!important;
- {block:IndexPage}
- {block:ifphotofade}
- opacity:0.8;
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifphotofade}
- {block:ifmonochromeposts}
- -webkit-filter:grayscale(100%);
- filter:grayscale(100%);
- -webkit-transition: all 0.8s ease-in-out;
- -moz-transition: all 0.8s ease-in-out;
- -o-transition: all 0.8s ease-in-out;
- {/block:ifmonochromeposts}
- {/block:IndexPage}
- }
- .posts:hover .tumblr_video_container {
- opacity:1;
- -webkit-filter:grayscale(0%);
- filter:grayscale(0%);
- }
- /*------------------------BOT PAGI------------------------*/
- .botpagi {
- width:calc(({text:post width}px + ({text:post padding}px * 2)) - ({text:permalink padding}px * 2));
- background:{color:post};
- padding:{text:permalink padding}px;
- border:1px solid {color:post borders};
- box-shadow:calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) calc(({text:post width}px + ({text:post padding}px * 2)) * 0.025) {color:post box shadow};
- text-align:center;
- }
- /* 'Current page' number */
- .botpagi span {
- font-size:9px;
- color:{color:Text};
- padding:3px 5px;
- width:9px;
- display:inline-block;
- margin-left:5px;
- text-align:center;
- }
- /* Other page numbers */
- .botpagi a {
- font-size:9px;
- font-family:silkscreen;
- font-size:9px;
- color:{color:text};
- padding:3px 5px;
- width:9px;
- display:inline-block;
- margin-left:2px;
- text-align:center;
- }
- </style>
- </head>
- <body>
- <!---- main shit ---->
- <div id="container">
- <div id="galaxy">
- <div class="mushroom">
- <div class="yeacon">
- <img class="yeaboi" src="{image:sidebar image}">
- </div><!--yeacon-->
- <div class="salmonwrap">
- <a class="salmon" href="/">
- <div class="kokoro">
- <div class="raw">
- <div class="gt-fill f2" style="margin-left:2px"></div>
- <div class="gt-fill f2" style="margin-left:8px"></div></div>
- <div class="raw">
- <div class="gt-fill f5" style="margin-left:1px"></div>
- <div class="gt-fill f5" style="margin-left:4px"></div></div>
- <div class="raw">
- <div class="gt-fill f7 gtwo"></div>
- <div class="gt-fill f7 gtwo" style="margin-left:2px"></div></div>
- <div class="gt-fill f16" style="top:4px;"></div>
- <div class="gt-fill f12 gtwo" style="margin-left:2px"></div>
- <div class="gt-fill f8 gtwo" style="margin-left:4px"></div>
- <div class="gt-fill f4 gtwo" style="margin-left:6px"></div>
- </div><!--kokoro-->
- <span class="cue">∗</span>
- <span class="custard">go home</span>
- </a><!--salmon-->
- <a class="salmon" href="/ask">
- <div class="kokoro">
- <div class="raw">
- <div class="gt-fill f2" style="margin-left:2px"></div>
- <div class="gt-fill f2" style="margin-left:8px"></div></div>
- <div class="raw">
- <div class="gt-fill f5" style="margin-left:1px"></div>
- <div class="gt-fill f5" style="margin-left:4px"></div></div>
- <div class="raw">
- <div class="gt-fill f7 gtwo"></div>
- <div class="gt-fill f7 gtwo" style="margin-left:2px"></div></div>
- <div class="gt-fill f16" style="top:4px;"></div>
- <div class="gt-fill f12 gtwo" style="margin-left:2px"></div>
- <div class="gt-fill f8 gtwo" style="margin-left:4px"></div>
- <div class="gt-fill f4 gtwo" style="margin-left:6px"></div>
- </div><!--kokoro-->
- <span class="cue">∗</span>
- <span class="custard">send mail</span>
- </a><!--salmon-->
- <a class="salmon" href="/archive">
- <div class="kokoro">
- <div class="raw">
- <div class="gt-fill f2" style="margin-left:2px"></div>
- <div class="gt-fill f2" style="margin-left:8px"></div></div>
- <div class="raw">
- <div class="gt-fill f5" style="margin-left:1px"></div>
- <div class="gt-fill f5" style="margin-left:4px"></div></div>
- <div class="raw">
- <div class="gt-fill f7 gtwo"></div>
- <div class="gt-fill f7 gtwo" style="margin-left:2px"></div></div>
- <div class="gt-fill f16" style="top:4px;"></div>
- <div class="gt-fill f12 gtwo" style="margin-left:2px"></div>
- <div class="gt-fill f8 gtwo" style="margin-left:4px"></div>
- <div class="gt-fill f4 gtwo" style="margin-left:6px"></div>
- </div><!--kokoro-->
- <span class="cue">∗</span>
- <span class="custard">archive</span>
- </a><!--salmon-->
- <!-- PLEASE DO NOT DELETE THE CREDIT! Thank you x -->
- <a class="salmon" href="//glenthemes.tumblr.com">
- <div class="kokoro">
- <div class="raw">
- <div class="gt-fill f2" style="margin-left:2px"></div>
- <div class="gt-fill f2" style="margin-left:8px"></div></div>
- <div class="raw">
- <div class="gt-fill f5" style="margin-left:1px"></div>
- <div class="gt-fill f5" style="margin-left:4px"></div></div>
- <div class="raw">
- <div class="gt-fill f7 gtwo"></div>
- <div class="gt-fill f7 gtwo" style="margin-left:2px"></div></div>
- <div class="gt-fill f16" style="top:4px;"></div>
- <div class="gt-fill f12 gtwo" style="margin-left:2px"></div>
- <div class="gt-fill f8 gtwo" style="margin-left:4px"></div>
- <div class="gt-fill f4 gtwo" style="margin-left:6px"></div>
- </div><!--kokoro-->
- <span class="cue">∗</span>
- <span class="custard">theme</span>
- </a><!--salmon-->
- </div><!--salmonwrap-->
- </div><!--mushroom-->
- <div class="bigboyy">
- <div class="heyboy">
- <div class="winboy">
- <div class="titboy ttb">
- <div class="winny">{text:description title}</div></div>
- <div class="niceboy">
- <div class="smallbox d-min">
- <div class="sm-min"></div></div>
- <div class="smallbox d-max">
- <div class="sm-max"></div></div>
- <div class="smallbox d-x">
- <div class="sm-x">✖</div></div>
- </div><!--niceboy-->
- </div><!--winboy-->
- {block:Description}
- <div class="desc">{Description}</div>
- {/block:Description}
- </div><!--heyboyy-->
- </div><!--bigboy-->
- <div class="cloud">
- {block:ifLink1}
- <div class="ensei">
- <a class="yi" href="{text:Link 1 URL}">{text:Link 1}</a>
- {block:ifLink2}
- <a class="er" href="{text:Link 2 URL}">{text:Link 2}</a>
- {/block:ifLink2}
- </div>{/block:ifLink1}
- {block:ifLink3}
- <div class="ensei">
- <a class="yi" href="{text:Link 3 URL}">{text:Link 3}</a>
- {block:ifLink4}
- <a class="er" href="{text:Link 4 URL}">{text:Link 4}</a>
- {/block:ifLink4}
- </div>{/block:ifLink3}
- {block:ifLink5}
- <div class="ensei">
- <a class="yi" href="{text:Link 5 URL}">{text:Link 5}</a>
- {block:ifLink6}
- <a class="er" href="{text:Link 6 URL}">{text:Link 6}</a>
- {/block:ifLink6}
- </div>{/block:ifLink5}
- </div>
- <div class="marshmallow">
- <div class="on-cont m-o">
- <div class="tri-h">
- <div class="b-tri"></div>
- <div class="b-tri b3"></div>
- <div class="b-tri b5"></div>
- <div class="b-tri b7"></div>
- <div class="b-tri b9"></div>
- <div class="b-tri b7"></div>
- <div class="b-tri b5"></div>
- <div class="b-tri b3"></div>
- <div class="b-tri"></div>
- </div><!--tri-h-->
- <div class="ll-h"><div class="ll-z">
- <div class="ll-a"></div>
- <div class="ll-b"></div>
- </div></div><!--ll-->
- </div><!--on-cont-->
- <div class="ensou">
- <div class="ennei">{text:music name}</div></div>
- <audio id="melody" src="{text:music file URL}" type="audio"></audio>
- </div><!--marshmallow-->
- </div><!--galaxy-->
- <div id="nudge">
- {block:Posts}
- <div class="posts" id="{PostID}">
- <div class="velvet">
- {block:Date}
- <a class="titboy non" href="{Permalink}">
- {block:Text}
- {PostType} — {Timestamp}
- {/block:Text}
- {block:Photo}
- image — {Timestamp}
- {/block:Photo}
- {block:Photoset}
- photoset — {Timestamp}
- {/block:Photoset}
- {block:Quote}
- {PostType} — {Timestamp}
- {/block:Quote}
- {block:Link}
- {PostType} — {Timestamp}
- {/block:Link}
- {block:Chat}
- {PostType} — {Timestamp}
- {/block:Chat}
- {block:Audio}
- {PostType} — {Timestamp}
- {/block:Audio}
- {block:Video}
- {PostType} — {Timestamp}
- {/block:Video}
- {block:Answer}
- {PostType} — {Timestamp}
- {/block:Answer}
- </a>
- {/block:Date}
- <div class="niceboy">
- <div class="smallbox p-min">
- <div class="sm-min"></div></div>
- <div class="smallbox p-max">
- <div class="sm-max"></div></div>
- <div class="smallbox p-x">
- <div class="sm-x">✖</div></div>
- </div><!--niceboy-->
- </div>
- <div class="pcontent">
- {block:Text}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <div class="pp">{Body}</div>
- {/block:Text}
- {block:Photo}
- <div class="photos">
- <div class="non">{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}" width="500"></a>{LinkCloseTag}</div></div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photos">
- <div class="non">
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><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><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
- </div>
- </div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="daydreamer">
- <div class="kokoro">
- <div class="raw">
- <div class="gt-fill f2" style="margin-left:2px"></div>
- <div class="gt-fill f2" style="margin-left:8px"></div></div>
- <div class="raw">
- <div class="gt-fill f5" style="margin-left:1px"></div>
- <div class="gt-fill f5" style="margin-left:4px"></div></div>
- <div class="raw">
- <div class="gt-fill f7 gtwo"></div>
- <div class="gt-fill f7 gtwo" style="margin-left:2px"></div></div>
- <div class="gt-fill f16" style="top:4px;"></div>
- <div class="gt-fill f12 gtwo" style="margin-left:2px"></div>
- <div class="gt-fill f8 gtwo" style="margin-left:4px"></div>
- <div class="gt-fill f4 gtwo" style="margin-left:6px"></div>
- </div><!--kokoro-->
- </div><!--daydreamer-->
- <div class="glae g1"></div>
- <div class="glae g2"></div>
- <div class="quote">{Quote}</div>
- {block:Source}<div class="quotesource"> — {Source}</div>
- {/block:Source}{/block:Quote}
- {block:Link}
- <h1><div class="non"><a href="{URL}" {Target}>{Name} »</a></div></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h1>{Title}</h1>{/block:Title} <div class="chat"> {block:Lines} <li class="line {Alt}"> {block:Label} <span class="label {Alt}"> {Label}</span> {/block:Label}{Line}</li> {/block:Lines}</div>
- {/block:Chat}
- {block:Audio}
- {block:AudioPlayer}
- <div class="audiowrapper">
- <div class="playerbutton">{AudioPlayer}</div>
- <div class="trackdetails">
- <b>TRACK:</b> {block:TrackName}{TrackName}{/block:TrackName}<br>
- <b>ARTIST:</b> {block:Artist}{Artist}{/block:Artist}<br>
- <b>PLAYS:</b> {FormattedPlayCount}</div>
- </div><!--audiowrapper-->
- {/block:AudioPlayer}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">{Video-500}</div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="q-wrap">
- <img class="askimg" src="{AskerPortraitURL-64}" ondragstart='return false;'>
- <div class="question">
- <div class="asker"><b>{Asker} asked:</b></div>
- {Question}</div><!--question-->
- </div><!--qwrap-->
- <div class="answer">{Answer}</div><!--answer-->
- {/block:Answer}
- {block:IndexPage}
- {block:Date}
- {block:HasTags}
- <div class="tagsin non">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div><!--tagsin-->
- {/block:HasTags}
- <div class="permawrap">
- <div class="poof">
- <div class="perma nonn">
- <a class="candy" href="{Permalink}">
- <txt>{ShortMonth}</txt> {DayOfMonthWithZero}
- </a>
- <a class="candy" href="{Permalink}">{24Hour}:{Minutes}</a>
- <a class="candy" href="{Permalink}">{NoteCount}<txt>N</txt></a>
- </div><!--perma-->
- {Block:IndexPage}
- <div class="vinegar non">
- <!-- Like + Reblog buttons (2/2) -->
- <div class="controls">
- <li class="like"><a title="like this post?">{LikeButton}
- <span class="lnr lnr-heart"></span>
- </a></li>
- <li><a href="{ReblogURL}" target="_blank" title="reblog"><span class="lnr lnr-redo"></span></a></li>
- </div><!--controls-->
- </div><!--vinegar-->
- {/block:IndexPage}
- </div><!--poof-->
- </div><!--permawrap-->
- {/block:Date}
- {/block:IndexPage}
- <!-----------PERMA ON PERMAPAGE----------->
- {block:PermalinkPage}
- {block:Date}
- {block:HasTags}
- <div class="tagsin nonn" style="text-align:left;">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div><!--tagsin-->
- {/block:HasTags}
- <div class="permawrap">
- <div class="poof">
- <div class="perma nonn">
- <a class="candy">
- <txt>{ShortMonth}</txt> {DayOfMonthWithZero} {Year}
- </a>
- <a class="candy">{24Hour}:{Minutes}</a>
- <a class="candy"><txt>{DayOfWeek}</txt></a>
- </div><!--perma-->
- {block:RebloggedFrom}
- <div class="vinegar non">
- <a class="candy" href="{ReblogParentURL}" title="{ReblogParentName}"><txt>via</txt></a>
- {block:ContentSource}
- <a class="candy" href="{ReblogRootURL}" title="{ReblogRootName}"><txt>source</txt></a>
- {/block:ContentSource}
- </div><!--vinegar-->
- {/block:RebloggedFrom}
- </div><!--poof-->
- </div><!--permawrap-->
- {block:Date}
- {block:PermalinkPage}
- </div><!--pcontent-->
- </div><!--posts-->
- {block:PostNotes}
- <div class="heyho"><span class="candy"><txt>{NoteCountWithLabel}</txt></span></div>
- {PostNotes}
- {/block:PostNotes}
- {/block:Posts}
- {block:Pagination}
- <div class="botpagi">
- {block:PreviousPage}<a title="Previous Page" href="{PreviousPage}">«</a>{/block:PreviousPage}
- {block:JumpPagination length="4"}
- {block:CurrentPage}<span class="current_page">✗</span>{/block:CurrentPage}
- {block:JumpPage}<a href="{URL}" title="page {PageNumber}">{PageNumber}</a> {/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}<a title="Next Page" href="{NextPage}">»</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- <script type="text/javascript">
- // <![CDATA[
- var colours=new Array('#A3E7D8', '#FFDDDD', '#F7F5FE', '#FFFF88', '#FDB4BF', '#B3B3D9'); // colours of the hearts
- var minisize=10; // smallest size of hearts in pixels
- var maxisize=13; // biggest size of hearts in pixels
- var hearts=58; // maximum number of hearts on screen
- var over_or_under="over"; // set to "over" for hearts to always be on top, or "under" to allow them to float behind other objects
- /*****************************
- *JavaScript Love Heart Cursor*
- * (c)2013+ mf2fm web-design *
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- *****************************/
- var x=ox=400;
- var y=oy=300;
- var swide=800;
- var shigh=600;
- var sleft=sdown=0;
- var herz=new Array();
- var herzx=new Array();
- var herzy=new Array();
- var herzs=new Array();
- var kiss=false;
- if (typeof('addRVLoadEvent')!='function') function addRVLoadEvent(funky) {
- var oldonload=window.onload;
- if (typeof(oldonload)!='function') window.onload=funky;
- else window.onload=function() {
- if (oldonload) oldonload();
- funky();
- }
- }
- addRVLoadEvent(mwah);
- function mwah() { if (document.getElementById) {
- var i, heart;
- for (i=0; i<hearts; i++) {
- heart=createDiv("auto", "auto");
- heart.style.visibility="hidden";
- heart.style.zIndex=(over_or_under=="over")?"1001":"0";
- heart.style.color=colours[i%colours.length];
- heart.style.pointerEvents="none";
- if (navigator.appName=="Microsoft Internet Explorer") heart.style.filter="alpha(opacity=75)";
- else heart.style.opacity=0.75;
- heart.appendChild(document.createTextNode(String.fromCharCode(9829)));
- document.body.appendChild(heart);
- herz[i]=heart;
- herzy[i]=false;
- }
- set_scroll();
- set_width();
- herzle();
- }}
- function herzle() {
- var c;
- if (Math.abs(x-ox)>1 || Math.abs(y-oy)>1) {
- ox=x;
- oy=y;
- for (c=0; c<hearts; c++) if (herzy[c]===false) {
- herz[c].firstChild.nodeValue=String.fromCharCode(9829);
- herz[c].style.left=(herzx[c]=x-minisize/2)+"px";
- herz[c].style.top=(herzy[c]=y-minisize)+"px";
- herz[c].style.fontSize=minisize+"px";
- herz[c].style.fontWeight='normal';
- herz[c].style.visibility='visible';
- herzs[c]=minisize;
- break;
- }
- }
- for (c=0; c<hearts; c++) if (herzy[c]!==false) blow_me_a_kiss(c);
- setTimeout("herzle()", 40);
- }
- document.onmousedown=pucker;
- document.onmouseup=function(){clearTimeout(kiss);};
- function pucker() {
- ox=-1;
- oy=-1;
- kiss=setTimeout('pucker()', 100);
- }
- function blow_me_a_kiss(i) {
- herzy[i]-=herzs[i]/minisize+i%2;
- herzx[i]+=(i%5-2)/5;
- if (herzy[i]<sdown-herzs[i] || herzx[i]<sleft-herzs[i] || herzx[i]>sleft+swide-herzs[i]) {
- herz[i].style.visibility="hidden";
- herzy[i]=false;
- }
- else if (herzs[i]>minisize+2 && Math.random()<.5/hearts) break_my_heart(i);
- else {
- if (Math.random()<maxisize/herzy[i] && herzs[i]<maxisize) herz[i].style.fontSize=(++herzs[i])+"px";
- herz[i].style.top=herzy[i]+"px";
- herz[i].style.left=herzx[i]+"px";
- }
- }
- function break_my_heart(i) {
- var t;
- herz[i].firstChild.nodeValue=String.fromCharCode(9676);
- herz[i].style.fontWeight='bold';
- herzy[i]=false;
- for (t=herzs[i]; t<=maxisize; t++) setTimeout('herz['+i+'].style.fontSize="'+t+'px"', 60*(t-herzs[i]));
- setTimeout('herz['+i+'].style.visibility="hidden";', 60*(t-herzs[i]));
- }
- document.onmousemove=mouse;
- function mouse(e) {
- if (e) {
- y=e.pageY;
- x=e.pageX;
- }
- else {
- set_scroll();
- y=event.y+sdown;
- x=event.x+sleft;
- }
- }
- window.onresize=set_width;
- function set_width() {
- var sw_min=999999;
- var sh_min=999999;
- if (document.documentElement && document.documentElement.clientWidth) {
- if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
- if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
- }
- if (typeof(self.innerWidth)=='number' && self.innerWidth) {
- if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
- if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
- }
- if (document.body.clientWidth) {
- if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
- if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
- }
- if (sw_min==999999 || sh_min==999999) {
- sw_min=800;
- sh_min=600;
- }
- swide=sw_min;
- shigh=sh_min;
- }
- window.onscroll=set_scroll;
- function set_scroll() {
- if (typeof(self.pageYOffset)=='number') {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body && (document.body.scrollTop || document.body.scrollLeft)) {
- sdown=document.body.scrollTop;
- sleft=document.body.scrollLeft;
- }
- else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
- sleft=document.documentElement.scrollLeft;
- sdown=document.documentElement.scrollTop;
- }
- else {
- sdown=0;
- sleft=0;
- }
- }
- function createDiv(height, width) {
- var div=document.createElement("div");
- div.style.position="absolute";
- div.style.height=height;
- div.style.width=width;
- div.style.overflow="hidden";
- div.style.backgroundColor="transparent";
- return (div);
- }
- // ]]>
- </script>
- <style> body, a, a:hover { cursor:url(https://66.media.tumblr.com/7c3edb626c8cf9435c5c0b2d6acceffd/tumblr_inline_mh67v6xNXM1rdqsqf.png), auto }</style>
- </body>
- </div><!--nudge-->
- <img id="c0rner" src="{image:corner image}">
- </div><!--cont-->
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement