Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- // [Theme]
- Google Maps / Voyager
- by eggdesigns.co //
- + basic html and css knowledge is required to customize this theme
- + this code belongs to eggdesigns.co. While it is free to use, it is not free to sell or otherwise redistribute
- + feel free to edit and custom the theme to your liking,
- but don't use as a base, remove the credit, or claim as your own
- Credits
- + icon font from font awesome
- + design based on material design / google maps
- Version 2.0 - completely revamped HTML and CSS
- - organized code
- - now responsive
- -->
- <html>
- <head>
- <title>{Title}</title>
- <meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no" />
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!-- images -->
- <meta name="image:background" content="" />
- <!-- colors -->
- <meta name="color:background" content="#FFFFFF" />
- <meta name="color:posts" content="#fff" />
- <meta name="color:text" content="#222" />
- <meta name="color:title" content="#fff" />
- <meta name="color:links" content="#664466" />
- <meta name="color:link hover" content="#CCC" />
- <meta name="color:sidebar" content="#fff" />
- <meta name="color:accent" content="#231E38" />
- <meta name="color:border" content="#ddd" />
- <meta name="color:search and menu" content="#222" />
- <meta name="color:menu open" content="#fff" />
- <meta name="color:star" content="#ccc" />
- <meta name="color:star hover" content="#fff" />
- <meta name="color:selection" content="#fff" />
- <meta name="color:selection bg" content="#7b7b7b" />
- <!-- text options -->
- <meta name="text:Google Font" content="Roboto" />
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
- <link href="https://fonts.googleapis.com/css?family={text:Google Font}" rel="stylesheet">
- <style type="text/css">
- /**
- CSS editing directory
- Labeled sections for easier navigating
- 01. Controls - tumblr controls, selection, and scrollbar
- 02. General - body, links, headings, etc
- 03. Sidebar - sidbear, description, icon
- 04. Posts - container, posts, post styles
- 05. Responsive - Mobile design
- **/
- /* ------------
- 01. Controls
- ------------ */
- ::-moz-selection {background:{color:selection bg};color:{color:selection}}
- ::selection {background:{color:selection bg};color:{color:selection};}
- /* ------------
- 02. General
- ------------ */
- body {
- background:{color:background} url({image:background});
- background-attachment:fixed;
- font-family:{text:Google Font};
- color:{color:text};
- font-size:1em;
- overflow-x:hidden;
- word-wrap:break-word;
- }
- a {
- text-decoration:none;
- color:{color:links};
- }
- a:hover {
- color:{color:link hover};
- transition:.6s;
- }
- /* ------------
- 03. General
- ------------ */
- aside {
- width:400px;
- top:0px;
- left:0px;
- height:100vh;
- position:fixed;
- background:{color:sidebar};
- border-right:1px solid {color:border};
- }
- aside img {
- max-width:100%;
- display:block;
- }
- .title {
- padding:20px;
- font-size:1.42em;
- position:relative;
- color:{color:title};
- background:{color:accent};
- }
- .title img {
- width:70px;
- position:absolute;
- right:35px;
- border-radius:100%;
- top:-35px;
- }
- .rating a[href*="intent"] {
- display:inline-block;
- margin-top: 0.4em;
- }
- /*
- * Rating styles
- */
- .rating {
- position:relative;
- width:160px;
- text-align:left;
- overflow:hidden;
- }
- .rating a:hover,
- .rating a:hover ~ a,
- .rating a:focus,
- .rating a:focus ~ a {
- color: {color:star hover};
- cursor: pointer;
- }
- .rating2 {
- direction: rtl;
- }
- .rating2 a {
- float:none;
- text-decoration:none;
- color:{color:star};
- }
- .rating a:focus:before {
- content: attr(data-stars) ;
- position:absolute;
- right:0px;
- direction:ltr;
- bottom:10%;
- font-size:.8em;
- }
- .icons {
- width:100%;
- text-align:center;
- padding:30px 0;
- border-bottom:1px solid {color:border};
- font-size:1.2em;
- }
- .icons a {
- display:inline-block;
- text-decoration:none;
- width:30%;
- color:{color:accent};
- }
- .description {
- padding:28px;
- border-bottom:1px solid {color:border};
- }
- .description a {
- text-decoration:none;
- color:{color:accent};
- }
- /* END CSS */
- .nav {
- display: inline-block;
- z-index:9999;
- top:0px;
- line-height:130%;
- position:fixed;
- color:#000!important;
- }
- .nav label {
- display: block;
- height: 2em;
- width: 2em;
- text-indent: -9999px;
- }
- .nav label i {
- display: block;
- text-indent: 0px;
- padding: 1em;
- color:{color:search and menu};
- }
- .nav input {
- display: none;
- }
- .nav input:checked + ul {
- transform: translateX(-8px);
- box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
- }
- .nav input:checked + ul li {
- opacity: 1;
- transform: translateX(0px);
- }
- .nav ul {
- position: fixed;
- top: 0;
- margin: 0;
- height: 100vh;
- width: 20em;
- padding: 0;
- list-style: none;
- transform: translateX(-110%);
- transition: all 0.4s ease;
- background: #fff;
- border-right:1px solid {color:border};
- text-indent: 0;
- box-shadow: 0 0 10px rgba(0, 0, 0, .4);
- }
- .nav ul li {
- opacity: 0;
- transform: translateX(-100%);
- transition: all 0.3s ease 0.05s;
- }
- .nav ul li:nth-child(1) a {
- padding: 0;
- }
- .nav ul li:nth-child(1) a i {
- transform: translateX(0%) rotate(0deg);
- transition: all 0.5s ease;
- }
- .nav ul li a {
- display: block;
- position: relative;
- padding: 1em 1em;
- text-decoration: none;
- transition: all 0.1s ease;
- }
- .nav ul li a:hover {
- color:{color:accent};
- }
- nav ul li:first-of-type {
- background:{color:accent};
- color:{color:menu open}!important;
- }
- nav ul li:first-of-type a {
- color:{color:menu open}!important;
- }
- nav ul li:nth-of-type(3n + 4){
- border-bottom:1px solid {color:border};
- }
- nav .fa {
- font-size:1.2em;
- }
- .pointer {
- cursor: pointer;
- padding: 1em;
- height: 1em;
- width: 1em;
- }
- #search {
- position:fixed;
- top:0px;
- z-index:9999;
- left:60px;
- width:340px;
- }
- .query, .submit{
- background:none;
- border:none;
- padding:24px;
- outline:none;
- color:{color:search and menu};
- }
- .query {
- width:calc(100% - 130px)
- }
- ::placeholder {
- font-size:1.2em;
- color:{color:search and menu};
- }
- /* ------------
- 04. Posts
- ------------ */
- main {
- width:calc(100% - 450px);
- margin-left:450px;
- }
- .posts {
- margin:100px auto;
- width:60%;
- background:{color:posts};
- }
- .posts img {
- max-width:100%;
- display:block;
- }
- .photopost {
- width:100%;
- }
- .caption {
- padding:20px;
- }
- .cap {
- display:flex!important;
- width:100%;
- height:100%;
- align-items: flex-start!important;
- flex-wrap:wrap!important;
- }
- .cap .usernames {
- margin-left:0;
- }
- .cap .ava {
- width:44px;
- margin:0 10px 0 0;
- height:100%;
- top:0px!important;
- align-self: flex-start!important;
- }
- .cap .reblog-content {
- margin-left:10px;
- width:calc(100% - 80px);
- display:inline-block!important;
- }
- .ava img {
- width:44px;
- }
- .reblog-header {
- display:flex;
- padding:10px;
- border-bottom:1px solid {color:border};
- align-items:center;
- }
- .reblog-header img {
- width:44px;
- }
- .usernames {
- margin-left:16px;
- color:rgba(0,0,0,.72);
- font-size:.98em;
- line-height:150%;
- }
- .user {
- font-size:1.08em;
- }
- .chat {
- padding:10px;
- }
- /* Audio Posts */
- .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:#f2f2f2;
- 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:50px;
- background-color:transparent;
- padding:14px;
- padding-left:4px;
- max-height:140px;
- text-align:left;
- color:{color:text};
- }
- .trackname {
- letter-spacing:2px;
- padding:6px;
- width:100%;
- font-weight:300;
- }
- .artist {
- letter-spacing:2px;
- padding:6px;
- width:95%;
- }
- .album {
- padding:6px;
- width:90%;
- }
- .artist, .album, .trackname {
- padding-left:40px;
- }
- #audiopost {
- width:{text:post size}px;
- {block:permalinkpage}
- width:500px;
- {/block:permalinkpage}
- }
- .info {
- padding:20px;
- border-top:1px solid {color:border};
- }
- .info i {
- padding:10px;
- font-size:.88em;
- background:#f8f8f8;
- border-radius:100%;
- }
- .info a {
- margin:0 10px 0 0;
- }
- blockquote {
- border-left:2px solid {color:border};
- background:#f8f8f8;
- padding:2px;
- padding-left:6px;
- }
- .ask {
- display:flex;
- align-items:center;
- }
- .askerportrait {
- display:inline-block;
- }
- #pagination {
- display:flex;
- margin:50px auto;
- align-items:center;
- flex-wrap:wrap;
- justify-content:center;
- }
- .jump_page, .current_page {
- width:40px;
- border-radius:100%;
- height:40px;
- margin:0 10px;
- display:flex;
- align-items:center;
- justify-content:center;
- background:#f8f8f8;
- }
- .askerportrait{
- float:left;
- margin-top:10px;
- position:absolute;
- }
- .speechbubble {
- padding:20px;
- top:0px;
- margin-left:50px;
- background:#f8f8f8;
- }
- /* ------------
- 05. Responsive
- ------------ */
- @media (max-width:800px){
- aside {
- position:relative;
- margin:auto;
- display:block;
- }
- nav i{
- background:white;
- }
- #search {
- position:fixed
- margin:auto;
- background:white;
- z-index:9;
- width:100%;
- }
- .query {
- padding:0px 14px;
- }
- main {
- width:100%;
- margin:auto;
- left:0px;
- }
- }
- .mob {
- display:none;
- }
- #egg {
- right:10px; bottom:10px;
- position:fixed;
- display:block;
- width: 14px; height: 18px;
- background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
- border:1px solid #aaa;
- z-index:4;
- transform:scale(1.02);
- }
- #egg:hover { animation-name: egg;
- animation-duration: 1s;
- animation-iteration-count: infinite;}
- @keyframes egg{
- 0%{}
- 10%{transform:rotate(20deg) scale(1.12)}
- 80%{transform:rotate(-20deg)}
- 100%{}
- }
- @media (max-width:600px){
- aside {
- width:100%;
- }
- article, .posts {
- width:90%;
- }
- .mob {
- display:block;
- }
- .phot {
- display:none;
- }
- }
- {CustomCSS}
- </style>
- </head>
- <!-- HTML -->
- <body>
- <body>
- <nav class="nav">
- <label><i class="fa fa-bars pointer"></i>
- <input type="checkbox"/>
- <ul>
- <li><a><i class="fa fa-times pointer" style=" color:{color:menu open};"></i></a></li>
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a></li>{/block:Pages}{/block:HasPages}
- </ul>
- </label>
- </nav>
- <div id="search" title="search"><form action="/search" method="get" id="search-form"><input type="hidden" name="t" value="accessibletheme" /><input type="text" name="q" class="query" value="" placeholder="Search"
- /><button type="submit" class="submit"><span class="fa fa-search"></span></button><div class="clear"></div></form></div>
- <aside>
- <img src="{HeaderImage}">
- <div class="title">
- <img src="{PortraitURL-128}">
- {Title}
- <div class="rating rating2"><!--
- --><a href="#5" title="Give 5 stars" data-stars="5 stars">★</a><!--
- --><a href="#4" title="Give 4 stars" data-stars="4 stars">★</a><!--
- --><a href="#3" title="Give 3 stars" data-stars="3 stars">★</a><!--
- --><a href="#2" title="Give 2 stars" data-stars="2 stars">★</a><!--
- --><a href="#1" title="Give 1 star" data-stars="1 stars">★</a>
- </div>
- </div>
- <div class="icons list-group">
- <a class="list-group-item" href="/"><i class="far fa-building" aria-hidden="true"></i><br> Home</a>
- <a class="list-group-item" href="http://tumblr.com/follow/{name}"><i class="far fa-address-card" aria-hidden="true"></i><br> Follow</a>
- <a class="list-group-item" href="/archive"><i class="far fa-calendar-alt" aria-hidden="true"></i><br> Archives</a>
- </div>
- <div class="description">
- {Description}
- </div>
- <div class="description">
- <a href="/ask"><span class="far fa-edit"></span> write a review</a>
- </div>
- </aside>
- <main>
- {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}
- {block:Text}
- {block:Title}
- <h2><a href="{Permalink}">{Title}</a></h2>
- {/block:Title}
- <div class="caption"> {block:NotReblog}
- <figcaption>
- {Body}
- </figcaption>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="{block:isOriginalEntry}original-reblog{/block:isOriginalEntry}">
- <div class="reblog-header">
- {block:IsActive}
- <a class="{block:isNotOriginalEntry}sub-reblog{/block:isNotOriginalEntry}" href="{Permalink}" target="_blank">
- <img src="{PortraitURL-64}" style=" ">
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span class="inactive {block:isNotOriginalEntry} sub-reblog{/block:isNotOriginalEntry}">
- <img src="{PortraitURL-64}" style=" ">
- </span>
- {/block:IsDeactivated}
- <div class="usernames">
- {block:IsActive}
- <a target="_blank" href="{Permalink}" class="user">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span class="inactive deactivated">{Username}</span>
- {/block:IsDeactivated}
- <br>
- {TimeAgo}
- </div></div>
- <div class="reblog-content">
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}</div>
- {/block:Text}
- {block:Photo}
- <img src="{PhotoURL-HighRes}" class="photopost" alt="{PhotoAlt}"/>
- {/block:Photo}
- {block:Panorama}
- {LinkOpenTag}
- <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- {/block:Panorama}
- {block:Photoset}
- <div class="phot">{Photoset}</div>
- <div class="mob">{block:photos}<img src="{photourl-HighRes}">{/block:photos}</div>
- {/block:Photoset}
- {block:Quote}
- <blockquote>
- "{Quote}"
- </blockquote>
- {block:Source}
- <div class="source">{Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="linkp">
- <a href="{URL}" class="linkp" {Target}>{Name}</a></div>
- {block:Description}
- <div class="caption">
- {Description}</div>
- {/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}
- <a href="{Permalink}" style="background:transparent; padding:0;">
- <h2>{title}</h2></a>
- {/block:Title}
- {block:Lines}
- <div class="chat">
- {block:Label}<b>{Label}</b>{/block:Label}
- {Line}<br/></div>
- {/block:Lines}
- {/block:Chat}
- {block:Video}
- <center>{Video-400}</center>
- {/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>
- {/block:Audio}
- {block:Answer}
- <div class="ask">
- <div class="askerportrait">
- <img src="{AskerPortraitURL-40}" alt="asker portrait"></div> </div>
- <div class="speechbubble"> {Asker} asked</a>:
- {Question}</div> {answer}
- {/block:Answer}
- {block:Caption}
- <div class="caption"> {block:NotReblog}
- <figcaption>
- {Caption}
- </figcaption>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="{block:isOriginalEntry}original-reblog{/block:isOriginalEntry} cap">
- <div class="ava">
- {block:IsActive}
- <a class="{block:isNotOriginalEntry}sub-reblog{/block:isNotOriginalEntry}" href="{Permalink}" target="_blank">
- <img src="{PortraitURL-64}" style=" ">
- </a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span class="inactive {block:isNotOriginalEntry} sub-reblog{/block:isNotOriginalEntry}">
- <img src="{PortraitURL-64}" style="">
- </span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-content">
- <div class="usernames">
- {block:IsActive}
- <a target="_blank" href="{Permalink}" class="user">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span class="inactive deactivated">{Username}</span>
- {/block:IsDeactivated}
- <br>
- {TimeAgo}
- </div>
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}</div>
- {/block:Caption}
- {block:date}
- <div class="info">
- <a href="{permalink}"><i class="far fa-thumbs-up" style="color:{color:text}"></i> {NoteCount}</a>
- <a href="{ReblogURL}"><i class="fas fa-redo" style="color:{color:text}"></i> Reblog</a>
- </div>
- {/block:Date}
- {block:HasTags}
- <div class="tags">{block:Tags}
- <a href="{TagURL}"> {text:tag symbol}{Tag} </a>
- {/block:Tags}</div>{/block:HasTags}
- </div>
- <!--posts end-->{/block:Posts}
- {block:PostNotes}{PostNotes-16}{/block:PostNotes}
- <div id="pagination">
- {block:Pagination}{block:PreviousPage}
- <span> <a href="{PreviousPage}">{lang:Previous}</a></span>
- {/block:PreviousPage}{block:JumpPagination length="4"}{block:CurrentPage}
- <span class="current_page">{PageNumber}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jump_page" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}{/block:JumpPagination}
- {block:NextPage}
- <span> <a href="{NextPage}">{lang:Next}</a></span>
- {/block:NextPage}{/block:Pagination}
- {block:PermalinkPagination}
- {block:PreviousPost}
- <a href="{PreviousPost}">{lang:Previous Post}</a>
- {/block:PreviousPost}
- {block:NextPost}
- <a href="{NextPost}">{lang:Next Post}</a>
- {/block:NextPost}
- {/block:PermalinkPagination}
- <p style="width:100%; text-align:center;">
- Google Map / Voyager theme by eggdesigns.co
- </div>
- </main>
- <a id="egg" href="http://eggdesigns.co"></a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement