Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- #15 RISING BY NEO
- ================
- ### It is IMPORTANT that you do not delete any of the following.
- ## Information
- Author: @MTRICS | @NEOTHM
- Release: 29/05/2016
- Version: 0.2
- Latest update: 05/06/2016
- Log: Fixed social networks icons
- ## Dependencies
- Truncate HTML: © Pathable
- Infinite Scroll: © Paul Irish
- Images loaded: © David Desandro
- Photosets: © Pixel Union
- Videos: © shythemes
- Inspiration: @FUKUO, @LADMILK, @ACUITE, "Deazzle
- Shoe Website" © Fariz Maulana
- (Behance)
- ## F.A.Q
- Q: Can I change the posts A: No
- format so that they're
- not square anymore?
- ## Links
- Support http://neothm.com/tagged/q&a
- > #15 SPECIFIC http://neothm.com/tagged/a:15
- Terms of use http://neothm.com/terms
- Tips & tricks http://neothm.com/tagged/101
- ## License
- LICENSED UNDER CREATIVE COMMONS ATTRIBUTION-NONCOMMERCIAL-
- NODERIVATIVES 4.0 INTERNATIONAL LICENSE (CC BY-NC-ND 4.0)
- [http://creativecommons.org/licenses/by-nc-nd/4.0/]
- (CC) 2016, NEO @NEOTHM
- Permission to use and modify this theme for personal purposes is
- hereby granted, provided that the above notice and this
- permission notice remain in all copies.
- THIS THEME IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
- WARRANTIES WITH REGARD TO THE FOLLOWING CODE.
- -->
- <meta charset="utf-8">
- <title>{block:PostTitle}{PostTitle} | {/block:PostTitle}{Title}</title>
- {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta name="author" content="neothm">
- <link rel="stylesheet" href="http://static.tumblr.com/emvnqzg/ZjEo04ht8/pxu.css">
- <link rel="stylesheet" href="http://static.tumblr.com/wgg6svp/ji9o6vay8/bodoni.css">
- <link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
- <link href='https://fonts.googleapis.com/css?family={text:GoogleFont}:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
- <link rel="shortcut icon" href="{image:Favicon}">
- <!--
- OPTIONS
- -->
- <meta name="image:Favicon" content="{Favicon}">
- <meta name="text:GoogleFont" content="Roboto">
- <meta name="select:FontSize" content="9px">
- <meta name="select:FontSize" content="10px">
- <meta name="select:FontSize" content="11px">
- <meta name="select:FontSize" content="12px">
- <meta name="select:FontSize" content="13px">
- <meta name="select:FontSize" content="14px">
- <meta name="color:BackgroundColor" content="#ffffff">
- <meta name="color:PostsBackground" content="#ffffff">
- <meta name="color:Text" content="#3B3B3B">
- <meta name="color:TitleText" content="#000000">
- <meta name="color:NavLinks" content="#000000">
- <meta name="color:NavLinksHover" content="#000000">
- <meta name="color:Links" content="#aaaaaa">
- <meta name="color:LinksHover" content="#000000">
- <meta name="color:Borders" content="#000000">
- <meta name="color:LightBorders" content="#f2f2f2">
- <meta name="image:Header" content="">
- <meta name="color:HeaderLayer" content="">
- <meta name="select:HeaderLayerOpacity" content="0">
- <meta name="select:HeaderLayerOpacity" content="0.3">
- <meta name="select:HeaderLayerOpacity" content="0.5">
- <meta name="select:HeaderLayerOpacity" content="0.7">
- <meta name="select:HeaderLayerOpacity" content="0.9">
- <meta name="if:TitleBackground" content="0">
- <meta name="if:Header" content="1">
- <meta name="if:LikeButtons" content="0">
- <meta name="select:SocialNetworks" content="ftr" title="In the footer">
- <meta name="select:SocialNetworks" content="sdb" title="In the menu">
- <meta name="select:SocialNetworks" content="nne" title="Hide">
- <meta name="text:HeaderTagLine" content="my personal blog">
- <meta name="text:HeaderTitle" content="Nulla dui purus, eleifend vel">
- <meta name="text:WordBreaker" content="500">
- <meta name="text:CaptionSpacing" content="50px">
- <meta name="text:PostsSpacing" content="120px">
- <meta name="text:Link1Name" content="Contact">
- <meta name="text:Link1URL" content="/ask">
- <meta name="text:Link2Name" content="">
- <meta name="text:Link2URL" content="">
- <meta name="text:Link3Name" content="">
- <meta name="text:Link3URL" content="">
- <meta name="text:Link4Name" content="">
- <meta name="text:Link4URL" content="">
- <meta name="text:Link5Name" content="">
- <meta name="text:Link5URL" content="">
- <meta name="text:Link6Name" content="">
- <meta name="text:Link6URL" content="">
- <meta name="text:Link7Name" content="">
- <meta name="text:Link7URL" content="">
- <meta name="text:Link8Name" content="">
- <meta name="text:Link8URL" content="">
- <meta name="text:Link9Name" content="">
- <meta name="text:Link9URL" content="">
- <meta name="text:FacebookURL" content="">
- <meta name="text:TwitterURL" content="">
- <meta name="text:ElloURL" content="">
- <meta name="text:InstagramURL" content="">
- <meta name="text:YoutubeURL" content="">
- <meta name="text:LinkedInURL" content="">
- <meta name="text:CodePenURL" content="">
- <meta name="text:GooglePlusURL" content="">
- <meta name="text:DribbbleURL" content="">
- <meta name="text:WebsiteURL" content="">
- <meta name="text:WordpressURL" content="">
- <meta name="text:PinterestURL" content="">
- <meta name="text:WhatsappUsername" content="">
- <meta name="text:SnapchatUsername" content="">
- <meta name="text:SkypeUsername" content="">
- <meta name="select:showBottomPost" content="tags" title="The tags">
- <meta name="select:showBottomPost" content="pid" title="Post ID">
- <meta name="select:showBottomPost" content="timeago" title="Posted time ago">
- <meta name="select:showBottomPost" content="noteCount" title="Note count">
- <meta name="select:showBottomPost" content="none" title="None">
- <meta name="select:showBottomPost" content="pdate" title="Post date">
- <meta name="select:NextPage" content="pgn" title="Pagination">
- <meta name="select:NextPage" content="btn" title="Load more button">
- <meta name="select:NextPage" content="ift" title="Infinite Scroll">
- <style type="text/css">
- /* --- UPDATES ---*/
- #updates {
- font-size:12px;
- color:{color:Text};
- text-align:left;
- height:13px;
- width:200px;
- padding:0px;
- top:12px;
- left:12px;
- z-index:10;
- position:fixed;
- overflow:hidden;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- #updates:hover {
- height:250px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- #updatestitle {
- font-size:11px;
- text-transform:uppercase;
- font-family:times;
- font-weight:bold;
- color:#000;
- }
- /*
- DEFAULT
- */
- *{
- margin:0;
- padding:0;
- }
- html, body{
- height:100%;
- }
- body{
- text-align:justify;
- word-break:break-word;
- color:{color:Text};
- background:{color:BackgroundColor};
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- padding-top:1px;
- margin-top:-1px;
- }
- body, small, big{
- font:400 {select:FontSize}/1.7 {text:GoogleFont}, sans-serif;
- }
- #noscroll{
- overflow-x:hidden;
- }
- a{
- color:{color:Links};
- text-decoration:none;
- }
- a:hover{
- color:{color:LinksHover};
- cursor:pointer!important;
- }
- ::selection{
- background-color:#000;
- color:#fff;
- }
- ::-moz-selection{
- background-color:#000;
- color:#fff;
- }
- ::-webkit-scrollbar{
- width:11px;
- height:11px;
- background-color:{color:BackgroundColor};
- }
- ::-webkit-scrollbar-track{
- border:5px solid {color:BackgroundColor};
- background-color:{color:BackgroundColor};
- }
- ::-webkit-scrollbar-thumb{
- border:5px solid {color:BackgroundColor};
- background-color: {color:Text};
- }
- .tmblr-iframe.iframe-controls--desktop, #tumblr_controls{
- position:fixed;
- transform:scale(.7);
- -webkit-transform:scale(.7);
- -moz-transform:scale(.7);
- z-index:999999999!important;
- filter:invert(100%);
- -webkit-filter:invert(100%);
- -moz-filter:invert(100%);
- -ms-filter:invert(100%);
- -o-filter:invert(100%);
- }
- #s-m-t-tooltip{
- line-height:140%;
- font-size:8px;
- text-transform:uppercase;
- text-align:center;
- letter-spacing:1px;
- max-width:100px;
- z-index:9999!important;
- padding:5px 10px;
- border:1px solid {color:LightBorders};
- margin:15px;
- background:rgba(255,255,255,.95);
- color:#888;
- }
- /*
- TRANSITIONS
- */
- body.deployed #fade, #fade, .menu ol, body.deployed .menu ol, .search:hover form:after, .search form:after, .search, .search:hover, .hamburger > span, .hamburger:hover > span, .sns span a:hover:after, .sns span a:after, footer li a:after, footer li a:hover:after, .postType:hover span, .postType span, .sns span a svg, .sns span a:hover svg, footer li a svg, footer li a:hover svg, a, a:hover{
- transition-duration:.3s;
- -webkit-transition-duration:.3s;
- -moz-transition-duration:.3s;
- -ms-transition-duration:.3s;
- -o-transition-duration:.3s;
- }
- article:hover .tumblr-btns, article .tumblr-btns, .visible, .photo-data{
- transition-duration:.8s;
- -webkit-transition-duration:.8s;
- -moz-transition-duration:.8s;
- -ms-transition-duration:.8s;
- -o-transition-duration:.8s;
- }
- /*
- CLEARFIX
- */
- .audio:after, article:after, footer:after{
- display:table;
- content:"";
- clear:both;
- }
- /*
- COMMONS
- */
- .postType,
- #titles h3{
- font:bold 10px/1 'Bodoni', Arial;
- text-transform:uppercase;
- padding-bottom:15px;
- position:relative;
- margin-bottom:20px;
- position:relative;
- }
- /* bottom border */
- .the_date:before,
- .postInfo:after,
- .postType:before,
- #titles h3:after{
- width:30px;
- height:3px;
- background-color:{color:Borders};
- display:block;
- content:"";
- position:absolute;
- bottom:0px;
- left:0px;
- }
- /* top */
- .postType:before{
- bottom:auto;
- top:0px;
- }
- .tumblr-btns,
- .photoset-arrows{
- font-size:0;
- position:absolute;
- bottom:0px;
- z-index:1;
- text-align:center;
- }
- .tumblr-btns span,
- .photoset-arrows a{
- font-size:20px;
- display:inline-block;
- width:40px;
- height:40px;
- overflow:hidden;
- line-height:45px;
- background:#fff;
- }
- .reblogRoot{
- display:table;
- margin-bottom:20px;
- text-transform:uppercase;
- letter-spacing:1px;
- color:#000;
- font:bold 10px/1 'Bodoni', Arial;
- }
- .reblogRoot img{
- width:25px;
- vertical-align: -7px;
- border-radius:3px;
- margin-right:15px;
- }
- .reblogRoot img,
- .reblogRoot span{
- display:inline-block;
- }
- footer.sdb,
- footer.nne,
- .sns.ftr,
- .sns.nne{
- display:none;
- }
- footer.ftr,
- .sns.sdb{
- display:block;
- }
- {block:IndexPage}
- .isSquare .media, .isSquare .figure{
- width:50%;
- float:left;
- position:relative;
- }
- .isSquare .media:after, .isSquare .figure:after{
- content:"";
- display:block;
- padding-bottom:100%;
- }
- .isSquare .figure > div,
- .fu-tmblr{
- position:absolute;
- width:100%;
- height:100%;
- top:0px;
- left:0;
- overflow:hidden;
- }
- .audio{
- width: 100%;
- height: 100%;
- background: rgba(255,255,255,.9);
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- }
- .audio span{
- background: #fff;
- width: 90px;
- display: block;
- border-radius: 5px;
- height: 90px;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- overflow: hidden;
- }
- .audio_player{
- width: 30px;
- height: 26px;
- position: absolute;
- overflow: hidden;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- margin: auto;
- }
- {/block:IndexPage}
- /*
- THEME
- */
- nav,
- header{
- background-color:{color:BackgroundColor};
- }
- nav{
- z-index:3;
- padding:40px 10%;
- position:fixed;
- top:0;
- left:0;
- right:0px;
- width:100%;
- box-sizing:border-box;
- display:table;
- }
- nav li{
- list-style:none;
- }
- nav ul {
- width:50%;
- text-align:right;
- display:table-cell;
- vertical-align:middle;
- }
- nav ul > li{
- vertical-align:middle;
- display:inline-block;
- }
- #infscr-loading,
- #smbt{
- display:none!important;
- }
- .search{
- width:220px;
- position:relative;
- overflow:hidden;
- height:20px;
- width:23px;
- margin-right:15px;
- vertical-align:-7px;
- color:{color:NavLinks};
- }
- .search form{
- top:0px;
- right:0px;
- position:absolute;
- width:190px;
- }
- .search input{
- float:left;
- border:none;
- outline:none;
- line-height:19px;
- position:relative;
- width:150px;
- background-color:{color:BackgroundColor};
- border-bottom:1px solid #eee;
- }
- .search form:after{
- content:"";
- position:absolute;
- bottom: 0px;
- right: 40px;
- height:1px;
- width:0px;
- background-color:{color:NavLinksHover};
- display:block;
- transition-delay:.3s;
- }
- .search:hover form:after{
- width:150px;
- }
- .search label{
- width:20px;
- height:20px;
- display:block;
- margin-right:5px;
- float:right;
- line-height:22px;
- font-size:22px;
- }
- .search:hover{
- width:190px;
- }
- body.deployed .menu{
- overflow:visible;
- }
- body.deployed{
- overflow:hidden!important;
- }
- #fade{
- position:fixed;
- width:100%;
- height:100%;
- top:0px;
- left:0px;
- background:{color:BackgroundColor};
- z-index:0;
- visibility:hidden;
- opacity:0;
- }
- body.deployed #fade{
- visibility:visible;
- opacity:0.8;
- }
- nav .menu ol{
- position:fixed;
- width:30%;
- top:120px;
- padding-left:40px;
- box-sizing:border-box;
- bottom:0px;
- right:-30%;
- background:{color:BackgroundColor};
- }
- nav .menu a{
- color:{color:NavLinks};
- }
- nav .menu a:hover{
- color:{color:NavLinksHover};
- }
- body.deployed .menu ol{
- right:0;
- }
- .menu ol li{
- text-align:left;
- padding:15px 0;
- font:bold 30px/1 'Bodoni', Arial;
- }
- .sns{
- display:block;
- font-size:0px;
- max-width:calc(100% - 50px);
- }
- .sns h5{
- display:block;
- padding-top:14px;
- font-size:14px;
- color:{color:NavLinks};
- }
- .menu ol li a{
- display:block;
- }
- .hamburger{
- display:block;
- overflow:hidden;
- height:20px;
- width:20px;
- }
- .hamburger > span{
- display:block;
- height:2px;
- border-radius:2px;
- margin:4px 0;
- background-color:{color:NavLinks};
- }
- .hamburger > span:first-child{
- width:20px;
- }
- .hamburger > span:nth-child(2){
- width:12px;
- }
- .hamburger > span:last-child{
- width:16px;
- }
- .hamburger:hover > span,
- .hamburger:hover{
- cursor:pointer!important;
- }
- body.deployed .hamburger > span,
- .hamburger:hover > span{
- background-color:{color:NavLinksHover};
- }
- body.deployed .hamburger > span:first-child,
- .hamburger:hover > span:first-child{
- width:14px;
- }
- body.deployed .hamburger > span:nth-child(2),
- .hamburger:hover > span:nth-child(2){
- width:20px;
- }
- body.deployed .hamburger > span:last-child,
- .hamburger:hover > span:last-child{
- width:10px;
- }
- nav h1{
- width:50%;
- vertical-align:middle;
- display:table-cell;
- font:bold 30px/40px 'Bodoni', Arial;
- }
- nav h1 a{
- color:{color:NavLinks};
- }
- nav h1 a:hover{
- color:{color:NavLinksHover};
- }
- {block:IfHeader}
- header{
- height:100%;
- padding:120px 10vw 0;
- position:relative;
- box-sizing:border-box;
- {block:TagPage}display:none;{/block:TagPage}
- }
- header #image{
- display:block;
- width:60vw;
- top:120px;
- background:transparent url('{image:Header}') center;
- background-size:cover;
- position:absolute;
- bottom:40px;
- }
- header #image:before{
- content:"";
- display:block;
- position:absolute;
- background:{color:HeaderLayer};
- position:absolute;
- top:0px;
- left:0px;
- right:0px;
- bottom:0px;
- opacity:{select:HeaderLayerOpacity};
- }
- #titles{
- color:{color:TitleText};
- text-align:left;
- width:35%;
- top:50%;
- transform:translateY(-50%);
- right:10%;
- {block:IfTitleBackground}background-color:{color:BackgroundColor};{/block:IfTitleBackground}
- padding:30px;
- box-sizing:border-box;
- position:absolute;
- }
- #titles h2{
- font:bold 60px/1 'Bodoni', Arial;
- }
- {/block:IfHeader}
- /*
- POSTS
- */
- {block:PermalinkPage}
- .photo-slideshow a{
- display:block;
- }
- .pictures{
- display:block;
- width:100%;
- min-width: 100%;
- max-width: 100%;
- height:auto;
- }
- {/block:PermalinkPage}
- {block:IndexPage}
- .photo-slideshow{
- position:absolute;
- width:100%;
- height:100%;
- top:0;
- left:0;
- }
- .pictures,
- .photo-data{
- width:100%!important;
- height:100%!important;
- }
- .audio-photo,
- .pictures,
- .photo-data,
- .pxu-photo{
- position:absolute;
- top:0px;
- left:0px;
- bottom:0px;
- right:0px;
- display:block;
- }
- .photo-data:not(:first-child){
- opacity:0;
- }
- .visible{
- opacity:1;
- }
- {/block:IndexPage}
- .tumblr-btns a{
- display:block;
- }
- .like{
- position:relative;
- cursor:pointer!important;
- }
- .like:hover a{
- color:{color:LinksHover};
- }
- .like_button{
- left:10px;
- top:2px;
- position:absolute;
- opacity:0;
- }
- .like_button.liked + a{
- color:#2ecc71!important;
- }
- .tumblr-btns{
- top:1px;
- bottom: auto;
- opacity: 0;
- visibility: hidden;
- }
- article:hover .tumblr-btns{
- opacity: 1;
- visibility: visible;
- }
- .tumblr-btns .reblog,
- .prev-photo{
- position:relative;
- }
- .tumblr-btns .reblog:after,
- .prev-photo:after{
- content:"";
- position:absolute;
- width:1px;
- height:20px;
- background:{color:LightBorders};
- top:11px;
- right:0px;
- }
- .tumblr-btns{
- top:1px;
- bottom: auto;
- }
- article:nth-child(even) .photoset-arrows{
- left:0px;
- }
- article:nth-child(odd) .photoset-arrows{
- right:0px;
- }
- article:nth-child(even) .tumblr-btns{
- right:1px;
- left:auto;
- }
- article:nth-child(odd) .tumblr-btns{
- left:1px;
- right:auto;
- }
- section{
- margin: 120px 10% 30px;
- }
- article{
- position:relative;
- margin-bottom:{text:PostsSpacing};
- background:{color:PostsBackground};
- counter-increment:posts;
- }
- article:not(.isSquare){
- padding:20px;
- box-sizing:border-box;
- }
- {block:IndexPage}
- article:not(.isSquare) .caption{
- max-width:70%;
- }
- {/block:IndexPage}
- .caption h1, .caption h2, .caption h3{
- font:bold 15px/3 'Bodoni', Arial, serif;
- }
- .caption ul, .caption ol{
- padding-left:30px;
- }
- .isReblog .caption > blockquote h2 + blockquote,
- .isReblog .caption > blockquote h1 + blockquote,
- .isReblog .caption > blockquote h3 + blockquote,
- .isReblog .caption > blockquote p + blockquote,
- article:not(.isReblog) .caption blockquote{
- padding:10px 20px;
- border:1px solid {color:LightBorders};
- display:block!important;
- margin:20px 0;
- }
- article:nth-child(even) .media{
- float: right;
- }
- .figure > div{
- box-sizing:border-box;
- {block:IndexPage}padding:{text:CaptionSpacing};{/block:IndexPage}
- {block:PermalinkPage}padding:0 {text:CaptionSpacing};margin-top:30px;{/block:PermalinkPage}
- }
- /*posttypes*/
- .fu-tmblr iframe{
- position:relative;
- }
- .postType{
- display:table;
- height:10px;
- padding-top:20px;
- padding-bottom:0px;
- margin-bottom:0px;
- overflow:hidden;
- }
- .postType:hover{
- padding-left:50px;
- }
- .postType span{
- background:{color:LinksHover};
- color:#fff;
- padding:2px 5px;
- position:absolute;
- top:17px;
- left:-50px;
- }
- .postType span:before{
- content:"0"counter(posts)".";
- }
- .postType:hover span{
- left:0px;
- }
- .postInfo{
- display:block;
- position:relative;
- line-height:10px;
- padding-bottom: 20px;
- font-size: 9px;
- margin-top:20px;
- }
- .postInfo.none,
- .postInfo p{
- display:none;
- }
- .postInfo.noteCount p.noteCount,
- .postInfo.pid p.pid,
- .postInfo.timeago p.timeago,
- .postInfo.pdate p.pdate,
- .postInfo.tags p.tags{
- display:block;
- }
- p.tags{
- white-space: nowrap;
- overflow: hidden;
- text-transform:uppercase;
- }
- .the_date{
- text-align:center;
- padding-top:15px;
- position: relative;
- padding-bottom: 5px;
- margin-bottom: 10px;
- font: normal 18px/2 'Bodoni', Arial;
- }
- .perminfo{
- text-align: center;
- font-size: 9px;
- text-transform: uppercase;
- margin-bottom: 10px;
- }
- .the_tags{
- text-align: center;
- font: normal 15px/1.7 'Bodoni', Arial;
- padding-bottom:40px;
- }
- .the_date:before{
- left:0;
- right:0;
- margin:auto;
- }
- .postInfo span{
- font:bold 10px/1 'Bodoni', Arial;
- text-transform:uppercase;
- padding-right:5px;
- }
- ol.notes{
- font-size: 0;
- margin: 20px 30px 0;
- text-align: center;
- }
- li.note {
- list-style: none;
- display: inline-block;
- margin: 10px;
- }
- img.avatar{
- width: 30px;
- border-radius: 3px;
- }
- .isSquare .caption{
- height:calc(100% - 100px);
- overflow:hidden;
- }
- .caption{
- margin:20px 0 25px;
- }
- .tumblr_blog{
- text-transform:uppercase;
- font:bold 11px/1 'Bodoni', Arial;
- }
- ul.chat{
- padding:0px;
- }
- .chat li{
- list-style:none;
- font:400 23px/1.2 'Bodoni', Arial;
- padding-bottom:10px;
- }
- .chat li b{
- text-transform:uppercase;
- font-size:18px;
- letter-spacing:1px;
- }
- article h4{
- font:bold 50px/1 'Bodoni', Arial;
- text-align:left;
- padding-bottom:10px;
- }
- .isChat h4{
- margin-bottom:10px;
- }
- .isLink h4 + p, .isQuote h4 + p{
- margin-top:10px;
- }
- article h4 a{
- color:{color:Text};
- }
- {block:IndexPage}
- .question{
- top:calc({text:CaptionSpacing} + 50px);
- left:{text:CaptionSpacing};
- right:{text:CaptionSpacing};
- bottom:calc({text:CaptionSpacing} + 50px);
- overflow:hidden;
- position: absolute;
- }
- {/block:IndexPage}
- article.isAsk.withAnswerer .reblogRoot.noAnswerer,
- article.isAsk:not(.withAnswerer) .reblogRoot.withAnswerer{
- display:none;
- }
- article.isAsk.withAnswerer .reblogRoot.withAnswerer,
- article.isAsk:not(.withAnswerer) .reblogRoot.noAnswerer{
- display:block;
- }
- {block:IndexPage}
- .isAsk .media,
- .isAsk .figure{
- float:left!important;
- }
- .isAsk .figure:before{
- position:absolute;
- content:"";
- left:-1px;
- top:0px;
- bottom:0px;
- width:1px;
- height:20%;
- margin:auto;
- background:{color:LightBorders};
- }
- {/block:IndexPage}
- /*
- FOOTER
- */
- footer{
- line-height:70px;
- padding:30px 10%;
- }
- footer h5,
- footer ul{
- display:block;
- }
- footer h5{
- float:left;
- text-transform:uppercase;
- letter-spacing:1px;
- }
- footer ul{
- float:right;
- display:block;
- }
- footer li{
- list-style:none;
- display:inline-block;
- }
- footer li svg,
- .sns span a,
- .sns span svg,
- footer li a{
- position:relative;
- font-size:16px;
- display:block;
- color:{color:Links};
- text-align:center;
- width:25px;
- height:25px;
- line-height:26px;
- }
- .sns span svg,
- footer li svg{
- fill:{color:Links};
- width:16px;
- height:16px;
- vertical-align: -2px;
- display:inline-block;
- }
- footer li a{
- margin-left:10px;
- }
- .sns span{
- display:inline-block;
- }
- .sns span a{
- margin-right:-5px;
- }
- .sns span svg,
- footer li svg,
- .sns span a:before,
- footer li a:before{
- position:relative;
- z-index:1;
- }
- .sns span a:after,
- footer li a:after{
- content:"";
- width:100%;
- z-index:0;
- height:100%;
- border-radius:15px;
- position:absolute;
- top:0;
- left:0;
- background:{color:Links};
- transform:scale(0);
- }
- .sns span a:hover,
- footer li a:hover{
- color:{color:LinksHover};
- }
- .sns span svg:hover,
- footer li svg:hover{
- fill:{color:LinksHover};
- }
- .sns span a:hover:after,
- footer li a:hover:after{
- transform:scale(1);
- }
- .nextPage{
- margin:50px 0 100px;
- text-align:center;
- }
- .pagination{
- width:100%;
- font:bold 17px/1 'Bodoni', Arial;
- }
- .pagination a,
- .pagination span{
- display:inline-block;
- }
- .pagination span{
- vertical-align: -2px;
- font-size: 23px;
- font-style: italic;
- margin: 0 3px;
- }
- .prv{
- margin-right:8px;
- }
- .nxt{
- margin-left:8px;
- }
- #ldmrbtn{
- display:table;
- margin:0 auto;
- font:italic 25px/1 'Bodoni', Arial;
- }
- #ldmrbtn span{
- display:block;
- margin-top:10px;
- font-size:15px;
- color:#000;
- }
- .nextPage.btn .pagination,
- .nextPage.ift,
- .nextPage.pgn #ldmrbtn{
- display:none;
- }
- .tmblr-lightbox{
- background-color: rgba(240,240,240,.9)!important;
- }
- .tmblr-lightbox .vignette{
- background-image:none!important;
- }
- .tmblr-lightbox .lightbox-image {
- box-shadow:none!important;
- outline: 20px solid #fff;
- }
- .isReblog .caption > p,
- .isReblog .caption > blockquote,
- .isReblog .caption > blockquote p:first-of-type,
- .isReblog .caption > blockquote blockquote:first-of-type,
- .isReblog .caption > blockquote pre:first-of-type{
- display:inline;
- }
- /*PERMALINKS*/
- {block:PermalinkPage}
- .note.more_notes_link_container{
- text-align: center;
- display: block;
- padding-bottom: 30px;
- }
- .more_notes_link{
- display: inline-block;
- width:30px;
- height:30px;
- background: #fff url('http://static.tumblr.com/wgg6svp/vGzo7wew4/loadmore.png') top center no-repeat;
- background-size: 20px 20px;
- }
- .more_notes_link:hover{
- transform:rotate(30deg);
- }
- .question,
- .audio{
- padding: {text:CaptionSpacing} 0 0 {text:CaptionSpacing};
- }
- .question, .answer{
- max-width:500px;
- }
- .audio > span{
- background-color:#fff;
- display: block;
- width: 30Px;
- height:30px;
- float: left;
- overflow:hidden;
- border-radius: 3px;
- }
- .audio-info{
- display:block;
- max-width:calc(100% - 70px);
- float:left;
- font:normal 30px/30px 'Bodoni', Arial;
- margin-left:40px;
- }
- .audio-info b{
- padding-right:10px;
- }
- .isReblog .caption > p{
- display:none;
- }
- .isMedia{
- width:80%;
- }
- .isMedia.isReblog .caption p:first-of-type,
- .isMedia.isReblog .caption pre:first-of-type{
- display:block;
- position: absolute;
- top: 0;
- background: {color:BackgroundColor};
- width: 45%;
- right: -30%;
- padding: 40px;
- box-sizing: border-box;
- text-align:left;
- font: 700 30px/1.3 'Bodoni', sans-serif;
- }
- {/block:PermalinkPage}
- iframe {display:none !important;}
- </style>
- </head>
- <body id="noscroll">
- <!-- begin updates tab -->
- <div id="updates">
- <div id="updatestitle">▽</div>
- <div style="padding-top:10px;">
- <a href="https://www.un.org/sg/en/biography.shtml"><img src="http://news.stanford.edu/news/2013/january/images/un_news.jpg" alt="Diplomat of the Week" border="0" height="120" width="105"></a>
- <p style="font-family:courier new;"><left> BAN KI-MOON </left> </p>
- </div></div>
- <!-- end updates tab -->
- <nav>
- <h1><a href="/">{Title}</a></h1>
- <ul>
- <li class="search">
- <form>
- <input type="text" id="txt">
- <input type="submit" id="smbt">
- <label for="smbt" class="ion-ios-search-strong"></label>
- </form>
- </li>
- <li class="menu">
- <div class="hamburger">
- <span></span>
- <span></span>
- <span></span>
- </div>
- <ol>
- <li><a href="{text:Link1URL}">{text:Link1Name}</a></li>
- <li><a href="{text:Link2URL}">{text:Link2Name}</a></li>
- <li><a href="{text:Link3URL}">{text:Link3Name}</a></li>
- <li><a href="{text:Link4URL}">{text:Link4Name}</a></li>
- <li><a href="{text:Link5URL}">{text:Link5Name}</a></li>
- <li><a href="{text:Link6URL}">{text:Link6Name}</a></li>
- <li><a href="{text:Link7URL}">{text:Link7Name}</a></li>
- <li><a href="{text:Link8URL}">{text:Link8Name}</a></li>
- <li><a href="{text:Link9URL}">{text:Link9Name}</a></li>
- <li class="sns {select:SocialNetworks}">
- <h5>Social Networks</h5>
- <span><a href="{text:TwitterURL}" title="Twitter" class="ion-social-twitter"></a></span>
- <span><a href="{text:FacebookURL}" title="Facebook" class="ion-social-facebook"></a></span>
- <span><a href="{text:WebsiteURL}" title="Website"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="302.334px" height="302.5px" viewBox="0 0 302.334 302.5" enable-background="new 0 0 302.334 302.5" xml:space="preserve"><g><circle cx="151.25" cy="151.25" r="151.25"/><path fill="none" stroke="#FFFFFF" stroke-width="17" stroke-linecap="round" stroke-linejoin="bevel" stroke-miterlimit="10" d="M72,171c20.766,83.064,136,81.5,158.5-1"/></g></svg></a></span>
- <span><a href="{text:InstagramURL}" title="Instagram" class="ion-social-instagram-outline"></a></span>
- <span><a href="{text:YoutubeURL}" title="Youtube" class="ion-social-youtube"></a></span>
- <span><a href="{text:LinkedInURL}" title="LinkedIn" class="ion-social-linkedin-outline"></a></span>
- <span><a href="{text:CodePenURL}" title="CodePen" class="ion-social-codepen-outline"></a></span>
- <span><a href="{text:GooglePlusURL}" title="Google+" class="ion-social-googleplus"></a></span>
- <span><a href="{text:DribbbleURL}" title="Dribbble" class="ion-social-dribbble-outline"></a></span>
- <span><a href="{text:WebsiteURL}" title="Website" class="ion-social-dribbble-outline"></a></span>
- <span><a href="{text:WordpressURL}" title="Wordpress" class="ion-social-wordpress"></a></span>
- <span><a href="{text:PinterestURL}" title="Pinterest" class="ion-social-pinterest"></a></span>
- <span><a title="{text:WhatsappUsername}" href="http://#" class="usrn ion-social-whatsapp"></a></span>
- <span><a title="{text:SnapchatUsername}" href="http://#" class="usrn ion-social-snapchat"></a></span>
- <span><a title="{text:SkypeUsername}" href="http://#" class="usrn ion-social-skype"></a></span>
- </li>
- </ol>
- </li>
- </ul>
- </nav>
- {block:IndexPage}
- {block:IfHeader}
- <header>
- <div id="image"></div>
- <div id="titles">
- <h3>{text:HeaderTagLine}</h3>
- <h2>{text:HeaderTitle}</h2>
- </div>
- </header>
- {/block:IfHeader}
- {/block:IndexPage}
- <section>
- <div id="posts">
- {block:Posts}
- <article class="{block:RebloggedFrom}isReblog{/block:RebloggedFrom}{block:Photoset} isMedia isSquare{/block:Photoset}{block:Photo} isMedia isSquare{/block:Photo}{block:Photo} isMedia isSquare{/block:Photo}{block:Video} isMedia isSquare{/block:Video}{block:Audio} isSquare{/block:Audio}{block:Text} isText{/block:Text}{block:Quote} isQuote{/block:Quote}{block:Link} isLink{/block:Link}{block:Answer} isAsk isSquare{block:Answerer} withAnswerer{/block:Answerer}{/block:Answer}{block:Chat} isChat{/block:Chat}">
- <!--like btns-->
- {block:IndexPage}
- {block:IfLikeButtons}
- <div class="tumblr-btns">
- <span>
- <a href="{ReblogURL}" target="_blank" class="ion-ios-refresh-outline reblog"></a>
- </span>
- <span class="like">
- {LikeButton}
- <a href="#" class="ion-ios-heart-outline"></a>
- </span>
- </div>
- {/block:IfLikeButtons}
- {/block:IndexPage}
- <!--Posts-->
- <!--
- medias
- -->
- <div class="media">
- <div>
- {block:Video}
- <!--video-->
- <div class="fu-tmblr">{Video-500}</div>
- {/block:Video}
- {block:Photoset}
- <!--photoset-->
- <div class="photo-slideshow" data-layout="{PhotosetLayout}">
- <a onclick="Tumblr.Lightbox.init([/*{block:Photos}, /**/ { width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }{/block:Photos}]); $('body').toggleClass('tumblr_lightbox_active'); return false">
- {block:Photos}
- <div class="photo-data">
- {block:IndexPage}
- <div class="pxu-photo" style="background:#fff url('{PhotoURL-HighRes}');background-size:cover;background-position:center;" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-alt="{PhotoAlt}" width="{PhotoWidth-500}" height="{PhotoHeight-500}"></div>{/block:IndexPage}{block:PermalinkPage}<div class="pxu-photo"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"></div>{/block:PermalinkPage}
- </div>
- {/block:Photos}
- </a>
- {block:IndexPage}
- <div class="photoset-arrows">
- <a href="#" class="ion-ios-arrow-left prev-photo"></a>
- <a href="#" class="ion-ios-arrow-right next-photo"></a>
- </div>
- {/block:IndexPage}
- </div>
- {/block:Photoset}
- {block:Photo}
- <!--photo post-->
- <a 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">
- {block:IndexPage}<div class="pictures" style="background:#fff url('{PhotoURL-HighRes}');background-size:cover;background-position:center;" data-alt="{PhotoAlt}" width="{PhotoWidth-500}" height="{PhotoHeight-500}"></div>{/block:IndexPage}{block:PermalinkPage}<img class="pictures" src="{PhotoURL-HighRes}" alt="{PhotoAlt}">{/block:PermalinkPage}
- </a>
- {/block:Photo}
- {block:Audio}
- {block:AlbumArt}{block:IndexPage}<div class="audio-photo" style="background:#fff url('{AlbumArtURL}');background-size:cover;background-position:center;"></div>{/block:IndexPage}{/block:AlbumArt}
- <div class="audio">
- {block:AudioPlayer} {AudioPlayer} {/block:AudioPlayer}
- {block:PermalinkPage}
- <div class="audio-info">
- {block:TrackName}<b>{TrackName}</b>{/block:TrackName}{block:Artist} {Artist}{/block:Artist}
- </div>
- {/block:PermalinkPage}
- </div>
- {/block:Audio}
- {block:Answer}
- <!--answer post-->
- <div class="question">
- <div class="reblogRoot">
- <img src="{AskerPortraitURL-96}">
- <span>{Asker}</span>
- </div>
- {Question}
- </div>
- {/block:Answer}
- </div>
- </div><!--ends .media-->
- <!--
- content
- -->
- <div class="figure">
- <div>
- {block:PermalinkPage}
- <div class="reblogRoot">
- {block:RebloggedFrom}
- <img src="{ReblogRootPortraitURL-96}">
- <a href="{ReblogRootURL}">{ReblogRootName}</a>
- {/block:RebloggedFrom}
- {block:NotReblog}
- <img src="{PortraitURL-96}">
- <a href="/">{Name}</a>
- {/block:NotReblog}
- </div>
- {/block:PermalinkPage}
- {block:IndexPage}
- <a href="{Permalink}" class="postType">
- <span></span>
- {block:Photoset}photos{/block:Photoset}
- {block:Photo}{/block:Photo}
- {block:Text}text{/block:Text}
- {block:Audio}music{/block:Audio}
- {block:Answer}reply{/block:Answer}
- {block:Chat}talk{/block:Chat}
- {block:Video}video{/block:Video}
- {block:Quote}words{/block:Quote}
- {block:Link}links{/block:Link}
- </a>
- {/block:IndexPage}
- <div class="caption">
- {block:Caption}
- {Caption}
- {/block:Caption}
- {block:Text}
- <!--text posts-->
- {block:Title}<h4>{Title}</h4>{/block:Title}
- {Body}
- {/block:Text}
- {block:Chat}
- <!--chat posts-->
- {block:Title}
- <h4><a href="{Permalink}">{Title}</a></h4>
- {/block:Title}
- <ul class="chat">
- {block:Lines}
- <li>
- {block:Label}
- <b>{Label}</b>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Link}
- <!--links posts-->
- <h4><a href="{URL}" target="{Target}">{Name} »</a></h4>
- {block:Description}
- {Description}
- {/block:Description}
- {/block:Link}
- {block:Quote}
- <!--quote posts-->
- <h4>{Quote}</h4>
- {block:Source}
- {Source}
- {/block:Source}
- {/block:Quote}
- {block:Answer}
- <!--answer posts-->
- <div class="answer">
- {block:IndexPage}
- <div class="reblogRoot withAnswerer">
- <img src="{AnswererPortraitURL-96}">
- <span>{Answerer}</span>
- </div>
- <div class="reblogRoot noAnswerer">
- <img src="{PortraitURL-96}">
- <a href="{Permalink}">{Name}</a>
- </div>
- {/block:IndexPage}
- {Answer}
- </div>
- {/block:Answer}
- </div>
- {block:IndexPage}
- <div class="postInfo {select:showBottomPost}">
- {block:HasTags}<p class="tags"><span>tags: </span>{block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}</p>{/block:HasTags}
- <p class="pid"><span><a href="{Permalink}">#{PostID}</a></span></p>
- <p class="timeago"><span><a href="{Permalink}">{TimeAgo}</a></span></p>
- <p class="noteCount">{block:NoteCount}<span><a href="{Permalink}">{NoteCountWithLabel}</a></span>{/block:NoteCount}</p>
- <p class="pdate"><span><a href="{Permalink}">{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</a></span></p>
- </div>
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:Date}
- <p class="the_date">{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</p>
- <p class="perminfo">{block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:RebloggedFrom}, via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}</p>
- {/block:Date}
- {block:HasTags}<p class="the_tags">{block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}</p>{/block:HasTags}
- {block:PostNotes}{PostNotes-64}{/block:PostNotes}
- {/block:PermalinkPage}
- </div>
- </div><!--ends .figure-->
- </article>
- <!--removes tumblr glitch-->
- {block:ContentSource}<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}<!-- {block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
- {/block:Posts}
- </div> <!--ends #posts-->
- {block:Pagination}
- <div class="nextPage {select:NextPage}">
- <p class="pagination">
- {block:PreviousPage}<a class="ion-ios-arrow-back prv" href="{PreviousPage}"></a>{/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<span>{CurrentPage}</span>{/block:CurrentPage}
- {block:JumpPage}<a href="{URL}">{PageNumber}</a>{/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage} <a class="ion-ios-arrow-forward nxt" href="{NextPage}"></a>{/block:NextPage}
- </p>
- <a href="#" id="ldmrbtn">
- Load more
- <span class="ion-ios-arrow-down"></span>
- </a>
- </div><!--ends nextPage-->
- {/block:Pagination}
- </section>
- <footer class="{select:SocialNetworks}">
- <h5>Social networks</h5>
- <ul>
- <li><a href="{text:TwitterURL}" title="Twitter" class="ion-social-twitter"></a></li>
- <li><a href="{text:FacebookURL}" title="Facebook" class="ion-social-facebook"></a></li>
- <li><a href="{text:ElloURL}" title="Ello"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="302.334px" height="302.5px" viewBox="0 0 302.334 302.5" enable-background="new 0 0 302.334 302.5" xml:space="preserve"><g><circle cx="151.25" cy="151.25" r="151.25"/><path fill="none" stroke="#FFFFFF" stroke-width="17" stroke-linecap="round" stroke-linejoin="bevel" stroke-miterlimit="10" d="M72,171c20.766,83.064,136,81.5,158.5-1"/></g></svg></a></li>
- <li><a href="{text:InstagramURL}" title="Instagram" class="ion-social-instagram-outline"></a></li>
- <li><a href="{text:YoutubeURL}" title="Youtube" class="ion-social-youtube"></a></li>
- <li><a href="{text:LinkedInURL}" title="LinkedIn" class="ion-social-linkedin-outline"></a></li>
- <li><a href="{text:CodePenURL}" title="CodePen" class="ion-social-codepen-outline"></a></li>
- <li><a href="{text:GooglePlusURL}" title="Google+" class="ion-social-googleplus"></a></li>
- <li><a href="{text:DribbbleURL}" title="Dribbble" class="ion-social-dribbble-outline"></a></li>
- <li><a href="{text:WordpressURL}" title="Wordpress" class="ion-social-wordpress"></a></li>
- <li><a href="{text:PinterestURL}" title="Pinterest" class="ion-social-pinterest"></a></li>
- <li><a title="{text:WhatsappUsername}" href="http://#" class="usrn ion-social-whatsapp"></a></li>
- <li><a title="{text:SnapchatUsername}" href="http://#" class="usrn ion-social-snapchat"></a></li>
- <li><a title="{text:SkypeUsername}" href="http://#" class="usrn ion-social-skype"></a></li>
- </ul>
- </footer>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
- <script src="http://static.tumblr.com/emvnqzg/NOVo0fisl/scripts.js"></script>
- <script src="http://static.tumblr.com/wgg6svp/sDinmsq3x/jquery.style-my-tooltips.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <script src="http://static.tumblr.com/q8c0vxg/xYrnjmd74/jquery.infinitescroll.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/wgg6svp/Wf8nw0j2c/pxuphotoset.js"></script>
- <script src="http://static.tumblr.com/emvnqzg/cK3o6sxeb/jquery.truncate.js"></script>
- <script>
- $(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:500
- });
- $('.photo-slideshow').pxuPhotoset({
- 'ligthbox' : true,
- 'rounded' : false,
- {block:IndexPage}
- 'gutter' : '0px'
- {/block:IndexPage}
- {block:PermalinkPage}
- 'gutter' : '4px'
- {/block:PermalinkPage}
- });
- function videos($this){
- var iframe = $this.find('iframe');
- var vidcont = $this.find('.tumblr_video_container');
- {block:IndexPage}
- if(iframe.height() > iframe.width()){
- var scale = $this.width() / 500;
- }else{
- var scale = $this.height() / iframe.height();
- }
- {/block:IndexPage}
- {block:PermalinkPage}
- var scale = $this.width() / 500;
- {/block:PermalinkPage}
- var vw = Math.floor(iframe.attr('width') * scale);
- var vh = Math.floor(iframe.attr('height') * scale)
- iframe.width(vw).height(vh);
- if(vidcont.length > 0){
- vidcont.width(iframe.width()).height(iframe.height());
- }
- {block:IndexPage}
- if(iframe.width() > iframe.height()){
- iframe.css({
- 'left':'50%',
- 'margin-left': '-'+(iframe.width()/2)+'px'
- });
- }else{
- if(vidcont.length > 0){
- iframe.parent().css({
- 'top':'50%',
- 'position': 'relative',
- 'margin-top': '-'+(iframe.height()/2)+'px'
- });
- }else{
- iframe.css({
- 'top':'50%',
- 'margin-top': '-'+(iframe.height()/2)+'px'
- });
- }
- }
- {/block:IndexPage}
- }
- $('.fu-tmblr').each(function(){
- videos($(this));
- });
- {block:IndexPage}
- function textTrunc($this){
- if(!$this.hasClass('isText')){
- if($('.caption', $this).length){
- var string = $('.caption', $this).html();
- if($('.caption', $this).text().length > {text:WordBreaker}){
- var output = $.truncate(string, { length: {text:WordBreaker}, words: true });
- $('.caption', $this).html(output);
- }
- }
- }
- }
- $('article').each(function(){
- textTrunc($(this));
- });
- function photoInit($this) {
- $this.find('.photo-data:first').before($this.find('.photo-data:last').addClass('visible')).removeClass('visible');
- }
- var photoset = setInterval(function(){ $('.photo-slideshow').each(function(){ photoInit($(this)) }); }, 3000);
- $(document).on("click",".next-photo",function(e) {
- e.preventDefault();
- clearInterval(photoset);
- photoInit($(this).parent().parent());
- photoset = setInterval(function(){ $('.photo-slideshow').each(function(){ photoInit($(this).parent().parent()) }); }, 3000);
- });
- $(document).on("click",".prev-photo",function(e) {
- clearInterval(photoset);
- e.preventDefault();
- $(this).parent().parent().find('.photo-data:last').after($(this).parent().parent().find('.photo-data:first').addClass('visible')).removeClass('visible');
- photoset = setInterval(function(){ $('.photo-slideshow').each(function(){ photoInit($(this).parent().parent()) }); }, 3000);
- });
- {/block:IndexPage}
- {block:PermalinkPage}
- if($('article').hasClass('isReblog') && $('article').hasClass('isMedia')){
- $('article.isMedia .caption > blockquote').prepend($('article.isMedia .caption > blockquote p:first-of-type, article.isMedia .caption > blockquote pre:first-of-type').html());
- if( $('article.isMedia .caption > blockquote p:first-of-type').text().length > 80 ){
- var string = $('article.isMedia .caption > blockquote p:first-of-type').html();
- var output = $.truncate(string, { length: 80, words: true });
- $('article.isMedia .caption > blockquote p:first-of-type').html(output);
- }
- }else{
- $('<p>'+$('article.isMedia .caption p:first-of-type, article.isMedia .caption pre:first-of-type').html()+'</p>').insertAfter($('article.isMedia .caption .reblogRoot'));
- if( $('article.isMedia .caption p:first-of-type').text().length > 80 ){
- var string = $('article.isMedia .caption p:first-of-type').html();
- var output = $.truncate(string, { length: 80, words: true });
- $('article.isMedia .caption p:first-of-type').html(output);
- }
- }
- {/block:PermalinkPage}
- $('.search form').submit(function(e){
- e.preventDefault();
- var query = $('#txt').val().replace(/[_\s]/g, '+');
- window.location.href = '/tagged/'+query;
- });
- $('.menu').click(function(){
- if($('body').hasClass('deployed')){
- $('body').removeClass('deployed');
- } else{
- $('body').addClass('deployed');
- }
- });
- $('#fade').click(function(){
- $('body').removeClass('deployed');
- });
- $('footer a, nav ol a').each(function(){
- if($(this).attr('href') === "" || $(this).attr('href') === "#" || $(this).attr('title') === ""){
- $(this).parent().remove();
- }
- });
- $('.usrn').click(function(e){
- e.preventDefault();
- });
- {block:IndexPage}
- var parent = $('#posts');
- if($('.nextPage').hasClass('btn') || $('.nextPage').hasClass('ift')){
- parent.infinitescroll({
- navSelector : ".pagination",
- nextSelector : ".nxt",
- itemSelector : "article",
- bufferPx : 50,
- done : "",
- loading: {
- img : "",
- msgText: "",
- finishedMsg:""
- }
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.find('.fu-tmblr').each(function(){
- videos($(this));
- });
- $newElems.find('.photo-slideshow').pxuPhotoset({
- 'ligthbox' : true,
- 'rounded' : false,
- 'gutter' : '0px'
- });
- clearInterval(photoset);
- photoset = setInterval(function(){ $('.photo-slideshow').each(function(){ photoInit($(this)) }); }, 3000);
- $newElems.animate({ opacity: 1 }).find('[title]').style_my_tooltips();
- });
- });
- if($('.nextPage').hasClass('btn')){
- parent.infinitescroll({
- behavior: 'twitter',
- errorCallback: function() {
- $('#ldmrbtn').fadeOut(700);
- }
- });
- $(window).unbind('.infscr');
- $('#ldmrbtn').click(function(e){
- e.preventDefault();
- parent.infinitescroll('retrieve');
- return false;
- });
- }
- }
- {/block:IndexPage}
- });
- </script>
- <div id="fade"></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement