Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- {block:Hidden}
- <!-- -------------- THEME: customizations -------------- -->
- <meta name="text:Body Font Family" content="Inter" />
- <meta name="text:Posts Title Font Family" content="Nunito" />
- <!-- -------------- THEME: colors -------------- -->
- <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:Borders Color" content="#ececec" />
- <meta name="color:Posts Background Color" content="#ffffff" />
- <!-- -------------- 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" />
- <!-- -------------- 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" />
- <!-- -------------- 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="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">
- <!-- -------------- 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" />
- <!-- -------------- 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" />
- <!-- -------------- 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" />
- <!-- SIDEBAR: colors -->
- <meta name="color:Sidebar Background Color" content="#ffffff">
- <!-- -------------- SIDEBAR: position -------------- -->
- <meta name="select:Sidebar Position" content="center" title="center">
- <meta name="select:Sidebar Position" content="flex-start" title="top">
- <!-- -------------- SIDEBAR: size, padding, margin -------------- -->
- <meta name="text:Sidebar Posts Spacing Gap" content="22rem" />
- <meta name="text:Sidebar Posts Spacing Between" content="0rem" />
- <!-- -------------- 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" />
- <!-- -------------- 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" />
- <!-- -------------- 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: photosets.css (html/css/js)
- - by: annasthms.github.io/photosets
- -->
- <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" />
- <style>
- :root {
- /* -------------- THEME: fonts -------------- */
- --bodyFontFamily: {text:Body Font Family};
- --postsTitleFontFamily: {text:Posts Title Font Family};
- --bodyFontSize: {select:Body Font Size};
- --bodyFontLetterSpacing: {select:Body Font Letter Spacing};
- --bodyFontWeight: {select:Body Font Weight};
- --boldFontWeight: {select:Bold Font Weight};
- --poststLineHeight: calc(var(--bodyFontSize) * 1.4);
- --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: colors -------------- */
- --bodyLinkColor: {color:Body Link Color};
- --bodyTextColor: {color:Body Text Color};
- --bodyLinkHoverColor: {color:Body Link Hover Color};
- --bordersColor: {color:Borders Color};
- /* -------------- THEME: borders and box shadow -------------- */
- --bordersStyle: {select:Borders Style};
- --bordersSize: {select:Borders Size};
- --boxShadowSize:{text:Box Shadow Size};
- --boxShadowColor:{text:Box Shadow Color};
- /* -------------- 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};
- --postsBackgroundColor: {color:Posts Background Color};
- /* -------------- SIDEBAR -------------- */
- --sidebarContentPosition: {select:Sidebar Position};
- --sidebarBackgroundColor: {color:Sidebar Background Color};
- --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;
- }
- * {
- margin: 0;
- padding: 0;
- }
- html {
- font-size: 62.5%;
- }
- body {
- font-family: var(--bodyFontFamily), Arial, sans-serif;
- font-size:var(--bodyFontSize);
- font-weight: var(--bodyFontWeight);
- letter-spacing: var(--bodyFontLetterSpacing);
- line-height:var(--poststLineHeight);
- {block:ifEnableFontSmoothing}
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- {/block:ifEnableFontSmoothing}
- }
- a {
- text-decoration:underline;
- color:var(--bodyLinkColor);
- transition:var(--transitions);
- }
- a:hover {
- color:var(--bodyLinkHoverColor);
- }
- 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;
- }
- 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);
- word-spacing: var(--postsTitlesFontWordSpacing);
- color:var(--bodyTextColor);
- text-transform:var(--postsTitlesTextTransform);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTitlesTextPosition);
- line-height:var(--postsTitlesLineHeight);
- }
- ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- /* -------------- TODO: STYLE -------------- */
- ol li {
- }
- 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);
- }
- /* -------------- 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));
- 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: 26.8rem;
- 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);
- word-spacing: var(--postsTitlesFontWordSpacing);
- color:var(--bodyTextColor);
- text-transform:var(--postsTitlesTextTransform);
- font-size:var(--postsTitlesFontSize);
- text-align:var(--postsTitlesTextPosition);
- line-height:var(--postsTitlesLineHeight);
- }
- .sidebar-navigation {
- 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;
- li a {
- color: var(--sidebarLinkColor);
- }
- }
- }
- .sidebar-search {
- width: 100%;
- box-sizing: border-box;
- margin: 0.5rem 0;
- padding: 0 1rem 0 0;
- flex: 1;
- input {
- width: 100%;
- background-color: inherit;
- color: inherit;
- border: none;
- &:placeholder {
- font-size: inherit;
- font-style: inherit;
- font-weight: inherit;
- letter-spacing: inherit;
- text-transform: inherit;
- color: inherit;
- }
- &:focus {
- border:none;
- outline:none;
- color: inherit;
- }
- }
- }
- /* -------------- POSTS -------------- */
- .posts-container {
- grid-area: posts;
- display: flex;
- align-items: center;
- flex-direction: column;
- }
- .posts-wrapper {
- 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}
- &:not(:last-of-type) {
- margin-bottom: var(--postsBetweenMargin);
- text-align:var(--postsTextPosition);
- }
- }
- .post {
- background-color:var(--postsBackgroundColor);
- width: calc(var(--postWidth));
- height: auto;
- &.date {
- margin-top: 1rem;
- }
- &.tags {
- display: inline-block;
- a {
- color:var(--bodyLinkColor);
- &:not(:last-child) {
- margin-right: 1rem;
- }
- }
- }
- }
- /* RESOURCES: npf posts
- - by: https://github.com/npf-images-v3/npf-images-v3.github.io
- */
- .npf_row {
- width: var(--postWidth);
- /*margin-left:0!important;*/
- /*margin-right:0!important;*/
- display:flex!important;
- align-items:stretch!important;
- gap: {select:Photoset Gutter}!important;
- };
- .npf_row {
- margin: 0!important;
- }
- .npf_col {
- padding-left: 0!important;
- padding-right: 0!important;
- }
- [post-type="text"] .npf_col img {
- height:100%!important;
- }
- .tmblr-full {
- margin:0!important;
- padding-bottom:0!important;
- }
- .post {
- .reblog-list {
- .reblog-header {
- margin-bottom: 0.5rem;
- &:not(:first-child) {
- margin-top: 1rem;
- }
- }
- .reblog-body {
- display: flex;
- flex-direction: column;
- gap: {select:Photoset Gutter};
- .npf_row {
- margin: 0!important;
- }
- .npf_col {
- padding-left: 0!important;
- padding-right: 0!important;
- }
- }
- }
- }
- .post .reblog-list .reblog-body img {
- display: block;
- height: 100%;
- /*width: 100%; TODO: AFETA POSTS GIFS RP EXEMPLO*/
- -o-object-fit: cover;
- object-fit: cover;
- }
- /* RESOURCES: photosets.css (html/css/js)
- - by: annasthms.github.io/photosets
- */
- [photoset-layout] {
- grid-gap: {select:Photoset Gutter};
- }
- [photoset-layout] img {
- display: block;
- height: 100%;
- width: 100%;
- -o-object-fit: cover;
- object-fit: cover;
- }
- .photoset-grid {
- max-width: 100%;
- width: var(--postWidth);
- grid-gap: {select:Photoset Gutter};
- }
- .photoset-grid div {
- cursor: pointer;
- }
- /* RESOURCES: like text
- - by: shythemes.tumblr.com/post/154249052918
- */
- .post-date_like {
- position:relative;
- display:inline-block;
- height:1em;
- /*line-height:1.5em;*/
- 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);
- }
- </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/Mevsp6abl/a__72_.gif" />
- </div>
- {/block:ifSidebarImage}
- {block:ifSidebarTitle}
- <div class="sidebar-title">
- <a href="{text:Home URL}" title="{text:Home Text}">
- {Title}
- </a>
- </div>
- {/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">
- {block:PreviousPage}<a href="{PreviousPage}">{lang:Previous page}</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">{lang:Next page}</a>{/block:NextPage}
- </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}
- <section class="posts-wrapper" id="{PostID}" post-type="{PostType}">
- <!--NPF & Legacy Text Posts-->
- {block:Text}
- <article class="post text">
- {block:Title}
- <h2><a href="{Permalink}">{Title}</a></h2>
- {/block:Title}
- <!--Original Post-->
- {block:NotReblog}
- {Body}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Text}
- <!--All Answer posts including NPF-->
- {block:Answer}
- <article class="post answer">
- <p><strong>{Asker}</strong> asked:</p>
- {Question}
- {block:Answerer}
- {Answer}
- {/block:Answerer}
- <!--Original Post-->
- {block:NotReblog}
- {Replies}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Answer}
- <!--Legacy Photo Posts-->
- {block:Photo}
- <article class="post photo">
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- <!--Original Post-->
- {block:NotReblog}
- {Caption}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Photo}
- <!-- RESOURCES: photosets.css (html/css/js)
- - by: annasthms.github.io/photosets
- -->
- {block:Photoset}
- <article class="post 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>
- <!--Original Post-->
- {block:NotReblog}
- {Caption}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-header">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Photoset}
- <!--Legacy Quote Posts-->
- {block:Quote}
- <article class="post quote">
- "{Quote}"
- {block:Source}
- <div class="source">{Source}</div>
- {/block:Source}
- </article>
- {/block:Quote}
- <!--Legacy Link Posts-->
- {block:Link}
- <article class="post link">
- <a href="{URL}" class="link" {Target}>{Name}</a>
- <!--Original Post-->
- {block:NotReblog}
- {Description}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Link}
- <!--Legacy Chat Posts-->
- {block:Chat}
- <article class="post 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>
- </article>
- {/block:Chat}
- <!--Legacy Video Posts-->
- {block:Video}
- <article class="post video">
- {Video-700}
- <!--Original Post-->
- {block:NotReblog}
- {Description}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Video}
- <!--Legacy Audio Posts-->
- {block:Audio}
- <article class="post audio">
- {AudioEmbed}
- <!--Original Post-->
- {block:NotReblog}
- {Description}
- {/block:NotReblog}
- <!--Post is a reblog-->
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-header">
- {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}
- </article>
- {/block:Audio}
- {block:Date}
- <article class="post date">
- <a href="{Permalink}" class="date-time" title="{timeago}">{timeago}</a>
- {block:NoteCount}
- {NoteCountWithLabel}
- {/block:NoteCount}
- <a class="post-date_like" href="#" title="Like this post">
- {LikeButton}<span class="post-date_time-likeb">like</span>
- </a>
- <a target="_blank" href="{ReblogURL}" target="_blank" title="Reblog">
- reblog
- </a>
- {block:HasTags}
- <ul class="post tags">
- {block:Tags}
- <a href="{TagURL}">{Tag}</a>
- {/block:Tags}
- </ul>
- {/block:HasTags}
- </article>
- {/block:Date}
- {block:PostNotes}
- <article class="post notes">
- {PostNotes}
- </article>
- {/block:PostNotes}
- </section>
- {/block:Posts}
- </div>
- </div>
- <script>
- // RESOURCES: photosets.css (html/css/js)
- // - 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);
- }
- document.addEventListener('DOMContentLoaded', function() {
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment