Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- maziekeen's theme ###
- 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,
- captions, audio style, toggle controls and tags by seyche
- css photosets by annasthms
- npf images readjustment v.03 by glenthemes
- smooth scroll by michael herf and balazs galambosi
- feathericons by github.com/feathericons/feather
- tippyjs tooltips by eossa
- ------------------------------------------------------------------------>
- <!DOCTYPE html>
- <!-- RESOURCES: dark mode / by: mournstera.tumblr.com/post/724742111455592448
- uses: html/css/js -->
- {block:ifNotDarkThemeDefaultColor}
- <html data-theme="light">
- {/block:ifNotDarkThemeDefaultColor}
- {block:ifDarkThemeDefaultColor}
- <html data-theme="dark">
- {/block:ifDarkThemeDefaultColor}
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- {block:Hidden}
- <!-- -------------- LIGHT THEME CUSTOMIZATION -------------- -->
- <meta name="color:Background Theme Color" content="#ffffff" />
- <meta name="color:Body Link Color" content="#7a7a7a" />
- <meta name="color:Body Text Color" content="#404040" />
- <meta name="color:Body Link Hover Color" content="#131313" />
- <meta name="color:Hover Text Background Color" content="#212121" />
- <meta name="color:Hover Text Color" content="#ffffff" />
- <meta name="color:Post Detail Link Color" content="#222222">
- <meta name="color:Post Detail Text Color" content="#959595">
- <meta name="color:Tags Link Color" content="#222222">
- <meta name="color:Borders Color" content="#ececec" />
- <meta name="color:Posts Background Color" content="#ffffff" />
- <!--<meta name="color:Sidebar Background Color" content="#ffffff">-->
- <!-- -------------- DARK THEME CUSTOMIZATION -------------- -->
- <meta name="color:Dark Background Theme Color" content="#0e0e0e" />
- <meta name="color:Dark Body Link Color" content="#f7f7f7" />
- <meta name="color:Dark Body Text Color" content="#959595" />
- <meta name="color:Dark Body Link Hover Color" content="#f6cf6a" />
- <meta name="color:Dark Hover Text Background Color" content="#212121" />
- <meta name="color:Dark Hover Text Color" content="#ffffff" />
- <meta name="color:Dark Post Detail Link Color" content="#f7f7f7">
- <meta name="color:Dark Post Detail Text Color" content="#959595">
- <meta name="color:Dark Tags Link Color" content="#f7f7f7">
- <meta name="color:Dark Borders Color" content="#202020" />
- <meta name="color:Dark Posts Background Color" content="#191919" />
- <!--<meta name="color:Dark Sidebar Background Color" content="#ffffff">-->
- <!-- -------------- POSTS: sizes -------------- -->
- <meta name="select:Post Width" content="54rem" title="540px" />
- <meta name="select:Post Width" content="50rem" title="500px" />
- <meta name="select:Post Width" content="40rem" title="400px" />
- <meta name="select:Photoset Gutter" content="0.44rem" title="For 540px" />
- <meta name="select:Photoset Gutter" content="1rem" title="For 500px" />
- <meta name="select:Photoset Gutter" content="0.2rem" title="For 400px" />
- <!-- -------------- THEME: sidebar and posts borders -------------- -->
- <meta name="select:Borders Size" content="0.1rem" title="1px" />
- <meta name="select:Borders Size" content="0rem" title="0px" />
- <meta name="select:Borders Size" content="0.2rem" title="2px" />
- <meta name="select:Borders Size" content="0.3rem" title="3px" />
- <meta name="select:Borders Size" content="0.4rem" title="4px" />
- <meta name="select:Borders Size" content="0.5rem" title="5px" />
- <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" />
- <!-- -------------- THEME: body styling -------------- -->
- <meta name="select:Body Font Size" content="1.3rem" title="13px" />
- <meta name="select:Body Font Size" content="0.8rem" title="8px" />
- <meta name="select:Body Font Size" content="0.9rem" title="9px" />
- <meta name="select:Body Font Size" content="1rem" title="10px" />
- <meta name="select:Body Font Size" content="1.1rem" title="11px" />
- <meta name="select:Body Font Size" content="1.2rem" title="12px" />
- <meta name="select:Body Font Size" content="1.4rem" title="14px" />
- <meta name="select:Body Font Size" content="1.5rem" title="15px" />
- <meta name="select:Body Font Size" content="1.6rem" title="16px" />
- <meta name="select:Body Font Size" content="1.7rem" title="17px" />
- <meta name="select:Body Font Size" content="1.8rem" title="18px" />
- <meta name="select:Body Font Letter Spacing" content="normal" title="none" />
- <meta name="select:Body Font Letter Spacing" content="0.015rem" title="0.15px" />
- <meta name="select:Body Font Letter Spacing" content="0.025rem" title="0.25px" />
- <meta name="select:Body Font Letter Spacing" content="0.075rem" title="0.75px" />
- <meta name="select:Body Font Letter Spacing" content="0.08rem" title="0.80px" />
- <meta name="select:Body Font Letter Spacing" content="0.085rem" title="0.85px" />
- <meta name="select:Body Font Letter Spacing" content="0.09rem" title="0.90px" />
- <meta name="select:Body Font Letter Spacing" content="0.095rem" title="0.95px" />
- <meta name="select:Body Font Letter Spacing" content="0.1rem" title="1px" />
- <meta name="select:Body Font Letter Spacing" content="0.2rem" title="2px" />
- <meta name="select:Body Font Letter Spacing" content="0.3rem" title="3px" />
- <meta name="select:Body Font Weight" content="400" title="normal" />
- <meta name="select:Body Font Weight" content="700" title="bold" />
- <meta name="select:Body Font Weight" content="300" title="light" />
- <meta name="select:Body Font Weight" content="500" title="medium" />
- <meta name="select:Body Font Weight" content="600" title="semi-bold" />
- <meta name="select:Bold Font Weight" content="700" title="bold" />
- <meta name="select:Bold Font Weight" content="300" title="light" />
- <meta name="select:Bold Font Weight" content="400" title="normal" />
- <meta name="select:Bold Font Weight" content="500" title="medium" />
- <meta name="select:Bold Font Weight" content="600" title="semi-bold" />
- <meta name="select:Link Decoration Line" content="wavy underline" title="Wavy" />
- <meta name="select:Link Decoration Line" content="none" title="None" />
- <meta name="select:Link Decoration Line" content="underline" title="Underline" />
- <meta name="select:Link Decoration Line" content="double underline" title="Double" />
- <meta name="select:Link Decoration Line" content="dotted underline" title="Dotted" />
- <meta name="select:Link Decoration Line" content="dashed underline" title="Dashed" />
- <meta name="select:Link Decoration Line" content="line-through" title="Line Through" />
- <meta name="select:Link Decoration Line" content="underline overline" title="Underline Overline" />
- <meta name="select:Link Decoration Line" content="underline line-through" title="Underline Line Through" />
- <meta name="select:Link Decoration Line Hover" content="wavy underline" title="Wavy" />
- <meta name="select:Link Decoration Line Hover" content="none" title="None" />
- <meta name="select:Link Decoration Line Hover" content="underline" title="Underline" />
- <meta name="select:Link Decoration Line Hover" content="double underline" title="Double" />
- <meta name="select:Link Decoration Line Hover" content="dotted underline" title="Dotted" />
- <meta name="select:Link Decoration Line Hover" content="dashed underline" title="Dashed" />
- <meta name="select:Link Decoration Line Hover" content="line-through underline" title="Line Through" />
- <meta name="select:Link Decoration Line Hover" content="underline overline" title="Underline Overline" />
- <meta name="select:Link Decoration Line Hover" content="underline line-through" title="Underline Line Through" />
- <!-- -------------- THEME: posts h1, h2, h3, h4, h5, h6 styling -------------- -->
- <meta name="select:Posts Titles Font Size" content="1.6rem" title="16px" />
- <meta name="select:Posts Titles Font Size" content="1rem" title="10px" />
- <meta name="select:Posts Titles Font Size" content="1.1rem" title="11px" />
- <meta name="select:Posts Titles Font Size" content="1.2rem" title="12px" />
- <meta name="select:Posts Titles Font Size" content="1.3rem" title="13px" />
- <meta name="select:Posts Titles Font Size" content="1.4rem" title="14px" />
- <meta name="select:Posts Titles Font Size" content="1.5rem" title="15px" />
- <meta name="select:Posts Titles Font Size" content="1.7rem" title="17px" />
- <meta name="select:Posts Titles Font Size" content="1.8rem" title="18px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="normal" title="none" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.015rem" title="0.15px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.025rem" title="0.25px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.075rem" title="0.75px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.08rem" title="0.80px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.085rem" title="0.85px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.09rem" title="0.90px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.095rem" title="0.95px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.1rem" title="1px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.2rem" title="2px" />
- <meta name="select:Posts Titles Font Letter Spacing" content="0.3rem" title="3px" />
- <meta name="select:Posts Titles Font Weight" content="700" title="bold" />
- <meta name="select:Posts Titles Font Weight" content="300" title="light" />
- <meta name="select:Posts Titles Font Weight" content="400" title="normal" />
- <meta name="select:Posts Titles Font Weight" content="500" title="medium" />
- <meta name="select:Posts Titles Font Weight" content="600" title="semi-bold" />
- <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="uppercase">
- <meta name="select:Posts Titles Text Transform" content="none">
- <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">
- <!-- -------------- POSTS: date styling -------------- -->
- <meta name="select:Post Detail Font Size" content="12px" />
- <meta name="select:Post Detail Font Size" content="8px" />
- <meta name="select:Post Detail Font Size" content="9px" />
- <meta name="select:Post Detail Font Size" content="10px" />
- <meta name="select:Post Detail Font Size" content="11px" />
- <meta name="select:Post Detail Font Size" content="13px" />
- <meta name="select:Post Detail Font Size" content="14px" />
- <meta name="select:Post Detail Font Size" content="15px" />
- <meta name="select:Post Detail Font Size" content="16px" />
- <meta name="select:Post Detail Font Weight" content="bold" />
- <meta name="select:Post Detail Font Weight" content="normal" />
- <meta name="select:Post Detail Font Style" content="normal" />
- <meta name="select:Post Detail Font Style" content="italic" />
- <meta name="select:Post Detail Text Transform" content="uppercase" />
- <meta name="select:Post Detail Text Transform" content="none" />
- <meta name="select:Post Detail Text Transform" content="lowercase" />
- <meta name="select:Post Detail Text Transform" content="capitalize" />
- <meta name="select:Post Detail Text Position" content="left" />
- <meta name="select:Post Detail Text Position" content="center" />
- <meta name="select:Post Detail Text Position" content="justify" />
- <meta name="select:Post Detail Text Position" content="right" />
- <!-- -------------- POSTS: tags styling -------------- -->
- <meta name="select:Tags Font Size" content="13px" />
- <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="11px" />
- <meta name="select:Tags Font Size" content="12px" />
- <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="justify" />
- <meta name="select:Tags Text Position" content="right" />
- <!-- -------------- SIDEBAR: position -------------- -->
- <meta name="select:Sidebar Position" content="center" title="center">
- <meta name="select:Sidebar Position" content="flex-start" title="top">
- <!-- -------------- SIDEBAR: links styling -------------- -->
- <meta name="select:Sidebar Link Font Size" content="1.1rem" title="11px" />
- <meta name="select:Sidebar Link Font Size" content="0.8rem" title="8px" />
- <meta name="select:Sidebar Link Font Size" content="0.9rem" title="9px" />
- <meta name="select:Sidebar Link Font Size" content="1rem" title="10px" />
- <meta name="select:Sidebar Link Font Size" content="1.2rem" title="12px" />
- <meta name="select:Sidebar Link Font Size" content="1.3rem" title="13px" />
- <meta name="select:Sidebar Link Font Size" content="1.4rem" title="14px" />
- <meta name="select:Sidebar Link Font Size" content="1.5rem" title="15px" />
- <meta name="select:Sidebar Link Font Size" content="1.6rem" title="16px" />
- <meta name="select:Sidebar Link Font Size" content="1.7rem" title="17px" />
- <meta name="select:Sidebar Link Font Size" content="1.8rem" title="18px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="normal" title="none" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.015rem" title="0.15px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.025rem" title="0.25px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.075rem" title="0.75px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.08rem" title="0.80px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.085rem" title="0.85px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.09rem" title="0.90px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.095rem" title="0.95px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.1rem" title="1px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.2rem" title="2px" />
- <meta name="select:Sidebar Link Font Letter Spacing" content="0.3rem" title="3px" />
- <meta name="select:Sidebar Link Font Weight" content="400" title="normal" />
- <meta name="select:Sidebar Link Font Weight" content="700" title="bold" />
- <meta name="select:Sidebar Link Font Weight" content="300" title="light" />
- <meta name="select:Sidebar Link Font Weight" content="500" title="medium" />
- <meta name="select:Sidebar Link Font Weight" content="600" title="semi-bold" />
- <meta name="select:Sidebar Link Font Style" content="normal" />
- <meta name="select:Sidebar Link Font Style" content="italic" />
- <meta name="select:Sidebar Link Text Transform" content="none">
- <meta name="select:Sidebar Link Text Transform" content="uppercase">
- <meta name="select:Sidebar Link Text Transform" content="lowercase">
- <meta name="select:Sidebar Link Text Transform" content="capitalize">
- <meta name="select:Sidebar Link Text Position" content="left" title="left" />
- <meta name="select:Sidebar Link Text Position" content="center" title="center" />
- <meta name="select:Sidebar Link Text Position" content="right" title="right" />
- <!-- -------------- THEME: conditionals -------------- -->
- <meta name="if:Images Black and White" content="0" />
- <meta name="if:Show Box Shadow" content="0" />
- <meta name="if:Show Borders" content="0" />
- <meta name="if:Enable Font Smoothing" content="0" />
- <meta name="if:Links Underline Border" content="1" />
- <meta name="if:Disable Switch Theme Color" content="0" />
- <meta name="if:Dark Theme Default Color" content="0" />
- <!-- -------------- SIDEBAR: conditionals -------------- -->
- <meta name="if:Sidebar Image" content="1"/>
- <meta name="if:Sidebar Title" content="1"/>
- <meta name="if:Sidebar Pages Link" content="0"/>
- <meta name="if:Sidebar Description" content="1"/>
- <meta name="if:Right Sidebar Position" 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" />
- <!-- -------------- POSTS: size, padding, margin -------------- -->
- <meta name="text:Theme Container Size" content="140rem" />
- <meta name="text:Posts Between Margin" content="9.5rem" />
- <meta name="text:Posts and Sidebar Padding" content="1rem" />
- <!-- -------------- THEME: customizations -------------- -->
- <meta name="text:Body Font Family" content="Arial" />
- <meta name="text:Posts Title Font Family" content="Rubik" />
- <meta name="text:Post Detail Font Family" content="Rubik" />
- <!-- -------------- SIDEBAR: size, padding, margin -------------- -->
- <meta name="text:Sidebar Posts Spacing Gap" content="22rem" />
- <meta name="text:Sidebar Posts Spacing Between" content="0rem" />
- <!-- -------------- SIDEBAR: links -------------- -->
- <meta name="text:Home URL" content="/" />
- <meta name="text:Home Text" content="Home" />
- <meta name="text:Ask URL" content="/ask" />
- <meta name="text:Ask Text" content="Ask" />
- <meta name="text:Sidebar Link 1 URL" content="/" />
- <meta name="text:Sidebar Link 1 Text" content="Link 1" />
- <meta name="text:Sidebar Link 2 URL" content="/" />
- <meta name="text:Sidebar Link 2 Text" content="Link 2" />
- <meta name="text:Sidebar Link 3 URL" content="/" />
- <meta name="text:Sidebar Link 3 Text" content="Link 3" />
- <meta name="text:Sidebar Link 4 URL" content="/" />
- <meta name="text:Sidebar Link 4 Text" content="Link 4" />
- {/block:Hidden}
- <!-- RESOURCES: dark mode / by: mournstera.tumblr.com/post/724742111455592448
- uses: html/css/js -->
- <script>
- const storedTheme = localStorage.getItem("theme") || (window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
- if (storedTheme) {
- document.documentElement.setAttribute("data-theme", storedTheme);
- }
- </script>
- <!-- RESOURCES: NPF images / by: glenthemes.tumblr.com/post/638038350689976320
- uses: html/css/js -->
- <script async src="//cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script>
- <link rel="stylesheet" media="screen" href="//assets.tumblr.com/client/prod/standalone/blog-network-npf/index.build.css">
- <script async src="//npf-images-v3.github.io/script.js"></script>
- <link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
- <!--RESOURCES: css photosets / by: annasthms.github.io/photosets
- uses: html/css/js -->
- <link href="https://static.tumblr.com/0podkko/oDSpg7y88/photosets.css" rel="stylesheet">
- <!-- RESOURCES: custom font
- - by: https://fonts.google.com/ -->
- <link href="https://fonts.googleapis.com/css2?family={text:Body Font Family}:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet" />
- <link href="https://fonts.googleapis.com/css2?family={text:Posts Title Font Family}:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet" />
- <link href="https://fonts.googleapis.com/css2?family={text:Post Detail Font Family}:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet" />
- <!-- RESOURCES: NPF images / by: glenthemes.tumblr.com/post/638038350689976320
- "tmblr-npf" attribute & NPF variables on root -->
- <style tmblr-npf>
- :root {
- --NPF-Caption-Spacing:1rem;
- --NPF-Image-Spacing: {select:Photoset Gutter};
- /* -------------- THEME: fonts -------------- */
- --bodyFontFamily: {text:Body Font Family};
- --postsTitleFontFamily: {text:Posts Title Font Family};
- --postDetailFontFamily: {text:Post Detail Font Family};
- --bodyFontSize: {select:Body Font Size};
- --bodyFontLetterSpacing: {select:Body Font Letter Spacing};
- --bodyFontWeight: {select:Body Font Weight};
- --boldFontWeight: {select:Bold Font Weight};
- --postsLineHeight: calc(var(--bodyFontSize) * 1.3);
- --postsParagraphBetween: calc(var(--bodyFontSize) * 1);
- --postsTextPosition: {select:Posts Text Position};
- --postsTitlesLineHeight: calc(var(--postsTitlesFontSize) * 1.2);
- --postsTitlesFontSize: {select:Posts Titles Font Size};
- --postsTitlesFontWeight: {select:Posts Titles Font Weight};
- --postsTitlesFontLetterSpacing: {select:Posts Titles Font Letter Spacing};
- --postsTitlesTextTransform: {select:Posts Titles Text Transform};
- --postsTitlesFontStyle: {select:Posts Titles Font Style};
- --postsTextPosition: {select:Posts Text Position};
- --postsTitlesTextPosition: {select:Posts Titles Text Position};
- /* -------------- THEME: borders, box shadow and others -------------- */
- --bordersStyle: {select:Borders Style};
- --bordersSize: {select:Borders Size};
- --boxShadowSize:{text:Box Shadow Size};
- --linkDecorationLine: {select:Link Decoration Line};
- --linkDecorationLineHover: {select:Link Decoration Line Hover};
- /* -------------- POSTS -------------- */
- --postFixWidth: 1px;
- --themeContainerSize: {text:Theme Container Size};
- --postWidth: {select:Post Width};
- --postsBetweenMargin: {text:Posts Between Margin};
- --postsSidebarPadding:{text:Posts and Sidebar Padding};
- --sidebarPostsSpacingGap:{text:Sidebar Posts Spacing Gap};
- --sidebarPostsSpacingBetween:{text:Sidebar Posts Spacing Between};
- --postDetailFontSize:{select:Post Detail Font Size};
- --postDetailFontLetterSpacing: {select:Post Detail Font Letter Spacing};
- --postDetailFontWeight:{select:Post Detail Font Weight};
- --postDetailTextTransform:{select:Post Detail Text Transform};
- --postDetailFontStyle:{select:Post Detail Font Style};
- --tagsFontSize:{select:Tags Font Size};
- --tagsFontLetterSpacing: {select:Tags Font Letter Spacing};
- --tagsFontWeight:{select:Tags Font Weight};
- --tagsTextTransform:{select:Tags Text Transform};
- --tagsFontStyle:{select:Tags Font Style};
- --tagsTextPosition: {select:Tags Text Position};
- /* -------------- SIDEBAR -------------- */
- --sidebarContentPosition: {select:Sidebar Position};
- --sidebarLinkFontSize: {select:Sidebar Link Font Size};
- --sidebarLinkFontLetterSpacing: {select:Sidebar Link Font Letter Spacing};
- --sidebarLinkFontWeight: {select:Sidebar Link Font Weight};
- --sidebarLinkTextTransform: {select:Sidebar Link Text Transform};
- --sidebarLinkFontStyle: {select:Sidebar Link Font Style};
- --sidebarLinkTextPosition: {select:Sidebar Link Text Position};
- --sidebarLinkLineHeight: calc(var(--sidebarLinkFontSize) * 1.3);
- /* -------------- OTHERS -------------- */
- --transitions: all .3s ease;
- }
- /* RESOURCES: dark mode / by: mournstera.tumblr.com/post/724742111455592448 */
- :root, html[data-theme='light'] {
- --LightOn: block;
- --LightOff: none;
- --backgroundThemeColor: {color:Background Theme Color};
- --bodyLinkColor: {color:Body Link Color};
- --bodyTextColor: {color:Body Text Color};
- --bodyLinkHoverColor: {color:Body Link Hover Color};
- --hoverTextBackgroundColor: {color:Hover Text Background Color};
- --hoverTextColor: {color:Hover Text Color};
- --bordersColor: {color:Borders Color};
- --postDetailLinkColor:{color:Post Detail Link Color};
- --postDetailTextColor: {color:Post Detail Text Color};
- --boxShadowColor:{text:Box Shadow Color};
- --postsBackgroundColor: {color:Posts Background Color};
- }
- html[data-theme='dark'] {
- --LightOn: none;
- --LightOff: block;
- --backgroundThemeColor: {color:Dark Background Theme Color};
- --bodyLinkColor: {color:Dark Body Link Color};
- --bodyTextColor: {color:Dark Body Text Color};
- --bodyLinkHoverColor: {color:Dark Body Link Hover Color};
- --hoverTextBackgroundColor: {color:Dark Hover Text Background Color};
- --hoverTextColor: {color:Dark Hover Text Color};
- --bordersColor: {color:Dark Borders Color};
- --postDetailLinkColor:{color:Dark Post Detail Link Color};
- --postDetailTextColor: {color:Dark Post Detail Text Color};
- --boxShadowColor:{text:Dark Box Shadow Color};
- --postsBackgroundColor: {color:Dark Posts Background Color};
- }
- html.theme-transition,
- html.theme-transition *,
- html.theme-transition *:before,
- html.theme-transition *:after {
- transition: 0s !important;
- transition-delay: 0 !important;
- }
- *,
- *:before,
- *:after {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- /* RESOURCES: dark mode / by: mournstera.tumblr.com/post/724742111455592448 */
- .light-on {
- display: var(--LightOn);
- }
- .light-off {
- display: var(--LightOff);
- }
- button.theme-toggle {
- outline: none;
- border: 0;
- padding: 0;
- background: transparent;
- cursor: pointer;
- text-decoration: none;
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- button.theme-toggle span svg {
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- stroke: var(--bodyLinkColor);
- }
- html {
- font-size: 62.5%;
- }
- body {
- background:var(--backgroundThemeColor) url({image:Background Image});
- background-color:var(--backgroundThemeColor);
- color: var(--bodyTextColor);
- font-family: var(--bodyFontFamily), Arial, sans-serif;
- font-size:var(--bodyFontSize);
- font-weight: var(--bodyFontWeight);
- letter-spacing: var(--bodyFontLetterSpacing);
- line-height:var(--postsLineHeight);
- {block:ifEnableFontSmoothing}
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- {/block:ifEnableFontSmoothing}
- }
- a {
- color: var(--bodyLinkColor);
- }
- {block:IfLinksUnderlineBorder}
- .sidebar-navigation ul li a,
- .sidebar-description a,
- .sidebar-pagination .pagination a,
- .post .reblog-list .reblog-body a,
- .post .reblog-list .reblog-header a,
- .post.info-date .info a,
- .answer-question .answer-user a {
- text-decoration: var(--linkDecorationLine);
- text-decoration-color: var(--bodyLinkColor);
- text-decoration-thickness: 0.1rem;
- text-decoration-skip-ink: none;
- text-underline-offset: 0.2rem;
- transition: var(--transitions);
- }
- {/block:IfLinksUnderlineBorder}
- a:hover,
- .sidebar-navigation ul li a:hover,
- .sidebar-description a:hover,
- .sidebar-pagination .pagination a:hover,
- .post .reblog-list .reblog-body a:hover,
- .post .reblog-list .reblog-header a:hover,
- .post.info-date .info a:hover,
- .post.tags a:hover,
- .answer-question .answer-user a:hover {
- color: var(--bodyLinkHoverColor);
- text-decoration-color: var(--bodyLinkHoverColor);
- text-decoration: var(--linkDecorationLineHover);
- text-decoration-thickness: 0.1rem;
- }
- strong, bold, b {
- font-weight: var(--boldFontWeight);
- }
- p:first-child {
- margin-block-start: 0;
- margin-block-end: 0;
- }
- p:last-child {
- margin-block-end: 0;
- }
- p:not(:last-child) {
- margin-bottom: var(--postsParagraphBetween);
- }
- pre {
- word-wrap:break-word!Important;
- white-space: pre-wrap;
- }
- h1, h2, h3, h4, h5, h6 {
- padding: 1rem 0 0.5rem;
- margin: 0;
- font-family:var(--postsTitleFontFamily);
- font-style:var(--postsTitlesFontStyle);
- font-weight:var(--postsTitlesFontWeight);
- letter-spacing: var(--postsTitlesFontLetterSpacing);
- color:var(--postDetailTextColor);
- text-transform:var(--postsTitlesTextTransform);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTitlesTextPosition);
- line-height:var(--postsTitlesLineHeight);
- }
- ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* lists style for posts */
- .reblog-body ul,
- .reblog-body ol {
- margin:1rem 0;
- padding: 0;
- list-style:none;
- }
- .reblog-body ul li {
- margin:0rem 1rem;
- list-style:none;
- }
- .reblog-body ul li::before {
- content: 'â˜';
- font-size: calc(var(--bodyFontSize) - 40%);
- margin-right: 0.8rem;
- display:inline-block;
- vertical-align:middle;
- color: var(--bodyLinkColor);
- }
- .reblog-body ol {
- padding: 0 2.5rem;
- }
- .reblog-body ol li {
- list-style-type: decimal;
- }
- hr {
- width:10rem;
- margin:1rem 0 1rem 0;
- border-width: var(--bordersSize) 0px 0px 0px;
- border-style: var(--bordersStyle);
- border-color: var(--bordersColor);
- }
- img {
- max-width:100%;
- height:auto;
- display:block;
- margin: 0;
- padding: 0;
- transition:var(--transitions);
- {block:ifImagesBlackandWhite}
- -webkit-filter: grayscale(100%);
- filter: grayscale(100%);
- {/block:ifImagesBlackandWhite}
- }
- img:hover,
- .posts-wrapper:hover img,
- .sidebar-content:hover img {
- opacity:1;
- -webkit-filter: grayscale(0%);
- filter: grayscale(0%);
- }
- ::-moz-selection {
- background-color: var(--bodyTextColor);
- color:var(--postsBackgroundColor);
- }
- ::selection {
- background-color: var(--bodyTextColor);
- color:var(--postsBackgroundColor);
- }
- /* -------------- DETAILS -------------- */
- /* RESOURCES: tippy tooltip / by: eossa.studio/post/190447242880 */
- .tippy-tooltip.custom-theme {
- text-align:center;
- font-size:var(--bodyFontSize);
- font-weight:var(--boldFontWeight);
- color:var(--hoverTextColor);
- background-color:var(--hoverTextBackgroundColor);
- transition:var(--transitions);
- {block:ifShowBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifShowBoxShadow}
- }
- .separator-detail {
- width: 0.3rem;
- height: 0.3rem;
- border-radius: 50%;
- display: inline-block;
- vertical-align: middle;
- /*background-color: var(--bodyLinkColor);*/
- border:1px solid var(--bodyLinkColor);
- }
- .icon {
- width: var(--bodyFontSize);
- height: var(--bodyFontSize);
- }
- .clearfix::before, .clearfix::after{
- content:'';
- clear:both;
- display:table;
- }
- /* -------------- MAIN CONTAINER -------------- */
- .theme-container {
- width: 100%;
- max-width: var(--themeContainerSize);
- display: grid;
- grid-template-columns: calc(26.8rem + var(--postsSidebarPadding) + var(--postsSidebarPadding) + var(--bordersSize)) auto;
- grid-template-rows:1fr;
- grid-template-areas:
- "sidebar posts";
- gap: var(--sidebarPostsSpacingGap);
- margin: 5rem auto;
- justify-content: var(--themeContentPosition);
- {block:ifRightSidebarPosition}
- grid-template-columns: auto 27rem;
- grid-template-areas:
- "posts sidebar";
- {/block:ifRightSidebarPosition}
- }
- /* -------------- SIDEBAR -------------- */
- .sidebar-container {
- width: calc(26.8rem + var(--postsSidebarPadding) + var(--postsSidebarPadding) + var(--bordersSize));
- color:var(--bodyTextColor);
- height: 100vh;
- display: flex;
- align-items: var(--sidebarContentPosition);
- margin: 0 0 0 var(--sidebarPostsSpacingBetween);
- {block:ifRightSidebarPosition}
- margin: 0 0 0 0;
- {/block:ifRightSidebarPosition}
- grid-area: sidebar;
- }
- .sidebar-content_wrapper {
- position: fixed;
- width: calc(26.8rem + var(--postsSidebarPadding) + var(--postsSidebarPadding) + var(--bordersSize));
- background-color:var(--postsBackgroundColor);
- padding: var(--postsSidebarPadding);
- {block:ifShowBorders}
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifShowBorders}
- {block:ifShowBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifShowBoxShadow}
- }
- .sidebar-title {
- margin: 0.5rem 0 1rem;
- font-family:var(--postsTitleFontFamily);
- font-style:var(--postsTitlesFontStyle);
- font-weight:var(--postsTitlesFontWeight);
- letter-spacing: var(--postsTitlesFontLetterSpacing);
- color:var(--postDetailTextColor);
- text-transform:var(--postsTitlesTextTransform);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTitlesTextPosition);
- line-height:var(--postsTitlesLineHeight);
- }
- .sidebar-navigation {
- position: relative;
- font-size:var(--sidebarLinkFontSize);
- font-style:var(--sidebarLinkFontStyle);
- font-weight:var(--sidebarLinkFontWeight);
- letter-spacing: var(--sidebarLinkFontLetterSpacing);
- line-height: var(--sidebarLinkLineHeight);
- text-transform:var(--sidebarLinkTextTransform);
- text-align:var(--sidebarLinkTextPosition);
- }
- .sidebar-description, .sidebar-navigation {
- margin: 1rem 0;
- }
- .sidebar-navigation ul {
- display:flex;
- align-items: center;
- width:100%;
- gap: 0 0.8rem;
- flex-wrap: wrap;
- }
- .sidebar-pagination,
- .sidebar-pagination .pagination {
- position: relative;
- display: flex;
- gap: 1rem;
- justify-content: space-between;
- }
- .sidebar-pagination {
- text-decoration: none;
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- .sidebar-search {
- width: 100%;
- box-sizing: border-box;
- margin: 0.5rem 0;
- padding: 0 1rem 0 0;
- flex: 1;
- }
- .sidebar-search input {
- width: 100%;
- background-color: inherit;
- color: inherit;
- border: none;
- }
- .sidebar-search input:placeholder {
- font-size: inherit;
- font-style: inherit;
- font-weight: inherit;
- letter-spacing: inherit;
- text-transform: inherit;
- color: inherit;
- }
- .sidebar-search input::focus {
- border:none;
- outline:none;
- color: inherit;
- }
- /* -------------- POSTS -------------- */
- .search-results {
- margin-bottom: 2rem;
- padding: var(--postsSidebarPadding);
- background-color:var(--postsBackgroundColor);
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- .posts-container {
- grid-area: posts;
- display: flex;
- align-items: center;
- flex-direction: column;
- }
- .posts-wrapper,
- .search-results_wrapper {
- padding: var(--postsSidebarPadding);
- background-color:var(--postsBackgroundColor);
- {block:ifShowBorders}
- outline:var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- {/block:ifShowBorders}
- {block:ifShowBoxShadow}
- -webkit-box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- box-shadow: var(--boxShadowSize) rgba(var(--boxShadowColor));
- {/block:ifShowBoxShadow}
- }
- .posts-wrapper:not(:last-of-type) {
- margin-bottom: var(--postsBetweenMargin);
- text-align:var(--postsTextPosition);
- }
- .post,
- .search-results_wrapper {
- width: calc(var(--postWidth));
- height: auto;
- }
- /* RESOURCES: photoset css / by: annasthms.github.io/photosets */
- .photoset-grid {
- width:100%;
- max-width: var(--postWidth);
- grid-gap: {select:Photoset Gutter};
- margin: 0 auto;
- }
- .post.info-date {
- display: inline-flex;
- margin-top: 1.4rem;
- flex-direction: column;
- gap: 0.6rem;
- padding: 1rem;
- }
- .post.info-date .info {
- display: inline-flex;
- width: 100%;
- justify-content: space-between;
- color:var(--postDetailTextColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- .post.info-date .info a {
- color:var(--postDetailLinkColor);
- }
- .post.info-date .info .date, .reblogged {
- display: inline-flex;
- align-items: center;
- gap: 1rem;
- }
- .post.tags {
- display: inline-block;
- width: 100%;
- }
- .post.tags a {
- text-decoration: none;
- color:var(--tagsLinkColor);
- text-align: var(--tagsTextPosition);
- text-transform: var(--tagsTextTransform);
- font-style:var(--tagsFontStyle);
- font-size:var(--tagsFontSize);
- letter-spacing: var(--tagsFontLetterSpacing);
- font-weight:var(--tagsFontWeight);
- line-height:var(--tagsLineHeight);
- }
- .post.tags a:not(:last-child) {
- margin-right: 1rem;
- }
- .answer-question {
- padding-bottom: 1rem;
- border-bottom :var(--bordersSize) var(--bordersStyle) var(--bordersColor);
- }
- .question {
- position: relative;
- }
- .question p {
- margin: 0 0 0.4rem;
- }
- .answer .feather {
- width:var(--bodyFontSize);
- height:var(--bodyFontSize);
- stroke:var(--bodyLinkColor);
- display:inline-block;
- vertical-align: middle;
- margin-right: 10px;
- float:left;
- margin-top: 2px;
- }
- .answer-user {
- text-decoration: none;
- display: block;
- padding-bottom: 0.7rem;
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- .answer-user a {
- color:var(--bodyLinkColor);
- font-weight:var(--boldFontWeight);
- }
- .answer-user a:hover {
- color:var(--bodyLinkHoverColor);
- }
- /* RESOURCES: spotify e iframe / by: mournstera.tumblr.com/post/738991321693487104 */
- .posts iframe:not(iframe.bandcamp_audio_player,
- .spotify_audio_player,
- iframe.soundcloud_audio_player,
- iframe.tumblr_audio_player) {
- max-width: 100%;
- aspect-ratio: 16/9;
- height: auto;
- }
- iframe.soundcloud_audio_player,
- .tumblr_video_container {
- width: 100%!important;
- height: auto!important;
- }
- figure iframe.spotify_audio_player,
- iframe.spotify_audio_player {
- max-height: 90px;
- width: 100%;
- }
- .posts iframe[src*='soundcloud'] {
- max-height: 130px;
- width: 100%;
- }
- figure iframe.bandcamp_audio_player {
- max-height: 120px;
- width: 100%;
- }
- iframe.tumblr_audio_player {
- max-height: 85px;
- width: 100%;
- }
- /* RESOURCES: like text / by: shythemes.tumblr.com/post/154249052918 */
- .post-date_like {
- position:relative;
- display:inline-block;
- padding: 0 1px;
- }
- .post-date_like .like_button iframe {
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- z-index:2;
- opacity:0;
- visibility: hidden;
- }
- .post-date_like .liked + .post-date_time-likeb {
- color: var(--likedLinkColor);
- font-weight:var(--boldFontWeight);
- }
- .post-date_like .liked + .post-date_time-likeb:after {
- content:'d';
- }
- .post-date_like a:hover, .toggle-tags:hover {
- color:var(--bodyLinkHoverColor);
- transition:var(--transitions);
- }
- .notes {
- float: left;
- margin: 30px -10px;
- padding:10px;
- background-color:{color:Posts Background};
- }
- .notes ol, .notes-bottom ul {
- margin: 5px;
- padding: 0;
- list-style: none;
- }
- .notes li:not(:last-of-type) {
- width:45%;
- letter-spacing:{text:Body Font Letter Spacing};
- padding: 2px 0 5px 10px;
- margin:2px;
- font-size: {select:Body Font Size};
- font-family: {select:Body Font};
- float:left;
- text-align:center;
- }
- .notes li img.avatar {
- border:none;
- margin:;
- width:0;
- padding:0;
- }
- .notes .note .action {
- }
- .notes .note .retags {
- display:none;
- visibility:hidden;
- }
- .notes blockquote {
- display:none;
- }
- .more_notes_link {
- list-style: none;
- margin-top:10px;
- padding:3px;
- position:relative;
- float:left;
- text-decoration: none;
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- /* -------------- CAPTIONS -------------- */
- .reblog-list {
- margin-top: 1rem;
- }
- .reblog-list .reblog-header {
- display: inline-flex;
- align-items: center;
- gap: 1rem;
- padding: 1rem;
- }
- .reblog-list .reblog-header .reblog-img {
- width: 2.4rem;
- height: 2.4rem;
- border-radius: 0.4rem;
- }
- .reblog-list .reblog-header a {
- text-decoration: none;
- color:var(--postDetailLinkColor);
- font-style:var(--postDetailFontStyle);
- font-size:var(--postDetailFontSize);
- text-transform: var(--postDetailTextTransform);
- letter-spacing: var(--postDetailFontLetterSpacing);
- font-weight:var(--postDetailFontWeight);
- line-height:var(--postDetailLineHeight);
- font-family: var(--postDetailFontFamily), Arial, sans-serif;
- }
- .reblog-list .reblog-body {
- padding: 0 1rem 1rem;
- }
- .reblog-list .reblog-body p {
- line-height:var(--postsLineHeight);
- }
- .reblog-list .reblog-body:not(:last-of-type) {
- margin-bottom: 1.4rem;
- }
- </style>
- </head>
- <body>
- <div class="theme-container">
- <aside class="sidebar-container">
- <div class="sidebar-content_wrapper">
- {block:ifSidebarImage}
- <div class="sidebar-image">
- <img src="https://static.tumblr.com/0siu224/B3wr52f96/7.gif" />
- </div>
- {/block:ifSidebarImage}
- {block:ifSidebarTitle}
- <h2 class="sidebar-title">
- {Title}
- </h2>
- {/block:ifSidebarTitle}
- <nav class="sidebar-navigation">
- <ul>
- <li>
- <a href="{text:Home URL}">
- {text:Home Text}
- </a>
- </li>
- <li>
- <a href="{text:Ask URL}">
- {text:Ask Text}
- </a>
- </li>
- {block:ifSidebarLink1}
- <li>
- <a href="{text:Sidebar Link 1 URL}">
- {text:Sidebar Link 1 Text}
- </a>
- </li>
- {/block:ifSidebarLink1}
- {block:ifSidebarLink2}
- <li>
- <a href="{text:Sidebar Link 2 URL}">
- {text:Sidebar Link 2 Text}
- </a>
- </li>
- {/block:ifSidebarLink2}
- {block:ifSidebarLink3}
- <li>
- <a href="{text:Sidebar Link 3 URL}">
- {text:Sidebar Link 3 Text}
- </a>
- </li>
- {/block:ifSidebarLink3}
- {block:ifSidebarLink4}
- <li>
- <a href="{text:Sidebar Link 4 URL}">
- {text:Sidebar Link 4 Text}
- </a>
- </li>
- {/block:ifSidebarLink4}
- </ul>
- </nav>
- {block:ifSidebarDescription}
- <div class="sidebar-description">
- <strong>luciane. 30. she/her.</strong> i don't come here often these days cause i'm in a forever semi-hiatus, but enjoy this mess.
- </div>
- {/block:ifSidebarDescription}
- <div class="sidebar-pagination">
- <div class="pagination">
- {block:PreviousPage}<a href="{PreviousPage}">{lang:Previous page}</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">{lang:Next page}</a>{/block:NextPage}
- </div>
- <button class="theme-toggle" aria-label="toggle dark or light mode" type="button">
- <span class="light-on" title="Change to Dark Theme">
- <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>
- </span>
- <span class="light-off" title="Change to Light Theme">
- <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>
- </span>
- </button>
- </div>
- <!--<div class="sidebar-search-input">-->
- <!-- <form action="/search" method="get" id="search" class="search sidebar-search">-->
- <!-- <input type="text" name="input-search" value="{SearchQuery}" placeholder="{lang:Search}" />-->
- <!-- </form>-->
- <!--</div>-->
- </div>
- </aside>
- <main class="posts-container">
- <section class="search-results">
- {block:SearchPage}
- <div class="search-results_wrapper">
- {block:SearchResults}
- <p class="search-results_item">{lang:Search results for SearchQuery 2}</p>
- {/block:SearchResults}
- {block:NoSearchResults}
- <p class="search-results_item">{lang:Sorry no results for SearchQuery 2}</p>
- {/block:NoSearchResults}
- </div>
- {/block:SearchPage}
- {block:TagPage}
- <div class="search-results_wrapper">
- <p class="search-results_item">{lang:Showing TagResultCount posts tagged Tag 2}</p>
- </div>
- {/block:TagPage}
- </section>
- {block:posts inlineMediaWidth="1280" inlineNestedMediaWidth="1280"}
- <!-- post article -->
- <article class="posts posts-wrapper">
- <!-- post content -->
- <div class="post {PostType}" post-type="{PostType}" id="post-{PostID}">
- <!--NPF & Legacy Text Posts-->
- {block:Text}
- {block:Title}
- <h3><a href="{Permalink}">{Title}</a></h3>
- {/block:Title}
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Body}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Text}
- <!--All Answer posts including NPF-->
- {block:Answer}
- <div class="answer-question">
- <i data-feather="message-circle" class="icon feather"></i>
- <span class="answer-user">
- {lang:Asked by Asker 2}
- </span>
- <span class="clearfix"></span>
- <i data-feather="mail" class="icon feather"></i>
- <span class="question">
- {Question}
- </span>
- </div>
- {block:Answerer}
- <div class="reblog-list">
- <div class="reblog-body">
- {Answer}
- </div>
- </div>
- {/block:Answerer}
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Replies}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Answer}
- <!--Legacy Photo Posts-->
- {block:Photo}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Caption}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Photo}
- <!--Legacy Photoset Posts-->
- {block:Photoset}
- <!-- RESOURCES: photoset css / by: annasthms.github.io/photosets -->
- <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>
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Caption}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Photoset}
- <!--Legacy Quote Posts-->
- {block:Quote}
- "{Quote}"
- {block:Source}
- <div class="source">{Source}</div>
- {/block:Source}
- {/block:Quote}
- <!--Legacy Link Posts-->
- {block:Link}
- <a href="{URL}" class="link" {Target}>{Name}</a>
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Description}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Link}
- <!--Legacy Chat Posts-->
- {block:Chat}
- {block:Title}
- <h3><a href="{Permalink}">{Title}</a></h3>
- {/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="{Alt} user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}{Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- <!--Legacy Video Posts-->
- {block:Video}
- {Video-700}
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Description}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Video}
- <!--Legacy Audio Posts-->
- {block:Audio}
- {AudioEmbed}
- <!--Original Post-->
- {block:NotReblog}
- <div class="reblog-list">
- <div class="reblog-body">
- {Description}
- </div>
- </div>
- {/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header source-head">
- <img src="{PortraitURL-64}" class="reblog-img" alt="{Username}'s avatar">
- {block:IsActive}
- <a href="{Permalink}">{Username}</a>
- {/block:IsActive}
- {block:IsDeactivated}
- <span>{Username}</span>
- {/block:IsDeactivated}
- </div>
- <div class="reblog-body">{Body}</div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Audio}
- </div>
- <!-- post-content end -->
- {block:Date}
- <article class="post info-date">
- <div class="info">
- <div class="date">
- <a href="{Permalink}" class="date-time" title="{timeago}">{ShortMonth} {DayOfMonth}{DayOfMonthSuffix}</a>
- {block:NoteCount}
- <span title="{NoteCountWithLabel}">{NoteCount}</span>
- {/block:NoteCount}
- </div>
- <div class="reblogged">
- <a class="post-date_like" href="#" title="Like">
- {LikeButton}<span class="post-date_time-likeb">like</span>
- </a>
- <a target="_blank" href="{ReblogURL}" target="_blank" title="Reblog">reblog</a>
- {block:Permalink}
- {block:RebloggedFrom}
- <a target="_blank" href="{ReblogParentURL}" title="{lang:Reblogged from} {ReblogParentName}">{ReblogParentName}</a>
- <i data-feather="corner-up-right" class="date-icon icon"></i>
- <a target="_blank" href="{ReblogRootURL}" title="{lang:Originally from ReblogRootName}">{ReblogRootName}</a>
- {/block:RebloggedFrom}
- {/block:Permalink}
- </div>
- </div>
- {block:HasTags}
- <ul class="post tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </ul>
- {/block:HasTags}
- </article>
- {/block:Date}
- </article>
- {block:PostNotes}
- <div class="post notes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:Posts}
- </div>
- </div>
- <!-- RESOURCES: smoothscroll / by: https://github.com/gblazex/smoothscroll-for-websites michael herf, balazs galambosi -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.5.1/SmoothScroll.min.js"></script>
- <!-- RESOURCES: feather icons / by: github.com/feathericons/feather -->
- <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
- <!-- RESOURCES: tippy tooltip / by: eossa.studio/post/190447242880 -->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <script>
- // RESOURCES: dark mode / by: mournstera.tumblr.com/post/724742111455592448
- const themeToggleButtons = document.querySelectorAll(".theme-toggle");
- themeToggleButtons.forEach((btn) => {
- btn.addEventListener("click", function () {
- // Add theme-transition class for smooth transitions
- document.documentElement.classList.add("theme-transition");
- // Retrieve the current theme and determine the target theme
- let currentTheme = document.documentElement.getAttribute("data-theme");
- let targetTheme = (currentTheme === "light") ? "dark" : "light";
- // Remove theme-transition class after a short delay
- window.setTimeout(function () {
- document.documentElement.classList.remove("theme-transition");
- }, 50);
- // Set the data-theme attribute and store in local storage
- document.documentElement.setAttribute("data-theme", targetTheme);
- localStorage.setItem("theme", targetTheme);
- });
- });
- // RESOURCES: css photoset - by: annasthms.github.io/photosets
- 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);
- }
- // RESOURCES: remove empty p tags - by: github.com/flipsewtf/Tumblr-basecode/blob/main/jquery-free-basecode.html
- // for (const p of document.querySelectorAll('p')) {
- // if (p.innerHTML.trim() === '') {
- // p.remove()
- // }
- // }
- // RESOURCES: feather icons - by: github.com/feathericons/feather
- feather.replace();
- // RESOURCES: tippy tooltip - by: eossa.studio/post/190447242880
- tippy('a[title], span[title], div[title], i[title]', {
- theme: 'custom',
- arrow: false,
- zIndex: 9999999999,
- maxWidth: 300,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment