Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- maziekeen's theme #221
- https://maziekeen.tumblr.com/
- PLEASE DO NOT:
- remove the credits; claim as your own; use as a base, take parts
- of the theme, repost as your own
- YOU CAN:
- edit as much as you want for your own personal use only.
- CREDITS,
- base code: egg.design
- captions and audio style by seyche
- css photosets by annasthms
- tumblr controls by cyantists
- smooth scroll by michael herf and balazs galambosi
- saturn icons by suiomi.com
- feathericons by github.com/feathericons/feather
- normalize reest html by necolas.github.io
- tippyjs tooltips by silbrigthemes
- short notecount, like and reblog, video resize by shythemes
- npf images readjustment v.02 by glenthemes
- post notes icons by arcaicas.tumblr.com
- dark mode by twan mulder at blog.prototypr.io/8b461864644b
- & ananya neogi at dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <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.0, maximum-scale=1.0, user-scalable=no"/>
- <!-- 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 Image" content="" />
- <meta name="image:Sidebar Icon Image" content="" />
- <!-- light color options -->
- <meta name="color:Background Theme Color" content="#fcfcfc" />
- <meta name="color:Body Text Color" content="#1a1a1a" />
- <meta name="color:Body Link Color" content="#757575" />
- <meta name="color:Body Link Hover Color" content="#000000" />
- <meta name="color:Bold Color" content="#1a1a1a">
- <meta name="color:Italic Color" content="#525252">
- <meta name="color:Sidebar Title Color" content="#1a1a1a">
- <meta name="color:Sidebar Title Url Color" content="#979797">
- <meta name="color:Sidebar Links Icon And Font Color" content="#757575">
- <meta name="color:Sidebar Icon Image Border Separator" content="#ededed">
- <meta name="color:Sidebar Background Color" content="#ffffff">
- <meta name="color:Hover Text Background Color" content="#1a1a1a" />
- <meta name="color:Hover Text Color" content="#ffffff" />
- <meta name="color:Date Link Color" content="#1a1a1a">
- <meta name="color:Tags Link Color" content="#757575">
- <meta name="color:Liked Link Color" content="#6565b9">
- <meta name="color:Posts Background Color" content="#ffffff" />
- <meta name="color:Borders Color" content="#ededed" />
- <meta name="color:Scrollbar Color" content="#1a1a1a" />
- <meta name="color:Tumblr Controls Icon Color" content="#1a1a1a" />
- <!-- dark color options -->
- <meta name="color:Dark Background Theme Color" content="#1a1e23" />
- <meta name="color:Dark Body Text Color" content="#ffffff" />
- <meta name="color:Dark Body Link Color" content="#adadeb" />
- <meta name="color:Dark Body Link Hover Color" content="#e182b5" />
- <meta name="color:Dark Bold Color" content="#c9c9e3">
- <meta name="color:Dark Italic Color" content="#adadad">
- <meta name="color:Dark Sidebar Title Color" content="#ffffff">
- <meta name="color:Dark Sidebar Title Url Color" content="#cecede">
- <meta name="color:Dark Sidebar Links Icon And Font Color" content="#c9c9e3">
- <meta name="color:Dark Sidebar Icon Image Border Separator" content="#2b3135">
- <meta name="color:Dark Sidebar Background Color" content="#21262c">
- <meta name="color:Dark Hover Text Background Color" content="#e182b5" />
- <meta name="color:Dark Hover Text Color" content="#ffffff" />
- <meta name="color:Dark Date Link Color" content="#c9c9e3">
- <meta name="color:Dark Tags Link Color" content="#adadeb">
- <meta name="color:Dark Liked Link Color" content="#e182b5">
- <meta name="color:Dark Posts Background Color" content="#21262c" />
- <meta name="color:Dark Borders Color" content="#2b3135" />
- <meta name="color:Dark Scrollbar Color" content="#c9c9e3" />
- <meta name="color:Dark Tumblr Controls Icon Color" content="#c9c9e3" />
- <!-- text, font style and sizes options -->
- <meta name="text:Body Font Family" content="Nunito" />
- <meta name="select:Body Font Size" content="11px" />
- <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="12px" />
- <meta name="select:Body Font Size" content="13px" />
- <meta name="select:Body Font Size" content="14px" />
- <meta name="select:Body Font Size" content="15px" />
- <meta name="select:Body Font Size" content="16px" />
- <meta name="select:Body Font Size" content="17px" />
- <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">
- <meta name="select:Posts Text Position" content="justify">
- <!-- posts titles (h1, h2, h3...) -->
- <meta name="select:Posts Titles Font Size" content="15px" />
- <meta name="select:Posts Titles Font Size" content="10px" />
- <meta name="select:Posts Titles Font Size" content="11px" />
- <meta name="select:Posts Titles Font Size" content="12px" />
- <meta name="select:Posts Titles Font Size" content="13px" />
- <meta name="select:Posts Titles Font Size" content="14px" />
- <meta name="select:Posts Titles Font Size" content="16px" />
- <meta name="select:Posts Titles Font Size" content="17px" />
- <meta name="select:Posts Titles Font Size" content="18px" />
- <meta name="select:Posts Titles Font Weight" content="bold">
- <meta name="select:Posts Titles Font Weight" content="normal">
- <meta name="select:Posts Titles Font Style" content="normal">
- <meta name="select:Posts Titles Font Style" content="italic">
- <meta name="select:Posts Titles Text Transform" content="none">
- <meta name="select:Posts Titles Text Transform" content="uppercase">
- <meta name="select:Posts Titles Text Transform" content="lowercase">
- <meta name="select:Posts Titles Text Transform" content="capitalize">
- <meta name="select:Posts Titles Text Position" content="left">
- <meta name="select:Posts Titles Text Position" content="center">
- <meta name="select:Posts Titles Text Position" content="justify">
- <meta name="select:Posts Titles Text Position" content="right">
- <!-- sidebar title -->
- <meta name="select:Sidebar Title Font Size" content="11px" />
- <meta name="select:Sidebar Title Font Size" content="12px" />
- <meta name="select:Sidebar Title Font Size" content="13px" />
- <meta name="select:Sidebar Title Font Size" content="14px" />
- <meta name="select:Sidebar Title Font Size" content="15px" />
- <meta name="select:Sidebar Title Font Size" content="16px" />
- <meta name="select:Sidebar Title Font Style" content="normal">
- <meta name="select:Sidebar Title Font Style" content="italic">
- <meta name="select:Sidebar Title Text Transform" content="none">
- <meta name="select:Sidebar Title Text Transform" content="uppercase">
- <meta name="select:Sidebar Title Text Transform" content="lowercase">
- <meta name="select:Sidebar Title Text Transform" content="capitalize">
- <!-- sidebar icons -->
- <meta name="select:Sidebar Icons and Font Size" content="14px" />
- <meta name="select:Sidebar Icons and Font Size" content="8px" />
- <meta name="select:Sidebar Icons and Font Size" content="9px" />
- <meta name="select:Sidebar Icons and Font Size" content="10px" />
- <meta name="select:Sidebar Icons and Font Size" content="11px" />
- <meta name="select:Sidebar Icons and Font Size" content="12px" />
- <meta name="select:Sidebar Icons and Font Size" content="13px" />
- <meta name="select:Sidebar Icons and Font Size" content="15px" />
- <meta name="select:Sidebar Icons and Font Size" content="16px" />
- <meta name="select:Sidebar Icons and Font Size" content="17px" />
- <meta name="select:Sidebar Icons and Font Size" content="18px" />
- <!-- sidebar links -->
- <meta name="select:Sidebar Links Font Weight" content="bold">
- <meta name="select:Sidebar Links Font Weight" content="normal">
- <meta name="select:Sidebar Links Font Style" content="normal">
- <meta name="select:Sidebar Links Font Style" content="italic">
- <meta name="select:Sidebar Links Text Transform" content="none">
- <meta name="select:Sidebar Links Text Transform" content="uppercase">
- <meta name="select:Sidebar Links Text Transform" content="lowercase">
- <meta name="select:Sidebar Links Text Transform" content="capitalize">
- <!-- description -->
- <meta name="select:Description Font Size" content="11px" />
- <meta name="select:Description Font Size" content="8px" />
- <meta name="select:Description Font Size" content="9px" />
- <meta name="select:Description Font Size" content="10px" />
- <meta name="select:Description Font Size" content="12px" />
- <meta name="select:Description Font Size" content="13px" />
- <meta name="select:Description Font Size" content="14px" />
- <meta name="select:Description Font Size" content="15px" />
- <meta name="select:Description Font Size" content="16px" />
- <meta name="select:Description Font Weight" content="normal" />
- <meta name="select:Description Font Weight" content="bold" />
- <meta name="select:Description Font Style" content="normal" />
- <meta name="select:Description Font Style" content="italic" />
- <meta name="select:Description Text Transform" content="lowercase" />
- <meta name="select:Description Text Transform" content="none" />
- <meta name="select:Description Text Transform" content="uppercase" />
- <meta name="select:Description Text Transform" content="capitalize" />
- <!-- date / post info -->
- <meta name="select:Date Font Size" content="11px" />
- <meta name="select:Date Font Size" content="8px" />
- <meta name="select:Date Font Size" content="9px" />
- <meta name="select:Date Font Size" content="10px" />
- <meta name="select:Date Font Size" content="12px" />
- <meta name="select:Date Font Size" content="13px" />
- <meta name="select:Date Font Size" content="14px" />
- <meta name="select:Date Font Size" content="15px" />
- <meta name="select:Date Font Size" content="16px" />
- <meta name="select:Date Font Weight" content="bold" />
- <meta name="select:Date Font Weight" content="normal" />
- <meta name="select:Date Font Style" content="normal" />
- <meta name="select:Date Font Style" content="italic" />
- <meta name="select:Date Text Transform" content="lowercase" />
- <meta name="select:Date Text Transform" content="none" />
- <meta name="select:Date Text Transform" content="uppercase" />
- <meta name="select:Date Text Transform" content="capitalize" />
- <meta name="select:Date Text Position" content="left" />
- <meta name="select:Date Text Position" content="center" />
- <meta name="select:Date Text Position" content="right" />
- <!-- tags / post info -->
- <meta name="select:Tags Font Size" content="11px" />
- <meta name="select:Tags Font Size" content="8px" />
- <meta name="select:Tags Font Size" content="9px" />
- <meta name="select:Tags Font Size" content="10px" />
- <meta name="select:Tags Font Size" content="12px" />
- <meta name="select:Tags Font Size" content="13px" />
- <meta name="select:Tags Font Size" content="14px" />
- <meta name="select:Tags Font Size" content="15px" />
- <meta name="select:Tags Font Size" content="16px" />
- <meta name="select:Tags Font Weight" content="normal" />
- <meta name="select:Tags Font Weight" content="bold" />
- <meta name="select:Tags Font Style" content="normal" />
- <meta name="select:Tags Font Style" content="italic" />
- <meta name="select:Tags Text Transform" content="none" />
- <meta name="select:Tags Text Transform" content="uppercase" />
- <meta name="select:Tags Text Transform" content="lowercase" />
- <meta name="select:Tags Text Transform" content="capitalize" />
- <meta name="select:Tags Text Position" content="left" />
- <meta name="select:Tags Text Position" content="center" />
- <meta name="select:Tags Text Position" content="right" />
- <!-- sidebar and posts borders -->
- <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:Posts size 540px" content="1"/>
- <meta name="if:Posts size 500px" content="0"/>
- <meta name="if:Posts size 400px" content="0"/>
- <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" />
- <meta name="if:Sidebar Link 5" content="1" />
- <meta name="if:Sidebar Link 6" content="1" />
- <meta name="if:Disable Switch Theme Color" content="0" />
- <meta name="if:Fix Sidebar on Top" content="1" />
- <meta name="if:Sidebar Title Url" content="1" />
- <meta name="if:Sidebar Icon Image Border Separator" content="1" />
- <meta name="if:Sidebar Icon Image" content="1" />
- <meta name="if:Sidebar Links Icons" content="1" />
- <meta name="if:Sidebar Border" content="0" />
- <meta name="if:Sidebar Box Shadow" content="0" />
- <meta name="if:Images Black and White" content="0" />
- <meta name="if:Links Underline Border" content="0" />
- <meta name="if:Tumblr Captions" content="1"/>
- <meta name="if:Custom Caption Icon" content="0" />
- <meta name="if:Box Shadow" content="0" />
- <meta name="if:Posts Borders" content="0" />
- <meta name="if:Custom Controls" content="1"/>
- <meta name="text:Box Shadow Size" content="0px 4px 8px" />
- <meta name="text:Box Shadow Color" content="0, 0, 0, 0.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="grid" />
- <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:Sidebar Link 5 URL" content="/" />
- <meta name="text:Sidebar Link 5 Text" content="Link 5" />
- <meta name="text:Sidebar Link 5 Icon" content="folder" />
- <meta name="text:Sidebar Link 6 URL" content="/" />
- <meta name="text:Sidebar Link 6 Text" content="Link 6" />
- <meta name="text:Sidebar Link 6 Icon" content="message-square" />
- <!-- 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" />
- <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};
- --sidebarTextColor: {color:Sidebar Text Color};
- --sidebarLinksIconAndFontColor: {color:Sidebar Links Icon And Font Color};
- --sidebarTitleColor: {color:Sidebar Title Color};
- --sidebarTitleUrlColor: {color:Sidebar Title Url Color};
- --sidebarIconImageBorderSeparator: {color:Sidebar Icon Image Border Separator};
- --sidebarBackgroundColor: {color:Sidebar Background Color};
- --hoverTextBackgroundColor: {color:Hover Text Background Color};
- --hoverTextColor: {color:Hover Text Color};
- --dateLinkColor:{color:Date Link Color};
- --tagsLinkColor: {color:Tags Link Color};
- --likedLinkColor: {color:Liked Link Color};
- --scrollbarColor: {color:Scrollbar Color};
- --bordersColor: {color:Borders Color};
- --postsBackgroundColor: {color:Posts Background Color};
- --tumblrControlsIconColor: {color:Tumblr Controls Icon Color};
- /* fonts, sizes, styles */
- --bodyFontFamily: {text:Body Font Family};
- --bodyFontSize: {select:Body Font Size};
- --postsTitlesFontSize: {select:Posts Titles Font Size};
- --sidebarTitleFontSize: {select:Sidebar Title Font Size};
- --sidebarIconsFontSize: {select:Sidebar Icons and Font Size};
- --descriptionFontSize: {select:Description Font Size};
- --dateFontSize:{select:Date Font Size};
- --tagsFontSize:{select:Tags Font Size};
- --boldFontWeight: {select:Bold Font Weight};
- --postsTitlesFontWeight: {select:Posts Titles Font Weight};
- --sidebarTitleFontWeight: {select:Sidebar Title Font Weight};
- --sidebarLinksFontWeight: {select:Sidebar Links Font Weight};
- --bodyLineHeight: calc(var(--bodyFontSize) * 1.5);
- --postsTitlesLineHeight: calc(var(--postsTitlesFontSize) * 1.2);
- --sidebarTitleLineHeight: calc(var(--sidebarTitleFontSize) * 1.2);
- --descriptionFontWeight: {select:Description Font Weight};
- --dateFontWeight:{select:Date Font Weight};
- --tagsFontWeight:{select:Tags Font Weight};
- --postsTitlesTextTransform: {select:Posts Titles Text Transform};
- --postsTitlesFontStyle: {select:Posts Titles Font Style};
- --sidebarTitleTextTransform: {select:Sidebar Title Text Transform};
- --sidebarTitleFontStyle: {select:Sidebar Title Font Style};
- --sidebarLinksTextTransform: {select:Sidebar Links Text Transform};
- --sidebarLinksFontStyle: {select:Sidebar Links Font Style};
- --descriptionTextTransform: {select:Description Text Transform};
- --descriptionFontStyle: {select:Description Font Style};
- --dateTextTransform:{select:Date Text Transform};
- --dateFontStyle:{select:Date Font Style};
- --tagsTextTransform:{select:Tags Text Transform};
- --tagsFontStyle:{select:Tags Font Style};
- --postsTextPosition: {select:Posts Text Position};
- --postsTitlesTextPosition: {select:Posts Titles Text Position};
- --dateTextPosition:{select:Date Text Position};
- --tagsTextPosition:{select:Tags Text Position};
- /* other styles */
- --bordersStyle: {select:Borders Style};
- --bordersSize: {select:Borders Size};
- --boxShadowSize:{text:Box Shadow Size};
- --boxShadowColor:{text:Box Shadow Color};
- --sidebarContentPosition: {select:Sidebar Content Position};
- --transitions: all .3s ease;
- /*npf images readjustment */
- --NPF-Image-Spacing:4px;
- --NPF-Bottom-Gap-From-Captions:1em;
- }
- {block:ifNotDisableSwitchThemeColor}
- /* dark colors */
- [data-theme="dark"] {
- --backgroundThemeColor: {color:Dark Background Theme Color};
- --bodyTextColor: {color:Dark Body Text Color};
- --bodyLinkColor: {color:Dark Body Link Color};
- --bodyLinkHoverColor: {color:Dark Body Link Hover Color};
- --boldColor: {color:Dark Bold Color};
- --italicColor: {color:Dark Italic Color};
- --sidebarTextColor: {color:Dark Sidebar Text Color};
- --sidebarLinksIconAndFontColor: {color:Dark Sidebar Links Icon And Font Color};
- --sidebarTitleColor: {color:Dark Sidebar Title Color};
- --sidebarTitleUrlColor: {color:Dark Sidebar Title Url Color};
- --sidebarIconImageBorderSeparator: {color:Dark Sidebar Icon Image Border Separator};
- --sidebarBackgroundColor: {color:Dark Sidebar Background Color};
- --hoverTextBackgroundColor: {color:Dark Hover Text Background Color};
- --hoverTextColor: {color:Dark Hover Text Color};
- --dateLinkColor:{color:Dark Date Link Color};
- --tagsLinkColor: {color:Dark Tags Link Color};
- --likedLinkColor: {color:Dark Liked Link Color};
- --scrollbarColor: {color:Dark Scrollbar Color};
- --bordersColor: {color:Dark Borders Color};
- --postsBackgroundColor: {color:Dark Posts Background Color};
- --tumblrControlsIconColor: {color:Dark Tumblr Controls Icon Color};
- }
- {/block:ifNotDisableSwitchThemeColor}
- /* 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;
- }
- /* scroll to top */
- .scrolltop .feather {
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- }
- .scrolltop {
- display: inline-block;
- vertical-align: middle;
- padding-top: 2.5px;
- margin-right: 5px;
- }
- .pagination-content .scrolltop a {
- display: none;
- padding: 0;
- }
- .scrolltop:hover {
- color:var(--bodyLinkHoverColor);
- }
- html {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- *::after, *::before {
- -webkit-box-sizing: inherit;
- box-sizing: inherit;
- }
- html, body {
- height: 100vh;
- }
- body {
- margin:0;
- background:var(--backgroundThemeColor) url({image:Background Image});
- font-size:var(--bodyFontSize);
- line-height:var(--bodyLineHeight);
- background-attachment:fixed;
- font-family:var(--bodyFontFamily), Arial, sans-serif;
- word-wrap:break-word;
- color: var(--bodyTextColor);
- }
- a {
- text-decoration:none;
- color:var(--bodyLinkColor);
- transition:var(--transitions);
- }
- a:hover {
- color:var(--bodyLinkHoverColor);
- }
- {block:IfLinksUnderlineBorder}
- .description a, .pagination a, .date-content a, .caption a, .caption-content a, .tumblr_blog a, .ask-user a {
- text-decoration:underline;
- }
- {/block:IfLinksUnderlineBorder}
- blockquote {
- border-left:2px solid {color:blockquote border};
- padding-left:10px;
- }
- p:first-child {
- margin-block-start: 0;
- margin-block-end: 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 0;
- font-style:var(--postsTitlesFontStyle);
- font-weight:var(--postsTitlesFontWeight);
- color:var(--boldColor);
- text-transform:var(--postsTitlesTextTransform);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTitlesTextPosition);
- line-height:var(--postsTitlesLineHeight);
- }
- bold, b, strong {
- color:var(--boldColor);
- font-weight:var(--boldFontWeight);
- }
- italic, i, em {
- color:var(--italicColor);
- }
- hr {
- width:100px;
- margin:10px 0 10px 0;
- border-width: var(--bordersSize) 0px 0px 0px;
- border-style: var(--bordersStyle);
- border-color: var(--bordersColor);
- }
- img {
- border:0;
- max-width:100%;
- height:auto;
- display:block;
- margin: 0;
- padding: 0;
- {block:ifImagesBlackandWhite}
- -webkit-filter: grayscale(100%);
- filter: grayscale(100%);
- {/block:ifImagesBlackandWhite}
- transition:var(--transitions);
- }
- img:hover {
- opacity:1;
- -webkit-filter: grayscale(0%);
- filter: grayscale(0%);
- }
- .posts:hover img {
- -webkit-filter: grayscale(0%);
- filter: grayscale(0%);
- opacity:1;
- }
- ::-moz-selection {
- background-color: var(--boldColor);
- color:var(--postsBackgroundColor);
- }
- ::selection {
- background-color: var(--boldColor);
- color:var(--postsBackgroundColor);
- }
- /* tooltips */
- .tippy-tooltip.custom-theme {
- text-align:center;
- font-size:var(--bodyFontSize);
- 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}
- transition:var(--transitions);
- }
- /* custom icons */
- .feather:hover, .navigation ul li .feather:hover {
- color: var(--bodyLinkHoverColor);
- stroke: var(--bodyLinkHoverColor);
- }
- /* sidebar */
- .sidebar {
- position:relative;
- z-index:9999;
- margin-top: 50px;
- grid-area: header;
- width: 100%;
- color: var(--bodyTextColor);
- display: flex;
- justify-content:center;
- background: transparent;
- }
- {block:ifFixSidebaronTop}
- @supports (position: sticky) {
- .sidebar {
- position: sticky;
- top: 0;
- }
- }
- {/block:ifFixSidebaronTop}
- .sidebar-content {
- width:100%;
- {block:ifPostsSize540px}
- max-width: 541px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- max-width: 501px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- max-width:400px;
- {/block:ifPostsSize400px}
- display: flex;
- padding: 10px;
- background-color: var(--sidebarBackgroundColor);
- {block:ifSidebarBorder}
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifSidebarBorder}
- {block:ifSidebarBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifSidebarBoxShadow}
- }
- .sidebar-content .sidebar-icon {
- flex: 1 1 25%;
- }
- .sidebar-content .sidebar-right-content {
- flex: 1 1 100%;
- }
- {block:IfSidebarIconImageBorderSeparator}
- .sidebar-icon::after {
- content: '';
- width:var(--bordersSize) ;
- height: 50%;
- background-color:var(--sidebarIconImageBorderSeparator);
- margin:0 0px 0 10px;
- }
- {/block:IfSidebarIconImageBorderSeparator}
- .sidebar-icon {
- display: flex;
- justify-content: center;
- align-items:center;
- }
- .sidebar-icon img {
- width:90px;
- height:90px;
- border-radius: 50%;
- object-fit: cover;
- }
- {block:ifPostsSize400px}
- .sidebar-content .sidebar-icon {
- flex: 1 1 30%;
- }
- .sidebar-icon img {
- width:70px;
- height:70px;
- border-radius: 50%;
- -o-object-fit: cover;
- object-fit: cover;
- }
- {/block:ifPostsSize400px}
- .title {
- display:flex;
- align-items: center;
- }
- .title span:nth-child(1) {
- font-weight:bold;
- color: var(--sidebarTitleColor);
- font-style:var(--sidebarTitleFontStyle);
- text-transform:var(--sidebarTitleTextTransform);
- font-size:var(--sidebarTitleFontSize);
- line-height:var(--sidebarTitleLineHeight);
- }
- .title span:nth-child(2) {
- margin:0 0 0 4px;
- letter-spacing:0.5px;
- color: var(--sidebarTitleUrlColor);
- font-size: var(--sidebarTitleFontSize);
- }
- .sidebar-right-content {
- {block:IfSidebarIconImage}
- padding: 0 0 0 10px;
- {/block:IfSidebarIconImage}
- display: flex;
- flex-direction: column;
- justify-content: center;
- }
- .descr {
- display:block;
- font-weight:bold;
- font-size:13px;
- color: var(--boldColor);
- }
- .descr small {
- font-size:10px;
- }
- .description {
- max-height: 85px;
- overflow: hidden;
- padding: 5px 0;
- box-sizing: border-box;
- font-size:var(--descriptionFontSize);
- font-style:var(--descriptionFontStyle);
- font-weight:var(--descriptionFontWeight);
- text-transform:var(--descriptionTextTransform);
- }
- .sidebar .description strong {
- color: var(--sidebarTextColor);
- }
- .sidebar .description i {
- color: var(--sidebarTextColor);
- }
- .description a:hover {
- color: var(--bodyLinkHoverColor);
- }
- .navigation {
- width: 100%;
- }
- {block:IfSidebarLinksIcons}
- .navigation ul li a {
- display: inline-block;
- width: var(--sidebarIconsFontSize);
- height: var(--sidebarIconsFontSize);
- color: var(--sidebarLinksIconAndFontColor);
- }
- .navigation ul li {
- list-style-type:none;
- margin: 0 25px 0 0;
- padding: 10px 3px 0;
- }
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- .navigation ul li a {
- font-size: var(--sidebarIconsFontSize);
- color: var(--sidebarLinksIconAndFontColor);
- font-weight: var(--sidebarLinksFontWeight);
- font-style: var(--sidebarLinksFontStyle);
- text-transform:var(--sidebarLinksTextTransform);
- }
- .navigation ul li {
- list-style-type:none;
- margin: 0 10px 0 0;
- padding: 0;
- }
- {/block:IfNotSidebarLinksIcons}
- .navigation ul li a:hover {
- color: var(--bodyLinkHoverColor);
- }
- .navigation ul {
- display:flex;
- align-items: center;
- flex-wrap: wrap;
- margin:0;
- padding:0;
- }
- .navigation ul li:before {
- content: '';
- width: 0px;
- height: 0px;
- margin:0px;
- background-color: none;
- display: none;
- }
- .navigation ul li .feather {
- width: var(--sidebarIconsFontSize);
- height: var(--sidebarIconsFontSize);
- stroke: var(--sidebarLinksIconAndFontColor);
- }
- .navigation ul li:last-child {
- padding-right:0px;
- }
- .navigation ul li:first-child {
- padding-left:0px;
- }
- /* pagination */
- .dot-separator {
- width: 3px;
- height: 3px;
- margin:2px;
- display:inline-block;
- border-radius: 50%;
- background-color: var(--boldColor);
- }
- .pagination {
- width:90vw;
- position: fixed;
- bottom: 0;
- z-index: 99999;
- }
- .pagination-content .toggle-theme .feather, .pagination-content .toggle-theme i, .pagination-content .toggle-theme svg {
- cursor: pointer;
- padding: 10px;
- }
- .pagination-content .toggle-theme svg {
- width: calc(var(--bodyFontSize) + 2px);
- height: calc(var(--bodyFontSize) + 2px);
- stroke: var(--bodyTextColor);
- }
- .pagination-content {
- {block:ifPostsSize540px}
- max-width: 541px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- max-width: 501px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- max-width:400px;
- {/block:ifPostsSize400px}
- background: var(--postsBackgroundColor);
- margin: 0 auto;
- padding: 10px;
- display: flex;
- justify-content: space-between;
- align-content: center;
- {block:ifNotPostsBorders}
- border-top: var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifNotPostsBorders}
- {block:ifPostsBorders}
- outline: var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsBorders}
- transition:var(--transitions);
- }
- .pagination-content a {
- font-weight: 600;
- padding:10px 0;
- color:var(--bodyLinkColor);
- font-size:var(--bodyFontSize);
- font-weight:var(--boldFontWeight);
- text-decoration:none;
- display: inline-block;
- }
- .pagination-content a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* posts */
- .container {
- width:90vw;
- height: auto;
- display:grid;
- justify-items: center;
- grid-template-columns: 1fr;
- grid-template-rows: auto 1fr;
- grid-template-areas:
- "header"
- "posts"
- ;
- margin:0 auto 15px;
- }
- .tumblr-posts {
- margin-bottom:8px;
- }
- .tumblr-posts a {
- color: var(--bodyLinkColor);
- font-size: 13px;
- display:inline-block;
- margin:0 5px 0 0;
- cursor: pointer;
- font-weight:bold;
- }
- .tumblr-posts a:hover {
- color:var(--bodyLinkHoverColor);
- }
- .posts-container {
- {block:ifPostsSize540px}
- width: 570px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- width: 530px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- width: 430px;
- {/block:ifPostsSize400px}
- grid-area: posts;
- }
- .posts {
- background:var(--postsBackgroundColor);
- {block:ifPostsSize540px}
- width: 100%;
- max-width: 541px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- width: 100%;
- max-width: 501px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- width: 100%;
- max-width:400px;
- {/block:ifPostsSize400px}
- margin:100px auto;
- text-align:var(--postsTextPosition);
- padding: 10px;
- {block:ifPostsBorders}
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsBorders}
- {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 50px;
- }
- .posts img {
- max-width:100%;
- display:block;
- height: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}
- max-width: 540px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- max-width: 500px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- max-width:400px;
- {/block:ifPostsSize400px}
- }
- .photoset-grid div {
- cursor: pointer;
- }
- /* captions & blockquote */
- .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);
- font-weight:var(--boldFontWeight);
- }
- .tumblr_blog a {
- color:var(--bodyLinkColor);
- font-weight:var(--boldFontWeight);
- vertical-align:bottom;
- }
- .tumblr_blog a:hover {
- text-decoration:none;
- color:var(--bodyLinkHoverColor);
- }
- /* old captions style */
- {block:ifNotTumblrCaptions}
- blockquote {
- border-left:1px solid var(--bordersColor);
- padding-left: 15px;
- margin: 10px 10px;
- }
- {/block:ifNotTumblrCaptions}
- /* tumblr's dashboad captions style */
- {block:ifTumblrCaptions}
- blockquote {
- border-left:0px solid;
- padding-left: 0px;
- margin: 0px;
- }
- {/block:ifTumblrCaptions}
- /* custom captions icons */
- {block:ifCustomCaptionIcon}
- .caption-user .feather {
- display:inline-block;
- vertical-align: middle;
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- margin-right: 5px;
- }
- {/block:ifCustomCaptionIcon}
- .caption-user .feather {
- {block:ifNotCustomCaptionIcon}
- display:none;
- {/block:ifNotCustomCaptionIcon}
- transition:var(--transitions);
- }
- .caption-user {
- display: inline-block;
- vertical-align: middle;
- font-weight:var(--boldFontWeight);
- padding-bottom: 2px;
- }
- .caption-user a::after {
- content:none;
- }
- .deactive::after {
- content: '(deactivated)';
- margin-left: 1em;
- opacity: 0.75;
- color: var(--bodyTextColor);
- }
- .caption-wrapper {
- border:0px solid blue;
- }
- .caption, figcaption {
- margin: 15px auto;
- }
- /* captions links */
- .caption a, .caption-content a, figcaption a {
- color:var(--bodyLinkColor);
- }
- .caption a:hover, .caption-content a:hover, figcaption a:hover {
- color:var(--bodyLinkHoverColor);
- }
- figure {
- display:block;
- }
- figure.tmblr-full {
- margin-bottom:5px;
- }
- /* post info */
- .date {
- margin: 10px 0 0;
- }
- .date-content {
- display:flex;
- align-items:center;
- flex-wrap: wrap;
- justify-content:var(--dateTextPosition);
- }
- .date-links {
- margin-right:15px;
- font-weight:var(--dateFontWeight);
- color:var(--bodyTextColor);
- font-size:var(--dateFontSize);
- text-transform: var(--dateTextTransform);
- }
- .date-links:last-child {
- margin-right:0px;
- }
- .date-links a {
- font-size:var(--dateFontSize);
- font-style:var(--dateFontStyle);
- color:var(--dateLinkColor);
- }
- .date-links a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* 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(--likedLinkColor);
- font-weight:var(--boldFontWeight);
- }
- .like-b .liked + .b:after {
- content:'d';
- }
- .like-b a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* tags */
- .tags {
- text-align: var(--tagsTextPosition);
- text-transform: var(--tagsTextTransform);
- font-style:var(--tagsFontStyle);
- font-size:var(--tagsFontSize);
- word-wrap:break-word;
- margin:3px 0 0;
- }
- .tags a {
- font-weight:var(--tagsFontWeight);
- color:var(--tagsLinkColor);
- 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 {
- padding: 0 30px;
- }
- ol li {
- list-style-type: decimal;
- }
- /* quote */
- .quote {
- font-size:var(--postsTitlesFontSize);
- text-transform:var(--postsTitlesTextTransform);
- color:var(--boldColor);
- font-weight:var(--boldFontWeight);
- text-align:var(--postsTextPosition);
- }
- .quote-source::before {
- content: '';
- width: 15px;
- height: 1px;
- margin-right:10px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- background-color: var(--bordersColor);
- }
- /* link */
- .link-image img {
- -o-object-fit: cover;
- object-fit: cover;
- margin-bottom:5px;
- }
- .link {
- font-weight:var(--boldFontWeight);
- color:var(--boldColor);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTextPosition);
- }
- /* chat */
- .label {
- font-weight:var(--boldFontWeight);
- color:var(--boldColor);
- }
- .line {
- padding: 0px 0px 5px;
- margin: 0px 0px 5px;
- }
- p.npf_chat {
- font-size:var(--bodyFontSize);
- font-family: var(--bodyFont), Arial, sans-serif;
- list-style:none;
- }
- /* 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;
- }
- .ask-question p {
- margin: 0 0 5px;
- }
- .ask .feather {
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- stroke:var(--bodyLinkColor);
- display:inline-block;
- vertical-align: middle;
- margin-right: 10px;
- float:left;
- margin-top: 2px;
- }
- .ask-answer.caption-content::after {
- content: '';
- height: 0px;
- }
- /* video */
- .video {
- {block:ifPostsSize540px}
- width:540px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- width:500px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- width:400px;
- {/block:ifPostsSize400px}
- }
- {block:if400pxposts}
- iframe#youtube_iframe {
- width: 400px;
- height: 280px;
- border-top-width: 0px;
- border-right-width: 0px;
- border-bottom-width: 0px;
- border-left-width: 0px;
- }
- {/block:if400pxposts}
- /*audio */
- .audio {
- display:flex;
- {block:ifPostsBorders}
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifPostsBorders}
- align-items: center;
- }
- .album-art {
- z-index: 1;
- display: inline-block;
- vertical-align: middle;
- float: left;
- width: 100px;
- height: 100px;
- }
- .button {
- width: 30px;
- height: 30px;
- overflow: hidden;
- position: relative;
- z-index: 2;
- margin: 7px;
- }
- .audiobox {
- background-color: #f2f2f2;
- z-index: 3;
- position: absolute;
- margin: 28px;
- border-radius: 50%;
- }
- .audio_trackinfo {
- max-height: 74px;
- min-height: 74px;
- margin-left:15px;
- display: flex;
- flex: 4;
- align-items: flex-start;
- justify-content: center;
- flex-direction: column;
- padding: 5px;
- background: var(--postsBackgroundColor);
- color: var(--bodyTextColor);
- }
- .audio_trackname {
- font-weight:var(--boldFontWeight);
- color:var(--boldColor);
- text-align:var(--postsTextPosition);
- font-size:16px;
- }
- /* postnotes */
- .post-notes {
- {block:ifPostsSize540px}
- width: 100%;
- max-width: 540px;
- {/block:ifPostsSize540px}
- {block:ifPostsSize500px}
- width: 100%;
- max-width: 500px;
- {/block:ifPostsSize500px}
- {block:ifPostsSize400px}
- width: 100%;
- max-width:400px;
- {/block:ifPostsSize400px}
- margin-top:25px;
- padding-top: 15px;
- list-style-type: none;
- font-family: var(--bodyFont), Arial, sans-serif;
- font-size:var(--bodyFontSize);
- color:var(--bodyTextColor);
- background-color:var(--postsBackgroundColor);
- border-top:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- text-align:center;
- }
- .post-notes ol li, .post-notes ul li {
- list-style-type: none;
- margin:0;
- line-height: calc(var(--bodyLineHeight) + 5px);
- }
- .post-notes ol li.like::before {
- content: '\e12c';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 40%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .post-notes ol li.reblog::before {
- content: '\e1f5';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 40%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .post-notes ol li.original_post::before {
- content: '\e213';
- font-family:'saturnicons';
- font-size:calc(var(--bodyFontSize) - 40%);
- bottom:0.5px;
- margin-right:7px;
- display:inline-block;
- vertical-align:middle;
- position:relative;
- color: var(--bodyLinkColor);
- }
- .post-notes ol li:hover:before {
- color:var(--bodyLinkHoverColor);
- }
- .post-notes ol li .more_notes_link a::before {
- content: '';
- }
- ol.notes {
- list-style:none;
- color:var(--bodyTextColor);
- padding:0;
- }
- ol.notes img {
- display: none;
- }
- /* mobile */
- @media only screen and (max-width: 720px) {
- /*container // mobile */
- .container {
- width: 90%;
- height: 100vh;
- display:flex;
- flex-wrap:wrap;
- justify-content: space-around;
- align-items: flex-start;
- margin: auto;
- }
- /* sidebar // mobile */
- .sidebar {
- position:relative;
- z-index:9999;
- }
- /* sidebar-icon // mobile */
- .sidebar-icon {
- display:none;
- }
- /* sidebar-content // mobile */
- .sidebar-content {
- width: 90%;
- }
- /* pagination // mobile */
- .pagination{
- width: 90%;
- }
- .pagination-content {
- width: 90%;
- }
- /* posts-container // mobile */
- .posts-container {
- width:100%;
- }
- /* posts // mobile */
- .posts {
- width: 90%;
- }
- /* posts // mobile */
- article {
- margin:100px auto;
- }
- }
- /* end mobile */
- /* DO NOT REMOVE */
- .mcredito {
- position:fixed;
- right:5px;
- bottom:10px;
- padding:8px 12px;
- }
- .mcredito a {
- margin:0;
- font-weight:var(--boldFontWeight);
- text-transform:lowercase;
- text-align:center;
- color:var(--sidebarLinksIconAndFontColor);
- }
- .mcredito a:hover {
- color:var(--bodyLinkHoverColor);
- }
- {block:ifNotDisableSwitchThemeColor}
- /* css for dark theme */
- .theme-switch-wrapper {
- padding: 10px;
- }
- .theme-switch input {
- display: none;
- }
- .slider svg {
- position: absolute;
- width: calc(var(--bodyFontSize) + 2px);
- height: calc(var(--bodyFontSize) + 2px);
- stroke: var(--bodyTextColor);
- cursor: pointer;
- }
- {/block:ifNotDisableSwitchThemeColor}
- {CustomCSS}
- </style>
- </head>
- <body>
- <!-- container -->
- <div class="container">
- <!-- sidebar -->
- <header class="sidebar">
- <div class="sidebar-content">
- {block:IfSidebarIconImage}
- <div class="sidebar-icon">
- <img src="{image:Sidebar Icon Image}" />
- </div>
- {/block:IfSidebarIconImage}
- <div class="sidebar-right-content">
- <div class="title">
- <span>{title}</span>
- {block:IfSidebarTitleUrl}
- <span>@{Name}</span>
- {/block:IfSidebarTitleUrl}
- </div>
- <div class="description">
- {Description}
- </div>
- <!-- navigation links -->
- <nav class="navigation">
- <ul>
- <li>
- {block:IfSidebarLinksIcons}
- <a href="{text:Index URL}" title="{text:Index Text}">
- <i data-feather="{text:Index Icon}" class="feather"></i>
- </a>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Index URL}">
- {text:Index Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- <li>
- {block:IfSidebarLinksIcons}
- <a href="{text:Ask URL}" title="{text:Ask Text}">
- <i data-feather="{text:Ask Icon}" class="feather"></i>
- </a>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Ask URL}">
- {text:Ask Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {block:ifSidebarLink1}
- <li>
- {block:IfSidebarLinksIcons}
- <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>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 1 URL}">
- {text:Sidebar Link 1 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink1}
- {block:ifSidebarLink2}
- <li>
- {block:IfSidebarLinksIcons}
- <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>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 2 URL}">
- {text:Sidebar Link 2 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink2}
- {block:ifSidebarLink3}
- <li>
- {block:IfSidebarLinksIcons}
- <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>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 3 URL}">
- {text:Sidebar Link 3 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink3}
- {block:ifSidebarLink4}
- <li>
- {block:IfSidebarLinksIcons}
- <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>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 4 URL}">
- {text:Sidebar Link 4 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink4}
- {block:ifSidebarLink5}
- <li>
- {block:IfSidebarLinksIcons}
- <a href="{text:Sidebar Link 5 URL}" title="{text:Sidebar Link 5 Text}">
- <i data-feather="{text:Sidebar Link 5 Icon}" class="feather"></i>
- </a>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 5 URL}">
- {text:Sidebar Link 5 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink5}
- {block:ifSidebarLink6}
- <li>
- {block:IfSidebarLinksIcons}
- <a href="{text:Sidebar Link 6 URL}" title="{text:Sidebar Link 6 Text}">
- <i data-feather="{text:Sidebar Link 6 Icon}" class="feather"></i>
- </a>
- {/block:IfSidebarLinksIcons}
- {block:IfNotSidebarLinksIcons}
- <a href="{text:Sidebar Link 6 URL}">
- {text:Sidebar Link 6 Text}
- </a>
- {/block:IfNotSidebarLinksIcons}
- </li>
- {/block:ifSidebarLink6}
- </ul>
- </nav>
- </div>
- </div>
- </header>
- <section class="posts-container">
- <!-- posts -->
- {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}
- <article class="{posttype}post posts">
- <!-- pinned post -->
- {block:PinnedPostLabel}
- <div class="tumblr-posts">
- <!-- <a href="{Permalink}">{PinnedPostLabel}</a> -->
- <a href="{Permalink}" title="{PinnedPostLabel}" class="sf sf-push-pin-o"></a>
- </div>
- {/block:PinnedPostLabel}
- <!-- text posts -->
- {block:Text}
- {block:Title}
- <h1>{Title}</h1>
- {/block:Title}
- <!-- captions -->
- {block:ifTumblrCaptions}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Body}</div>
- </div>
- </div>
- {/block:Notreblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Body}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Text}
- <!-- photo posts -->
- {block:Photo}
- <img src="{PhotoURL-highres}" al="{photoalt}" class="photos">
- {block:Caption}
- {block:ifTumblrCaptions}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Caption}</div>
- </div>
- </div>
- {/block:Notreblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Caption}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Caption}
- {/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:Caption}
- {block:ifTumblrCaptions}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Caption}</div>
- </div>
- </div>
- {/block:Notreblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Caption}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Caption}
- {/block:Photoset}
- <!-- quote posts -->
- {block:Quote}
- <div class="quote">
- "{Quote}"
- </div>
- {block:Source}
- <div class="quote-source">
- {Source}
- </div>
- {/block:Source}
- {/block:Quote}
- <!-- chat posts -->
- {block:Chat}
- {block:Title}
- <h2>{Title}</h2>
- {/block:Title}
- <div class="chat">
- {block:Lines}
- {block:Label}
- <div class="label">{Label}</div>
- {/block:Label}
- <div class="line">{Line}</div>
- {/block:Lines}
- </div>
- {/block:Chat}
- <!--Link posts-->
- {block:Link}
- {block:Thumbnail}
- <div class="link-image">
- <img src="{Thumbnail-HighRes}">
- </div>
- {/block:Thumbnail}
- <div class="link-content">
- <a href="{URL}" style="border:none" class="link" {Target}>{Name} </a>
- {block:Excerpt}<div class="link-excerpt">{Excerpt}</div>{/block:Excerpt}
- {block:Host}<div class="link-host">{Host}</div>{/block:Host}
- </div>
- {block:ifTumblrCaptions}
- {block:Description}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Description}</div>
- </div>
- </div>
- {/block:Notreblog}
- {/block:Description}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Description}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Link}
- <!-- video posts -->
- {block:Video}
- <div class="video">{Video-500}</div>
- {block:Caption}
- {block:ifTumblrCaptions}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Caption}</div>
- </div>
- </div>
- {/block:Notreblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Caption}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Caption}
- {/block:Video}
- <!-- audio posts -->
- {block:Audio}
- <div class="audio">
- <div class="audiobox"><div class="button">
- {block:AudioPlayer}{AudioPlayer}{/block:AudioPlayer}
- </div></div>
- <div class="album-art">
- {block:AlbumArt}
- <img src="{AlbumArtURL}">
- {/block:AlbumArt}
- </div>
- {block:TrackName}
- <div class="audio_trackinfo">
- <div class="audio_trackname">{TrackName}</div>
- {block:Artist}<div class="audio_artist">{Artist}</div>{/block:Artist}
- {block:Album}<div class="audio_album">{Album}</div>{/block:Album}
- </div>
- {/block:TrackName}
- </div>
- {block:Caption}
- {block:ifTumblrCaptions}
- {block:Notreblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Caption}</div>
- </div>
- </div>
- {/block:Notreblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Caption}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Caption}
- {/block:Audio}
- <!-- ask posts -->
- {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="message-circle" class="feather"></i>
- <span class="ask-user">
- {lang:Asked by Asker 2}
- </span>
- </div>
- <div class="caption-wrapper">
- <div class="caption">
- {block:Answerer}
- {block:ifTumblrCaptions}
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Answerer}</a>
- </div>
- {/block:ifTumblrCaptions}
- <div class="ask-answer caption-content">
- {Answer}
- </div>
- {/block:Answerer}
- </div>
- </div>
- {block:ifTumblrCaptions}
- {block:NotReblog}
- <div class="caption-wrapper">
- <div class="caption">
- <div class="caption-content">{Replies}</div>
- </div>
- </div>
- {/block:NotReblog}
- {block:Rebloggedfrom}
- <div class="caption-wrapper">
- {block:Reblogs}
- <div class="caption">
- <div class="caption-user {block:IsDeactivated}deactive{/block:IsDeactivated}">
- <a target="_blank" href="{Permalink}"><i data-feather="user" class="feather"></i>{Username}</a>
- </div>
- <div class="caption-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:ifTumblrCaptions}
- {block:ifNotTumblrCaptions}
- <div class="caption caption-content">
- {Replies}
- </div>
- {/block:ifNotTumblrCaptions}
- {/block:Answer}
- <!-- post info -->
- {block:Date}
- <div class="date">
- <div class="date-content">
- <div class="date-links">
- <a href="{Permalink}">
- {timeago}
- </a>
- </div>
- {block:NoteCount}
- <div class="date-links">
- <span class="notecount">{NoteCountWithLabel}</span>
- </div>
- {/block:NoteCount}
- {block:Permalink}
- {block:RebloggedFrom}
- <div class="date-links">
- <a target="_blank" href="{ReblogParentURL}" title="{lang:Reblogged from} {ReblogParentName}">
- {ReblogParentName}
- </a>
- </div>
- {/block:RebloggedFrom}
- {/block:Permalink}
- {block:ContentSource}
- <div class="date-links">
- <a target="_blank" href="{SourceURL}" title="{lang:Originally from ReblogRootName}">
- {SourceTitle}
- </a>
- </div>
- {/block:ContentSource}
- <div class="date-links">
- <a target="_blank" href="{ReblogURL}" target="_blank" class="details">
- reblog
- </a>
- </div>
- <div class="date-links">
- <a class="like-b" href="#">
- {LikeButton}<span class="b">like</span>
- </a>
- </div>
- </div>
- <!-- tags -->
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a target="_blank" href="{TagURL}">
- #{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- </div>
- {/block:Date}
- <!-- end post info -->
- <!-- post note list -->
- {block:PostNotes}
- <div class="post-notes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- </article> <!-- end posts -->
- {/block:Posts}
- </section> <!-- end post section -->
- <!-- pagination -->
- <footer class="pagination">
- <div class="pagination-content">
- {block:Pagination}
- <span>
- {block:previouspage}
- <a href="{previouspage}">{lang:Previous page}</a> <span class="dot-separator"></span>
- {/block:previouspage}
- {block:nextpage}
- <a href="{nextpage}">{lang:Next page}</a>
- {/block:nextpage}
- </span>
- {/block:pagination}
- {block:ifNotDisableSwitchThemeColor}
- <div class="theme-switch-wrapper">
- <label class="theme-switch" for="checkbox">
- <input type="checkbox" id="checkbox" />
- <div class="slider" title="Change Theme Color">
- <!-- <i data-feather="sun" class="feather featherIcon"></i>
- <i data-feather="moon" class="feather"></i> -->
- </div>
- </label>
- </div>
- {/block:ifNotDisableSwitchThemeColor}
- <span>
- <div class="scrolltop">
- <a href="javascript:;" id="scrollToTop" title="Scroll to top"><i data-feather="arrow-up" class="feather"></i></a>
- </div>
- <a href="http://maziekeen.tumblr.com/" target="_blank">maziekeen</a>
- </span>
- </div>
- </footer>
- </div> <!-- 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}
- {block:ifNotDisableSwitchThemeColor}
- <!-- scripts for dark theme -->
- <script type="text/javascript">
- // The icons
- const sunIcon = '<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><circle cx="12" cy="12" r="5"></circle><line x1="12" y1="1" x2="12" y2="3"></line><line x1="12" y1="21" x2="12" y2="23"></line><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line><line x1="1" y1="12" x2="3" y2="12"></line><line x1="21" y1="12" x2="23" y2="12"></line><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line></svg>';
- const moonIcon = '<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path></svg>';
- // Get the div where the icons will be added
- const themeIcon = document.querySelector('.slider');
- // Get the current theme from local storage
- const currentTheme = localStorage.getItem('theme') ? localStorage.getItem('theme') : null;
- // Get the theme toggle input
- const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
- // Check for saved user preference and set the icons for the respective theme accordingly
- if (currentTheme === 'dark') {
- document.documentElement.setAttribute('data-theme', currentTheme);
- toggleSwitch.checked = true;
- themeIcon.innerHTML = sunIcon;
- } else {
- document.documentElement.setAttribute('data-theme', currentTheme);
- toggleSwitch.checked = false;
- themeIcon.innerHTML = moonIcon;
- }
- // Function that will switch the theme based on the if the theme toggle is checked or not
- function switchTheme(e) {
- if (e.target.checked) {
- document.documentElement.setAttribute('data-theme', 'dark');
- localStorage.setItem('theme', 'dark');
- themeIcon.innerHTML = sunIcon;
- toggleSwitch.checked = true;
- } else {
- document.documentElement.setAttribute('data-theme', 'light');
- localStorage.setItem('theme', 'light');
- themeIcon.innerHTML = moonIcon;
- toggleSwitch.checked = false;
- }
- }
- // Add an event listener to the theme toggle, which will switch the theme
- toggleSwitch.addEventListener('change', switchTheme, false);
- </script>
- {/block:ifNotDisableSwitchThemeColor}
- <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://static.tumblr.com/ikeq9mi/DfYl6o46t/scrolltotop.min.js"></script>
- <link href="//dl.dropbox.com/s/bnoj86mka0bkplb/npf-override.css" rel="stylesheet"> <!-- npf images readjustment -->
- <script src="//dl.dropbox.com/s/vwrm94pcg4c9e71/npf-evenize.js"></script> <!-- npf images readjustment -->
- <script src="//dl.dropbox.com/s/aqo7pinjzfub4tn/npf-legacy.js"></script> <!-- npf images readjustment -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.min.js"></script> <!-- smooth scroll -->
- <script type="text/javascript">
- // feather icons (custom icons)
- feather.replace();
- // custom notecount
- var $container = $('.posts-container');
- $container.find('.notecount').each(function(){
- var n = $(this).html().split(' ')[0].replace(/,/g, '');
- if (n > 999) {
- n = Math.floor(n / 100) / 10;
- $(this).text(n + 'k notes');
- }
- });
- // 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], span[title], div[title]', {
- theme: 'custom',
- arrow: false,
- zIndex: 9999999999,
- maxWidth: 300,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // 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>
Add Comment
Please, Sign In to add comment