Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!--
- TAGS IV
- by alydae
- released: december 30, 2017
- last updated: november 19, 2024
- - do not steal any part of this code
- - do not even TOUCH the credit
- - direct questions to enchantedthemes.tumblr.com
- please read the customisation guide to edit this page!
- http://enchantedthemes.tumblr.com/tags4/editing
- thank you for using!!!
- -->
- <title>navigation</title>
- <link rel="shortcut icon" href="{Favicon}">
- <!-- scripts - DO NOT TOUCH -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <!-- custom font -->
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
- <link href=“//use.fontawesome.com/releases/v6.5.1/css/all.css” rel=“stylesheet”>
- <link rel="stylesheet" href="https://static.tumblr.com/p0knose/GQToiq7ub/outicons.css" type="text/css">
- <style type="text/css">
- @keyframes fadein {
- from { opacity:0; }
- to { opacity:1; }
- }
- @-moz-keyframes fadein {
- from { opacity:0; }
- to { opacity:1; }
- }
- @-webkit-keyframes fadein {
- from { opacity:0; }
- to { opacity:1; }
- }
- @-ms-keyframes fadein {
- from { opacity:0; }
- to { opacity:1; }
- }
- @-o-keyframes fadein {
- from { opacity:0; }
- to { opacity:1; }
- }
- /*-- selection --*/
- ::-moz-selection { background:var(--accent); color:var(--title); }
- ::selection { background:var(--accent); color:var(--title); }
- /*-- scrollbar --*/
- ::-webkit-scrollbar {
- width:1px;
- height:2px;
- }
- ::-webkit-scrollbar-thumb { background-color:var(--text); }
- /*-- tooltips --*/
- #s-m-t-tooltip {
- color:var(--text);
- background-color:var(--accent);
- font-size:calc(var(--font-size) - 2px);
- font-family:'Open Sans', helvetica, sans-serif;
- letter-spacing:1px;
- text-transform:uppercase;
- text-align:center;
- position:absolute;
- padding:0px 5px 0px 5px;
- margin-top:30px;
- border:1px solid var(--borders);
- z-index:9999;
- }
- /*-- tumblr controls --*/
- .tmblr-iframe, .iframe-controls–desktop {
- display:none!important;
- }
- /*-- hover animation --*/
- a, a:hover, .tags h1 i, .tags:hover h1 i, ul, ul li {
- transition-duration: 0.3s;
- -moz-transition-duration: 0.3s;
- -webkit-transition-duration: 0.3s;
- -o-transition-duration: 0.3s;
- }
- /*-- change all variables here --*/
- :root {
- --background:#fff;
- --accent:#fafafa;
- --text:#666;
- --links:#444;
- --links-hover:#bad1e7;
- --title:#222;
- --borders:#eee;
- --font-size:10px;
- }
- /*-- general customisation --*/
- body {
- color:var(--text);
- background-color:var(--background);
- font-style:normal;
- font-family:'Open Sans', helvetica, sans-serif;
- font-size:var(--font-size);
- font-weight:400;
- text-decoration:none;
- line-height:180%;
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- font-smoothing: antialiased;
- -webkit-animation: fadein 1.5s;
- -moz-animation: fadein 1.5s;
- -o-animation: fadein 1.5s;
- animation: fadein 1.5s;
- }
- a { text-decoration:none; color:var(--links); }
- a:hover, .tags:hover h1 i { color:var(--links-hover); cursor:pointer; }
- b, strong { font-weight:600; color:var(--title); }
- i, em { font-style:italic; }
- /*-- sidebar --*/
- sidebar {
- position:fixed;
- top:20px;
- left:20px;
- width:150px;
- }
- #icon {
- float:left;
- height:25px;
- width:25px;
- margin-right:10px;
- margin-bottom:10px;
- }
- #icon img { height:25px; width:25px; }
- #title {
- font-size:calc(var(--font-size) + 4px);
- font-weight:700;
- text-transform:uppercase;
- letter-spacing:1px;
- color:var(--title);
- line-height:25px;
- margin-bottom:10px;
- }
- #links { padding-bottom:5px; }
- #links a { display:inline; font-style:italic; margin-right:7px; }
- #links, .tags h1, .tags a { border-bottom:1px solid var(--borders); }
- #desc { padding-top:5px; }
- .sb { max-width:100px; z-index:9999!important; }
- .sb .search .query {
- border:0;
- outline:0;
- margin-top:10px;
- padding:0px;
- font-family:inherit;
- font-size:inherit;
- font-style:italic;
- color:inherit;
- background-color:transparent;
- }
- ::-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; }
- /*-- tags body --*/
- main {
- margin:100px auto;
- width:calc(4 * (150px + 20px));
- /* (number of tags per row * (width of the tag + 2*padding)) */
- }
- .tags {
- width:100%;
- padding:0;
- float:left;
- margin-bottom:50px;
- }
- .tags:last-of-type { margin-bottom:100px; }
- .tags h1 {
- margin:0;
- line-height:30px;
- font-size:calc(var(--font-size) + 2px);
- font-weight:700;
- text-transform:uppercase;
- letter-spacing:0.5px;
- color:var(--title);
- }
- .tags h1 i {
- padding:9px;
- margin-right:9px;
- background:var(--accent);
- border-top:1px solid var(--borders);
- border-left:1px solid var(--borders);
- border-right:1px solid var(--borders);
- }
- .tags:hover h1 i { background:var(--background); }
- .tags a {
- position:relative;
- display:inline-block;
- text-transform:lowercase;
- width:150px!important;
- padding:10px;
- margin-bottom:0px;
- margin-right:-3px;
- line-height:100%;
- float:left;
- border-right:1px solid transparent;
- }
- .tags a:hover { background:var(--accent); }
- ul li {
- display:inline-block;
- position:relative;
- float:left;
- border-right:1px solid transparent;
- }
- ul {
- z-index:999;
- list-style:none;
- padding:0;
- margin:0;
- line-height:89%;
- background:var(--accent);
- box-shadow:10px 10px 20px var(--borders);
- }
- ul a:hover { background:var(--background)!important; }
- ul i { margin-right:5px; }
- li ul { display:none; }
- ul li a { display:block; }
- li:hover > ul { display:block; position:absolute; }
- li:hover li { float:none; }
- .sub { text-transform:uppercase!important; font-style:italic; }
- .sub:before { content:'>'; margin-right:7px; }
- .more {
- max-height:calc(7 * 31px); /* if your levelled tags are too long, this will make it scroll. 7 is the number of tags you want to show before scrolling down. */
- overflow-Y:scroll;
- overflow-X:hidden;
- }
- .more li:last-of-type { margin-bottom:-5px!important; }
- ul ul { left:0; top:31px; }
- ul ul ul { left:170px; top:0; }
- /*-- credit - DO NOT TOUCH --*/
- .credit a {
- font-size:10px;
- bottom:15px;
- right:20px;
- position:fixed;
- text-transform:uppercase;
- }
- </style>
- </head>
- <body>
- <sidebar>
- <!-- the default is your icon. if you want to change it, remove {PortraitURL-128} and replace it with the image url of the one you want -->
- <div id="icon"><img src="{PortraitURL-128}"/></div>
- <div id="title">navigation</div> <!-- title -->
- <div id="links">
- <!-- feel free to add more! -->
- <a href="/">index</a>
- <a href="/ask">ask</a>
- <a href="/">link</a>
- <a href="/archive">archive</a>
- </div>
- <!-- description and search bar are optional. if you don't want it, just delete the section below -->
- <div id="desc">you can have an optional description here.
- <div class="sb">
- <form class="search" action="javascript:return false">
- <input type="text" class="query" placeholder="search tagged posts...">
- </form>
- </div>
- </div>
- <!-- up to here -->
- </sidebar>
- <main>
- <!-- INSTRUCTIONS ON CUSTOMISATION
- as this page has three levels of tags and may get confusing, there's a separate page to explain how to edit it at
- http://enchantedthemes.tumblr.com/tags4/editing
- however, the templates that are needed for new sections have been included below.
- TEMPLATE FOR NEW TAG SECTIONS:
- <div class="tags">
- <h1><i class="fa fa-star" aria-hidden="true"></i> section title</h1>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- </div>
- TEMPLATE FOR FIRST-LEVEL SUBTAGS (this goes inside the main tag sections):
- <ul>
- <li><a><i class="fa fa-angle-down" aria-hidden="true"></i>tag</a>
- <ul>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- </ul>
- </li>
- </ul>
- TEMPLATE FOR SECOND-LEVEL SUBTAGS (this goes inside first-level subtags):
- <li><a class="sub">subtag with second-level</a>
- <ul>
- <li><a href="/tagged/">second-level subtag</a></li>
- <li><a href="/tagged/">second-level subtag</a></li>
- <li><a href="/tagged/">second-level subtag</a></li>
- </ul>
- </li>
- -->
- <!-- tag section one -->
- <div class="tags">
- <h1><i class="fa fa-star" aria-hidden="true"></i> section title</h1>
- <ul>
- <li><a><i class="fa fa-angle-down" aria-hidden="true"></i>tag</a>
- <ul>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a class="sub">subtag with second-level</a>
- <ul>
- <li><a href="/tagged/">second-level subtag</a></li>
- <li><a href="/tagged/">second-level subtag</a></li>
- <li><a href="/tagged/">second-level subtag</a></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- </div>
- <!-- tag section one end -->
- <!-- tag section two -->
- <div class="tags">
- <h1><i class="fa fa-star" aria-hidden="true"></i> section title</h1>
- <ul>
- <li><a><i class="fa fa-angle-down" aria-hidden="true"></i>tag</a>
- <ul>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- <li><a href="/tagged/">first-level subtag</a></li>
- </ul>
- </li>
- </ul>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- </div>
- <!-- tag section two end -->
- <!-- tag section three -->
- <div class="tags">
- <h1><i class="fa fa-star" aria-hidden="true"></i> section title</h1>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- <a href="/tagged/">tag</a>
- </div>
- <!-- tag section three end -->
- </main>
- <!-- credit - DO NOT TOUCH -->
- <div class="credit">
- <a href="http://enchantedthemes.tumblr.com" title="alydae">A.</a>
- </div>
- <script>
- $(document).ready(function(){
- $('.search').submit(function(event){
- var value = $('input:first').val();
- location.replace('http://{Name}.tumblr.com/tagged/' + value);
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment