Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <title>navigate</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!---
- moongate navi page by SAGE / https://demontimes.tumblr.com
- - the places where you can edit are marked / search "edit here"
- - feel free to send me an ask if you have any questions!
- CREDITS:
- - search tags tutorial by shythemes / https://shythemes.tumblr.com/post/138692201618/tutorial-search-tags
- - phosphor icons / https://phosphoricons.com/
- - tippy.js tooltips / https://atomiks.github.io/tippyjs/
- - google fonts / https://fonts.google.com/
- --->
- <!----- GOOGLE FONTS ---->
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Karla:wght@400;700&display=swap" rel="stylesheet">
- <!---- ICONS ---->
- <script src="https://unpkg.com/phosphor-icons"></script>
- <!---- TOOLTIPS ---->
- <script src="https://unpkg.com/popper.js@1"></script>
- <script src="https://unpkg.com/tippy.js@5/dist/tippy-bundle.iife.js"></script>
- <!---- SEARCH BAR ----->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <!----- CSS ----->
- <style type="text/css">
- /*--- EDIT HERE ---*/
- /*--- COLORS ---*/
- :root {
- --background: #f5f5f5;
- --content-background: #fff;
- --link: #8175ff;
- --accent: #6251d1;
- --title: #9791ff;
- --borders: #d8d8d8;
- --shadow: #ddd;
- --gradient-one: #8e94ec;
- --gradient-two: #bfc3ff;
- --gradient-text: #fff;
- --overlay: rgba(255,255,255,.1);
- /*--- OTHER ---*/
- --body-font: 'Karla'; /*-- lmk if you want help changing the font! --*/
- --font-size: 15px;
- --border-radius: 5px;
- --text-shadow:0 0 10px; /*-- change to 0 if you don't want the glow --*/
- }
- /*----- TOOLTIPS -----*/
- .tippy-tooltip.custom-theme {
- background-color: var(--title);
- color: var(--content-background);
- font-weight: 700;
- text-align: center;
- text-transform: uppercase;
- letter-spacing: 0.2em;
- margin: 5px 0;
- font-size: 0.9em;
- border-radius:var(--border-radius);
- margin: 5px 0;
- }
- /*---- SCROLLBAR ----- */
- ::-webkit-scrollbar {
- width: 10px;
- background-color: var(--background);
- }
- ::-webkit-scrollbar-thumb {
- background: linear-gradient(to bottom, var(--gradient-one), var(--gradient-two));
- border-radius: 5px;
- }
- body {
- font-family: var(--body-font), sans-serif;
- font-size: var(--font-size);
- color: var(--text);
- background: var(--background);
- line-height: 160%;
- letter-spacing: 0.2px;
- word-wrap: break-word;
- }
- a {
- color: var(--link);
- text-decoration:none;
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- a:hover {
- color: var(--accent);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- p {margin-top: 1.2em;}
- h2 {font-size:1.1em;letter-spacing:1px;margin:10px 0 -10px 0;color:var(--title);}
- small {font-size: 0.9em;}
- big {font-size: 1.1em;}
- b, bold, strong {color: var(--title);}
- blockquote {
- padding: 0 0 0 1em;
- border-left: 1px solid var(--borders);
- margin: 1em 0 1em 1em;
- }
- li {list-style-type:circle;}
- li::marker {color:var(--accent);}
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {
- z-index: 999999999!important;
- opacity:0;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- .tmblr-iframe-compact .tmblr-iframe--unified-controls:hover {
- opacity:1;
- -webkit-transition: all 0.5s;
- -moz-transition: all 0.5s;
- -ms-transition: all 0.5s;
- -o-transition: all 0.5s;
- transition: all 0.5s;
- }
- /*----- TOP NAVIGATION -----*/
- header {
- position: fixed;
- text-align:center;
- background:linear-gradient(to right, var(--gradient-one), var(--gradient-two));
- padding-top:1em;
- padding-bottom:.5em;
- width: 100%;
- height:40px;
- left: 0;
- right: 0;
- top: 0;
- z-index: 99999999;
- }
- header nav {
- display:flex; justify-content:center;
- }
- header nav a {margin:0 1em 0 1em;}
- header nav i {
- color:var(--gradient-text);
- padding:5px;
- border-radius:100%;
- font-size:1.5em;
- text-shadow:var(--text-shadow);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- header nav i:hover {
- color:var(--accent);
- -webkit-transition: all 0.4s;
- -moz-transition: all 0.4s;
- -ms-transition: all 0.4s;
- -o-transition: all 0.4s;
- transition: all 0.4s;
- }
- /*----- CONTENT -----*/
- #content {
- position:relative;
- width:800px;
- margin:auto;
- }
- .nav-wrap {margin:1em;}
- .nav-wrap:first-of-type {margin-top:100px;}
- .nav-wrap:last-of-type {margin-bottom:100px;}
- .about {
- display:flex;
- justify-content:center;
- align-items:center;
- }
- .about #text {
- width:50%;
- height:70px;
- padding:1em;
- display:flex;
- justify-content:center;
- align-items:center;
- flex-wrap:nowrap;
- background:linear-gradient(to top right, var(--gradient-one), var(--gradient-two));
- border-radius:var(--border-radius);
- box-shadow:1px 1px 5px 1px var(--shadow);
- }
- .search .query {
- border: 0;
- outline: 0;
- padding:19.5px;
- font-size:15px;
- color:var(--gradient-text);
- background-color:rgba(255,255,255,.1);
- border-radius:0 30px 30px 0;
- }
- ::-webkit-input-placeholder {color: inherit;}
- :-moz-placeholder {color: inherit; opacity:1;}
- ::-moz-placeholder {color: inherit; opacity:1;}
- :-ms-input-placeholder {color: inherit;}
- input:focus::-webkit-input-placeholder {color: transparent;}
- input:focus:-moz-placeholder {color: transparent;}
- input:focus::-moz-placeholder {color: transparent;}
- input:focus:-ms-input-placeholder { color: transparent;}
- .about #text i {
- font-size:22px;
- padding:17px;
- text-shadow:var(--text-shadow);
- border-radius:30px 0 0 30px;
- background:rgba(255,255,255,.1);
- color:var(--accent);
- }
- .about #abt-img {
- width:50%;
- height:70px;
- padding:1em;
- margin-right:1em;
- background:var(--content-background);
- border-radius:var(--border-radius);
- display:flex;
- flex-wrap:nowrap;
- justify-content:flex-start;
- align-items:center;
- box-shadow:1px 1px 5px 1px var(--shadow);
- }
- #abt-img img{
- width:70px;
- height:70px;
- object-fit:cover;
- border-radius:100%;
- padding:4px;
- background:linear-gradient(to right, var(--gradient-one), var(--gradient-two));
- }
- #abt-img .txt {
- margin-left:1em;
- }
- #abt-img li {
- color:var(--accent);
- list-style-type:none;
- }
- #abt-img li b {
- font-weight:bold;
- color:var(--title);
- font-size:1.4em;
- }
- .link-wrap {
- display:flex;
- justify-content:space-between;
- flex-wrap:wrap;
- }
- .link-block-left, .link-block-right {
- width:47%;
- padding:.5em;
- margin-bottom:1em;
- border-radius:var(--border-radius);
- box-shadow:1px 1px 5px 1px var(--shadow);
- background:var(--content-background);
- }
- .link-block-left {margin-right:1em;}
- .link-block-left a, .link-block-right a {
- display: inline-block;
- position: relative;
- border-bottom:2px solid var(--borders);
- }
- .link-block-left a:after, .link-block-right a:after {
- content: '';
- position: absolute;
- width: 100%;
- transform: scaleX(0);
- height: 2px;
- bottom: -2px;
- left: 0;
- transform-origin: bottom right;
- transition: transform 0.25s ease-out;
- background:linear-gradient(to right, var(--gradient-one), var(--gradient-two));
- }
- .link-block-left a:hover:after, .link-block-right a:hover:after {
- transform: scaleX(1);
- transform-origin: bottom left;
- }
- .link-block-left .title, .link-block-right .title {
- margin:.5em;
- font-weight:bold;
- font-size:1.4em;
- text-align:center;
- color:var(--title);
- }
- .link-block-left .subtitle, .link-block-right .subtitle {
- display:inline-block;
- margin-left:1em;
- margin-top:.5em;
- font-weight:bold;
- font-size:1.2em;
- text-align:left;
- color:var(--accent);
- }
- .link {
- display:flex; justify-content:flex-start; flex-wrap:wrap;
- margin:1em;
- }
- .link a {
- width:auto;
- margin:.5em;
- letter-spacing:.1em;
- color:var(--link);
- }
- .link a:hover {color:var(--accent);}
- /*--- RESPONSIVENESS ---*/
- @media only screen and (max-width: 1100px) {
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {display:none;}
- }
- @media only screen and (max-width: 850px) {
- #content {margin:100px auto; width:90%;}
- .about {justify-content:center; flex-wrap:wrap;}
- .about #abt-img {width:100%; margin-bottom:1em; height:auto; margin-right:0;justify-content:center;}
- .about #text {width:100%; height:auto;}
- .link-block-left, .link-block-right {width:100%; margin:0 0 1em 0;}
- .tmblr-iframe-compact .tmblr-iframe--unified-controls {display:none;}
- }
- @media only screen and (max-width:450px) {
- #content {width:100%;}
- .about #text {display:none;}
- }
- </style>
- </head>
- <body>
- <!---- EDIT HERE ---->
- <!---- HEADER ---->
- <header>
- <nav>
- <a title="home" href="/"><i class="ph-house-fill"></i></a>
- <a title="contact" href="/ask"><i class="ph-chats-circle-fill"></i></a>
- <a title="link 1 title" href="/"><i class="ph-sparkle-fill"></i></a>
- <a title="link 2 title" href="/"><i class="ph-planet-fill"></i></a>
- <a title="link 3 title" href="/"><i class="ph-moon-stars-fill"></i></a>
- <!---- CREDIT: DO NOT TOUCH ---->
- <a title="page by sage" href="https://demontimes.tumblr.com/"><i class="ph-ghost-fill"></i></a>
- </nav>
- </header>
- <!--- main content --->
- <div id="content">
- <div class="nav-wrap">
- <div class="about">
- <!--- by default this section will show your blog's avatar & url, feel free to change it! --->
- <div id="abt-img">
- <img src="{portraiturl-128}">
- <div class="txt">
- <li><b>navigation</b></li>
- <li>@{name}</li>
- </div>
- </div>
- <!--- the search box will not appear on mobile --->
- <div id="text">
- <i class="ph-magnifying-glass"></i>
- <form class="search" action="javascript:return false">
- <input type="text" class="query" placeholder="search tags">
- </form>
- </div>
- </div>
- </div>
- <div class="nav-wrap">
- <div class="link-wrap">
- <!---
- put all your links/tags below!
- - if you add more link sections make sure you alternate "link-block-left" and "link-block-right"
- - if you add subtitles make sure they are **outside** the <div class="link"></div> blocks
- - feel free to send me an ask if you have questions!
- --->
- <div class="link-block-left">
- <div class="title">title</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- <div class="subtitle">subtitle</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- </div>
- <div class="link-block-right">
- <div class="title">title</div>
- <div class="subtitle">subtitle</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- <div class="subtitle">subtitle</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- </div>
- </div>
- <div class="link-block-left">
- <div class="title">title</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- <div class="subtitle">subtitle</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- </div>
- <div class="link-block-right">
- <div class="title">title</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- <div class="subtitle">subtitle</div>
- <div class="link">
- <a href="/">link one</a>
- <a href="/">link two</a>
- <a href="/">link three</a>
- <a href="/">link four</a>
- <a href="/">link five</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- // tooltips
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- followCursor: true,
- delay: 100,
- placement: 'top',
- zIndex: 9999999999,
- maxWidth: 400,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- // searchbar
- $(document).ready(function(){
- $('.search').submit(function(event){
- var value = $('input:first').val();
- location.replace('http://{Name}.tumblr.com/tagged/' + value);
- });
- });
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment