Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- BLOCKOUT THEME: A simple and functional theme
- AUTHOR: © SKYE TRICKSTER (Vincent)
- TUMBLR: @mxstball
- GITHUB: @skye-trickster
- VERSION: 2.1.0
- RELEASE DATE: 21 August 2024
- GET THE THEME: https://raw.githubusercontent.com/skye-trickster/tumblr-custom-theme/main/blockout.html
- TEXT ICON CREDIT: GOOGLE MATERIAL
- Credits:
- - NPF Format rendering based on eggdesign: https://npftemplate.tumblr.com/
- Please do not remove the credit.
- -->
- <html>
- <head>
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>{Title}</title>
- {block:Hidden}
- <!-- VARIABLES -->
- <!-- COLOR OPTIONS -->
- <meta name="color:Background" content="#111111">
- <meta name="color:Accent Color" content="#56bc8a">
- <meta name="color:Dark Accent Color" content="#0f2017">
- <meta name="color:Text Color" content="white">
- <meta name="color:Subtext Color" content="#808080">
- <meta name="color:Nav Color" content="#333333">
- <meta name="color:Content Color" content="#222222">
- <meta name="color:Avatar Border Color" content="white">
- <meta name="color:Blog Footer Color" content="black">
- <meta name="color:Side Background Color" content="#121212">
- <meta name="if:White Like and Reblog" content="1">
- <meta name="color:Main Border Color" content="white">
- <meta name="color:Search Background Color" content="white">
- <meta name="color:Search Text Color" content="black">
- <!-- FOOTER TRANSPARENCY -->
- <meta name="color:Post Footer Color" content="white">
- <meta name="select:Post Footer Transparency" content="0.05" title="5% (Default)">
- <meta name="select:Post Footer Transparency" content="0" title="0%">
- <meta name="select:Post Footer Transparency" content="0.1" title="10%">
- <meta name="select:Post Footer Transparency" content="0.25" title="25%">
- <meta name="select:Post Footer Transparency" content="0.5" title="50%">
- <meta name="select:Post Footer Transparency" content="0.75" title="75%">
- <meta name="select:Post Footer Transparency" content="0.9" title="90%">
- <meta name="select:Post Footer Transparency" content="1" title="100%">
- <!-- FONT SIZE -->
- <meta name="select:Font Size" content="15px" title="15px (Default)">
- <meta name="select:Font Size" content="14px" title="14px">
- <meta name="select:Font Size" content="16px" title="16px">
- <meta name="select:Font Size" content="18px" title="18px">
- <!-- POST SIZE -->
- <meta name="select:Post Size" content="650px" title="650px (Default)">
- <meta name="select:Post Size" content="500px" title="500px">
- <meta name="select:Post Size" content="600px" title="600px">
- <meta name="select:Post Size" content="700px" title="700px">
- <!-- SIDEBAR SIZE -->
- <meta name="select:Sidebar Size" content="350px" title="350px (Default)">
- <meta name="select:Sidebar Size" content="250px" title="250px">
- <meta name="select:Sidebar Size" content="300px" title="300px">
- <meta name="select:Sidebar Size" content="400px" title="400px">
- <!-- ADDITIONAL TEXT -->
- <meta name="if:Show Description" content="1">
- <meta name="if:Show Subtext" content="1">
- <meta name="text:Subtext" content="">
- <meta name="text:Custom Ask Label" content="Ask">
- <meta name="text:Custom Submit Label" content="Submit">
- <meta name="text:Page Icons" content="">
- <!-- POST VARIABLES -->
- <meta name="if:Sticky Post Headers" content="0">
- <meta name="if:Show Additional Photo Info" content="1">
- <meta name="font:Title" content="{TitleFont}">
- <meta name="font:Body" content="Helvetica Neue">
- <!-- SIDENAV VARIABLES -->
- <meta name="if:Show Sidebar" content="1">
- <meta name="text:Updates Title" content="Updates">
- <meta name="text:Updates Tag" content="Tag">
- <meta name="text:Updates Text" content="Feel free to use this to post updates!">
- <meta name="text:Guest Tag Title" content="Guest Tags">
- <meta name="text:Guest Tags" content="red, blue, leaf">
- <meta name="text:Main Tag Title" content="Main Tags">
- <meta name="text:Main Tags" content="venusaur, squirtle, charizard">
- <meta name="if:Copyright Years" content="1">
- <meta name="if:Filled Icons" content="1">
- <!-- CUSTOM LINKS -->
- <meta name="if:Open custom links in a new tab" content="1">
- <meta name="text:Link 1 Name" content="">
- <meta name="text:Link 1 URL" content="">
- <meta name="text:Link 1 Symbol" content="">
- <meta name="text:Link 2 Name" content="">
- <meta name="text:Link 2 URL" content="">
- <meta name="text:Link 2 Symbol" content="">
- <meta name="text:Link 3 Name" content="">
- <meta name="text:Link 3 URL" content="">
- <meta name="text:Link 3 Symbol" content="">
- <meta name="text:Link 4 Name" content="">
- <meta name="text:Link 4 URL" content="">
- <meta name="text:Link 4 Symbol" content="">
- <!-- VARIABLES -->
- {/block:Hidden}
- <link rel="shortcut icon" href="{Favicon}">
- {block:IfFilledIcons}
- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,1,0">
- {/block:IfFilledIcons}
- {block:IfNotFilledIcons}
- <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,0,0">
- {/block:IfNotFilledIcons}
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}
- <meta name="description" content="{MetaDescription}">
- {/block:Description}
- <style>
- /* GLOBAL VARIABLES */
- :root {
- --main-background-color: {color:Background};
- --accent-color: {color:Accent Color};
- --accent-color-dark: {color:Dark Accent Color};
- --main-text-color: {color:Text Color};
- --main-far-color: {color:Blog Footer Color};
- --side-bg-color: {color:Side Background Color};
- --subtext-color: {color:Subtext Color};
- --content-color: {color:Content Color};
- --font: {font:Body}, Arial, Helvetica, sans-serif;
- --title-font: {font:Title};
- --font-size: {select:Font Size};
- --extreme-margin: 30px;
- --large-margin: 20px;
- --mobile-margin: 15px;
- --standard-margin: 10px;
- --tip-x: calc(-1 * var(--standard-margin) - 5px);
- --tip-y: 10px;
- --small-margin: 5px;
- --tiny-margin: 3px;
- --nav-color: {color:Nav Color};
- --border-standard: 1px solid var(--border-color);
- --border-thick: 1px solid var(--border-desktop-color);
- --max-post-list-width: {select:Post Size};
- --search-background-color: {color:Search Background Color};
- --search-text-color: {color:Search Text Color};
- }
- :root {
- --border-color: rgba(255, 255, 255, 0.05);
- --border-color: rgba({RGBcolor:Main Border Color}, 0.05);
- --border-desktop-color: rgba(255, 255, 255, 0.2);
- --border-desktop-color: rgba({RGBcolor:Main Border Color}, 0.2);
- }
- body {
- --pushdown-amount: 0px;
- }
- body.tmblr-iframe-pushdown {
- --pushdown-amount: 54px;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- *:visited{
- color: inherit;
- }
- a {
- color: var(--accent-color);
- text-decoration: none;
- }
- a:hover { text-decoration: underline;}
- body {
- font-size: var(--font-size);
- line-height: 1.4;
- color: var(--main-text-color);
- background-color: var(--main-background-color);
- font-family: var(--font), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- }
- img {
- inline-size: 100%;
- }
- .flex {
- display: flex;
- flex-direction: column;
- }
- /* HEADING */
- #heading .title:hover { text-decoration: none;}
- #heading .title:link { color:var(--main-text-color); }
- #heading {
- background-color: var(--content-color);
- }
- #heading .information {
- text-align: center;
- background-color: var(--content-color);
- }
- #heading .header-image {
- display: flex;
- }
- #heading h1 {
- padding: var(--mobile-margin);
- font-size: 2.5rem;
- font-family: {font:Title};
- }
- {block:IfNotShowDescription}
- {block:IfNotShowSubtext}
- #heading .description {
- display: none;
- }
- {/block:IfNotShowSubtext}
- {/block:IfNotShowDescription}
- #heading .description {
- padding-inline: var(--mobile-margin);
- padding-block-start: var(--mobile-margin);
- max-width: 100%;
- text-align: start;
- }
- #heading .description a {
- color: var(--accent-color);
- }
- .writer {
- text-align: center;
- margin-block: var(--mobile-margin);
- display: flex;
- flex-direction: row;
- justify-content: center;
- column-gap: var(--small-margin);
- align-items: center;
- }
- .tumblr-controls-desktop {
- display: none;
- }
- /* NAVBAR */
- #heading .navigation {
- background-color: var(--nav-color);
- padding: var(--small-margin);
- border-block: var(--border-standard);
- }
- #heading .navigation ul {
- overflow: auto;
- white-space: nowrap;
- text-align: center;
- }
- #heading .navigation .material-symbols-outlined,
- .nav-left .no-icon {
- display: none;
- }
- #heading .navigation ul li {
- display: inline-block;
- list-style-type: none;
- }
- #heading .navigation a {
- padding: var(--mobile-margin);
- }
- /* Navigation and Footer */
- nav a {
- text-decoration: none;
- display: inline-block;
- inline-size: 100%;
- font-weight: 700;
- font-size: 1.1rem;
- color: var(--subtext-color);
- }
- nav a:hover {
- background-color: var(--accent-color-dark);
- text-decoration: none;
- color: var(--accent-color);
- transition: 0.5s;
- }
- nav a:visited {
- color: var(--subtext-color);
- }
- nav a:visited:hover {
- color: var(--accent-color);
- }
- /* Items with secondary color */
- .secondary {
- color: var(--subtext-color)
- }
- #menu:hover { cursor: pointer; }
- /* MAIN CONTENT: MOBILE */
- .post {
- background-color: var(--content-color);
- border-block-end: var(--border-thick);
- }
- .post img {
- inline-size: auto;
- max-inline-size: 100%;
- object-fit: contain;
- }
- .post header {
- padding: var(--mobile-margin);
- }
- .post header.sticky {
- position: sticky;
- top: var(--pushdown-amount);
- z-index: 20;
- background-color: var(--content-color);
- }
- .post header h1 {
- text-align: center;
- }
- .content blockquote {
- border-inline-start: var(--border-thick);
- border-block-end: var(--border-thick);
- border-radius: 0;
- border-end-start-radius: 0.5em;
- padding-inline: var(--large-margin);
- padding-block-end: var(--standard-margin);
- margin-block-end: var(--standard-margin);
- }
- .content br {
- margin: 0;
- }
- .post-info {
- color: var(--subtext-color);
- font-weight: 700;
- font-size: 0.8em;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .post-meta {
- display: flex;
- flex-direction: row;
- column-gap: var(--small-margin);
- align-items: center;
- }
- .post-info div, .post-info a {
- font-size: 1.1em;
- text-decoration: none;
- color: var(--subtext-color);
- }
- .post h1 {
- font-size: 1.9em;
- }
- .post h1 a {
- color: inherit;
- text-decoration: none;
- }
- .post .content {
- text-align: start;
- }
- .content a {
- color: var(--accent-color);
- }
- .content figure {
- border: none;
- line-height: 0;
- }
- .content figure.tmblr-full {
- text-align: center;
- }
- .content figure p {
- line-height: 1.4;
- }
- .content ol, .content ul {
- padding-inline-start: 40px;
- }
- .content ol li, .content ul li {
- margin-block-end: var(--standard-margin);
- }
- .post-body {
- padding: var(--mobile-margin);
- }
- .post-body > *,
- .asker-question > *,
- .answerer-answer > * {
- margin-block-end: var(--standard-margin);
- }
- .post-body > *:last-child,
- .asker-question > *:last-child,
- .answerer-answer > *:last-child {
- margin-block-end: 0;
- }
- .post-body h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
- font-weight: normal;
- }
- .post-body h1 a {
- color: var(--accent-color);
- }
- .post-body h1 a:hover {
- text-decoration: underline;
- }
- .post-body h1 a:visited {
- color: inherit;
- }
- .post-body ul, .post-body ol {
- /* To keep the original ordered list */
- padding-inline-start: 40px;
- }
- .reblog-item .post-body {
- padding-block: 0;
- }
- .post .post-source {
- border-block-start: var(--border-standard);
- justify-content: space-between;
- background-color: var(--border-color);
- padding: var(--small-margin);
- background-color: rgba(255, 255, 255, 0.1);
- background-color: rgba({RGBcolor:Post Footer Color}, {select:Post Footer Transparency});
- font-size: 0.9em;
- text-align: center;
- color: var(--subtext-color);
- }
- .post .post-source a, .post .post-source a:visited {
- color: var(--accent-color);
- }
- .post footer {
- border-block-start: var(--border-standard);
- display: flex;
- justify-content: space-between;
- background-color: var(--border-color);
- padding: var(--mobile-margin);
- flex-direction: column;
- background-color: rgba(255, 255, 255, 0.1);
- background-color: rgba({RGBcolor:Post Footer Color}, {select:Post Footer Transparency});
- }
- .post-tags {
- flex: 2;
- list-style: none;
- border-block-end: var(--border-thick);
- padding-block-end: var(--mobile-margin);
- margin-block-end: var(--mobile-margin);
- }
- .post-tags li {
- display: inline-block;
- margin-inline-end: var(--small-margin);
- }
- .post-tags li > a {
- color: var(--subtext-color);
- }
- .post-tags li > a:hover {
- text-decoration: none;
- color: var(--accent-color);
- transition: 0.5s;
- }
- .post-controls {
- flex: 1;
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- }
- /* NOTE INFORMATIOIN */
- .note-info {
- display: flex;
- flex-direction: column;
- margin-block: var(--large-margin);
- }
- .note-count {
- background-color: var(--nav-color);
- text-align: center;
- font-size: 1.2em;
- font-weight: bold;
- padding: var(--standard-margin);
- border-radius: 0;
- }
- .notes {
- background-color: var(--content-color);
- list-style: none;
- padding: 0;
- border-radius: 0;
- }
- .note {
- display: block;
- margin-block-end: var(--small-margin);
- padding: var(--standard-margin);
- }
- .note:nth-child(2n) {
- background-color: #333;
- }
- .note .avatar {
- display: inline;
- inline-size: initial;
- }
- .note .action {
- display: block;
- }
- .note .action a:visited {
- color: var(--accent-color);
- }
- .note .clear {
- margin-block-start: 2px;
- }
- .note blockquote {
- border-inline-start: 2px solid rgba(255, 255, 255, 0.4);
- padding-inline-start: 5px;
- }
- .note:last-child {
- margin-block-end: 0;
- }
- /* PAGINATION */
- .pagination {
- display: flex;
- justify-content: space-around;
- margin-inline: var(--mobile-margin);
- margin-block-start: var(--mobile-margin);
- max-inline-size: var(--max-post-list-width);
- margin-inline: auto;
- }
- .page {
- display: flex;
- border: 2px solid var(--accent-color);
- height: 1.7em;
- font-size: 1em;
- font-weight: bold;
- text-align: center;
- justify-content: center;
- align-items: center;
- padding: var(--small-margin);
- border-radius: 0.3em;
- }
- .page:hover {
- cursor: pointer;
- text-decoration: none;
- color: var(--accent-color-dark);
- background-color: var(--accent-color);
- transition: 0.5s;
- }
- .page:visited { color: var(--accent-color)}
- .page:visited:hover { color: var(--accent-color-dark)}
- .sidenav { display: none; }
- /* FOOTER */
- body > footer {
- padding: var(--mobile-margin);
- color: var(--subtext-color);
- }
- .avatar { display: none; }
- body > footer div {
- text-align: center;
- }
- body > footer nav {
- padding: var(--small-margin);
- text-align: center;
- }
- body > footer ul {
- width: 100%;
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- body > footer nav li {
- list-style: none;
- text-align: center;
- }
- body > footer nav a {
- display: inline;
- color: var(--subtext-color);
- font-size: 1rem;
- }
- body > footer nav li a:hover {
- color: var(--accent-color);
- background-color: inherit;
- }
- /* POST TYPES */
- .reblog-item {
- padding: 0;
- border-block-end: var(--border-thick);
- padding-block: var(--mobile-margin);
- }
- .reblog-item:last-child {
- border-block-end: none;
- }
- .reblog-header {
- margin: 0;
- padding-inline: var(--mobile-margin);
- padding-block-end: var(--small-margin);
- }
- .reblog-wrapper {
- display: flex;
- justify-content: start;
- align-items: center;
- column-gap: var(--standard-margin);
- }
- .reblog-avatar {
- inline-size: 3em;
- }
- .reblog-username {
- text-transform: uppercase;
- font-weight: bold;
- font-size: 1.2em;
- }
- /* PHOTO TYPE */
- .photo-info {
- margin: auto;
- }
- .featured-photo {
- text-align: center;
- }
- .featured-photo .featured-image {
- width: 100%;
- }
- .featured-photo img:hover {
- cursor: pointer;
- }
- .featured-photo figcaption {
- width: 100%;
- border-block-end: var(--border-thick);
- border-block-start: none;
- padding: var(--small-margin);
- text-align: center;
- }
- .featured-photo figcaption > *:last-child {
- margin-block-end: 0;
- }
- .post-caption {
- margin: var(--mobile-margin);
- }
- .post-caption * {
- line-height: 1.4;
- }
- .post-caption > * {
- margin-bottom: 10px;
- }
- .post-caption > *:last-child {
- margin-bottom: 0;
- }
- .exif-photo {
- position: relative;
- top: 0;
- bottom: 0;
- }
- .exif-photo .exif-info {
- font-size: 0.75em;
- line-height: 1.4;
- display: flex;
- position: absolute;
- bottom: 0;
- background-color: black;
- width: 0%;
- padding: 4px;
- justify-content: space-between;
- gap: 8px;
- transition-duration: 1s;
- transition-timing-function: linear;
- opacity: 0;
- transition: ease-in;
- visibility: collapse;
- background-color: rgba(0, 0, 0, 0.7);
- transition: visibility 0s linear 0.5s, opacity 0.5s linear, width 0.5s linear;
- }
- .exif-photo:hover .exif-info {
- visibility: visible;
- opacity: 1;
- width: calc(100% - 4px);
- transition-delay: 0s;
- }
- .exif-photo:hover:first-child .exif-info,
- .exif-photo:hover:last-child .exif-info {
- width: calc(100% - 2px);
- }
- .exif-photo:hover:first-child:last-child .exif-info {
- width: 100%;
- }
- .post div.npf_row div.npf_col.exif-photo figure.tmblr-full.exif-figure {
- padding-right: 0;
- }
- .post div.npf_row div.npf_col.exif-photo figure.tmblr-full.exif-figure {
- padding-right: 0;
- }
- .exif-info ul {
- list-style: none;
- padding-inline-start: 0;
- }
- .exif-info ul li {
- margin-block-end: 0;
- color: white;
- }
- .exif-info .action-link a {
- color: white;
- opacity: 0.8;
- transition: 0.5s;
- }
- .exif-info .action-link a:hover {
- opacity: 1;
- color: var(--accent-color);
- text-decoration: none;
- transition: 0.5s;
- }
- .with-click-through .click-through {
- max-height: 0;
- visibility: hidden;
- opacity: 0;
- transition: visibility 0s linear 0.5s, opacity 0.5s linear, max-height 0.5s linear
- }
- .with-click-through:hover .click-through {
- max-height: 3em;
- visibility: visible;
- opacity: 1;
- transition-delay: 0s;
- }
- .click-through {
- line-height: 1.4;
- text-align: center;
- background-color: var(--nav-color);
- width: 100%;
- }
- .click-through a {
- color: var(--subtext-color);
- overflow: hidden;
- display: block;
- width: 100%;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 4px;
- font-size: 0.9em;
- border: var(--border-thick);
- border-top: none;
- transition: 0.5s;
- }
- .npf_col:last-child .click-through a {
- border-inline-end: none;
- }
- .npf_col:first-child .click-through a {
- border-inline-start: none;
- }
- .click-through a:hover {
- background-color: var(--accent-color-dark);
- text-decoration: none;
- color: var(--accent-color);
- transition: 0.5s;
- }
- /* PHOTOSET TYPE*/
- .photoset {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .photoset .npf_row {
- width: 100%;
- }
- .photoset .npf_col {
- max-width: 100%;
- }
- .photoset .post_media_photo_anchor {
- width: 100%;
- }
- .slideshow {
- display: flex;
- flex-direction: column;
- }
- .slideshow .row {
- display: flex;
- margin-block-start: var(--small-margin);
- }
- .slideshow .row:first-child{
- margin-block-start: 0;
- }
- .slideshow .row .image {
- width: 100%;
- display: flex;
- margin-inline-start: 5px;
- flex-direction: column;
- }
- .slideshow .row .image:first-child {
- margin-inline-start: 0;
- }
- .slideshow .row .image:hover {
- cursor: pointer;
- }
- .slideshow .image figcaption {
- text-align: center;
- padding: var(--small-margin);
- }
- .slideshow img {
- inline-size: 100%;
- object-fit: cover;
- }
- .photoset .caption {
- margin-block-start: var(--standard-margin);
- inline-size: 100%;
- }
- /* QUOTE TYPE */
- .post-quote blockquote {
- padding: var(--standard-margin);
- text-align: center;
- border: none;
- }
- .quote > h2, .quote > h3 {
- margin: 0;
- }
- .quotation::before {
- content: "“";
- }
- .quotation::after {
- content: "”";
- }
- .source::before {
- content: "-";
- margin-inline-end: 5px;
- }
- /* LINK TYPE */
- .link-wrapper > a {
- display: flex;
- justify-content: center;
- margin-block-end: var(--large-margin);
- margin-block-start: var(--large-margin);
- padding: 0;
- background-color: var(--nav-color);
- }
- .link-wrapper > a * {
- margin-block-start: 0;
- }
- .link-wrapper > a:hover {
- text-decoration: none;
- }
- .link-thumbnail {
- flex-grow: 1;
- flex-basis: 20%;
- display: flex;
- align-items: center;
- }
- div.featured-link.npf-link-block {
- border-radius: 0px;
- border-block: var(--border-thick);
- transition: 0.3s;
- border-inline: none;
- margin-block: 0;
- }
- div.featured-link.npf-link-block:hover {
- background-color: var(--accent-color-dark);
- color: var(--accent-color);
- }
- div.featured-link.npf-link-block .poster {
- border-bottom: var(--border-thick);
- }
- div.featured-link.npf-link-block .bottom .description {
- text-wrap: nowrap;
- }
- .link-details {
- flex-grow: 3;
- padding: 0 var(--standard-margin);
- }
- .link-details > * {
- color: var(--main-text-color);
- padding-block-end: var(--small-margin);
- }
- .link-details .link-title {
- font-size: x-large;
- text-align: center;
- color: var(--main-text-color);
- padding-block-end: var(--standard-margin);
- margin-block-end: var(--small-margin);
- border-block-end: var(--border-thick);
- }
- .link-source {
- color: var(--accent-color);
- }
- .link-source:hover {
- text-decoration: underline;
- }
- /* CHAT POSTS */
- .conversation {
- list-style: none;
- font-family: 'Courier New', Courier, monospace;
- font-size: 1.1em;
- }
- .chat-item {
- margin: 0;
- padding: var(--small-margin) var(--standard-margin);
- }
- .chat-odd {
- background-color: var(--border-color);
- }
- .chat-label {
- font-weight: bold;
- }
- /* AUDIO POSTS */
- .tmblr-embed {
- width: 100%;
- }
- .featured-audio {
- text-align: center;
- }
- .featured-audio figcaption {
- text-align: start;
- }
- .featured-audio iframe {
- width: 100%;
- }
- /* spotify iframe has a weird gap so we're setting it manually */
- .featured-audio .spotify_audio_player {
- height: 160px;
- }
- .audio-embed, .video-embed {
- display: flex;
- justify-content: center;
- }
- .audio-embed {
- background-color: var(--nav-color);
- margin-block-end: var(--standard-margin);
- }
- .video-embed {
- margin-block-end: var(--standard-margin);
- }
- .npf-post .tmblr-embed .embed_iframe {
- width: 100%;
- }
- .audio-caption, .video-caption {
- margin: var(--mobile-margin);
- }
- /* ANSWER POSTS */
- .asker > .asker {
- display: inline;
- font-size: 1em;
- }
- .answerer {
- display: inline;
- font-size: 1em;
- }
- .answerer-answer {
- margin-block-start: var(--standard-margin);
- }
- .asker-question {
- padding-top: var(--standard-margin);
- }
- .answer, .question {
- display: flex;
- margin-inline: var(--mobile-margin);
- margin-block: var(--standard-margin);
- }
- .replies {
- margin-inline: var(--mobile-margin);
- margin-block-end: var(--mobile-margin);
- }
- .replies > * {
- margin-block-end: var(--standard-margin);
- }
- .replies > *:last-child {
- margin-block-end: 0;
- }
- .ask-contents {
- background-color: var(--main-background-color);
- padding: var(--standard-margin);
- margin: 0;
- flex: 1;
- position: relative;
- border-radius: 0.3em;
- }
- .ask-contents::after {
- content: '';
- position: absolute;
- inset-inline-end: var(--tip-x);
- inset-block-start: var(--tip-y);
- border-color: transparent;
- border-inline-start-color:var(--main-background-color);
- border-width: var(--standard-margin);
- border-style: solid;
- }
- .ask-contents .asker {
- color: var(--main-text-color);
- margin: 0;
- display: block;
- background-color: var(--nav-color);
- text-align: center;
- font-size: 1.3em;
- text-transform: uppercase;
- font-weight: bold;
- padding: var(--small-margin);
- }
- .answerer-avatar, .asker-avatar {
- margin: 0;
- height: 35px;
- }
- .answerer-avatar {
- margin-inline-end: var(--standard-margin);
- position: relative;
- top: 10px;
- }
- .asker-avatar {
- margin-inline-start: var(--standard-margin);
- }
- .answer-contents {
- background-color: var(--main-background-color);
- padding: var(--standard-margin);
- margin: 0;
- flex: 1;
- position: relative;
- border-radius: 0.3em;
- }
- .answer-contents::after {
- content: '';
- position: absolute;
- inset-inline-start: var(--tip-x);
- inset-block-start: 20px;
- border-color: transparent;
- border-inline-end-color: var(--main-background-color);
- border-width: 10px;
- border-style: solid;
- }
- .answer-contents > .answerer {
- color: var(--main-text-color);
- margin: 0;
- display: block;
- background-color: var(--nav-color);
- text-align: center;
- font-size: 1.3em;
- text-transform: uppercase;
- font-weight: bold;
- padding: var(--small-margin);
- }
- aside {
- display: none;
- }
- /* EXTRA TUMBLR FEATURES */
- .like_button {
- display: flex;
- margin: 0 var(--standard-margin);
- }
- .copyright:before {
- content: '\00A9';
- }
- /* desktop view once at 700px as long as your device is tall enough */
- @media only screen and (min-width: 700px) and (min-height:475px) {
- :root{
- --far-width: 10%;
- --info-width: 25%;
- --content-margin: calc(var(--info-width) + var(--far-width));
- --sidebar-width: {select:Sidebar Size};
- --header-height: 80px;
- --avatar-border: 2px solid var(--main-text-color, var(--main-text-color));
- }
- #heading .information {
- position: fixed;
- z-index: 30;
- block-size: 100%;
- inline-size: var(--info-width);
- margin-inline-start:var(--far-width);
- border-inline-end: var(--border-thick);
- inset-block-start: 0;
- margin-top: var(--pushdown-amount);
- }
- #heading .title {
- min-height: var(--header-height);
- display: flex;
- justify-content: center;
- align-items: center;
- border-block-end: var(--border-thick);
- padding: var(--small-margin);
- }
- #heading .title h1 {
- font-size: 1.6em;
- display:inline;
- padding: 0;
- }
- #heading .description {
- padding: var(--small-margin);
- }
- #heading .writer {
- margin-block: var(--small-margin);
- font-size: 0.8em;
- }
- #heading .navigation {
- padding: 0;
- }
- #heading .navigation ul {
- padding: 0;
- }
- /* Change to row navigation once gets enough space */
- @media (min-height: 575px) {
- #heading .information {
- display: flex;
- flex-direction: column;
- }
- #heading .information > * {
- flex-shrink: 0;
- }
- #heading .navigation {
- flex-shrink: 1;
- overflow-y: auto;
- }
- #heading .navigation ul {
- display: block;
- white-space: initial;
- overflow: initial;
- }
- #heading .navigation ul li {
- display: list-item;
- margin: 0;
- }
- #heading .navigation a {
- padding-inline: var(--mobile-margin);
- padding-block: var(--standard-margin);
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .nav-left {
- display: flex;
- align-items: center;
- }
- #heading .navigation .material-symbols-outlined,
- .nav-left .no-icon,
- .nav-left p {
- display: inline;
- }
- .nav-left .no-icon {
- width: 24px;
- }
- .nav-left p {
- font-size: 0.9rem;
- padding-inline-start: var(--mobile-margin);
- text-align: start;
- }
- }
- .tumblr-controls-desktop {
- display: flex;
- inline-size: calc(100% - var(--content-margin));
- position: fixed;
- z-index: 30;
- background-color: var(--content-color);
- border-block-end: var(--border-thick);
- margin-inline-start: var(--content-margin);
- block-size: 80px;
- justify-content: space-between;
- inset-block-start: 0;
- margin-top: var(--pushdown-amount);
- }
- .controls, .search {
- flex: 1;
- display: flex;
- align-items: center;
- }
- .search {
- padding-inline-start: var(--standard-margin);
- }
- .search form {
- display: flex;
- flex-direction: row;
- }
- .search form input {
- border-radius: 3px;
- border: none;
- padding-inline: var(--standard-margin);
- padding-block: var(--tiny-margin);
- background-color: var(--search-background-color);
- color: var(--search-text-color);
- }
- .controls {
- justify-content: flex-end;
- }
- .controls > .menu {
- margin-inline-start: var(--small-margin);
- margin-inline-end: var(--large-margin);
- }
- .controls > .additonal-controls > * {
- margin-inline-end: var(--small-margin);
- }
- main {
- margin-inline-start: var(--content-margin);
- margin-block-start: 80px;
- margin-block-end: var(--large-margin);
- }
- .post {
- margin-block-end: var(--large-margin);
- border: var(--border-standard);
- overflow: clip;
- }
- .post header {
- border-block-end: var(--border-standard);
- padding-block-end: var(--mobile-margin);
- }
- .post header.sticky {
- top: calc(80px + var(--pushdown-amount));
- }
- .post header h1 {
- margin-block-end: 0;
- margin-block-start: var(--small-margin);
- }
- .post header .icon {
- display: inline-block;
- }
- .post footer {
- flex-direction: row;
- }
- .post-tags {
- border-inline-end: var(--border-thick);
- border-block-end: none;
- padding-inline-end: var(--small-margin);
- margin-block-end: 0;
- padding-block-end: 0;
- }
- .note-count {
- border-radius: var(--small-margin) var(--small-margin) 0 0;
- }
- .notes {
- border-radius: 0 0 var(--small-margin) var(--small-margin);
- }
- .note:last-child {
- border-radius: 0 0 var(--small-margin) var(--small-margin);
- }
- body > footer {
- display: flex;
- position: fixed;
- flex-direction: column;
- justify-content: space-between;
- inline-size: var(--far-width);
- background-color: var(--main-far-color);
- block-size: 100%;
- inset-block-start: 0;
- padding-inline: 0;
- align-items: center;
- padding-top: calc(var(--mobile-margin) + var(--pushdown-amount));
- }
- .avatar {
- display: block;
- inline-size: 75%;
- }
- .avatar img {
- inline-size: 100%;
- border: var(--avatar-border);
- border-radius: 50%;
- }
- body > footer nav ul {
- flex-direction: column;
- }
- body > footer nav li {
- inline-size: 100%;
- display: block;
- }
- aside {
- display: flex;
- position: fixed;
- z-index: 30;
- inset-inline-end: 0px;
- inset-block-start: 80px;
- block-size: 100%;
- margin-top: var(--pushdown-amount);
- }
- .menu {
- display: flex;
- padding: var(--small-margin);
- block-size: 30px;
- align-items: center;
- }
- .sidenav {
- inline-size: var(--sidebar-width);
- block-size: 100%;
- border-inline-start: var(--border-thick);
- background-color: var(--content-color);
- }
- .sidenav > div {
- background-color: var(--side-bg-color);
- }
- .sidenav > div > * {
- padding: var(--small-margin) var(--mobile-margin)
- }
- .sidenav > div > .trend-tags {
- padding: inherit;
- }
- .updates {
- border-block-end: var(--border-thick);
- }
- {block:IfNotUpdatesTitle}
- {block:IfNotUpdatesText}
- .updates {
- display: none;
- }
- {/block:IfNotUpdatesText}
- {/block:IfNotUpdatesTitle}
- .updates h2 {
- display: block;
- padding: var(--standard-margin);
- text-align: center;
- text-decoration: none;
- }
- {block:IfUpdatesText}
- .updates h2 {
- border-block-end: var(--border-thick);
- }
- {/block:IfUpdatesText}
- .updates h2 a {
- color: var(--accent-color);
- }
- .updates p {
- padding-block: var(--small-margin);
- text-align: start;
- }
- .trend-title {
- display: flex;
- border-block-end: var(--border-thick);
- align-items: center;
- }
- .trend-title:hover {
- cursor: pointer;
- }
- .trend-title .icon {
- display: inline-block;
- padding: var(--small-margin);
- block-size: 100%;
- }
- .trend-title h2 {
- padding-inline-start: var(--standard-margin);
- }
- .trend-tags {
- display: flex;
- flex-wrap: wrap;
- }
- .trend-tags a {
- inline-size: 50%;
- border-inline-start: var(--border-thick);
- border-block-end: var(--border-thick);
- padding: var(--mobile-margin);
- text-align: center;
- flex-grow: 1;
- }
- .trend-tags a:link { color: var(--main-text-color);}
- .trend-tags a:nth-child(2n+1) {
- border-inline-start: none;
- }
- .trend-tags a:hover {
- text-decoration: none;
- background-color: var(--accent-color-dark);
- color: var(--accent-color);
- transition: 0.5s;
- }
- .trend-tags h3 {
- line-height: 1em;
- padding-block-end: 0.2em;
- }
- .trend-tags h4 {
- color: var(--subtext-color);
- line-height: 1em;
- }
- @media (min-width:1000px) {
- :root{
- --far-width: 100px;
- --info-width: 250px;
- --max-main-margin: 105px;
- }
- main {
- margin-block-start: calc(5% + 30px);
- }
- .post-list {
- inline-size: 100%;
- max-inline-size: var(--max-post-list-width);
- margin: auto;
- }
- .post {
- border-radius: var(--small-margin);
- }
- }
- @media (min-width:1500px) {
- .search, .controls {
- flex-grow: revert;
- }
- .search {
- flex-basis: calc(100% - var(--sidebar-width));
- }
- .controls {
- flex-basis: var(--sidebar-width);
- {block:IfShowSidebar}
- border-inline-start: var(--border-thick);
- {/block:IfShowSidebar}
- }
- main {
- margin-block-start: var(--max-main-margin);
- {block:IfShowSidebar}
- margin-inline-end: var(--sidebar-width);
- {/block:IfShowSidebar}
- }
- .sidenav {
- display: flex;
- flex-direction: column;
- }
- }
- }
- .audio-player {
- display: flex;
- flex-direction: column;
- }
- .audio-player * {
- inline-size: 100%;
- margin: 0;
- }
- {CustomCSS}
- </style>
- </head>
- <body>
- <header id="heading">
- <div class="information">
- <a href="/" class="title">
- <h1>{Title}</h1>
- </a>
- <div class="introduction">
- {block:ShowHeaderImage}
- <div class="header-image">
- <img src="{HeaderImage}" alt="heading image"/>
- </div>
- {/block:ShowHeaderImage}
- <div class="description"> <!--Description-->
- {block:IfShowDescription}
- <p>{Description}</p>
- {/block:IfShowDescription}
- {block:IfShowSubtext}
- <p class="secondary writer"><span class="material-symbols-outlined">person</span>{text:Subtext}</p>
- {/block:IfShowSubtext}
- </div>
- </div>
- <nav class="navigation">
- <ul>
- <li>
- <a href="/">
- <div class="nav-left">
- <span class="material-symbols-outlined">home</span>
- <p>{lang:Home}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {block:AskEnabled}
- <li>
- <a href="/ask">
- <div class="nav-left">
- <span class="material-symbols-outlined">help</span>
- {block:IfCustomAskLabel}
- <p>{text:Custom Ask Label}</p>
- {/block:IfCustomAskLabel}
- {block:IfNotCustomAskLabel}
- <p>{AskLabel}</p>
- {/block:IfNotCustomAskLabel}
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:AskEnabled}
- {block:SubmissionsEnabled}
- <li>
- <a href="/submit">
- <div class="nav-left">
- <span class="material-symbols-outlined">mail</span>
- {block:IfCustomSubmitLabel}
- <p>{text:Custom Submit Label}</p>
- {block:IfCustomSubmitLabel}
- {block:IfNotCustomSubmitLabel}
- <p>{SubmitLabel}</p>
- {/block:IfNotCustomSubmitLabel}
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:SubmissionsEnabled}
- {block:HasPages}
- {block:Pages}
- <li class="nav-page">
- <a href="{URL}">
- <div class="nav-left">
- <div class="no-icon"></div>
- <p>{Label}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:Pages}
- {/block:HasPages}
- {block:IfLink1Name}
- {block:IfLink1URL}
- <li>
- <a href="{text:Link 1 URL}" {block:IfOpenCustomLinksInANewTab}target="_blank" rel="noreferrer"{/block:IfOpenCustomLinksInANewTab}>
- <div class="nav-left">
- {block:IfLink1Symbol}
- <span class="material-symbols-outlined">{text:Link 1 Symbol}</span>
- {/block:IfLink1Symbol}
- {block:IfNotLink1Symbol}
- <div class="no-icon"></div>
- {/block:IfNotLink1Symbol}
- <p>{text:Link 1 Name}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:IfLink1URL}
- {/block:IfLink1Name}
- {block:IfLink2Name}
- {block:IfLink2URL}
- <li>
- <a href="{text:Link 2 URL}" {block:IfOpenCustomLinksInANewTab}target="_blank" rel="noreferrer"{/block:IfOpenCustomLinksInANewTab}>
- <div class="nav-left">
- {block:IfLink2Symbol}
- <span class="material-symbols-outlined">{text:Link 2 Symbol}</span>
- {/block:IfLink2Symbol}
- {block:IfNotLink2Symbol}
- <div class="no-icon"></div>
- {/block:IfNotLink2Symbol}
- <p>{text:Link 2 Name}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:IfLink2URL}
- {/block:IfLink2Name}
- {block:IfLink3Name}
- {block:IfLink3URL}
- <li>
- <a href="{text:Link 3 URL}" {block:IfOpenCustomLinksInANewTab}target="_blank" rel="noreferrer"{/block:IfOpenCustomLinksInANewTab}>
- <div class="nav-left">
- {block:IfLink3Symbol}
- <span class="material-symbols-outlined">{text:Link 3 Symbol}</span>
- {/block:IfLink3Symbol}
- {block:IfNotLink3Symbol}
- <div class="no-icon"></div>
- {/block:IfNotLink3Symbol}
- <p>{text:Link 3 Name}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:IfLink3URL}
- {/block:IfLink3Name}
- {block:IfLink4Name}
- {block:IfLink4URL}
- <li>
- <a href="{text:Link 4 URL}" {block:IfOpenCustomLinksInANewTab}target="_blank" rel="noreferrer"{/block:IfOpenCustomLinksInANewTab}>
- <div class="nav-left">
- {block:IfLink4Symbol}
- <span class="material-symbols-outlined">{text:Link 4 Symbol}</span>
- {/block:IfLink4Symbol}
- {block:IfNotLink4Symbol}
- <div class="no-icon"></div>
- {/block:IfNotLink4Symbol}
- <p>{text:Link 4 Name}</p>
- </div>
- <span class="material-symbols-outlined">arrow_forward</span>
- </a>
- </li>
- {/block:IfLink4URL}
- {/block:IfLink4Name}
- </ul>
- </nav>
- </div>
- <div class="tumblr-controls-desktop">
- <div class="search">
- <form action="/search" method="get">
- <span class="material-symbols-outlined">search</span>
- <input type="text" name="q" placeholder="Search"/>
- </form>
- </div>
- <div class="controls">
- </div>
- </div>
- </header>
- <main>
- <div class="post-list">
- <!-- Posts -->
- {block:Posts}
- <article class="post post-{PostType}" id="{PostId}">
- <header {block:IfStickyPostHeaders}class="sticky"{/block:IfStickyPostHeaders}>
- {block:Date}
- <div class="post-info">
- <div class="post-meta">
- <a href="{Permalink}" title="{lang:Posted on DayOfWeek DayOfMonth Month Year}">{TimeAgo}</a>
- {block:RebloggedFrom}
- <span class="material-symbols-outlined">cached</span>
- <a href="{ReblogParentURL}">{ReblogParentName}</a>
- {/block:RebloggedFrom}
- </div>
- {block:PinnedPostLabel}
- <div class="pin">
- {PinnedPostLabel}
- </div>
- {/block:PinnedPostLabel}
- </div>
- {/block:Date}
- {block:Title}
- <h1><a href="{Permalink}">{Title}</a></h1>
- {/block:Title}
- </header>
- <div class="content">
- {block:Photo}
- <div class="photo-info">
- <div class="photo-header{block:exif} exif-photo{/block:exif}">
- <figure
- class="featured-photo{block:HighRes} high-res{/block:HighRes}"
- {block:HighRes}
- data-full-width="{PhotoWidth-HighRes}"
- data-full-height="{PhotoHeight-HighRes}"
- data-full-url="{PhotoURL-HighRes}"
- data-orig-url="{PhotoURL-HighRes}"
- {/block:HighRes}
- >
- <img
- loading="lazy"
- alt="{PhotoAlt}"
- src="{PhotoURL-HighRes}"
- class="featured-image"
- >
- {block:LinkURL}
- <figcaption class="click-through">
- <a href="{LinkURL}">
- {LinkURL}
- </a>
- </figcaption>
- {/block:LinkURL}
- </figure>
- {block:exif}
- <div class="exif-info">
- <ul>
- {block:Camera}
- <li>Camera: <a href="https://www.dpreview.com/search/?query={Camera}" target="_blank" rel="noreferrer">{Camera}</a></li>
- {/block:Camera}
- {block:FocalLength}
- <li>Focal Length: {FocalLength}</li>
- {/block:FocalLength}
- {block:Exposure}
- <li>Exposure: {Exposure}</li>
- {/block:Exposure}
- {block:Aperture}
- <li>Aperture: {Aperture}</li>
- {/block:Aperture}
- </ul>
- <div class="action-link">
- <a href="https://www.cambridgeincolour.com/tutorials/camera-exposure.htm" class="material-symbols-outline" title="What is all of this information?">info</a>
- </div>
- </div>
- {/block:exif}
- </div>
- {block:NotReblog}
- <div class="post-body">
- {block:Caption}
- {Caption}
- {/block:Caption}
- </div>
- {/block:NotReblog}
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- <div
- class="slideshow"
- data-layout="{PhotosetLayout}">
- {block:Photos}
- <figure
- class="image"
- data-full-width="{PhotoWidth-HighRes}"
- data-full-height="{PhotoHeight-HighRes}"
- data-full-url="{PhotoURL-HighRes}"
- data-orig-url="{PhotoURL-HighRes}"
- >
- <img
- loading="lazy"
- alt="{PhotoAlt}"
- src="{PhotoURL-HighRes}"
- >
- <figcaption>
- {block:Caption}
- {Caption}
- {/block:Caption}
- </figcaption>
- </figure>
- {/block:Photos}
- </div>
- {block:NotReblog}
- {block:Caption}
- <div class="caption">
- {Caption}
- </div>
- {/block:Caption}
- {/block:NotReblog}
- </div>
- {/block:Photoset}
- {block:Quote}
- <!-- quote posts -->
- <blockquote class="quote">
- <h2 class="quotation">{Quote}</h2>
- {block:Source}
- <h3 class="source">{Source}</h3>
- {/block:Source}
- </blockquote>
- {/block:Quote}
- {block:Link}
- <div class="link-wrapper">
- <a {Target} href="{URL}">
- {block:Thumbnail}
- <div class="link-thumbnail">
- <img src="{Thumbnail}" alt="{Name}"/>
- </div>
- {/block:Thumbnail}
- <div class="link-details">
- <div class="link-title">{Name}</div>
- {block:Excerpt}
- <div class="link-exerpt">{Excerpt}</div>
- {/block:Excerpt}
- {block:Author}
- <div class="link-author">{lang:Authors}: {Author}</div>
- {/block:Author}
- {block:Host}
- <div class="link-host">{lang:Link}: <span class="link-source">{Host}</span></div>
- {/block:Host}
- </div>
- </a>
- </div>
- {/block:Link}
- {block:Chat}
- <ul class="conversation">
- {block:Lines}
- <li class="chat-item chat-{Alt}">
- {block:Label}
- <span class="chat-label">{Label}</span>
- {/block:Label}
- <span class="chat-text">{Line}</span>
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- {block:AudioEmbed}
- <div class="audio-embed">
- {AudioEmbed}
- </div>
- {/block:AudioEmbed}
- {block:AudioPlayer}
- <div class="audio-player" style="display: flex;">
- {block:AlbumArt}
- <img src="{AlbumArtURL}">
- {/block:AlbumArt}
- {AudioPlayer}
- </div>
- {/block:AudioPlayer}
- {block:NotReblog}
- {block:Caption}
- <div class="video-caption">
- {Caption}
- </div>
- {/block:Caption}
- {/block:NotReblog}
- {/block:Audio}
- {block:Video}
- <div class="video-embed">
- {VideoEmbed-500}
- </div>
- {block:NotReblog}
- {block:Caption}
- <div class="video-caption">
- {Caption}
- </div>
- {/block:Caption}
- {/block:NotReblog}
- {/block:Video}
- {block:Answer}
- <div class="question">
- <div class="ask-contents">
- <div class="asker">{lang:Asker asked 2}</div>
- <div class="asker-question">{Question}</div>
- </div>
- <img class="asker-avatar" src="{AskerPortraitURL-96}" alt="">
- </div>
- {block:Answerer}
- <div class="answer">
- <img class="answerer-avatar" src="{AnswererPortraitURL-96}" alt="">
- <div class="answer-contents">
- <div class="answerer">{Answerer} {lang:Answer}</div>
- <div class="answerer-answer">{Answer}</div>
- </div>
- </div>
- {/block:Answerer}
- {block:NotReblog}
- <div class="replies">
- {Replies}
- </div>
- {/block:NotReblog}
- {/block:Answer}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblog-item">
- <div class="reblog-header">
- <div class="reblog-wrapper">
- {block:IsDeactivated}
- <div class="reblog-avatar">
- <img src="{PortraitURL-64}" alt="{Username} Profle Picture">
- </div>
- <span class="inactive reblog-username">{Username}</span>
- {/block:IsDeactivated}
- {block:IsActive}
- <a href="{Permalink}" class="reblog-avatar">
- <img src="{PortraitURL-64}" alt="{Username}" />
- </a>
- <a class="active reblog-username" href="{Permalink}">{Username}</a>
- {/block:IsActive}
- </div>
- </div>
- <div class="reblog-body post-body">
- {body}
- </div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {block:NotReblog}
- {block:Text}
- <div class="post-body">
- {block:Link}
- {Description}
- {/block:Link}
- {Caption}
- {Body}
- </div>
- {/block:Text}
- {/block:NotReblog}
- </div>
- {block:ContentSource}
- <div class="post-source">
- {lang:Source}:
- <a href="{SourceURL}" target="_blank" rel="noreferrer" title="{SourceTitle}">{SourceTitle}</a>
- </div>
- {/block:ContentSource}
- {block:Date}
- <footer>
- <ul class="post-tags">
- {block:HasTags}
- {block:Tags}
- <li><a href="{TagURL}">#{Tag}</a></li>
- {/block:Tags}
- {/block:HasTags}
- </ul>
- <div class="post-controls">
- <div class="like_button">
- {block:IfWhiteLikeandReblog}
- {LikeButton color="white"}
- {/block:IfWhiteLikeandReblog}
- {block:IfNotWhiteLikeandReblog}
- {LikeButton}
- {/block:IfNotWhiteLikeandReblog}
- <span>{NoteCount}</span>
- </div>
- {block:IfWhiteLikeandReblog}
- {ReblogButton color="white"}
- {/block:IfWhiteLikeandReblog}
- {block:IfNotWhiteLikeandReblog}
- {ReblogButton}
- {/block:IfNotWhiteLikeandReblog}
- </div>
- </footer>
- {/block:Date}
- </article>
- {block:PostNotes}
- <!-- POST NOTES -->
- <div class="note-info">
- {block:NoteCount}
- <div class="note-count">
- {NoteCountWithLabel}
- </div>
- {/block:NoteCount}
- {PostNotes-64}
- </div>
- {/block:PostNotes}
- {/block:Posts}
- </div> <!-- /post-list -->
- <!-- Navigation -->
- {block:Pagination}
- <div class="pagination">
- {block:PreviousPage}
- <a href="{PreviousPage}" class="page previous-page">
- <p>Previous</p>
- </a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}" class="page next-page">
- <p>Next</p>
- </a>
- {/block:NextPage}
- </div>
- {/block:Pagination}
- </main>
- {block:ifShowSidebar}
- <aside>
- <div id="menu" class="menu">
- <span class="material-symbols-outlined">menu</span>
- </div>
- <div id="sidenav" class="sidenav">
- <div class="updates">
- {block:IfUpdatesTitle}
- <h2>
- {block:IfUpdatesTag}
- <a href="/tagged/{text:Updates Tag}">
- {/block:IfUpdatesTag}
- {text:Updates Title}
- {block:IfUpdatesTag}
- </a>
- {/block:IfUpdatesTag}
- </h2>
- {/block:IfUpdatesTitle}
- {block:IfUpdatesText}
- <p>{text:Updates Text}</p>
- {/block:IfUpdatesText}
- </div>
- <div class="trending">
- <div class="trend-title">
- <span class="icon material-symbols-outlined">expand_less</span>
- <h2>{text:Guest Tag Title}</h2>
- </div>
- <div class="trend-tags">
- </div>
- </div>
- <div class="trending">
- <div class="trend-title">
- <span class="icon material-symbols-outlined">expand_less</span>
- <h2>{text:Main Tag Title}</h2>
- </div>
- <div class="trend-tags"></div>
- </div>
- </div>
- </aside>
- {/block:ifShowSidebar}
- <footer class="footer">
- <a href="/" class="avatar">
- <img src="{PortraitURL-96}" alt="avatar"/>
- </a>
- <nav>
- <ul>
- {block:IfCopyrightYears}
- <li class="copyright">
- {CopyrightYears}
- </li>
- {block:IfCopyrightYears}
- <li>
- <a href="/">{lang:Home}</a>
- </li>
- <li>
- <a href="/archive">{lang:Archive}</a>
- </li>
- {block:English}
- <li>
- <a target="_blank" rel="noreferrer" href="https://skyetrick-blockout.tumblr.com/">Credit</a>
- </li>
- {/block:English}
- {block:NotEnglish}
- <li>
- <a class="material-symbols-outlined" target="_blank" rel="noreferrer" href="https://skyetrick-blockout.tumblr.com/">code</a>
- </li>
- {/block:NotEnglish}
- </ul>
- </nav>
- </footer>
- <!-- JQuery -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
- <!-- NPF Rendering -->
- <script>
- (function() {
- // remove empty p tags
- for (const p of document.querySelectorAll('p')) {
- if (p.innerHTML.trim() === '') {
- p.remove()
- }
- }
- // create posts array
- const posts = [];
- {block:Posts}
- posts.push({ npf: {NPF}, id: "{PostId}"});
- {/block:Posts}
- function updateTypes(type, article) {
- article.classList.remove('post-text');
- const postName = "post-" + type;
- article.classList.add(postName, 'npf-post');
- }
- function cleanupPost(article) {
- const postBody = article.querySelector('.post-body');
- if (postBody && postBody.innerHTML.trim() === '') {
- postBody.remove();
- }
- // clean up any potential stray reblog headers
- let reblogHeader = article.querySelector('.reblog-header')
- let reblogBody = article.querySelector('.reblog-body')
- if (reblogHeader?.nextElementSibling === reblogBody && reblogBody?.childElementCount === 0) {
- reblogHeader.remove()
- reblogBody.remove()
- }
- // clean up any potential stray captions
- let captions = article.querySelectorAll('figcaption');
- for (const caption of captions) {
- if (caption.innerHTML.trim() === '') {
- caption.remove();
- }
- }
- }
- {block:IfShowAdditionalPhotoInfo}
- function handlePhotos(photoset, postContent) {
- const photos = photoset.querySelectorAll('.npf_col');
- photos.forEach((photo, index) => {
- const content = postContent[index];
- // checks for exif content
- const {exif, attribution} = content;
- if (exif) {
- const {
- Aperture,
- aperture,
- CameraMake,
- cameramake,
- CameraModel,
- cameramodel,
- ExposureTime,
- exposuretime,
- FocalLength,
- focallength
- } = exif
- photo.classList.add('exif-photo');
- const exifFigure = photo.querySelector('figure');
- exifFigure.classList.add('exif-figure');
- const exifWrapper = document.createElement('div');
- exifWrapper.classList.add('exif-info');
- const exifList = document.createElement('ul');
- const cameraName = (cameramake ?? CameraMake ?? '') + ' ' + (cameramodel ?? CameraModel ?? '');
- if (cameraName.trim()) {
- const link = document.createElement('a');
- link.innerText = cameraName;
- const href = 'https://www.dpreview.com/search/?query=' + cameraName;
- link.href = href;
- const cameraItem = document.createElement('li');
- cameraItem.innerText = 'Camera: '
- cameraItem.append(link);
- exifList.append(cameraItem);
- }
- const focalLength = focallength ?? FocalLength;
- if (focalLength) {
- const focalItem = document.createElement('li');
- focalItem.innerText = "Focal Length: " + focalLength;
- exifList.append(focalItem);
- }
- const exposureTime = exposuretime ?? ExposureTime;
- if (exposureTime) {
- const exposureItem = document.createElement('li');
- exposureItem.innerText = "Exposure: " + exposureTime;
- exifList.append(exposureItem);
- }
- const camAperture = aperture ?? Aperture;
- if (camAperture) {
- const apertureItem = document.createElement('li');
- apertureItem.innerText = "Aperture: " + camAperture;
- exifList.append(apertureItem);
- }
- if (exifList.childElementCount) {
- exifWrapper.append(exifList);
- const actionDiv = document.createElement('div');
- actionDiv.classList.add('action-link');
- actionDiv.innerHTML = '<a href="https://www.cambridgeincolour.com/tutorials/camera-exposure.htm" class="material-symbols-outlined" title="What is all of this information?">info</a>';
- exifWrapper.append(actionDiv);
- photo.append(exifWrapper);
- } else {
- exifList.remove();
- exifWrapper.remove();
- }
- }
- if (attribution && attribution.type === 'link') {
- photo.classList.add('with-click-through');
- const figure = photo.querySelector('figure');
- const attrElement = document.createElement('div');
- attrElement.classList.add('click-through');
- const anchor = document.createElement('a');
- anchor.innerText = attribution.url;
- anchor.href = attribution.url;
- attrElement.append(anchor);
- figure.append(attrElement);
- }
- });
- }
- {/block:IfShowAdditionalPhotoInfo}
- for (const {npf, id} of posts) {
- const article = document.getElementById(id);
- if (article === null) continue;
- if (!article.classList.contains('post-text')) continue;
- const content = article?.querySelector(".content");
- if (!content === null) continue;
- const postContent = npf.trail[0]?.content?.length ? npf.trail[0].content : npf.content;
- const type = postContent[0]?.type;
- const subtype = postContent[0]?.subtype;
- switch(type) {
- case 'image':
- const parent = content.querySelector('.npf_row')?.parentElement;
- const elements = [];
- // gather all of the beginning rows of the photoset
- let current = parent?.firstElementChild;
- while(current?.classList.contains("npf_row")) {
- elements.push(current);
- current = current.nextElementSibling;
- }
- if (elements.length === 0) continue;
- const photoset = document.createElement("div");
- photoset.classList.add("photoset");
- photoset.append(...elements);
- content.prepend(photoset);
- // set post type to photoset if there are multiple photos in the photoset; otherwise, it's a singular photo
- const newType = photoset.querySelectorAll('.npf_col').length > 1 ? 'photoset' : 'photo';
- updateTypes(newType, article);
- {block:IfShowAdditionalPhotoInfo}
- handlePhotos(photoset, postContent);
- {/block:IfShowAdditionalPhotoInfo}
- cleanupPost(article);
- break;
- case 'video':
- updateTypes('video', article);
- let video = article.querySelector('figure');
- if (video) {
- video.classList.add('featured-video');
- content.prepend(video);
- }
- cleanupPost(article);
- break;
- case 'link':
- updateTypes('link', article);
- const link = content.querySelector('.npf-link-block');
- if (link) {
- link.classList.add('featured-link');
- content.prepend(link);
- }
- cleanupPost(article);
- break;
- case 'audio':
- updateTypes('audio', article);
- let audio = article.querySelector('figure');
- if (audio) {
- audio.classList.add('featured-audio');
- content.prepend(audio);
- }
- cleanupPost(article);
- break;
- default: // 'text'
- if (subtype === 'quote') {
- updateTypes('quote', article);
- }
- }
- }
- })()
- </script>
- {block:HasPages}
- {block:IfPageIcons}
- <script>
- (function() {
- const pages = document.querySelectorAll(".nav-page");
- if (pages.length === 0) return;
- const pageIcons = "{text:Page Icons}".split(',');
- const pageIconList = pageIcons.map((icon) => icon.trim());
- function setPageIcon(page, icon) {
- if (!(page && icon)) return;
- const element = page.querySelector('.no-icon');
- if (!element) return;
- if (element.classList.replace('no-icon', 'material-symbols-outlined')) {
- element.innerText = icon;
- }
- }
- pageIconList.forEach((icon, index) => {
- setPageIcon(pages[index], icon);
- });
- })();
- </script>
- {/block:IfPageIcons}
- {/block:HasPages}
- {block:IfShowSidebar}
- <!-- tags setting script -->
- <script>
- (function() {
- const trending = document.querySelectorAll(".trending")
- if (trending.length === 0) {
- return;
- }
- function setTags(tagString) {
- if(tagString === "") return []
- let list = tagString.split(',')
- list = list.map((item) => item.trimStart().trimEnd())
- return list
- }
- const guestTags = setTags("{text:Guest Tags}")
- const mainTags = setTags("{text:Main Tags}")
- function createTrend(trendText, trend) {
- const a = document.createElement("a")
- a.href = "/tagged/" + trendText
- const name = document.createElement("h3")
- name.innerText = trendText
- const seeTags = document.createElement("h4")
- seeTags.innerText = "see tags"
- a.appendChild(name)
- a.appendChild(seeTags)
- trend.querySelector(".trend-tags").appendChild(a)
- return a
- }
- if(guestTags.length === 0) {
- trending[0].style.display = "none"
- }
- else {
- guestTags.forEach((tag) => createTrend(tag, trending[0]))
- }
- if(mainTags.length === 0) {
- trending[1].style.display = "none";
- }
- else
- mainTags.forEach((tag) => createTrend(tag, trending[1]));
- })();
- </script>
- <!--Menu Toggle-->
- <script>
- $.fn.extend({
- toggleText: function(a, b){
- return this.text(this.text() == b ? a : b);
- }
- });
- $(document).ready(function () {
- $("#menu").click(function () {
- $("#sidenav").toggle("flex");
- })
- $(".trend-title").click(function (event) {
- const parent = $(event.target).closest(".trend-title");
- $(parent).siblings(".trend-tags").slideToggle("fast");
- $(parent).children(".icon").toggleText("expand_more", "expand_less");
- })
- $(window).resize(function () {
- if ($(this).width() < 700)
- $("#sidenav").hide();
- })
- })
- </script>
- {/block:IfShowSidebar}
- <!-- Minified functions for lightboxes and photosets-->
- <script src="https://static.tumblr.com/7ijwq6x/CPWrlisng/functions1.min.js"></script>
- <!-- Lightbox handling -->
- <script>
- $(document).ready(function () {
- $(".high-res .featured-image").click(openLightbox);
- $(".slideshow").each(setPhotosetLayout);
- $(".slideshow .image").click(startSlideshow);
- });
- </script>
- <noscript>This page requires JavaScript.</noscript>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement