Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <!-----------------------------------------------
- THEME #06 - CANNIBAL THEME
- MADE BY: tovthemes.tumblr.com
- >DO NOT USE AS A BASE CODE
- >DO NOT CLAIM AS YOUR OWN
- >DO NOT USE BITS OF CODE AS YOUR OWN
- >DO NOT REDISTRIBUTE
- >DO NOT MOVE/REMOVE CREDIT
- ----------------------------------------------->
- <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}
- <!-- META -->
- <meta charset="utf-8">
- <meta name="if:BackgroundRepeat" content="1"/>
- <meta name="if:1Column" content=""/>
- <meta name="if:3Column" content=""/>
- <meta name="image:Header" content=""/>
- <meta name="image:Background" content=""/>
- <meta name="color:Background" content="#051841"/>
- <meta name="color:Header" content="#D4D9DA"/>
- <meta name="color:Blog Title" content="#000"/>
- <meta name="color:Header Link" content="#0B348D"/>
- <meta name="color:Post" content="#D4D9DA"/>
- <meta name="color:Post Text" content="#000"/>
- <meta name="color:Post Link" content="#0B348D"/>
- <meta name="color:Chat" content="#EEE"/>
- <meta name="color:Chat Text" content="#000"/>
- <meta name="text:Link 1 Title" content=""/>
- <meta name="text:Link 1 URL" content=""/>
- <meta name="text:Link 2 Title" content=""/>
- <meta name="text:Link 2 URL" content=""/>
- <meta name="text:Link 3 Title" content=""/>
- <meta name="text:Link 3 URL" content=""/>
- <meta name="text:Link 4 Title" content=""/>
- <meta name="text:Link 4 URL" content=""/>
- <!-- END META -->
- <style type="text/css">
- .linkico {
- font-size: 14px;
- margin-left:-1.1em;
- margin-top:1.3em;
- width: 0.5em;
- height: 1em;
- border: 0.250em solid {color:Post Link};
- border-bottom-left-radius: 1em 1em;
- border-bottom-right-radius: 1em 1em;
- border-top-left-radius: 0.5em;
- border-top-right-radius: 0.5em;
- bottom: 0.188em;
- border-top: solid 0em transparent;
- position: relative;
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -o-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- transform: rotate(45deg);
- }
- .linkico:before {
- content: '';
- display: block;
- width: 0.5em;
- top: -1.4em;
- left: -0.23em;
- height: 1em;
- border: 0.250em solid {color:Post Link};
- border-bottom-left-radius: 1em 1em;
- border-bottom-right-radius: 1em 1em;
- border-top-left-radius: 0.5em;
- border-top-right-radius: 0.5em;
- bottom: 0.188em;
- border-top: solid 0em transparent;
- position: absolute;
- -webkit-transform: rotate(180deg);
- -moz-transform: rotate(180deg);
- -o-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- .linkico:after {
- content: '';
- position: absolute;
- display: block;
- width: 0.2em;
- top: -0.6em;
- left: 0.13em;
- height: 1em;
- border-radius: 1em;
- background: {color:Post Link};
- -webkit-transform: rotate(180deg);
- -moz-transform: rotate(180deg);
- -o-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- .arrowup {
- background: {color:Post};
- font-size: 12px;
- position: relative;
- width: 1em;
- height: 1em;
- margin-top: 1em;
- }
- .arrowup::before {
- bottom: 0.8em;
- left: -0.666em;
- position: absolute;
- border-left: 1.2em solid rgba(44, 44, 44, 0);
- border-right: 1.2em solid rgba(44, 44, 44, 0);
- border-bottom: 1em solid {color:Post};
- content: "";
- }
- ::-webkit-scrollbar{
- width: 12px;
- height: 12px;
- }
- ::-webkit-scrollbar-thumb{
- background-color: {color:Post Link};
- border: 2px solid {color:Post};
- }
- ::-webkit-scrollbar-track{
- background-color: {color:Post};
- }
- ::-webkit-scrollbar-corner{
- background-color: {color:Post};
- }
- body{
- margin: 0px;
- font-family: source-sans-pro, sans-serif;
- color: {color:Post Text};
- background-color: {color:Background};
- background-image: url({image:Background});
- background-size: cover;
- background-repeat: no-repeat;
- background-attachment: fixed;
- {block:ifBackgroundRepeat}
- background-size: auto auto;
- background-repeat: repeat;
- background-attachment: fixed;
- {/block:ifBackgroundRepeat}
- }
- li{
- list-style-type: square;
- }
- a{
- text-decoration: none;
- color: {color:Post Link};
- }
- .hpic{
- height: 500px;
- background-image: url({image:Header});
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- }
- .hbar{
- padding: 30px;
- text-align: center;
- background-color: {color:Header};
- }
- .htitle{
- margin: 0px 20px 0px 0px;
- font-weight: bold;
- font-size: 18px;
- color: {color:Blog Title};
- }
- .hlinks li{
- display: inline;
- padding: 10px;
- color: {color:Header Link};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .hlinks li:hover{
- background-color: {color:Header Link};
- color: {color:Header};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .lightbox{
- display:none;
- }
- .lightbox:target{
- display: block;
- }
- .lb{
- width: 100%;
- height: 50000px;
- position: fixed;
- background: rgba(0,0,0,.7);
- z-index: 1000;
- }
- .abox{
- position: fixed;
- width: 300px;
- height: 300px;
- margin-left: 40%;
- margin-top: 10%;
- padding: 10px;
- background-color: {color:Post};
- z-index: 1000;
- }
- .lightbox h3{
- text-align: center;
- color: {color:Post Link};
- }
- .lightbox p{
- width: 100%;
- height: 230px;
- overflow-y: auto;
- }
- .lightbox #close {
- background-color: transparent;
- z-index: 10000;
- color: #fff000;
- }
- .close{
- position: absolute;
- right: 10px;
- padding: 0px 10px;
- font-size: 20px;
- color: {color:Post Link};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .close:hover{
- background-color: {color:Post Link};
- color: {color:Post};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- #content{
- margin: 40px auto;
- {block:ifNot1Column}
- width: 1120px;
- {/block:ifNot1Column}
- {block:ifNot3Column}
- width: 1120px;
- {/block:ifNot3Column}
- {block:if1Column}
- width: 520px;
- {/block:if1Column}
- {block:if3Column}
- width: 930px;
- {/block:if3Column}
- {block:PermalinkPage}
- width: 520px;
- {/block:PermalinkPage}
- }
- .post{
- width: 500px;
- margin-bottom: 40px;
- padding: 10px;
- background-color: {color:Post};
- {block:ifNot1Column}
- margin-right: 40px;
- float: left;
- {/block:ifNot1Column}
- {block:if1Column}
- margin-right: 0px;
- {/block:if1Column}
- {block:if3Column}
- width: 250px;
- {/block:if3Column}
- {block:PermalinkPage}
- width: 500px;
- float: none;
- position: relative!important;
- {/block:PermalinkPage}
- }
- .ptitle, .ctitle{
- font-size: 24px;
- text-align: center;
- }
- .post img{
- max-width: 100%;
- }
- .pp{
- width: 100%;
- }
- .quote, .source{
- text-align: center;
- }
- .link{
- margin-top: 0px;
- padding: 20px;
- background-color: {color:Post};
- color: {color:Post Link};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .link:hover{
- background-color: {color:Post Link};
- color: {color:Post};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .linkico{
- margin-right: 20px;
- float: left;
- font-size: 9px;
- color: {color:Post Link};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .linkico:hover{
- color: {color:Post};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .chat li{
- margin-bottom: 10px;
- padding: 20px 10px;
- list-style-type: none;
- background-color: {color:Chat};
- color: {color:Chat Text};
- }
- .chat li:last-child{
- margin-bottom: 0px;
- }
- .chat .label{
- font-weight: bold;
- }
- .askerquestion, .answereranswer{
- padding: 5px 10px;
- background-color: {color:Chat};
- color: {color:Chat Text};
- }
- .pointy{
- margin-top: -22px;
- margin-left: 10px;
- font-size: 40px;
- color: {color:Chat};
- }
- .askerinfo, .answererinfo{
- margin-left: 20px;
- }
- .askerinfo{
- margin-bottom: 10px;
- }
- .askeravatar, .answereravatar{
- width: 24px;
- height: 24px;
- }
- .asker, .answerer{
- vertical-align: super;
- }
- blockquote{
- margin: 0px 0px 0px 15px;
- padding-left: 5px;
- border-left: 1px solid {color:Post Text};
- max-width: 100%;
- }
- blockquote img{
- max-width: 100%;
- }
- .indexnote{
- padding-top: 10px;
- }
- .indexnote a{
- padding: 10px;
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .indexnote a:hover{
- background-color: {color:Post Link};
- color: {color:Post};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .time{
- float: left;
- }
- .hearts{
- float: right;
- }
- .permatags{
- padding-top: 20px;
- clear: both;
- line-height: 25px;
- }
- .permatags span{
- border-top: 1px solid {color:Post};
- border-bottom: 1px solid {color:Post};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .permatags span:hover{
- border-top: 1px solid {color:Post Link};
- border-bottom: 1px solid {color:Post Link};
- transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -webkit-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .tagspan{
- margin-right: 10px;
- }
- .permanotes{
- padding: 10px;
- color: {color:Post};
- }
- .permanotes a{
- color: {color:Post};
- }
- .permanotes ol{
- padding: 0px;
- margin: 0px;
- list-style-type: none;
- }
- .permanotes li{
- margin-bottom: 20px;
- list-style-type: none;
- }
- .permanotes .action{
- vertical-align: super;
- }
- .permanotes img{
- width: 20px;
- height: 20px;
- margin-right: 5px;
- }
- .permanotes blockquote{
- border-left: 1px solid {color:Post};
- }
- /* SCROLL TO TOP */
- .scrollup{
- bottom: 30px;
- right: 30px;
- position: fixed;
- text-decoration: none;
- color: {color:Post};
- transition: all 0.9s ease;
- -moz-transition: all 0.9s ease;
- -webkit-transition: all 0.9s ease;
- -o-transition: all 0.9s ease;
- }
- #tov{
- position: fixed;
- bottom: 0px;
- left: -78px;
- padding: 0px 5px;
- z-index: 100000;
- text-decoration: none;
- font-size: 16px;
- font-family: 'Alegreya Sans SC', sans-serif;
- background-color: {color:Post};
- color: {color:Post Link};
- transition: all 0.7s ease-in-out;
- -moz-transition: all 0.7s ease-in-out;
- -webkit-transition: all 0.7s ease-in-out;
- -o-transition: all 0.7s ease-in-out;
- }
- #tov:hover{
- left: 0px;
- transition: all 0.7s ease-in-out;
- -moz-transition: all 0.7s ease-in-out;
- -webkit-transition: all 0.7s ease-in-out;
- -o-transition: all 0.7s ease-in-out;
- }
- .pagination {
- display: none;
- }
- {CustomCSS}
- </style>
- <!-- Fonts -->
- <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Alegreya+Sans' rel='stylesheet' type='text/css'>
- <script src="//use.edgefonts.net/source-sans-pro.js"></script>
- <!-- Masonry & Infinite Scroll -->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script>
- <script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- <script>
- $(function(){
- var $container = $('#content');
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector: '.post',
- });
- });
- $container.infinitescroll({
- itemSelector : ".post",
- navSelector : "div.pagination",
- nextSelector : ".pagination a#next",
- loadingImg : "",
- loadingText : "<em></em>",
- bufferPx : 10000,
- extraScrollPx: 12000,
- },
- // trigger Masonry as a callback
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- // ensure that images load before adding to masonry layout
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $container.masonry( 'appended', $newElems, true );
- });
- }
- );
- });
- </script>
- <!-- Scroll To Top -->
- <script>
- //***********************************************
- //* Scroll to Top link- By Dynamic Drive (www.dynamicdrive.com)
- //* Visit http://www.dynamicdrive.com/ for this script and 100s more.
- //***********************************************/
- function dd_scrolltotop(duration){
- duration = duration || 500
- var rootel = (document.compatMode =="BackCompat")? document.body : document.documentElement
- if (rootel.scrollTop == 0) // in some browsers such as Chrome, use document.body instead of document.documentElement
- rootel = document.body
- var curscrolltop = rootel.scrollTop, scrolltimer, elapsedtime, starttime = new Date().getTime(), animatedegree = 0
- var totaldis = curscrolltop
- clearTimeout(scrolltimer)
- function jumptop(){
- elapsedtime = new Date().getTime() - starttime
- if (elapsedtime < duration){
- rootel.scrollTop = totaldis - (totaldis * (1-Math.cos((elapsedtime/duration)*Math.PI)) / 2)
- scrolltimer = setTimeout(function(){jumptop()}, 10)
- }
- }
- jumptop()
- }
- </script>
- </head>
- <body>
- <div href="#" class="lightbox" id="aboutbox">
- <div class="lb"></div>
- <div class="abox">
- <a href="#close" class="close" title="close window">x</a>
- <h3>About</h3>
- <p>{Description}</p>
- <span id="close"></span>
- </div>
- </div>
- <div id="header">
- <div class="hpic"></div>
- <div class="hbar">
- <span class="htitle">{Title}</span>
- <span class="hlinks">
- <a href="/"><li>Home</li></a>
- <a href="#aboutbox"><li>About</li></a>
- {block:AskEnabled}
- <a href="/ask"><li>{AskLabel}</li></a>
- {/block:AskEnabled}
- {block:SubmissionsEnabled}
- <a href="/submit"><li>{SubmitLabel}</li></a>
- {/block:SubmissionsEnabled}
- {block:ifLink1Title}
- <a href="{text:Link 1 URL}"><li>{text:Link 1 Title}</li></a>
- {/block:ifLink1Title}
- {block:ifLink2Title}
- <a href="{text:Link 2 URL}"><li>{text:Link 2 Title}</li></a>
- {/block:ifLink2Title}
- {block:ifLink3Title}
- <a href="{text:Link 3 URL}"><li>{text:Link 3 Title}</li></a>
- {/block:ifLink3Title}
- {block:ifLink4Title}
- <a href="{text:Link 4 URL}"><li>{text:Link 4 Title}</li></a>
- {/block:ifLink4Title}
- </span>
- </div>
- </div>
- <div id="content">
- {block:Posts}
- <div class="post">
- {block:Text}
- <div class="textp">
- {block:Title}
- <h3 class="ptitle"><a href="{Permalink}">{Title}</a></h3>
- {/block:Title}
- {Body}
- </div>
- {/block:Text}
- {block:Photo}
- {LinkOpenTag}
- <img class="pp" src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Photo}
- {block:Panorama}
- {LinkOpenTag}
- <img class="pp" src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Panorama}
- {block:Photoset}
- {block:ifNot3Column}
- {block:IndexPage}
- {Photoset-500}
- {/block:IndexPage}
- {/block:ifNot3Column}
- {block:if3Column}
- {block:IndexPage}
- {Photoset-250}
- {/block:IndexPage}
- {/block:if3Column}
- {block:PermalinkPage}
- {Photoset-500}
- {/block:PermalinkPage}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="textp">
- <h1 class="quote">{Quote}</h1>
- {block:Source}
- <div class="source"><em><h2>—{Source}</h2></em></div>
- {/block:Source}
- </div>
- {/block:Quote}
- {block:Link}
- <a class="linklink" href="{URL}" {Target}><h3 class="link"><div class="linkico"></div> {Name}</h3></a>
- {block:Description}
- <div class="linkcaption">{Description}</div>
- {/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}
- <h3 class="ctitle"><a href="{Permalink}">{Title}</a></h3>
- {/block:Title}
- <div class="chat">
- {block:Lines}
- <li class="{Alt} user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </div>
- {/block:Chat}
- {block:Video}
- {block:ifNot3Column}
- {block:IndexPage}
- {Video-500}
- {/block:IndexPage}
- {/block:ifNot3Column}
- {block:if3Column}
- {block:IndexPage}
- {Video-250}
- {/block:IndexPage}
- {/block:if3Column}
- {block:PermalinkPage}
- {Video-500}
- {/block:PermalinkPage}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Video}
- {block:Audio}
- {block:ifNot3Column}
- {block:IndexPage}
- {AudioEmbed-500}
- {/block:IndexPage}
- {/block:ifNot3Column}
- {block:if3Column}
- {block:IndexPage}
- {AudioEmbed-250}
- {block:IndexPage}
- {/block:if3Column}
- {block:PermalinkPage}
- {AudioEmbed-500}
- {/block:PermalinkPage}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="textp">
- <div class="question">
- <div class="askerquestion"><p>{Question}</p></div>
- <div class="pointy">▼</div>
- <div class="askerinfo">
- <img class="askeravatar" src="{AskerPortraitURL-128}" alt="">
- <strong class="asker">{Asker}</strong>
- </div>
- </div>
- {block:Answerer}
- <div class="answer">
- <div class="answereranswer">{Answer}</div>
- <div class="pointy">▼</div>
- <div class="answererinfo">
- <img class="answereravatar" src="{AnswererPortraitURL-128}" alt="">
- <strong class="answerer">{Answerer}</strong>
- </div>
- </div>
- {/block:Answerer}
- <div class="replies">
- {Replies}
- </div>
- </div>
- {/block:Answer}
- {block:IndexPage}
- <div class="indexnote">
- <a class="time" href="{Permalink}">{TimeAgo}</a><a class="hearts" href="{Permalink}">{NoteCountWithLabel}</a>
- </div>
- {/block:IndexPage}
- {block:Date}
- {block:PermalinkPage}
- <div class="indexnote">
- <a class="time" href="{Permalink}">{TimeAgo}</a><a class="hearts" href="{Permalink}">{NoteCountWithLabel}</a>
- </div>
- <div class="permatags">
- {block:HasTags}
- {block:Tags}
- <a href="{TagURL}" class="tags"><span class="tagspan">{Tag}</span></a>
- {/block:Tags}
- {/block:HasTags}
- </div>
- {/block:PermalinkPage}
- {/block:Date}
- </div>
- {block:Date}
- {block:PermalinkPage}
- {block:PostNotes}
- <div class="permanotes">
- {PostNotes-64}
- </div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Date}
- {/block:Posts}
- </div>
- <div class="pagination">
- {block:Pagination}
- {block:PreviousPage}
- <a href="{PreviousPage}">previous</a> ·
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}" id="next">next</a>
- {/block:NextPage}
- {/block:Pagination}
- </div>
- <a class="scrollup" href="javascript:dd_scrolltotop()"><div class="arrowup"></div></a>
- <a href="http://tovthemes.tumblr.com/"><span id="tov">tovthemes ©</span></a> <!-- DO NOT MOVE -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement