Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- // {Thm:base}
- Base code
- by egg.design //
- + basic html and css knowledge is required to customize this theme
- + you are free to add your own credts, but please mention this base code with the release of your theme
- + instructions and explanations are throughout the code. I will be going under the assumption that you are new to HTML and CSS, so feel free to skip ahead if you need to
- Version 1.1
- - simplified theme and added more explanations
- -->
- <!DOCTYPE html> <!-- this line declares that this is an html5 document -->
- <html> <!-- this line actually starts our html document -->
- <head> <!-- head tag is where all of our extra info about our document goes. this includes the favicon, title, css, scripts, and meta tags -->
- <link rel="shortcut icon" href="{Favicon}" />
- <link rel="alternate" type="application/rss+xml" href="{RSS}" />
- <title>{Title}</title>
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
- <!-- stylesheets -->
- <link href="https://static.tumblr.com/0siu224/1Eaqd80d8/normalize.css" rel="stylesheet"> <!-- reset html code -->
- <link href="https://static.tumblr.com/0podkko/oDSpg7y88/photosets.css" rel="stylesheet"> <!-- photosets -->
- <link href="//solrainha.github.io/saturnicons/saturnicons.css" rel="stylesheet"> <!-- custom icons -->
- <script src="https://unpkg.com/feather-icons"></script> <!-- custom icons -->
- <!-- custom fonts -->
- <link href="https://fonts.googleapis.com/css2?family={text:Body Font Family}:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap" rel="stylesheet" />
- <!-- image options -->
- <meta name="image:background" content="" />
- <meta name="image:Sidebar Header" content="" />
- <meta name="image:Sidebar Icon" content="" />
- <meta name="image:Sidebar Image" content="" />
- <!-- color options -->
- <meta name="color:Background Theme Color" content="#fdfdfd" />
- <meta name="color:Body Text Color" content="#222" />
- <meta name="color:Body Link Color" content="#ca0d0d" />
- <meta name="color:Body Link Hover Color" content="#fe881c" />
- <meta name="color:Bold Color" content="#6272a4">
- <meta name="color:Italic Color" content="#9295aa">
- <meta name="color:Liked Text Color" content="#d76aa8">
- <meta name="color:Hover Text Background Color" content="#da9a9a" />
- <meta name="color:Hover Text Color" content="#ffffff" />
- <meta name="color:Posts Background Color" content="#ffffff" />
- <meta name="color:Borders Color" content="#ededed" />
- <meta name="color:Blocks Background Color" content="#202020" />
- <meta name="color:Blocks Text Color" content="#ededed" />
- <meta name="color:sidebar header" content="#facade" />
- <meta name="color:Scrollbar Color" content="#f38830" />
- <meta name="color:Tumblr Controls Icon Color" content="#f38830" />
- <!-- text, font style and sizes options -->
- <meta name="text:Body Font Family" content="Nunito" />
- <meta name="select:Body Font Size" content="13px" />
- <meta name="select:Body Font Size" content="8px" />
- <meta name="select:Body Font Size" content="9px" />
- <meta name="select:Body Font Size" content="10px" />
- <meta name="select:Body Font Size" content="11px" />
- <meta name="select:Body Font Size" content="12px" />
- <meta name="select:Body Font Size" content="14px" />
- <meta name="select:Body Font Size" content="16px" />
- <meta name="select:Body Font Size" content="18px" />
- <meta name="select:Bold Font Weight" content="bold" />
- <meta name="select:Bold Font Weight" content="normal" />
- <meta name="select:Posts Text Position" content="left" title="left">
- <meta name="select:Posts Text Position" content="center" title="center">
- <meta name="select:Posts Text Position" content="justify" title="justify">
- <meta name="select:Titles Font Size" content="18px" />
- <meta name="select:Titles Font Size" content="10px" />
- <meta name="select:Titles Font Size" content="11px" />
- <meta name="select:Titles Font Size" content="12px" />
- <meta name="select:Titles Font Size" content="13px" />
- <meta name="select:Titles Font Size" content="14px" />
- <meta name="select:Titles Font Size" content="16px" />
- <meta name="select:Titles Font Weight" content="bold" title="bold">
- <meta name="select:Titles Font Weight" content="normal" title="normal">
- <meta name="select:Titles Font Style" content="normal" title="normal">
- <meta name="select:Titles Font Style" content="italic" title="italic">
- <meta name="select:Titles Text Transform" content="none" title="none">
- <meta name="select:Titles Text Transform" content="uppercase" title="uppercase">
- <meta name="select:Titles Text Transform" content="lowercase" title="lowercase">
- <meta name="select:Titles Text Transform" content="capitalize" title="capitalize">
- <meta name="select:Titles Text Position" content="left" title="left">
- <meta name="select:Titles Text Position" content="center" title="center">
- <meta name="select:Titles Text Position" content="justify" title="justify">
- <meta name="select:Titles Text Position" content="right" title="right">
- <!-- sidebar icons -->
- <meta name="select:Sidebar Icons Size" content="14px" />
- <meta name="select:Sidebar Icons Size" content="8px" />
- <meta name="select:Sidebar Icons Size" content="10px" />
- <meta name="select:Sidebar Icons Size" content="11px" />
- <meta name="select:Sidebar Icons Size" content="12px" />
- <meta name="select:Sidebar Icons Size" content="13px" />
- <meta name="select:Sidebar Icons Size" content="15px" />
- <meta name="select:Sidebar Icons Size" content="16px" />
- <meta name="select:Borders Size" content="1px" />
- <meta name="select:Borders Size" content="0px" />
- <meta name="select:Borders Size" content="2px" />
- <meta name="select:Borders Size" content="3px" />
- <meta name="select:Borders Style" content="solid" />
- <meta name="select:Borders Style" content="dotted" />
- <meta name="select:Borders Style" content="dashed" />
- <meta name="select:Borders Style" content="double" />
- <meta name="select:Borders Style" content="ridge" />
- <!-- booleans -->
- <meta name="if:full background" content="" />
- <meta name="if:grid" content="" />
- <meta name="if:Posts size 540px" content="1"/>
- <meta name="if:Posts size 500px" content="0"/>
- <meta name="if:Posts size 400px" content="0"/>
- <meta name="if:Updates" content="1" />
- <meta name="if:Use Header Icon Sidebar" content="1" />
- <meta name="if:Use Sidebar Icon" content="1" />
- <meta name="if:Images Black and White" content="0" />
- <meta name="if:Images Opacity" content="0" />
- <meta name="if:Tumblr Captions" content="0"/>
- <meta name="if:Caption Avatar" content="0" />
- <meta name="if:Custom Caption Icon" content="1" />
- <meta name="if:Box Shadow" content="0" />
- <meta name="if:Posts and Sidebar Borders" content="1" />
- <meta name="if:Custom Controls" content="1"/>
- <meta name="if:Sidebar Link 1" content="1" />
- <meta name="if:Sidebar Link 2" content="1" />
- <meta name="if:Sidebar Link 3" content="1" />
- <meta name="if:Sidebar Link 4" content="1" />
- <!-- sidebar links -->
- <meta name="text:Index URL" content="/" />
- <meta name="text:Index Text" content="Index" />
- <meta name="text:Index Icon" content="home" />
- <meta name="text:Ask URL" content="/ask" />
- <meta name="text:Ask Text" content="Ask" />
- <meta name="text:Ask Icon" content="mail" />
- <meta name="text:Sidebar Link 1 URL" content="/" />
- <meta name="text:Sidebar Link 1 Text" content="Link 1" />
- <meta name="text:Sidebar Link 1 Icon" content="menu" />
- <meta name="text:Sidebar Link 2 URL" content="/" />
- <meta name="text:Sidebar Link 2 Text" content="Link 2" />
- <meta name="text:Sidebar Link 2 Icon" content="edit" />
- <meta name="text:Sidebar Link 3 URL" content="/" />
- <meta name="text:Sidebar Link 3 Text" content="Link 3" />
- <meta name="text:Sidebar Link 3 Icon" content="user" />
- <meta name="text:Sidebar Link 4 URL" content="/" />
- <meta name="text:Sidebar Link 4 Text" content="Link 4" />
- <meta name="text:Sidebar Link 4 Icon" content="file-text" />
- <meta name="text:Box Shadow Size" content="0px 4px 8px" />
- <meta name="text:Box Shadow Color" content="0, 0, 0, 0.1" />
- <style>
- :root {
- /* colors */
- --backgroundThemeColor: {color:Background Theme Color};
- --bodyTextColor: {color:Body Text Color};
- --bodyLinkColor: {color:Body Link Color};
- --bodyLinkHoverColor: {color:Body Link Hover Color};
- --boldColor: {color:Bold Color};
- --italicColor: {color:Italic Color};
- --hoverTextBackgroundColor: {color:Hover Text Background Color};
- --hoverTextColor: {color:Hover Text Color};
- --likedTextColor: {color:Liked Text Color};
- --scrollbarColor: {color:Scrollbar Color};
- --bordersColor: {color:Borders Color};
- --postsBackgroundColor: {color:Posts Background Color};
- --blocksBackgroundColor: {color:Blocks Background Color};
- --blocksTextColor: {color:Blocks Text Color};
- --tumblrControlsIconColor: {color:Tumblr Controls Icon Color};
- /* fonts, sizes, styles */
- --bodyFontFamily: {text:Body Font Family};
- --bodyFontSize: {select:Body Font Size};
- --titlesFontSize: {select:Titles Font Size};
- --sidebarIconsSize: {select:Sidebar Icons Size};
- --boldFontWeight: {select:Bold Font Weight};
- --titlesFontWeight: {select:Titles Font Weight};
- --bodyLineHeight: calc(var(--bodyFontSize) * 1.5);
- --titlesLineHeight: calc(var(--titlesFontSize) * 1.2);
- --titlesTextTransform: {select:Titles Text Transform};
- --titlesFontStyle: {select:Titles Font Style};
- --postsTextPosition: {select:Posts Text Position};
- --titlesTextPosition: {select:Titles Text Position};
- /* other styles */
- --bordersStyle: {select:Borders Style};
- --bordersSize: {select:Borders Size};
- --boxShadowSize:{text:Box Shadow Size};
- --boxShadowColor:{text:Box Shadow Color};
- --paddings: 10px;
- --transitions: all .3s ease;
- }
- /* tumblr controls */
- {block:ifCustomControls}
- iframe.tmblr-iframe {
- z-index:99999999999999!important;
- top: 15px!important;
- right: 15px!important;
- opacity:0;
- padding-right:38px;
- -webkit-transform:scale(0.75);
- -ms-transform:scale(0.75);
- transform:scale(0.75);
- -webkit-transform-origin:100% 0;
- -ms-transform-origin:100% 0;
- transform-origin:100% 0;
- cursor: pointer;
- }
- iframe.tmblr-iframe:hover {
- opacity:1!important;
- }
- .hcontrols {
- position:fixed;
- top:23px;
- right:15px;
- z-index:999999999;
- cursor: pointer;
- }
- .hcontrols .feather {
- width:25px;
- height:25px;
- stroke-width: 2;
- stroke:var(--tumblrControlsIconColor);
- cursor: pointer;
- }
- .hcontrols .feather:hover {
- stroke: var(--bodyLinkHoverColor);
- }
- {/block:ifCustomControls}
- /* scrollbar */
- ::-webkit-scrollbar {
- width:7px;
- height:7px;
- }
- ::-webkit-scrollbar {
- background-color:var(--backgroundThemeColor);
- }
- ::-webkit-scrollbar-track {
- border:8px solid var(--backgroundThemeColor);
- background-color:var(--backgroundThemeColor);
- }
- ::-webkit-scrollbar-thumb {
- border:2.1px solid var(--backgroundThemeColor);
- background-color:var(--scrollbarColor);
- border-radius:10px;
- min-height:24px;
- min-width:24px;
- }
- html {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- * {
- transition:var(--transitions);
- }
- *::after,
- *::before {
- box-sizing: inherit;
- }
- html,
- body {
- height: 100vh;
- }
- body {
- margin:0;
- background:var(--backgroundThemeColor) url({image:background});
- font-size:var(--bodyFontSize);
- line-height:var(--bodyLineHeight);
- {block:iffullbackground}
- background-size:cover;
- {/block:iffullbackground}
- /* fixed attachments help the repeating background from scrolling with the page */
- background-attachment:fixed;
- font-family:var(--bodyFontFamily), -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
- word-wrap:break-word;
- color: var(--bodyTextColor);
- }
- a {
- text-decoration:none;
- color:var(--bodyLinkColor);
- }
- a:hover {
- color:var(--bodyLinkHoverColor);
- }
- blockquote {
- border-left:2px solid {color:blockquote border};
- padding-left:10px;
- }
- p:first-child {
- margin-block-start: 0;
- }
- p:last-child {
- margin-block-end: 0;
- }
- small, sup, sub {
- font-size:var(--bodyFontSize);
- }
- pre {
- word-wrap:break-word!Important;
- white-space: pre-wrap;
- }
- h1, h2 {
- margin: 15px;
- font-style:var(--titlesFontStyle);
- font-weight:var(--titlesFontWeight);
- color:var(--boldColor);
- text-transform:var(--titlesTextTransform);
- font-size:var(--titlesFontSize);
- text-align:var(--titlesTextPosition);
- line-height:var(--titlesLineHeight);
- }
- bold, b, strong {
- color:var(--boldColor);
- font-weight:var(--boldFontWeight);
- }
- italic, i, em {
- color:var(--italicColor);
- }
- ::-moz-selection {
- background-color: var(--hoverTextBackgroundColor);
- color:var(--hoverTextColor);
- }
- ::selection {
- background-color: var(--hoverTextBackgroundColor);
- color:var(--hoverTextColor);
- }
- /* tooltips */
- .tippy-tooltip.custom-theme {
- text-align:center;
- font-weight:var(--boldFontWeight);
- color:var(--hoverTextColor);
- background-color:var(--hoverTextBackgroundColor);
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- /* custom icons */
- .feather {
- stroke-width: 1.75;
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- }
- .toggle-link .feather:hover,
- .navigation ul li .feather:hover {
- color: var(--bodyLinkHoverColor);
- stroke: var(--bodyLinkHoverColor);
- }
- /* sidebar */
- /* updates */
- .update {
- position:absolute;
- width: 65px;
- left: -67px;
- z-index:1;
- }
- .update-content {
- height:100%;
- max-width: 320px;
- min-width: 67px;
- position:fixed;
- z-index:11;
- background:transparent;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .update-content a {
- margin:0 0 10px;
- }
- .update-content .toggle-link,
- .update-content .toggle-link-button {
- width: 65px;
- display:block;
- text-align:center;
- }
- .toggle-link .update-icon,
- .toggle-link-button .update-icon {
- width: var(--sidebarIconsSize);
- height: var(--sidebarIconsSize);
- padding:0 0 10px;
- {block:ifPostsAndSidebarBorders}
- padding: 10px;
- {/block:ifPostsAndSidebarBorders}
- cursor:pointer;
- border:none;
- text-align:center;
- font-weight:bold;
- background-color: var(--postsBackgroundColor);
- {block:ifPostsAndSidebarBorders}
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsAndSidebarBorders}
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .toggle-link .feather,
- .toggle-link .feather .toggle-link-button {
- width: var(--sidebarIconsSize);
- height: var(--sidebarIconsSize);
- stroke: var(--bodyLinkColor);
- }
- .update-content .toggle-content {
- display:none;
- margin: 0 0 10px;
- padding:10px;
- max-height: 300px;
- overflow-y: auto;
- background-color:var(--postsBackgroundColor);
- {block:ifPostsAndSidebarBorders}
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsAndSidebarBorders}
- }
- .update-content .toggle-content div {
- margin: 3px auto;
- }
- .update-content li {
- text-align:left;
- }
- .update-content li a {
- margin-bottom:2px;
- }
- /* this is the sidebar styling.
- for responsive purposes, I used 25% for the main width, and set the maxium width to 300px
- */
- .sidebar {
- position:relative;
- width: 350px;
- margin-top: 50px;
- order: 1;
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- }
- .sidebar-main-content {
- padding: var(--paddings);
- background:var(--postsBackgroundColor);
- {block:ifPostsAndSidebarBorders}
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsAndSidebarBorders}
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .sidebar-content {
- position:fixed;
- margin-left: 100px;
- width:308px;
- margin-top:0px;
- overflow:hidden;
- }
- {block:IfNotUseHeaderIconSidebar}
- .sidebar img {
- width:268px;
- height:auto;
- padding: 0 0 15px;
- object-fit: cover;
- display:block;
- margin:auto;
- }
- .description {
- margin-top:0px;
- }
- {/block:IfNotUseHeaderIconSidebar}
- {block:IfUseHeaderIconSidebar}
- /* if you want a header, this is some basic styling for that.
- you can adjust this based on if you want the width to be 100% or if you're fine with it only taking the same amount of space as the posts.
- If you want this header to go across the whole page, you need to delete the max-width line.
- */
- header {
- position:relative;
- width:90%;
- left:auto;
- max-width:700px;
- margin:50px auto 100px auto;
- }
- /* this is the avatar image. I used transform to move the image up a bit to recreate the Optica look with the header */
- .sidebar img {
- width:65px;
- height:65px;
- object-fit: cover;
- display:block;
- margin:auto;
- transform:translateY(107px);
- {block:IfNotUseSidebarIcon}
- display:none;
- {/block:IfNotUseSidebarIcon}
- }
- .sideheader {
- background:url('{image:Sidebar Header}') center center;
- background-repeat: no-repeat;
- background-size:cover;
- background-color:{color:sidebar header};
- height:150px;
- }
- .description {
- margin-top:25px;
- {block:IfNotUseSidebarIcon}
- margin-top:0px;
- {/block:IfNotUseSidebarIcon}
- }
- {block:IfUseHeaderIconSidebar}
- /* pagination */
- .pagination {
- text-align:center;
- margin: 20px 0;
- }
- .pagination a {
- padding: 7px 10px;
- margin: 0 5px;
- font-weight:bold;
- border: 1px solid transparent;
- color:var(--bodyLinkColor);
- background-color:var(--postsBackgroundColor);
- }
- .pagination a:hover {
- color:var(--bodyTextColor);
- background-color:var(--boldColor);
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- }
- .nav-content {
- /*background:var(--postsBackgroundColor); */
- }
- .navigation {
- width: 100%;
- margin: 0;
- {/block:ifPostsAndSidebarBorders}
- margin: 15px 0 0;
- {/block:ifPostsAndSidebarBorders}
- }
- .navigation a {
- width:100%;
- padding: 10px 0 0;
- {block:ifPostsAndSidebarBorders}
- padding: 20px 0 0;
- {/block:ifPostsAndSidebarBorders}
- color: var(--bodyLinkColor);
- font-size: var(--sidebarIconsSize);
- font-weight: var(--sidebarHoverTextFontWeight);
- font-style: var(--sidebarHoverTextFontStyle);
- text-transform:var(--sidebarHoverTextTransform);
- }
- .navigation a:hover {
- color: var(--bodyLinkHoverColor);
- }
- .navigation ul {
- width:100%;
- text-align:center;
- margin: 0;
- padding:0;
- }
- .navigation ul li {
- display:inline-block;
- list-style-type:none;
- margin: 0;
- padding: 0 5px;
- }
- .navigation ul li:before {
- content: '';
- width: 0px;
- height: 0px;
- margin:0px;
- background-color: none;
- display: none;
- }
- .navigation ul li .feather {
- width: var(--sidebarIconsSize);
- height: var(--sidebarIconsSize);
- padding: var(--paddings);
- background-color: var(--postsBackgroundColor);
- {block:ifPostsAndSidebarBorders}
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsAndSidebarBorders}
- width: var(--sidebarIconsSize);
- height: var(--sidebarIconsSize);
- stroke: var(--bodyLinkColor);
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .navigation ul li:last-child {
- padding-right:0px;
- }
- .navigation ul li:first-child {
- padding-left:0px;
- }
- .container {
- width: 90%;
- max-width: 1090px;
- height: 100vh;
- display:flex;
- flex-wrap:wrap;
- justify-content: space-around;
- align-items: flex-start;
- border: 0px solid red;
- margin: auto;
- }
- .pinned-post a {
- font-size:var(--bodyFontSize);
- display:inline-block;
- padding:6px 8px;
- cursor: pointer;
- border: 1px solid transparent;
- font-weight:var(--boldFontWeight);
- color:var(--bodyTextColor);
- background-color:var(--boldColor);
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .pinned-post a:hover {
- color:var(--bodyTextColor);
- background-color:var(--postsBackgroundColor);
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- }
- .posts-container {
- order: 2;
- width:auto;
- border: 0px dotted #000;
- }
- .posts {
- background:var(--postsBackgroundColor);
- width: 540px;
- margin:100px auto;
- padding: var(--paddings);
- {block:ifPostsAndSidebarBorders}
- border:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsAndSidebarBorders}
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .posts:first-child {
- margin:50px auto;
- }
- .posts:last-child {
- margin:100px auto 50px;
- }
- .posts img {
- max-width:100%;
- display:block;
- /*margin: auto; */
- }
- .posts b, strong {
- font-weight:var(--boldFontWeight);
- }
- /* photosets */
- [photoset-layout] {
- display: grid;
- grid-template-columns: repeat(6, 1fr);
- {block:ifPostsSize540px}
- grid-gap: 4.5px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- grid-gap: 9.5px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- grid-gap: 4px;
- {/block:ifPostsSize400px}
- }
- [photoset-layout] img {
- display: block;
- height: 100%;
- width: 100%;
- -o-object-fit: cover;
- object-fit: cover;
- }
- .photoset-grid {
- {block:ifPostsSize540px}
- width: 540px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- width: 500px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- width:400px;
- {/block:ifPostsSize400px}
- }
- .photoset-grid div {
- cursor: pointer;
- }
- /* neue post format (npf)
- images on posts as photosets
- */
- .post-content
- div.npf_row,
- .post
- div.npf_row,
- body
- div.npf_row {
- max-width:100%;
- margin:5px auto;
- }
- body p+div.npf_row {
- max-width:100%;
- margin-top: 5px;
- margin-bottom:5px;
- }
- /* captions & blockquote */
- /* tumblr's dashboad captions style */
- /* old captions style */
- .tumblr_blog {
- display:inline-block;
- line-height:var(--bodyLineHeight);
- margin-right:2px;
- text-transform:lowercase;
- font-family: var(--bodyFont), Arial, sans-serif;
- font-size:var(--bodyFontSize);
- color:var(--bodyLinkColor);
- }
- .tumblr_blog a {
- color:var(--bodyLinkColor);
- vertical-align:bottom;
- }
- .tumblr_blog a:hover {
- text-decoration:none;
- color:var(--bodyLinkHoverColor);
- }
- /* custom captions */
- {block:ifCustomCaptionIcon}
- .user .feather {
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- margin-right: 5px;
- position: relative;
- top: 2px;
- }
- {/block:ifCustomCaptionIcon}
- {block:ifNotCustomCaptionIcon}
- .user .feather {
- display:none;
- }
- {/block:ifNotCustomCaptionIcon}
- .reblog-header {
- font-weight:var(--boldFontWeight);
- {block:ifCaptionAvatar}
- margin-bottom: 2px;
- {/block:ifCaptionAvatar}
- }
- .reblog-header a::after {
- content:none;
- }
- .caption, .description, .ask, .reblog-content, .date-content, .tags, figcaption {
- padding: var(--paddings);
- border: var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- color:var(--blocksTextColor);
- background-color:var(--blocksBackgroundColor);margin: 10px auto;
- }
- .reblog-content a {
- color:var(--bodyLinkColor);
- }
- figcaption a {
- color:var(--bodyLinkColor);
- }
- .reblog-content a:hover {
- color:var(--bodyLinkHoverColor);
- }
- figcaption a:hover {
- color:var(--bodyLinkHoverColor);
- }
- blockquote {
- border-left:1px solid var(--bordersColor);
- padding-left: 15px;
- margin: 10px 10px;
- }
- figure {
- display:inline-block;
- }
- /* post info */
- .date {
- margin-top: 10px;
- background-color:var(--postsBackgroundColor);
- }
- .date-content {
- display:flex;
- align-items:center;
- font-size:var(--dateIconsSize);
- }
- .date-icon {
- margin-right:15px;
- margin-bottom: -4px;
- }
- .date-icon:last-child {
- margin-right:0px;
- }
- .date-icon a {
- font-weight:bold;
- }
- /* like text */
- .like-b {
- position:relative;
- display:inline-block;
- height:1em;
- line-height:1.5em;
- padding: 0 1px;
- }
- .like-b .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:2;
- opacity:0;
- }
- .like-b .liked + .b {
- color: var(--likedTextColor);
- font-weight:var(--boldFontWeight);
- }
- .like-b .liked + .b:after {
- content:'d';
- }
- /* tags */
- .tags {
- text-align:left;
- text-transform: var(--tagsTextTransform);
- font-style:var(--tagsFontStyle);
- color:var(--bodyTextColor);
- font-size:var(--tagsFontSize);
- word-wrap:break-word;
- margin:10px 0 0;
- }
- /*
- .tags a::before {
- content:'\e24c';
- font-family:'saturnicons';
- font-style:none!important;
- display:inline-block;
- vertical-align:middle;
- margin-right:5px;
- font-weight:400;
- color:var(--bodyLinkColor);
- }
- .tags a:hover::before {
- color:var(--bodyLinkHoverColor);
- -webkit-transition: var(--transitions);
- -o-transition: var(--transitions);
- transition: var(--transitions);
- }
- */
- .tags a {
- font-weight:var(--tagsFontWeight);
- color:var(--bodyTextColor);
- margin-right:10px;
- }
- .tags a:last-child{
- margin-right:0px;
- }
- .tags a:first-child {
- margin-left:0px;
- }
- .tags a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* lists */
- ul {
- margin:15px 0;
- padding: 0;
- list-style:none;
- }
- ul li {
- margin:5px 15px;
- list-style:none;
- }
- ul li::before {
- content: '\e08f';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 50%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- ol {
- margin:15px;
- }
- ol li {
- margin:5px 15px;
- list-style-type: decimal;
- }
- /* quote post */
- .quote, .source {
- padding:20px;
- }
- /* link post */
- .link {
- padding:10px;
- }
- /* chat post */
- .chat {
- margin:0;
- padding:0;
- }
- .chat li {
- list-style:none;
- padding:10px;
- }
- .chat li:nth-of-type(odd) {
- }
- /* asks */
- .clearfix::before, .clearfix::after{
- content:'';
- clear:both;
- display:table;
- }
- .ask-user {
- color:var(--bodyLinkColor);
- font-weight:var(--boldFontWeight);
- text-transform:lowercase;
- }
- .ask-user a {
- color:var(--bodyLinkColor);
- font-weight:var(--boldFontWeight);
- }
- .ask-user a:hover {
- color:var(--bodyLinkHoverColor);
- }
- .ask-question {
- position: relative;
- top: -2px;
- }
- .ask-question p {
- margin: 0 0 5px;
- }
- .ask .feather {
- float: left;
- margin: 2px 10px 0 0;
- stroke:var(--bodyLinkColor);
- }
- .ask-answer.reblog-content::after {
- content: '';
- height: 0px;
- }
- /*Audio posts */
- .audiopost img {
- width:120px;
- height:120px;
- }
- .audiopost iframe {
- width:100%;
- }
- .audioinfo {
- width:calc(100% - 140px);
- align-items:center;
- padding:0 10px;
- }
- .theinfo {
- padding:20px;
- }
- /*credit */
- footer {
- width:50%;
- margin:20px auto;
- text-align:center;
- }
- /* mobile friendly sidebar */
- /* this is a media query, important for mobile design.
- This sets the styling for the sidebar but ONLY when the screen size is less than 1100px. Basically, this makes the sidebar function as a header once the screen gets too small to include both a sidebar and the posts */
- @media only screen and (max-width: 1260px) {
- .sidebar {
- position:relative;
- width:100%;
- left:auto;
- max-width:700px;
- margin:50px auto;
- }
- .sidebar-content {
- width:400px;
- position:relative;
- margin: 0 auto;
- }
- .description {
- margin:0;
- text-align:center;
- }
- .update {
- position: absolute;
- left: -65px;
- }
- .update-content {
- position:relative;
- }
- .sideheader {
- display:none;
- }
- .nav-content {
- position:relative;
- width:100%;
- left:auto;
- max-width:700px;
- order: 2;
- }
- .posts-container {
- width:100%;
- order: 3;
- }
- .posts {
- max-width: 540px;
- width: 90%;
- }
- article {
- margin:100px auto; /* since the sidebar is a header here, we're removing the 300px left margin so that the articles stay in the center of the page */
- }
- }
- /* DO NOT REMOVE */
- .mcredito {
- position:fixed;
- right:5px;
- bottom:18px; background: var(--postsBackgroundColor);
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {block:ifBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifBoxShadow}
- }
- .mcredito a {
- margin:0;
- padding:0;
- font-weight:var(--boldFontWeight);
- text-transform:lowercase;
- text-align:center;
- color:var(--bodyLinkColor);
- padding:8px 12px;
- }
- .mcredito a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* tylergaciaposey's theme 203
- css part */
- .nav_container {
- width:100%;
- overflow: hidden;
- margin:0 auto;
- padding:2px;
- }
- .box_left {
- width:50%;
- overflow: hidden;
- float:left;
- padding:10px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .box_right {
- width:50%;
- overflow: hidden;
- float:right;
- padding:10px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .nav_title {
- font-weight:bold;
- color:var(--boldColor);
- margin:2px 0 3px;
- padding:0 0 5px;
- }
- .nav_title:after {
- width:100px;
- content:'';
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- display:block;
- margin:5px 0;
- }
- .nav_list {
- margin:0 0 2px 5px;
- }
- .nav_list::before {
- content: '\e08f';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 50%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .nav_list:hover:before {
- color:var(--bodyLinkHoverColor);
- }
- .nav_paragraph {
- margin:7px 0;
- }
- .nav_separator {
- clear:both;
- width:100%;
- display:block;
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- margin:25px 0;
- padding:0 0 25px;
- }
- /* tags aka links lis */
- .nav_tags_title1 {
- font-weight:bold;
- margin:2px 10px 3px;
- padding:0 0 5px;
- }
- .nav_tags_title1:after {
- width:100px;
- content:'';
- border-bottom:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- display:block;
- margin:5px 0;
- }
- .nav_tags_title {
- margin:3px 0 3px;
- padding:0 0 5px;
- font-weight:bold;
- color:var(--boldColor);
- }
- .nav_tags_title:after {
- content:'';
- border-bottom:0px dotted #e2e2e2;
- }
- .nav_tags_box {
- height:180px;
- width:33.3%;
- margin-bottom:25px;
- overflow: hidden;
- float:left;
- padding:10px;
- box-sizing: border-box;
- overflow-y:auto;
- overflow-x:hidden;
- }
- .nav_tags_list {
- margin:0 0 2px 5px;
- }
- .nav_tags_list::before {
- content: '\e08f';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 50%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .nav_tags_list:hover:before {
- color:var(--bodyLinkHoverColor);
- }
- /* this block is required for theme garden. It allows people to add custom css in the customization panel */
- {CustomCSS}
- </style>
- </head>
- <body>
- <!-- this is the basic html structure of a theme (with some extra features in there. This theme uses dashboard captions and contains all the variables (that I can think of) required for the theme garden. -->
- <!-- occassionally you will see blocks containing "has" like hastags. This block is for finding if the blog *has* these things first before rendering it. For example, if a post doesn't have any tags, this way it won't take up any space even if your css has a specific height on it. -->
- <!-- main container -->
- <main class="container">
- <!-- sidebar -->
- <aside class="sidebar">
- <div class="sidebar-content">
- <aside class="update"> <!-- START UPDATE ICONS -->
- <div class="update-content"> <!-- sart update wrapper // don't touch -->
- <!-- sart update 1 // copy all between these comments to add a new one -->
- <a href="#" class="toggle-link" title="things to do"> <!-- the title="" will appear on the icon hover -->
- <i data-feather="clipboard" class="feather update-icon"></i> <!-- the data-feather="" is the icon -->
- </a>
- <div class="toggle-content"> <!-- start update content // it will appear what you write inside here! -->
- <strong>psds</strong>
- <ul>
- <li>for photoshoots</li>
- </ul>
- <strong>HTHAIGTCT</strong>
- <div><em>how the hell am i going to color this?</em></div>
- <p><a href="/tagged/hthaigtct">just small tutorials with fewer layers on how to color correct some scenes</a></p>
- <strong>theme</strong>
- <ul>
- <li>new navigation/faq/tags page</li>
- <li>all in one page</li>
- <li>fan site</li>
- </ul>
- </div> <!-- end update content // it will appear what you write inside here! -->
- <!-- end update 1 // copy all between these comments to add a new one -->
- <!-- sart update 1 // copy all between these comments to add a new one -->
- <a href="#" class="toggle-link" title="requests"> <!-- the title="" will appear on the icon hover -->
- <i data-feather="info" class="feather update-icon"></i> <!-- the data-feather="" is the icon -->
- </a>
- <div class="toggle-content"> <!-- start update content // it will appear what you write inside here! -->
- <strong>psds, themes, icons</strong>
- <p>i'm not taking requests for new stuff</p>
- <strong>psd from recent gifsets / icons</strong>
- <ul>
- <li>i usually save psds from my last gifs, if you want me to post some let me know</li>
- <li>now i'm posting my current icons / headers as psd, so check the tags here: <a
- href="/tagged/icons%20psd">icons</a> & <a href="/tagged/headers%20psd">headers</a></li>
- </ul>
- </div> <!-- end update content // it will appear what you write inside here! -->
- <!-- end update 1 // copy all between these comments to add a new one -->
- <!-- sart update 1 // copy all between these comments to add a new one -->
- <a href="#" class="toggle-link" title="watch list"> <!-- the title="" will appear on the icon hover -->
- <i data-feather="tv" class="feather update-icon"></i> <!-- the data-feather="" is the icon -->
- </a>
- <div class="toggle-content"> <!-- start update content // it will appear what you write inside here! -->
- <strong>watching</strong>
- <ul>
- <li>atla s02 </li>
- <li><strong>doctor who s05</strong></li>
- <li><strong>fear the walking dead s06</strong></li>
- <li>roswell new mexico s01</li>
- <li><strong>skins s03</strong></li>
- <li>she ra s03</li>
- <li>supernatural s15</li>
- <li>skam espaƱa s01</li>
- <li>the boys s01</li>
- <li><strong>the mandalorian s02</strong></li>
- <li><strong>twd: world beyond s01</strong></li>
- <li><s>torchwood s01</s></li>
- <li>westworld s03</li>
- </ul>
- <strong>start</strong>
- <ul>
- <li>trinkets s02</li>
- <li>legends of tomorrow s05</li>
- </ul>
- <strong>catch up</strong>
- <ul>
- <li>arrow s07</li>
- <li>supergirl s04</li>
- <li>the flash s05</li>
- </ul>
- <strong>finished/recommend</strong>
- <ul>
- <li>gypsy</li>
- <li>julie and the phantoms</li>
- <li>lucifer</li>
- <li>outer banks</li>
- <li>the haunting of bly manor</li>
- <li>teenage bounty hunters</li>
- <li>the order</li>
- <li>warrior nun</li>
- <li>wynonna earp</li>
- </ul>
- </div> <!-- end update content // it will appear what you write inside here! -->
- <!-- end update 1 // copy all between these comments to add a new one -->
- <!-- if you want redirect links or "buttons" // each <a> is a link -->
- <a title ="check out my resources blog!" href="http://dailyresources.tumblr.com/" target="_blank" class="toggle-link-button"> <!-- the title="" will appear on the icon hover -->
- <i data-feather="link" class="feather update-icon"></i> <!-- the data-feather="" is the icon -->
- </a>
- <a title ="if you like my content and would like to support me, i'd be very grateful" href="https://ko-fi.com/luciane/" target="_blank" class="toggle-link-button"> <!-- the title="" will appear on the icon hover -->
- <i data-feather="coffee" class="feather update-icon"></i> <!-- the data-feather="" is the icon -->
- </a>
- </div> <!-- end update wrapper // don't touch -->
- {/block:ifUpdates}
- </aside> <!-- END UPDATE ICONS -->
- <div class="sidebar-main-content">
- <div class="sideheader">
- {block:IfUseHeaderIconSidebar}
- {block:IfUseSidebarIcon}
- <img src="{image:Sidebar Icon}">
- {/block:IfUseSidebarIcon}
- {/block:IfUseHeaderIconSidebar}
- {block:IfNotUseHeaderIconSidebar}
- <img src="https://static.tumblr.com/0siu224/jUVqkgjz0/1s2.gif">
- {/block:IfNotUseHeaderIconSidebar}
- </div>
- <div class="description">
- luciane. 26. she/her <a href="https://www.tumblr.com/tagged/maziekeen"
- title="also #userluciane">#maziekeen</a> <br> <a
- href="https://maziekeen.tumblr.com/tagged/gifs" title="above average">gifs</a>,
- <a href="https://maziekeen.tumblr.com/tagged/psds" title="not taking
- requests">psds</a>, and <a href="https://maziekeen.tumblr.com/themees"
- title="pretty much all the same but still cute">themes</a>
- <p><strong>theme slowly under construction, because i'm lazy</strong>
- </div>
- </div>
- <nav class="navigation">
- <div class="nav-content">
- <ul>
- <li>
- <a href="{text:Index URL}" title="{text:Index Text}">
- <i data-feather="{text:Index Icon}" class="feather"></i>
- </a>
- </li>
- <li>
- <a href="{text:Ask URL}" title="{text:Ask Text}">
- <i data-feather="{text:Ask Icon}" class="feather"></i>
- </a>
- </li>
- {block:ifSidebarLink1}
- <li>
- <a href="{text:Sidebar Link 1 URL}" title="{text:Sidebar Link 1 Text}">
- <i data-feather="{text:Sidebar Link 1 Icon}" class="feather"></i>
- </a>
- </li>
- {/block:ifSidebarLink1}
- {block:ifSidebarLink2}
- <li>
- <a href="{text:Sidebar Link 2 URL}" title="{text:Sidebar Link 2 Text}">
- <i data-feather="{text:Sidebar Link 2 Icon}" class="feather"></i>
- </a>
- </li>
- {/block:ifSidebarLink2}
- {block:ifSidebarLink3}
- <li>
- <a href="{text:Sidebar Link 3 URL}" title="{text:Sidebar Link 3 Text}">
- <i data-feather="{text:Sidebar Link 3 Icon}" class="feather"></i>
- </a>
- </li>
- {/block:ifSidebarLink3}
- {block:ifSidebarLink4}
- <li>
- <a href="{text:Sidebar Link 4 URL}" title="{text:Sidebar Link 4 Text}">
- <i data-feather="{text:Sidebar Link 4 Icon}" class="feather"></i>
- </a>
- </li>
- {/block:ifSidebarLink4}
- </ul>
- </div>
- </nav>
- <!-- pagination -->
- {block:Pagination}
- <div class="pagination">
- {block:previouspage}
- <a href="{previouspage}">Previous page</a>
- {/block:previouspage}
- {block:nextpage}
- <a href="{nextpage}">Next page</a>
- {/block:nextpage}
- </div>
- {/block:pagination}
- </div>
- </aside>
- <!-- here we are using the boolean for a grid layout. if the user turns that on, the section will get the grid class and will be styled using the css we put for the grid class -->
- <section class="posts-container" {block:ifgrid} class="grid" {/block:ifgrid}>
- <!-- posts -->
- <!-- all the basic post variables are below. To get a good summary of what each variable means, please read the theme docs: https://www.tumblr.com/docs/en/custom_themes as these are tumblr specific and don't apply to general html -->
- <!-- this removes the default source/via links
- {block: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}
- <!-- by using the {postyype} variable, we can make classes for each post type without having to type them all out individually -->
- <article class="{posttype}post posts">
- <!-- pinned post -->
- {block:PinnedPostLabel}
- <div class="pinned-post">
- <!--<a href="{Permalink}" title="{PinnedPostLabel}" class="sf sf-push-pin-o"></a>-->
- <a href="{Permalink}">{PinnedPostLabel}: Fix icons missing on my themes</a>
- </div>
- {/block:PinnedPostLabel}
- <!-- text posts -->
- {block:Text}
- <!-- title block hides the title section if the post has no title -->
- {block:Title}
- <h1>{Title}</h1>
- {/block:Title}
- <!-- this is styling for when this is an original post/not reblogged -->
- {block:Notreblog}
- <div class="caption">
- {Body}
- </div>
- {/block:Notreblog}
- <!-- styling whenever it is a reblogged post -->
- {block:Rebloggedfrom}
- <div class="caption">
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblogs">
- <div class="reblog-header">
- {block:isactive}
- <a href="{permalink}">{username}</a>
- {/block:isactive}
- {block:isdeactivated}
- <a href="{permalink}" class="inactive">{username}</a>
- {/block:isdeactivated}
- </div>
- <div class="reblog-content">
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- </div>
- </div>
- {/block:RebloggedFrom}
- {/block:Text}
- <!-- photo posts -->
- {block:Photo}
- <!-- photo alts add a description to the image for screen readers and for if the image doesn't load -->
- <img src="{PhotoURL-highres}" al="{photoalt}" class="photos">
- {/block:Photo}
- <!-- photoset -->
- {block:Photoset}
- <div class="photoset">
- <div class="photoset-grid" photoset-layout="{PhotosetLayout}">{block:Photos}<div data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" data-lowres="{PhotoURL-500}" data-highres="{PhotoURL-HighRes}" onclick="lightbox(this)"><img src="{PhotoURL-HighRes}" /></div>{/block:Photos}</div>
- </div>
- {/block:Photoset}
- <!-- panorama -->
- {block:Panorama}
- <img src="{photourl-panorama}" alt="{photoalt}">
- {/block:Panorama}
- <!-- quote posts -->
- {block:Quote}
- <div class="quote">
- "{Quote}"
- </div>
- <div class="source">
- -{Source}
- </div>
- {/block:Quote}
- <!-- chat posts -->
- {block:Chat}
- <ul class="chat">
- {block:Lines}
- <li>{block:Label}{Label}{/block:Label} {Line}</li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- <!--Link posts-->
- {block:link}
- <div class="link">
- <a href="{URL}"><span class="lnr lnr-link" aria-hidden="true"></span> {Name}</a>
- </div>
- {/block:link}
- <!-- video posts -->
- {block:Video}
- {Video-500}
- {/block:Video}
- <!--Audio posts-->
- {block:Audio}
- <div class="audio">
- {block:albumart}
- <img src="{AlbumArtURL}" alt="Album art for {block:trackname}{Trackname}{/block:trackname}">
- {/block:albumart}
- <div class="audioinfo">
- {block:trackname}{Trackname}{/block:trackname}<br>
- {block:Album}{Album}{/block:Album} <br>
- {block:Artist}{Artist}{/block:Artist}
- </div>
- </div>
- <div class="player">
- {AudioPlayer}
- </div>
- {/block:Audio}
- <!-- ask -->
- {block:Answer}
- <div class="ask">
- <i data-feather="mail" class="feather"></i>
- <span class="ask-question">
- {Question}
- </span>
- <span class="clearfix"></span>
- <i data-feather="user" class="feather"></i>
- <span class="ask-user">
- {Asker}
- </span>
- </div>
- <div class="reblog-list">
- <div class="ask-answer reblog-content">
- {Answer}
- </div>
- </div>
- {/block:Answer}
- <!-- end ask -->
- <!-- captions -->
- {block:Caption}
- <div class="caption">
- {block:notreblog}
- {Caption}
- {/block:notreblog}
- {block:Rebloggedfrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblogs">
- <div class="reblog-header">
- {block:isactive}
- <a href="{permalink}">{username}</a>
- {/block:isactive}
- {block:isdeactivated}
- <a href="{permalink}" class="inactive">{username}</a>
- {/block:isdeactivated}
- </div>
- <div class="reblog-content">
- {Body}
- </div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- </div>
- {/block:Caption}
- <!-- post info -->
- {block:Date}
- <div class="date">
- <div class="date-content">
- <div class="date-icon">
- <a href="{Permalink}">
- {timeago}
- </a>
- </div>
- {block:NoteCount}
- <div class="date-icon">
- <a href="{Permalink}">
- {NoteCountWithLabel}
- </a>
- </div>
- {/block:NoteCount}
- {block:ContentSource}
- <div class="date-icon">
- <a href="{SourceURL}" title="Posted by {SourceTitle}">
- {SourceTitle}
- </a>
- </div>
- {/block:ContentSource}
- {block:Permalink}
- {block:RebloggedFrom}
- <div class="date-icon">
- <a href="{ReblogParentURL}" title="Reblogged from {ReblogParentName}">
- {ReblogParentName}
- </a>
- </div>
- {/block:RebloggedFrom}
- {/block:Permalink}
- <div class="date-icon">
- <a href="{ReblogURL}" target="_blank" class="details">
- reblog
- </a>
- </div>
- <div class="date-icon">
- <a class="like-b" href="#">
- {LikeButton}<span class="b">like</span>
- </a>
- </div>
- {block:IfTagsOnClick}
- {block:HasTags}
- <div class="date-icon toggle-tags">
- <a href="#">
- show tags
- </a>
- </div>
- {/block:HasTags}
- {/block:IfTagsOnClick}
- </div>
- <!-- tags -->
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">
- {Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- <!-- end tags -->
- </div>
- {/block:Date}
- <!-- end post info -->
- <!-- post note list -->
- {PostNotes}
- </article> <!-- end posts -->
- {/block:Posts}
- </section> <!-- end post section -->
- </main> <!-- end container -->
- <!-- top right icon for custom tumblr controls -->
- {block:ifCustomControls}
- <div class="hcontrols"><i data-feather="more-horizontal" class="feather"></i></div>
- {/block:ifCustomControls}
- <!-- scripts -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <!-- for tooltips -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
- <script src="https://unpkg.com/popper.js@1"></script> <!-- tooltips -->
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script> <!-- tooltips -->
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script> <!-- resize videos -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js"></script> <!-- smooth scroll -->
- <script src="https://static.tumblr.com/ikeq9mi/DfYl6o46t/scrolltotop.min.js"></script>
- <script type="text/javascript">
- // update-toggle
- $(document).ready(function() {
- $(".toggle-content").hide();
- $(".toggle-link").click(function(event) {
- event.preventDefault();
- $(this).next(".toggle-content").slideToggle(500);
- });
- });
- // photosets lightbox
- function gatherData(images, arr) {
- for (let i = 0; i < images.length; i++) {
- let currentData = {
- "width": images[i].getAttribute('data-width'),
- "height": images[i].getAttribute('data-height'),
- "low_res": images[i].getAttribute('data-lowres'),
- "high_res": images[i].getAttribute('data-highres')
- };
- arr.push(currentData);
- }
- }
- function getIndex(elem) {
- let i = 0;
- while( (elem = elem.previousElementSibling) != null ) i++;
- return i;
- }
- function lightbox(elem) {
- let currentPhotoset = elem.parentNode;
- let photosetPhotos = currentPhotoset.getElementsByTagName('div');
- let data = [];
- gatherData(photosetPhotos, data);
- Tumblr.Lightbox.init(data, getIndex(elem) + 1);
- }
- // tooltips
- tippy('a[title]', {
- theme: 'custom',
- arrow: false,
- zIndex: 9999999999,
- maxWidth: 300,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // feather icons (custom icons)
- feather.replace();
- // remove tumblr redirects script by magnusthemes@tumblr
- $('a[href*="t.umblr.com/redirect"]').each(function(){
- var originalURL = $(this).attr("href").split("?z=")[1].split("&t=")[0];
- var replaceURL = decodeURIComponent(originalURL);
- $(this).attr("href", replaceURL);
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment