Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <script src="http://static.tumblr.com/zkwuipe/mxnnfgnbn/modernizr.custom.js"></script>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!---@shayofrp
- i'm watching u :))--->
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#a8a8a8"/>
- <meta name="color:Hover" content="#f2f2f2"/>
- <meta name="color:Scrollbar" content="#000000"/>
- <meta name="color:ScrollbarBg" content="#ffffff"/>
- <meta name="color:Answer Backg" content="#000000"/>
- <meta name="color:Links" content="#000000"/>
- <meta name="color:Links Background" content="#000000"/>
- <meta name="color:Description Background" content="#000000"/>
- <meta name="color:postbg" content="#ffffff"/>
- <meta name="color:Left Sidebar Background" content="#ffffff"/>
- <meta name="color:Info Background" content="#ffffff"/>
- <meta name="image:background" content=""/>
- <meta name="image:header" content=""/>
- <meta name="image:sidebar" content=""/>
- <meta name="image:admin1" content=""/>
- <meta name="image:admin2" content=""/>
- <meta name="image:admin3" content=""/>
- <meta name="text:admin1" content=""/>
- <meta name="text:admin2" content=""/>
- <meta name="text:admin3" content=""/>
- <meta name="text:Link 1 URL" content="/">
- <meta name="text:Link 2 URL" content="/">
- <meta name="text:Link 3 URL" content="/">
- <meta name="text:Link 4 URL" content="/">
- <meta name="text:Link 1 name" content="/">
- <meta name="text:Link 2 name" content="/">
- <meta name="text:Link 3 name" content="/">
- <meta name="text:Link 4 name" content="/">
- <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:200' rel='stylesheet' type='text/css'>
- <style type="text/css">
- ::-webkit-scrollbar-thumb {
- height:auto;
- background-color:{color:Scrollbar};
- }
- ::-webkit-scrollbar {
- height:9px;
- width:4px;
- background-color:{color:ScrollbarBg};
- }
- body {
- background:{color:background};
- margin:0px;
- color:{color:text};
- font-family:arial, sans-serif;
- font-size:9px;
- letter-spacing:0px;
- text-align:justify;
- background-image:url('{image:background}');
- }
- a {
- text-decoration:none;
- outline:none;
- -moz-outline-style:none;
- color:{color:links};
- font-weight:bold;
- font-family:arial;
- }
- pre{color:{color:postbg};
- padding:5px;
- font-size:110%;
- font-weight:bold;
- font-family:arial;
- text-align:center;
- text-transform:uppercase;
- background-color:{color:text};}
- break{color:{color:postbg};
- padding:5px;
- width:490px;
- margin-top:-5px;
- display:inline-block;
- font-size:110%;
- font-weight:bold;
- font-family:arial;
- text-align:center;
- text-transform:uppercase;
- background-color:{color:text};}
- update{color:{color:text};
- background-color:{color:background};
- padding:10px;
- font-size:9px;
- text-transform:lowercase;
- width:478px;
- margin-top:-5px;
- display:inline-block;
- font-family:arial;
- text-align:center;
- border:solid 1px {color:text};}
- img {
- border:none;
- }
- h1 {
- font-size:20px;
- color:{color:text};
- text-transform:uppercase;
- font-family:'times';
- font-style:bold, italic;
- text-align:center;
- }
- blockquote {
- background-color:{color:background};
- padding-left:5px;
- padding:5px;
- margin-left:10px;
- margin-right:10px;
- margin-top:5px;
- }
- a:hover {
- color:{color:postbg};
- -moz-transition-duration:0.3s;
- -webkit-transition-duration:0.3s;
- -o-transition-duration:0.3s;
- }
- /*ENTRIES*/
- #entries {
- padding:10px;
- width:500px;
- margin-left:650px;
- margin-top:-30px;
- letter-spacing:0px;
- line-height:140%;
- z-index:-99;
- font-size:9px;
- position:absolute;
- }
- #post {
- width:500px;
- line-height:150%;
- padding:10px;
- margin-top:30px;
- background-color:{color:postbg};
- }
- /*SIDEBAR*/
- #png{position:fixed;
- margin-top:0px;
- z-index:-9;
- margin-left:250px;
- }
- #sidebar {
- margin-left:85px;
- margin-top:100px;
- padding:5px;
- z-index:-99;
- position:fixed;
- }
- #sidebar img{border:solid 10px {color:postbg};
- }
- .description{
- margin-top:-10px;
- padding:20px;
- font-size:10px;
- line-height:150%;
- text-align:center;
- letter-spacing:2px;
- position:relative;
- margin-left:0px;
- left:-0px;
- color:{color:text};
- font-family:helvetica;
- }
- #desc{width:520px;
- position:fixed;
- z-index:999999;
- margin-left:90px;
- margin-top:530px;
- }
- /*POST INFO*/
- #info {
- width:510px;
- text-align:left;
- font-family:arial;
- text-transform:lowercase;
- margin-left:-10px;
- font-size:9px;
- margin-top:20px;
- margin-bottom:-30px;
- font-style:none;
- padding:5px;
- line-height:10px;
- background-color:{color:Info Background};
- color:{color:Text};
- }
- #info a {
- text-align:center;
- font-family:arial;
- color:{color:Text};
- }
- .right{float:right}
- /*BANNER HOVER*/
- #admins{width:300px;
- -webkit-transition: all 0.4s ease-in-out;
- -moz-transition: all 0.4s ease-in-out;
- -o-transition: all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition: all 0.4s ease-in-out;
- font-family:'arial';
- text-align:center;
- }
- #admins img{
- width:320px;
- margin-left:10px;
- margin-bottom:5px;
- }
- adminabout{width:300px;
- padding:10px;
- margin-left:10px;
- display:inline-block;
- background-color:{color:background};}
- /*SIDELINKS*/
- .links {
- padding:5px;
- padding-bottom:6px;
- line-height:150%;
- z-index:10000000000000000;
- text-align:center;
- font-size:8px;
- letter-spacing:4px;
- opacity:1;
- position:fixed;
- font-family:'arial';
- position:absolute;
- text-transform:uppercase;
- text-align:center;}
- .links a{
- z-index:10000000000000000;
- margin-left:10px;
- padding:5px;
- display:inline-block;
- }
- .links a:hover{
- color:{color:postbg};
- -moz-transition-duration:.2s;
- -webkit-transition-duration:.2s;
- -o-transition-duration:.2s;
- background-color:{color:Links Background};
- }
- #links{
- text-transform:uppercase;
- padding:10px;
- text-align:center;
- margin-top:-155px;
- background:{color:description background};
- font-size:10px;
- opacity:0;
- height:400px;
- margin-left:80px;
- font-family:times;
- width:500px;
- color:black;
- font-family:arial;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- #links:hover {opacity:1;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- #links a:hover{background:{color:text}}
- #links a{
- z-index:10000000000000000;
- background:{color:background};
- padding:8px;
- margin-top:5px;
- border-left:5px solid {color:text};
- color:{color:text};
- width:227px;
- display:inline-block;
- }
- /* Morph Button: Default Styles */
- .morph-button {
- position: fixed;
- display: block;
- }
- .morph-button > button {
- position: relative;
- border: none;
- margin-left:75px;
- background-color: {color:description background};
- color: {color:text};
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: 700;
- margin-top:60px;
- line-height: 30px;
- overflow: hidden;
- }
- /* Common styles for overlay and modal type (fixed morph) */
- .morph-button-fixed,
- .morph-button-fixed .morph-content {
- width: 520px;
- height: 30px;
- }
- .morph-button-fixed > button {
- z-index: 1000;
- width: 100%;
- height: 100%;
- -webkit-transition: opacity 0.1s 0.5s;
- transition: opacity 0.1s 0.5s;
- }
- .morph-button-fixed.open > button {
- opacity: 0;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- }
- .morph-button-fixed .morph-content {
- position: fixed;
- z-index: 900;
- opacity: 0;
- -webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- }
- .morph-button-fixed.open .morph-content {
- opacity: 1;
- }
- .morph-button-fixed .morph-content > div {
- visibility: hidden;
- height: 0;
- opacity: 0;
- -webkit-transition: opacity 0.1s, visibility 0s 0.1s, height 0s 0.1s;
- transition: opacity 0.1s, visibility 0s 0.1s, height 0s 0.1s;
- }
- .morph-button-fixed.open .morph-content > div {
- visibility: visible;
- height: auto;
- opacity: 1;
- -webkit-transition: opacity 0.3s 0.5s;
- transition: opacity 0.3s 0.5s;
- }
- .morph-button-fixed.active > button {
- z-index: 2000;
- }
- .morph-button-fixed.active .morph-content {
- z-index: 1900;
- }
- /* Transitions for overlay button and sidebar button */
- .morph-button-overlay .morph-content,
- .morph-button-sidebar .morph-content {
- -webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
- transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
- }
- .morph-button-overlay.open .morph-content,
- .morph-button-sidebar.open .morph-content {
- -webkit-transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
- transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s;
- }
- /* Morph Button Style: Overlay */
- .morph-button.morph-button-overlay {
- margin: 50px auto;
- }
- .morph-button-overlay .morph-content {
- overflow: hidden;
- background: #e85657;
- }
- .morph-button-overlay.open .morph-content {
- top: 0 !important;
- left: 0 !important;
- width: 100%;
- height: 100%;
- }
- /* Morph Button Style: Modal */
- .morph-button-modal::before {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 800;
- width: 100%;
- height: 100%;
- background: rgba(0,0,0,0.5);
- content: '';
- opacity: 0;
- -webkit-transition: opacity 0.5s;
- transition: opacity 0.5s;
- pointer-events: none;
- }
- .morph-button-modal.open::before {
- opacity: 1;
- pointer-events: auto;
- }
- .morph-button-modal.active::before {
- z-index: 1800;
- }
- .morph-button-modal .morph-content {
- overflow: hidden;
- -webkit-transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- transition: opacity 0.3s 0.5s, width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- }
- .morph-button-modal.open .morph-content {
- top: 50% !important;
- left: 50% !important;
- margin: -210px 0 0 -300px;
- width: 600px;
- height: 420px;
- -webkit-transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- transition: width 0.4s 0.1s, height 0.4s 0.1s, top 0.4s 0.1s, left 0.4s 0.1s, margin 0.4s 0.1s;
- }
- /* Colors and sizes for individual modals */
- .morph-button.morph-button-modal-1 {
- float: left;
- }
- .morph-button.morph-button-modal-2,
- .morph-button.morph-button-modal-3 {
- display: inline-block;
- margin: 10px 15px;
- }
- .morph-button-modal-1 > button,
- .morph-button-modal-1 .morph-content {
- background-color: {color:description background};
- color: {color:text};
- }
- .morph-button-modal-2 > button,
- .morph-button-modal-2 .morph-content,
- .morph-button-modal-3 > button,
- .morph-button-modal-3 .morph-content {
- background-color: {color:description background};
- color: {color:text};
- font-size:10px;
- }
- .morph-button-modal-4 {
- display: inline-block;
- }
- .morph-button-modal-4 > button,
- .morph-button-modal-4 .morph-content {
- background-color: #faf1e0;
- color: #553445;
- }
- .morph-button-modal-4 > button span,
- .morph-button-modal-4 .morph-clone {
- padding-left: 10px;
- color: #286f81;
- }
- .morph-button-modal-4 .morph-clone {
- position: absolute;
- right: 34px;
- bottom: 30px;
- z-index: 100;
- letter-spacing: 1px;
- font-weight: 700;
- -webkit-transition: bottom 0.4s 0.1s, right 0.4s 0.1s;
- transition: bottom 0.4s 0.1s, right 0.4s 0.1s;
- }
- .morph-button-modal-4.open .morph-clone,
- .no-js .morph-button-modal-4 .morph-clone {
- right: 10px;
- bottom: 10px;
- }
- .morph-button-modal-1::before {
- background: rgba(240,221,204,0.7);
- }
- .morph-button-modal-2.open .morph-content {
- margin: -210px 0 0 -170px;
- width: 340px;
- height: 320px;
- }
- .morph-button-modal-3.open .morph-content {
- margin: -255px 0 0 -210px;
- width: 420px;
- height: 510px;
- }
- .morph-button-modal-3.open .morph-content > div {
- height: 420px;
- }
- .morph-button-modal-2.open .morph-content > div,
- .morph-button-modal-3.open .morph-content > div {
- -webkit-transition: opacity 0.3s 0.3s;
- transition: opacity 0.3s 0.3s;
- }
- .morph-button-modal-4.open .morph-content {
- margin: -200px 0 0 -320px;
- width: 640px;
- height: 400px;
- }
- /* Morph Button Style: In the content flow */
- .morph-button-inflow {
- overflow: hidden;
- max-width: 100%;
- height: 70px;
- }
- .morph-button-inflow > button {
- width: 100%;
- line-height: 70px;
- }
- .morph-button-inflow .morph-content {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- }
- .morph-button-inflow .morph-content .morph-clone {
- padding: 0;
- font-weight: 700;
- line-height: 70px;
- }
- /* Colors and sizes for individual in flow buttons */
- .morph-button-inflow-1 {
- width: 600px;
- margin: 2em auto;
- -webkit-transition: height 0.5s cubic-bezier(0.7,0,0.3,1);
- transition: height 0.5s cubic-bezier(0.7,0,0.3,1);
- }
- .morph-button-inflow-1 > button span {
- visibility: hidden;
- }
- .morph-button-inflow-1 .morph-content .morph-clone {
- color: #f9f6e5;
- background: #e85657;
- }
- .morph-button-inflow-2 {
- position: absolute;
- top: 50%;
- left: 50%;
- width: 220px;
- background-color: #fef0e3;
- -webkit-transition: height 0.3s, width 0.3s, -webkit-transform 0.3s;
- transition: height 0.3s, width 0.3s, transform 0.3s;
- -webkit-transform: translateX(-50%) translateY(-50%);
- transform: translateX(-50%) translateY(-50%);
- }
- .morph-button-inflow-2 > button {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: transparent;
- color: #e75854;
- -webkit-transition: -webkit-transform 0.3s;
- transition: transform 0.3s;
- }
- .morph-button-inflow-2.open > button {
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- }
- .morph-button-inflow-2 .morph-content {
- width: 260px;
- height: 200px;
- }
- .morph-button-inflow-2.open {
- width: 260px;
- }
- /* Morph Button Style: Sidebar */
- .morph-button-sidebar,
- .morph-button-sidebar .morph-content {
- width: 60px;
- height: 60px;
- }
- .morph-button-sidebar {
- position: fixed;
- bottom: 50px;
- left: 50px;
- }
- .morph-button-sidebar > button {
- line-height: 60px;
- font-size:12px;
- padding: 0;
- }
- .morph-button-sidebar .morph-content {
- background: #e85657;
- }
- .morph-button-sidebar.open .morph-content {
- top: 0 !important;
- left: 0 !important;
- width: 300px;
- height: 100%;
- overflow: hidden;
- -webkit-backface-visibility: hidden;
- }
- /* Let's add some nice easing for all cases */
- .morph-button .morph-content,
- .morph-button.open .morph-content,
- .morph-button-modal-4 .morph-clone {
- -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
- transition-timing-function: cubic-bezier(0.7,0,0.3,1);
- }
- /* Helper classes */
- .noscroll {
- overflow: hidden;
- }
- .morph-button-overlay.scroll .morph-content {
- overflow-y: scroll;
- }
- .morph-button-sidebar.scroll .morph-content {
- overflow: auto;
- }
- /* No JS fallback: let's hide the button and show the content */
- .no-js .morph-button > button {
- display: none;
- }
- .no-js .morph-button {
- margin: 10px 0;
- float: none;
- }
- .no-js .morph-button,
- .no-js .morph-button .morph-content,
- .no-js .morph-button .morph-content > div {
- position: relative;
- width: auto;
- height: auto;
- opacity: 1;
- visibility: visible;
- top: auto;
- left: auto;
- -webkit-transform: none;
- transform: none;
- pointer-events: auto;
- }
- .no-js .morph-button .morph-content .icon-close {
- display: none;
- }
- .no-js .morph-button-sidebar {
- width: 300px;
- position: fixed;
- top: 0;
- left: 0;
- margin: 0;
- height: 100%;
- background: #e85657;
- overflow: auto;
- }
- .no-transition {
- -webkit-transition: none !important;
- transition: none !important;
- }
- /*QUESTION*/
- #asker {
- color:{color:text};
- padding:10px;
- font-family:'arial';
- font-size:10px;
- letter-spacing:0px;
- text-align:left;
- margin-top:0px;
- text-transform:lowercase;
- line-height:100%;
- background-color:{color:Answer backg};
- }
- #asker a{color:{color:postbg};}
- #url{color:{color:postbg};
- padding:4px;
- font-family:'arial';
- font-size:9px;
- letter-spacing:0px;
- text-align:center;
- margin-top:0px;
- font-weight:bold;
- text-transform:uppercase;
- line-height:100%;
- background-color:{color:Text};
- }
- #url a{color:{color:postbg};text-transform:uppercase;}
- #pagination {
- font-size:9px;
- width:510px;
- display:inline-block;
- text-transform:uppercase;
- font-family:arial;
- text-align:right;
- padding:5px;
- background-color:{color:description background};
- color:{color:text};
- }
- #pagination a{color:{color:text};
- z-index:99999;
- }
- #leftsidebar{background-color:transparent;
- padding:10px;
- z-index:-9;
- margin-left:0px;
- width:300px;
- margin-top:240px;
- padding-top:20px;
- position:fixed;
- }
- banner{font-size:9px;
- background-color:{color:Text};
- font-weight:bold;
- margin-top:5px;
- width:89%;
- text-transform:uppercase;
- display:inline-block;
- color:{color:background};
- margin-left:0px;
- padding:10px;
- }
- /*CREDIT*/
- #cred {
- position:fixed;
- font-family:'courier';
- text-transform:uppercase;
- font-size:8px;
- right:9px;
- bottom:9px;
- padding:4px;
- background-color:{color:postbg};
- letter-spacing:1px;
- }
- {CustomCSS}</style></head><body>
- <div id="sidebar"><img src="{image:sidebar}">
- </div>
- <div id="leftsidebar">
- <div id="links">
- <break>{title}</break>
- <img src="{image:header}">
- <a href="/">home</a>
- <a href="/ask">message</a>
- <a href="/archive">past</a>
- <a href="{text:link 1 url}">{text:link 1 name}</a>
- <a href="{text:link 2 url}">{text:link 2 name}</a>
- <a href="{text:link 3 url}">{text:link 3 name}</a>
- <break>UPDATES</break><br>
- <update><b>00/00/00</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </update>
- <update><b>00/00/00</b> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </update>
- </div>
- </div>
- <section>
- <div class="mockup-content">
- <div class="morph-button morph-button-modal morph-button-modal-2 morph-button-fixed">
- <button type="button">ADMINS</button>
- <div class="morph-content">
- <div>
- <div class="content-style-form content-style-form-1">
- <span class="icon icon-close"><pre>Close the dialog</span></pre>
- <div id="admins">
- <img src="{image:admin1}"><adminabout>{text:admin1}</adminabout><br>
- <img src="{image:admin2}"><adminabout>{text:admin2}</adminabout><br>
- <img src="{image:admin3}"><adminabout>{text:admin3}</adminabout>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div><!-- morph-button -->
- </div><!-- morph-button -->
- </div><!-- /form-mockup -->
- </section>
- <div id="entries">
- {block:Posts}
- <div id="post">
- {block:Text}
- <h1>{block:Title}{Title}{/block:Title}</h1>
- {Body}{/block:Text}
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Photoset}{Photoset-500}{block:Caption}{Caption}
- {/block:Caption}{/block:Photoset}
- {block:Quote}<h2>"{Quote}"</h2>
- {block:Source}<div class="qsource"> —{Source}</div>
- {/block:Source}{/block:Quote}
- {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
- {block:Chat}{block:Title}{Title}{/block:Title}{block:Lines}{block:Label}<b><u>{Label}</u></b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
- {block:Audio}<left>{block:AlbumArt}<img src="{AlbumArtURL}" width="60px" height="60px" align="left" style="margin-right:10px" />{/block:AlbumArt}<span class="audio">{AudioPlayerBlack}</left></span>
- {block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}
- {block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
- {/block:ExternalAudio}<b>Played:</b> {PlayCount} arial <br>
- {/block:Audio}<br>
- {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Answer}<div id="asker">{Question}</div> <div id="url">{Asker}</div>{Answer}{/block:Answer}
- <div id="info">
- <div id="permalink">
- <a href="{Permalink}">{TimeAgo}</a> <div class=right>{NoteCount}</div></a></div>
- {block:PostNotes}<div id="notes"><left>{PostNotes}</div>{/block:PostNotes}</div>
- </div>
- {/block:Posts}{/block:Posts}</div></div></div>
- <div id="desc"> <div id="pagination"> {block:Pagination}
- {block:PreviousPage}
- <a href="{PreviousPage}">back</a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}">forward</a>
- {/block:NextPage}
- {/block:Pagination}
- </div><div class="description">{description}</div>
- </div>
- </ul>
- </div>
- <div id="cred">
- <a href="http://shayofrp.tumblr.com/">SHAYOFRP</a>
- </div>
- <script src="http://static.tumblr.com/zkwuipe/m32nfgn9t/classie.js"></script>
- <script src="http://static.tumblr.com/zkwuipe/XG5nfgn3j/uimorphingbutton_fixed.js"></script>
- <script>
- (function() {
- var docElem = window.document.documentElement, didScroll, scrollPosition;
- // trick to prevent scrolling when opening/closing button
- function noScrollFn() {
- window.scrollTo( scrollPosition ? scrollPosition.x : 0, scrollPosition ? scrollPosition.y : 0 );
- }
- function noScroll() {
- window.removeEventListener( 'scroll', scrollHandler );
- window.addEventListener( 'scroll', noScrollFn );
- }
- function scrollFn() {
- window.addEventListener( 'scroll', scrollHandler );
- }
- function canScroll() {
- window.removeEventListener( 'scroll', noScrollFn );
- scrollFn();
- }
- function scrollHandler() {
- if( !didScroll ) {
- didScroll = true;
- setTimeout( function() { scrollPage(); }, 60 );
- }
- };
- function scrollPage() {
- scrollPosition = { x : window.pageXOffset || docElem.scrollLeft, y : window.pageYOffset || docElem.scrollTop };
- didScroll = false;
- };
- scrollFn();
- [].slice.call( document.querySelectorAll( '.morph-button' ) ).forEach( function( bttn ) {
- new UIMorphingButton( bttn, {
- closeEl : '.icon-close',
- onBeforeOpen : function() {
- // don't allow to scroll
- noScroll();
- },
- onAfterOpen : function() {
- // can scroll again
- canScroll();
- },
- onBeforeClose : function() {
- // don't allow to scroll
- noScroll();
- },
- onAfterClose : function() {
- // can scroll again
- canScroll();
- }
- } );
- } );
- // for demo purposes only
- [].slice.call( document.querySelectorAll( 'form button' ) ).forEach( function( bttn ) {
- bttn.addEventListener( 'click', function( ev ) { ev.preventDefault(); } );
- } );
- })();
- </script>
- </html>
Add Comment
Please, Sign In to add comment