Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- // Andromeda by espoirthemes //
- + feel free to edit this as much as you want! but don't remove credit
- + do not release as your own or use as a base
- star code credit: http://codepen.io/lbebber/pen/xbZKvQ
- -->
- <!DOCTYPE html>
- <html>
- <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}
- <link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
- <meta name="image:background" content="http://i.imgur.com/fikUEsX.png" />
- <meta name="color:background" content="#f7f7f7" />
- <meta name="color:posts" content="#fff" />
- <meta name="color:border" content="#eee" />
- <meta name="color:text" content="#222" />
- <meta name="color:description" content="#fff"/>
- <meta name="color:links" content="{AccentColor}" />
- <meta name="color:link underline" content="#ddd" />
- <meta name="color:link hover" content="#eee" />
- <meta name="color:scrollbar" content="{AccentColor}" />
- <meta name="select:blockquote border style" content="solid" title="solid" />
- <meta name="select:blockquote border style" content="dotted" title="dotted" />
- <meta name="select:blockquote border style" content="dashed" title="dashed" />
- <meta name="if:full background" content="" />
- <meta name="if:hover tags" content="" />
- <meta name="if:stars" content="" />
- <meta name="text:post width" content="400" />
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <script type="text/javascript" src="https://static.tumblr.com/3ikgvxs/0TGl4zgpu/jquery.min.js"></script>
- <!-- I wrote so that the video posts will always be the same size as the container!
- (shythemes has a fancier script for this and this one is very specific to this base)
- -->
- {block:indexpage}
- <script>
- $(document).ready(function(){
- $('.tumblr_video_iframe, .embed_iframe, .tumblr_video_container ').css('width', '{text:post width}px');
- });
- </script>
- {/block:indexpage}
- {block:ifstars}
- <script>
- $(document).ready(function(){
- var stars=1000;
- var $stars=$(".stars");
- var r=1000;
- for(var i=0;i<stars;i++){
- var $star=$("<div/>").addClass("star");
- $stars.append($star);
- }
- $(".star").each(function(){
- var cur=$(this);
- var s=0.2+(Math.random()*1);
- var curR=r+(Math.random()*500);
- cur.css({
- transformOrigin:"0 0 "+curR+"px",
- transform:" translate3d(0,0,-"+curR+"px) rotateY("+(Math.random()*360)+"deg) rotateX("+(Math.random()*-50)+"deg) scale("+s+","+s+")"
- })
- })
- })
- </script>
- {/block:ifstars}
- </head>
- <style type="text/css">
- /*scrollbar styling */
- ::-webkit-scrollbar {
- width: 12px;
- height:6px;
- }
- ::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- ::-webkit-scrollbar-thumb {
- background: {color:scrollbar};
- border:4px solid {color:background};
- border-top:4px solid {color:background};
- border-bottom:4px solid {color:background};
- cursor:pointer;
- border-radius: 8px;
- }
- ::-webkit-scrollbar-track {
- background:#aaa;
- border: 5px solid {color:background};
- border-top:12px solid {color:background};
- border-bottom:12px solid {color:background};
- }
- /*body*/
- body{
- margin: 0;
- font-family: Roboto, sans-serif;
- background:radial-gradient(220% 105% at top center, #1C1925 10%
- ,#583B7E
- 40%,#E2869B,#FFE4AA);
- background-attachment: fixed;
- word-wrap: break-word;
- font-size: 16px;
- color: rgba(0,0,0,.8);
- }
- /*Links */
- .caption a {
- color:#222;
- border-bottom:2px solid {color:links};
- }
- a{
- color: {color:links};
- text-decoration: none;
- border-bottom: 1px solid {color:link underline};
- transition: .6s;
- }
- a:hover {
- color: {color:link hover};
- transition: .6s;
- }
- /*Blockquotes */
- blockquote{
- border-left: 1px {select:blockquote border style} {color:border};
- padding-left: 4px;
- }
- /*prevents the blockquote images from going off of the post */
- blockquote img{
- max-width: 100%;}
- /* Header */
- header {
- position:relative;
- width:{text:post width}px;
- margin:100px auto;
- }
- .avatar { background:white; width:70px; height:70px; transform:rotate(45deg) translate(-8px, -10px);; overflow:hidden;}
- .avatar img {
- transform:rotate(-45deg) translate(0, -18px);
- }
- .title {
- font-size:1.2em;
- border:none;
- margin-top:4px;
- font-family:{TitleFont};
- color:{TitleColor};
- }
- .description {
- padding:20px;
- margin-top:-22px;
- }
- .links a {
- border:none;
- margin:10px;
- }
- /* Sidebar */
- /* if you wanted a sidebar, here's a vERY simple sidebar (just the shape) to get you started
- #sidebar {
- width:240px;
- if you want a 100% tall sidebar, set the height to 100vh (will adjust for every screen to be 100% tall)
- height:auto;
- padding:10px;
- position:fixed;
- i made the color the same as the posts so it can match, but if you'd rather it have its own color, you can change it/set it in the meta tags
- background:{color:posts};
- border:1px solid {color:border};
- left:100px;
- top:100px;
- } */
- /*Container and Posts*/
- #container {
- width:500px;
- position:relative;
- margin:10px auto ;
- }
- .posts{
- position:relative;
- margin: 200px /*right*/ auto /*bottom*/ 200px /*and left */auto;
- width: {text:post width}px;
- border-radius:8px;
- font-size:1em;
- min-width:250px;
- {block:permalinkpage}
- width:500px;
- {/block:permalinkpage}
- }
- .posts img {
- background: {color:posts};
- box-shadow:8px 8px rgba(0,0,0,.12);
- border-radius:80px;
- }
- /* headings, with h1 being the biggest/first heading */
- h1{
- padding:20px;
- font-size:1.4em;
- text-align:center;
- border-bottom:1px solid {color:border};
- }
- h2 {
- font-size:1.3em;
- }
- .posts img {
- display:block;
- max-width:100%;
- border-radius:6px;
- }
- /* Post Captions */
- .caption {
- background: {color:posts};
- padding:10px;
- margin-top:40px;
- border-radius:6px;
- box-shadow:8px 8px rgba(0,0,0,.12);
- }
- /*Ask Posts */
- /*styling for the speech bubble */
- .speechbubble {
- width:calc({text:post width}px - 150px);
- position: relative;
- left:80px;
- margin: 0;
- padding:16px;
- height: auto;
- border-radius:8px;
- background: white;
- border: {color:border} solid 1px;
- {block:permalinkpage}
- width:360px;
- {/block:permalinkpage}
- }
- /* the before and after are the triangle part of the speech bubble */
- .speechbubble:after
- {
- content: '';
- position: absolute;
- border-style: solid;
- border-width: 12px 17px 12px 0;
- border-color: transparent white; /* keep same color as bubble */
- display: block;
- width: 0;
- z-index: 1;
- left: -16px;
- top: 10px;
- }
- .speechbubble:before
- {
- content: '';
- position: absolute;
- border-style: solid;
- border-width: 12px 17px 12px 0;
- border-color: transparent {color:border}; /*keep same color as border */
- display: block;
- width: 0;
- z-index: 0;
- left: -17px;
- top: 10px;
- }
- /* Chat Posts */
- .chat {
- padding:5px;
- line-height:150%;
- }
- .chat:nth-of-type(odd) {
- background:{color:text};
- color:{color:posts};
- -webkit-transition:.5s;
- transition:.5s; }
- .chat:nth-of-type(odd) b {
- color:{color:posts};
- -webkit-transition:.5s;
- transition:.5s; }
- .chat:nth-of-type(even) {
- background:{color:posts};
- color:{color:text};
- -webkit-transition:.5s;
- transition:.5s; }
- .chat:nth-of-type(even) b{
- color:{color:text};
- -webkit-transition:.5s;
- transition:.5s; }
- /* Audio Posts */
- #albumart{
- z-index:2;
- float:left;
- border-radius:100%;
- height:100px;
- border:1px solid {color:info border};
- width:100px;
- }
- /* circle inside the album art to make it look like a CD */
- .playerbox {
- float:left;
- padding:6px;
- }
- .posts #albumart img{
- float:left;
- border-radius:100%;
- width:100px;
- height:100px;
- border-width:0px; transition:.6s;
- }
- .playerbox:hover #albumart img{
- transition:0.6s;
- transform:rotate(300deg); }
- .player {
- width:20px;
- overflow:hidden;
- height:40px;
- transform:scale(1.2);
- border-radius:100%;
- top:8px;
- bottom:10px;
- left:4px;
- padding:8px;
- padding-top:6px;
- padding-left:10px;
- padding-bottom:0px;
- border-radius:100%;
- position:absolute;
- }
- .playercon {
- width:56px;
- height:56px;
- border-radius:100%;
- left:0px;
- background:white;
- top:22px;
- position:relative;
- border:1px solid {color:info border};
- -webkit-transition-duration:500ms;
- -moz-transition-duration:500ms;
- -o-transition-duration:500ms;
- -ms-transition-duration:500ms;
- }
- {/block:permalinkpage}
- .infobox {
- float:left top;
- margin-left:120px;
- background-color:transparent;
- padding:14px;
- padding-left:4px;
- max-height:140px;
- text-align:left;
- color:{color:text};
- }
- .trackname {
- letter-spacing:2px;
- padding:2px;
- font-size:1em;
- font-weight:300;
- color:#333;
- border-bottom:1px solid {color:border};
- }
- .artist {
- letter-spacing:2px;
- padding:2px;
- border-bottom:1px solid {color:border};
- }
- .album {
- padding:2px;
- border-bottom:1px solid {color:border};
- }
- #audiopost {
- width:{text:post width}px;
- {block:permalinkpage}
- width:500px;
- {/block:permalinkpage}
- }
- /* post info */
- .info {
- margin-top:20px;
- }
- .info svg {
- width:16px;
- height:16px;
- fill:white;
- }
- .info .like svg {
- width:1.5em;
- height:1.5em;
- border:2px solid white;
- padding:4px;
- box-shadow:1px 1px rgba(0,0,0,.2);
- line-height:250%;
- border-radius:100%; text-shadow:2px 2px rgba(0,0,0,.2);
- }
- .info .like { /* Make a parent element */
- }
- .info li:last-child {
- transform:translate(0,8px);
- }
- .info .like .like_button { /* Position like button above your custom one */
- position:absolute;
- margin-top:-28px;
- margin-left:64px;
- opacity: 0;
- }
- .info .like .like_button.liked { /* Keep the functionality active */
- opacity: 1;
- }
- .info li {
- list-style:none;
- display:inline-block;
- width:30%;
- box-shadow:1px;
- overflow:hidden;
- transition:.6s;
- vertical-align:top;
- padding:10px;
- margin:0px -7px;
- transform:translate(7px,0);
- color:white;
- font-size:.8em;
- text-align:center;
- }
- .info a {
- border:none;
- color:white;
- }
- .info span {
- font-size:1.6em;
- line-height:200%;
- border:2px solid white;
- border-radius:100%;
- padding:4px;box-shadow:1px 1px rgba(0,0,0,.2);
- }
- /* Tags */
- .tags {
- position:absolute;
- right:-250px;
- width:230px;
- {block:ifhovertags}
- opacity:0;
- transform:translate(100px /*x axis*/, 0px /* y axis */);
- transition:.6s;
- {/block:ifhovertags}
- }
- {block:ifhovertags}
- .posts:hover .tags{
- opacity:1;
- transform:translate(0,0); /* moves tags back to original spot */
- transition:.6s;
- }
- {/block:ifhovertags}
- .tags a {
- border:none;
- }
- /* PostNotes */
- ol.notes {
- margin:auto;
- position:relative;
- width:{text:post width}px;
- min-width:250px;
- list-style:none; /* removes bullet points */
- padding:none;
- }
- ol.notes li {
- list-style:none;
- padding:10px;
- float:left;
- border:1px solid {color:border};
- padding-left:none;
- width:calc({text:post width}px - 20px);
- background:{color:posts};
- margin:10px 0px;
- transform:translate(-20px, 0px);
- }
- ol.notes img {
- transform:translate(-4px,4px);
- border-radius:4px;
- float:left;
- width:1em;
- height:1em;
- }
- /* Pagination */
- #pagination a {color:{AccentColor}}
- #pagination { text-align:center; font-size:.9em; margin:100px auto; position:relative;}
- /* the next buttons */
- .jump_page {
- padding: 4px 6px;
- border:1px solid {color:info border};
- margin:2px;
- background:{color:posts};
- text-decoration:none;
- border-radius:4px;
- }
- .jump_page a {
- border:none;
- }
- /* current page */
- .current_page {
- padding: 4px 6px;
- border:1px solid {AccentColor};
- background:{AccentColor};
- opacity:.8;
- color:white;
- transition:.6s;
- border-radius:4px;
- margin:2px;
- text-decoration:none;
- }
- .current_page:hover {
- opacity:1;
- transition:.6s;
- }
- #egg { opacity:1;right:10px; bottom:10px; position:fixed;display:block; width: 18px; height: 22px; background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
- font-family: "bitxmap";
- border:1px solid #888; z-index:9999;
- }
- #egg:hover { animation-name: egg;
- animation-duration: 1s;
- animation-iteration-count: infinite;}
- @keyframes egg{
- 0%{}
- 10%{transform:rotate(20deg)}
- 80%{transform:rotate(-20deg)}
- 100%{}
- }
- @keyframes rotate{
- 0%{
- transform:perspective(360px) rotateZ(-20deg) rotateX(-40deg) rotateY(0);
- }
- 100%{
- transform:perspective(360px) rotateZ(20deg) rotateX(-40deg) rotateY(-360deg);
- }
- }
- @keyframes blink {
- 0% {
- }
- 50% {
- opacity:.2;
- }
- 100% {
- opacity:1;
- }
- }
- .star:nth-child(4) {
- animation-duration: 8s;
- }
- .star:nth-child(2) {
- animation-duration: 1s;
- }
- .star:nth-child(8), .star:nth-child(10), .star:nth-child(3) {
- animation-duration: 5s;
- }
- .stars{
- transform:perspective(500px);
- transform-style:preserve-3d;
- position:fixed;
- bottom:0;
- perspective-origin:50% 100%;
- left:50%;
- animation:rotate 180s infinite linear;
- }
- .star{
- width:2px;
- height:2px;
- background:#fff;
- border-radius:100%;
- position:absolute;
- top:0;
- animation:blink 4s infinite;
- left:0;
- transform-origin:0 0 -300px;
- transform:translate3d(0,0,-300px);
- backface-visibility:hidden;
- }
- {CustomCSS}
- </style>
- <body>
- <div class="stars">
- </div>
- <header>
- <center>
- <div class="avatar">
- <img src="{PortraitUrl-96}">
- </div>
- <a href="/"><h2 class="title">{Title}</h2></a>
- <div style="color:{color:description}">
- {description}
- </div><br>
- <div class="links">
- <a href="/">{lang:Home}</a>
- {block:AskEnabled}
- <a href="/ask">{AskLabel}</a>
- {/block:AskEnabled}
- {block:SubmissionsEnabled}
- <a href="/submit">{SubmitLabel}</a>
- {/block:SubmissionsEnabled}
- <a href="/archive">{lang:Archive}</a>
- <div style="margin-top:6px">
- {block:HasPages} {block:Pages}<a href="{URL}">{label}</a> {/block:Pages} {/block:HasPages}
- </div>
- </div>
- </center>
- </header>
- <a href="http://espoirthemes.com"><div id="egg"></div></a>
- <!-- container start -->
- <div id="container">
- {block:Posts}<div class="posts">
- <!-- {block:NoRebloggedFrom}
- {block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}
- {/block:NoRebloggedFrom} -->
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- <!-- text post start -->
- {block:Text}
- {block:Title}
- <h1><a href="{Permalink}">{Title}</a></h1>
- {/block:Title}
- <div class="caption">{Body}</div>
- {/block:Text} <!-- text post end -->
- <!-- photo posts -->
- {block:Photo}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Photo}<!-- end photo posts -->
- {block:Panorama}
- {LinkOpenTag}
- <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Panorama}
- <!-- photoset posts -->
- {block:Photoset}
- {Photoset}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Photoset}<!-- end photoset -->
- <!-- quote posts -->
- {block:Quote}
- <div class="caption">
- "{Quote}"
- {block:Source}
- <br> -{Source}
- {/block:Source}
- </div>
- {/block:Quote} <!-- end quote posts -->
- <!-- link posts --> {block:Link}
- <h1> <a href="{URL}" style="border:none" class="link" {Target}>{Name}</a></h1>
- {block:Description}
- <div class="caption">{Description}</div>
- {/block:Description}
- {/block:Link}
- <!-- end link posts -->
- {block:Chat}
- <div class="caption">
- {block:Title}<a href="{Permalink}" style="background:transparent; padding:0;"><h1>{title}</h1></a>{/block:Title}
- {block:Lines} <div class="chat">{block:Label}<b>{Label}</b>{/block:Label} {Line}<br/></div>{/block:Lines}
- </div>
- {/block:Chat}{block:Video}
- {Video-500}{block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Video}{block:Audio}
- <div id="audiopost">
- <div class="playerbox">
- <div id="albumart">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
- <center><div class="playercon"><div class="player">{AudioPlayerWhite}</div></div></center></div>
- <div class="infobox">
- <div class="trackname"> {block:TrackName}
- Track: {TrackName}
- {/block:TrackName} </div>
- <div class="artist">
- {block:Artist}
- Artist: {Artist}
- {/block:Artist} </div>
- <div class="album">
- {block:Album}
- Album: {Album}
- {/block:Album}
- </div>
- </div></div> <br> {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="caption">
- <br>
- <div class="askerportrait"><img style="position:absolute; margin-left:10px" src="{AskerPortraitURL-40}" align="left" /></div><div class="speechbubble">{Asker} said: {Question}</div> {answer}
- </div>
- {/block:Answer}
- {block:HasTags} <div class="tags"> {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div> {/block:HasTags}
- {block:Date}
- <div class="info">
- <li>
- <a href="/day/{year}/{monthnumberwithzero}/{dayofmonthwithzero}" title="at {12hour}:{minutes}{AmPM}"> <span class="lnr lnr-star"></span> <br> {monthnumber} / {DayofMonth} / {ShortYear} </a> </li>
- <li> <a href="{permalink}" ><span class="lnr lnr-moon"></span> <br> {NoteCount}</a></li>
- <li><div class="like">
- <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="369.486px" height="369.486px" viewBox="0 0 369.486 369.486" style="enable-background:new 0 0 369.486 369.486;"
- xml:space="preserve">
- <g>
- <g>
- <path d="M184.743,357.351c-3.478,0-6.798-1.449-9.164-3.998l-147.67-159.16c-0.038-0.041-0.076-0.082-0.113-0.123
- C9.871,174.223,0,147.921,0,120.008c0-27.914,9.871-54.215,27.796-74.061l2.244-2.484c18.246-20.201,42.608-31.327,68.599-31.327
- s50.354,11.126,68.601,31.328l17.503,19.38l17.503-19.379c18.246-20.202,42.608-31.328,68.6-31.328s50.354,11.126,68.601,31.329
- l2.241,2.478c17.928,19.851,27.799,46.152,27.799,74.065s-9.872,54.215-27.796,74.061c-0.037,0.043-0.075,0.084-0.113,0.125
- l-147.671,159.16C191.541,355.901,188.221,357.351,184.743,357.351z M46.295,177.252l138.448,149.219l138.448-149.22
- c28.485-31.603,28.467-82.97-0.055-114.549l-2.239-2.478c-13.449-14.891-31.224-23.09-50.051-23.09
- c-18.828,0-36.603,8.199-50.048,23.085L194.02,89.869c-2.369,2.624-5.74,4.121-9.275,4.121s-6.906-1.497-9.276-4.121
- l-26.779-29.648c-13.446-14.887-31.22-23.086-50.048-23.086S62.039,45.333,48.594,60.22l-2.244,2.484
- C17.828,94.283,17.809,145.65,46.295,177.252z"/>
- </g>
- </g>
- </svg>
- {LikeButton size="20"}<br> Like
- </div> </li>
- </div> <!-- end info -->
- {block:permalinkpage}<div class="caption">
- {block:RebloggedFrom}<br> {lang:via} <a href="{ReblogParentURL}"> {ReblogParentName}</a> {lang:source} <a href="{ReblogRootURL}"> {ReblogRootName}</a>
- {/block:RebloggedFrom} </div>{/block:permalinkpage}
- {/block:Date}
- </div><!--posts end-->
- <div id="pagination"><!-- navigation for next post and previous post -->
- {block:PermalinkPagination}
- {block:PreviousPost}
- <a href="{PreviousPost}" class="jump_page">Previous Post</a>
- {/block:PreviousPost}
- {block:NextPost}
- <a href="{NextPost}" class="jump_page">Next Post</a>
- {/block:NextPost}
- {/block:PermalinkPagination}
- </div>
- {block:PostNotes} {PostNotes-64} {/block:PostNotes} {/block:Posts}
- <!-- pagination -->
- <div id="pagination">
- <!-- navigation for next day -->
- {block:DayPagination}{block:PreviousDayPage}
- <a href="{PreviousDayPage}" class="jump_page">
- « {ShortMonth} {DayOfMonth}
- </a>
- {/block:PreviousDayPage}{block:NextDayPage}
- <a href="{NextDayPage}" class="jump_page">
- {ShortMonth} {DayOfMonth} »
- </a>
- {/block:NextDayPage}{/block:DayPagination}
- {block:PreviousPage}
- <a href="{PreviousPage}" class="jump_page">« Previous</a>
- {/block:PreviousPage}{block:NextPage}
- <a href="{NextPage}" class="jump_page">Next »</a>
- {/block:NextPage}
- </div><!-- pagination end -->
- </div><!--container end-->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement