Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- ╭━━━┳╮╱╭┳━━━┳━━━┳━━━━┳╮╱╭┳━━━┳━╮╭━┳━━━┳━━━╮
- ┃╭━╮┃┃╱┃┃╭━━┫╭━╮┃╭╮╭╮┃┃╱┃┃╭━━┫┃╰╯┃┃╭━━┫╭━╮┃
- ┃╰━━┫╰━╯┃╰━━┫┃╱┃┣╯┃┃╰┫╰━╯┃╰━━┫╭╮╭╮┃╰━━┫╰━━╮
- ╰━━╮┃╭━╮┃╭━━┫╰━╯┃╱┃┃╱┃╭━╮┃╭━━┫┃┃┃┃┃╭━━┻━━╮┃
- ┃╰━╯┃┃╱┃┃╰━━┫╭━╮┃╱┃┃╱┃┃╱┃┃╰━━┫┃┃┃┃┃╰━━┫╰━╯┃
- ╰━━━┻╯╱╰┻━━━┻╯╱╰╯╱╰╯╱╰╯╱╰┻━━━┻╯╰╯╰┻━━━┻━━━╯
- Portfolio page ⎾DULCET⏌ by sheathemes @ tumblr
- - TERMS -
- I. Do NOT remove my credit from the index page. Keep it exactly where it is
- II. Do NOT take any part of my code to use for your personal designs
- III. Do NOT claim any part of my code as your own
- IV. NO redistrubuting of any of my code
- V. Editing is allowed. As long as it's NOT being claimed as your own
- CREDITS
- > Style-my-Tootips: http://manos.malihu.gr/style-my-tooltips-jquery-plugin/
- > Smoothscroll script: https://cdnjs.com/libraries/smoothscroll
- > Font icons: http://saturnthms.com/font
- > Isotope filtering script: https://isotope.metafizzy.co/filtering.html
- !-->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <!--Custom Fonts-->
- <link rel="preconnect" href="https://fonts.gstatic.com">
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Lato:wght@400;700&family=Merriweather:wght@400;700&family=Noto+Sans+JP:wght@400;700&family=Open+Sans:wght@400;700&family=Playfair+Display&family=Poppins:wght@400;700&family=Roboto:wght@400;700&family=Epilogue:wght@400;700&display=swap" rel="stylesheet">
- <!--Custom Fonts-->
- <!--Homelinks Icons-->
- <link href="//solrainha.github.io/saturnicons/saturnicons.css" rel="stylesheet">
- <!--Homelinks Icons-->
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="portfolio.css">
- </head>
- <style type="text/css">
- :root {
- --accent: #7D4B30;
- --accented-text: #ffffff;
- --main-background: #f8f8f8;
- --main-font: 14px;
- --main-font-color: #444444;
- --header-title: #000000;
- --header-content-background: #ffffff;
- --bolded: #000000;
- --italic: #7D4B30;
- --underline: #7D4B30;
- --main-links: #000000;
- --link-hover: #c1d9cd;
- --scrollbar: #291B16;
- --text-selection-background: #c1d9cd;
- --text-selection: #000000;
- --tooltip: #fff;
- --tooltip-background: #291B16;
- --post-borders: #E6E6E6;
- --portfolio-background: #ffffff;
- }
- /*----------FADE-IN ANIMATION----------*/
- @keyframes fadein {
- from {opacity:0;}
- to {opacity:1;}
- }
- @-moz-keyframes fadein { /* Firefox */
- from {opacity:0;}
- to {opacity:1;}
- }
- @-webkit-keyframes fadein { /* Safari and Chrome */
- from {opacity:0;}
- to {opacity:1;}
- }
- @-o-keyframes fadein { /* Opera */
- from {opacity:0;}
- to {opacity: 1;}
- }
- /*----------TUMBLR CONTROLS----------*/
- iframe#tumblr_controls, .iframe-controls--desktop {
- right: 10px !important;
- top: 25px !important;
- position: fixed !important;
- z-index: 99999999999999999999 !important;
- -webkit-filter: invert(100%);
- -moz-filter: invert(100%);
- -o-filter: invert(100%);
- -webkit-transition: opacity 0.4s linear;opacity: 0.4;
- -webkit-transition: all 0.8s ease-out;
- -moz-transition: all 0.8s ease-out;
- transition: all 0.8s ease-out;
- display: none;
- }
- /*----------SCROLLBAR----------*/
- ::-webkit-scrollbar {
- width: 10px;
- height: 6px;
- }
- ::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- ::-webkit-scrollbar-thumb {
- background-color: var(--scrollbar);
- border-radius: 20px;
- border: 2px solid var(--main-background);
- }
- ::-webkit-scrollbar-track {
- background: var(--portfolio-background);
- border: 8px solid var(--portfolio-background);
- border-radius: 20px;
- }
- ::-webkit-scrollbar-corner {
- background: transparent;
- }
- /*----------TOOLTIPS----------*/
- .tippy-tooltip.custom-theme {
- background-color: var(--tooltip-background);
- color: var(--tooltip);
- text-align:center;
- font-size: 12px;
- }
- .tippy-tooltip.custom-theme .tippy-svg-arrow {
- fill: var(--tooltip-background);
- }
- /*----------TEXT SELECTION----------*/
- ::selection {
- background: var(--accent);
- color: var(--accented-text);
- }
- ::-moz-selection {
- background: var(--accent);
- color: var(--accented-text);
- }
- ::-webkit-selection {
- background: var(--accent);
- color: var(--accented-text);
- }
- /*----------THEME BASICS----------*/
- body {
- color: var(--text);
- font-family: 'Poppins', sans-serif;
- font-weight: 400;
- font-size: var(--main-font);
- line-height: 180%;
- margin: 0;
- text-align: left;
- background: var(--main-background) url("") center;
- background-attachment: fixed;
- background-repeat: repeat;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- animation: fadein 2.5s;
- -moz-animation: fadein 2.5s; /* Firefox */
- -webkit-animation: fadein 2.5s; /* Safari and Chrome */
- -o-animation: fadein 2.5s; /* Opera */
- }
- b,strong {
- color:var(--bolded);
- font-weight: 700;
- }
- i,em {
- color:var(--italic);
- }
- u {
- color:var(--underline);
- }
- hr {
- width: 30%;
- height: 1px;
- background-color: var(--accent);
- color: var(--accent);
- border: 0px solid transparent;
- }
- h1,h2,h3 {
- font-weight: 700;
- font-size: 1.4em;
- color: var(--bolded);
- }
- h4,h5,h6 {
- font-weight: 700;
- font-size: 1.2em;
- color: var(--bolded);
- }
- small,sub,sup {
- font-size: 10px;
- }
- a {
- color: var(--bolded);
- text-decoration:none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- a:hover {
- color: var(--accent);
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- /*----------HEADER----------*/
- header {
- width: 100%;
- height: 200px;
- position: relative;
- top: 0;
- overflow-x: hidden;
- background: var(--accent) url("") center no-repeat;
- }
- /*----------CONTAINER---------*/
- #container {
- width: 80%;
- position: relative;
- margin: auto;
- }
- /*----------HEADER DESCRIPTION----------*/
- .desc-cont {
- width: 800px;
- background-color: var(--portfolio-background);
- position: relative;
- padding: 20px;
- box-sizing: border-box;
- left: 0;
- right: 0;
- margin: auto;
- top: -80px;
- z-index: 400;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- /*----------TUMBLR LINKS----------*/
- .homelinks {
- margin-top: 5px;
- }
- .homelinks a {
- display: inline-block;
- margin: 0 10px;
- }
- .sf-home-o, .sf-envelope-3-o, .sf-share-o, .sf-save-o, .sf-cat-o, .sf-clubs-o, .sf-flower-1-o {
- background-color: var(--accent);
- color: var(--accented-text);
- font-size: 20px;
- height: 20px;
- display: inline-block;
- border-radius: 50%;
- padding: 10px;
- line-height: 10px;
- -webkit-transition: all 0.6s ease-in-out;
- -moz-transition: all 0.6s ease-in-out;
- -o-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- .sf-home-o:hover, .sf-envelope-3-o:hover, .sf-share-o:hover, .sf-save-o:hover, .sf-cat-o:hover, .sf-clubs-o:hover, .sf-flower-1-o:hover {
- background: transparent;
- color: var(--main-links);
- -webkit-transition: all 0.6s ease-in-out;
- -moz-transition: all 0.6s ease-in-out;
- -o-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- #title {
- text-align: center;
- font-family: 'Merriweather', serif;
- font-size: 1.8em;
- color: var(--header-title);
- text-transform: uppercase;
- border-bottom: 1px solid var(--post-borders);
- padding: 0 20px 20px;
- }
- .description {
- padding: 10px;
- text-align: center;
- margin-top: 10px;
- }
- /*----------CATEGORY LINKS----------*/
- #sort {
- text-align: center;
- }
- #sort li {
- display:inline-block;
- list-style: none;
- margin: 0 10px;
- }
- #sort ul {list-style: none; padding: 0;}
- #sort a {
- color: var(--main-links);
- display:inline-block;
- background-color: transparent;
- padding: 0 20px;
- font-weight: 700;
- }
- #sort a:hover {
- color: var(--acented-text);
- background-color: var(--accent);
- }
- #sort a:hover, #sort a:active {
- background-color: var(--accent);
- color: var(--accented-text);
- }
- #sort li a.selected {
- background-color: var(--accent);
- color: var(--accented-text);
- }
- #port-content {
- width: 100%;
- margin: -20px auto 30px;
- margin-left: 2%;
- }
- /*----------PORTFOLIO SECTION----------*/
- .portfolio {
- margin: 30px;
- padding: 10px;
- background-color: var(--portfolio-background);
- position: relative;
- -moz-transition-duration: 1s;
- -webkit-transition-duration: 1s;
- -o-transition-duration: 1s;
- }
- .portfolio .image-cont {
- position: relative;
- width: 400px;
- height: 250px;
- overflow: hidden;
- transition: 1s;
- }
- .portfolio .image-cont img {
- width: 100%;
- height: 100%;
- transition: 1s;
- }
- .portfolio:hover .image-cont img {
- transform: scale(1.3);
- }
- .portfolio .details {
- position: absolute;
- top: 10px;
- left: 10px;
- right: 10px;
- bottom: 10px;
- background-color:rgba(255,255,255, 0.8);
- transform: scale(.5);
- visibility: hidden;
- transition: .5s;
- }
- .portfolio:hover .details {
- transform: scale(1);
- visibility: visible;
- }
- .portfolio .details .info {
- text-align: center;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
- width: 100%;
- }
- .port-title {
- font-size: 1.3em;
- color: var(--bolded);
- }
- .port-link {
- margin-top: 15px;
- opacity: 0;
- transform: translateY(50px);
- transition: .5s;
- }
- .portfolio:hover .port-link {
- opacity: 1;
- transform: translateY(0px);
- }
- .port-link a {
- font-weight: 600;
- color: var(--bolded);
- }
- .port-link a:hover {
- color: var(--accent);
- }
- /*----------THEME CREDIT/DO NOT REMOVE!!!---------*/
- #bottom {
- bottom: 18px;
- position: fixed;
- right: 30px;
- z-index: 99;
- }
- #bottom a:hover {
- color: var(--link-hover);
- }
- .cred {
- padding: 3px;
- font-size: 18px;
- width: 18px;
- height: 18px;
- display: inline-block;
- background-color: var(--accent);
- color: var(--accented-text);
- line-height: 18px;
- text-align: center;
- }
- .la-arrow-circle-up {
- padding: 3px;
- font-size: 18px;
- width: 18px;
- display: block;
- background-color: var(--accent);
- color: var(--accented-text);
- }
- </style>
- <body>
- <header class="header"></header> <!-----------Top Banner----------->
- <section id="container"> <!-----------Main Container----------->
- <section class="desc-cont"> <!-----------Header----------->
- <h1 id="title">dulcet</h1> <!-----------Page Title----------->
- <nav class="homelinks"> <!-----------Tumblr Links----------->
- <a href="/" title="home"><span class="sf-home-o"></span></a>
- <a href="/ask" title="inbox"><span class="sf-envelope-3-o"></span></a>
- <a href="/submit" title="submit"><span class="sf-share-o"></span></a>
- <a href="/archive" title="archive"><span class="sf-save-o"></span></a>
- <a href="/" title="custom link one"><span class="sf-cat-o"></span></a>
- <a href="/" title="custom link two"><span class="sf-clubs-o"></span></a>
- <a href="/" title="custom link three"><span class="sf-flower-1-o"></span></a>
- </nav> <!-----------Tumblr Links----------->
- <div class="description">
- <!-----------Change the main description below----------->
- Morbi viverra porta massa ut porta.
- Sed erat orci, maximus in maximus quis, semper eget orci.
- Mauris pulvinar pellentesque mauris in consequat.
- Nulla ac metus pharetra urna tempus hendrerit.
- Sed iaculis sit amet metus sit amet laoreet.
- Donec dignissim arcu at nulla malesuada, a molestie risus mollis.
- <!-----------Change the main description below----------->
- </div>
- <div id="sort">
- <ul id="filters" class="option-set clearfix" data-option-key="filter">
- <!-----------Add another filter category below----------->
- <!--------
- <li><a href="#filter" data-option-filter=".category-whatever the next number is">category name</a></li>
- ---------->
- <!-----------Change the name of the filter category below----------->
- <li><a href="#filter" data-option-filter=".portfolio">all</a></li>
- <li><a href="#filter" data-option-filter=".category-one">category one</a></li>
- <li><a href="#filter" data-option-filter=".category-two">category two</a></li>
- <li><a href="#filter" data-option-filter=".category-three">category three</a></li>
- <li><a href="#filter" data-option-filter=".category-four">category four</a></li>
- <!-----------Change the name of the filter category above----------->
- </ul>
- </div>
- </section> <!-----------Header----------->
- <div id="port-content" class="clearfix">
- <!-------This is where you will add/delete/edit the actual content------->
- <!-------- IF YOU WANT ANOTHER PORTFOLIO POST JUST COPY AND PAST THE CODE BELOW
- <section id="category" class="portfolio category-name">
- <section class="image-cont">
- <img src="https://static.tumblr.com/uh2chis/IPvqlac69/placeholder.png">
- </section>
- <div class="details">
- <div class="info">
- <h1 class="port-title">portfolio title</h1>
- <div class="port-desc">portfolio description</div>
- <div class="port-link">
- <a href="#">link here</a>
- </div>
- </div>
- </div>
- </section>
- --------->
- <!-------------------PORTFOLIO POST START------------------->
- <section id="category" class="portfolio category-one">
- <section class="image-cont">
- <img src="https://static.tumblr.com/uh2chis/f83qlcr02/placeholder-2.png">
- </section>
- <div class="details">
- <div class="info">
- <h1 class="port-title">portfolio title</h1>
- <div class="port-desc">portfolio description</div>
- <div class="port-link">
- <a href="#">link here</a>
- </div>
- </div>
- </div>
- </section>
- <!-------------------PORTFOLIO POST END------------------->
- <!-------------------PORTFOLIO POST START------------------->
- <section id="category" class="portfolio category-two">
- <section class="image-cont">
- <img src="https://static.tumblr.com/uh2chis/f83qlcr02/placeholder-2.png">
- </section>
- <div class="details">
- <div class="info">
- <h1 class="port-title">portfolio title</h1>
- <div class="port-desc">portfolio description</div>
- <div class="port-link">
- <a href="#">link here</a>
- </div>
- </div>
- </div>
- </section>
- <!-------------------PORTFOLIO POST END------------------->
- <!-------------------PORTFOLIO POST START------------------->
- <section id="category" class="portfolio category-three">
- <section class="image-cont">
- <img src="https://static.tumblr.com/uh2chis/f83qlcr02/placeholder-2.png">
- </section>
- <div class="details">
- <div class="info">
- <h1 class="port-title">portfolio title</h1>
- <div class="port-desc">portfolio description</div>
- <div class="port-link">
- <a href="#">link here</a>
- </div>
- </div>
- </div>
- </section>
- <!-------------------PORTFOLIO POST END------------------->
- <!-------------------PORTFOLIO POST START------------------->
- <section id="category" class="portfolio category-four">
- <section class="image-cont">
- <img src="https://static.tumblr.com/uh2chis/f83qlcr02/placeholder-2.png">
- </section>
- <div class="details">
- <div class="info">
- <h1 class="port-title">portfolio title</h1>
- <div class="port-desc">portfolio description</div>
- <div class="port-link">
- <a href="#">link here</a>
- </div>
- </div>
- </div>
- </section>
- <!-------------------PORTFOLIO POST END------------------->
- </section> <!-----------Main Container----------->
- </div> <!-------------------PORTFOLIO SECTION END------------------->
- <footer id="bottom">
- <!-------------------DO NOT REMOVE THEME CREDIT!!!------------------->
- <a href="https://sheathemes.tumblr.com" class="cred" title="theme by sheathemes">©</a>
- <!-------------------DO NOT REMOVE THEME CREDIT!!!------------------->
- </footer>
- <!------------Smooth Scroll Script------------>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.6/SmoothScroll.min.js"></script>
- <!------------Smooth Scroll Script------------>
- <!-----------Isotope Filter Script----------->
- <script src="https://static.tumblr.com/fuu6t9w/eubml0pm0/jquery.isotope.min.js"></script>
- <!-----------Isotope Filter Script----------->
- <!-----------Tooltips Script----------->
- <script src="https://unpkg.com/popper.js@1"></script> <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script> <link rel="stylesheet" href="https://unpkg.com/tippy.js@5/dist/svg-arrow.css" />
- <!-----------Tooltips Script----------->
- <script>
- $(document).ready(function(){
- //isotope filtering
- var $container = $('#port-content');
- $container.isotope({
- itemSelector : '.portfolio'
- });
- var $optionSets = $('#sort .option-set'),
- $optionLinks = $optionSets.find('a');
- $optionLinks.click(function(){
- var $this = $(this);
- // don't proceed if already selected
- if ( $this.hasClass('selected') ) {
- return false;
- }
- var $optionSet = $this.parents('.option-set');
- $optionSet.find('.selected').removeClass('selected');
- $this.addClass('selected');
- // make option object dynamically, i.e. { filter: '.my-filter-class' }
- var options = {},
- key = $optionSet.attr('data-option-key'),
- value = $this.attr('data-option-filter');
- // parse 'false' as false boolean
- value = value === 'false' ? false : value;
- options[ key ] = value;
- if ( key === 'layoutMode' && typeof changeLayoutMode === 'function' ) {
- // changes in layout modes need extra logic
- changeLayoutMode( $this, options )
- } else {
- // otherwise, apply new options
- $container.isotope( options );
- }
- return false;
- });
- tippy('a[title]', {
- theme: 'custom',
- arrow: tippy.roundArrow,
- zIndex: 9999999999,
- placement: 'auto',
- maxWidth: 300,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title'); return title; },
- });
- });
- </script>
- </body>
- </html> <!---------------------------END--------------------------->
Advertisement
Add Comment
Please, Sign In to add comment