Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!--
- TAGS II
- by alydae
- - do not steal any part of this code
- - do not even TOUCH the credit
- - direct questions to enchantedthemes.tumblr.com
- - tabs tutorial by @phoenixthemes
- 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="http://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:400,400italic,600,600italic,700,700italic' rel='stylesheet' 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:#eee; color:#444; }
- ::selection { background:#eee; color:#444; }
- /*-- scrollbar --*/
- ::-webkit-scrollbar {
- width:1px;
- height:2px;
- }
- ::-webkit-scrollbar-thumb { background-color:#aaa; } /* scrollbar colour */
- /*-- tooltips --*/
- #s-m-t-tooltip {
- color:#444;
- background-color:#fff;
- font-size:8px;
- font-family:'Open Sans', helvetica, sans-serif;
- letter-spacing:1px;
- text-transform:uppercase;
- text-align:center;
- position:absolute;
- padding:0px 5px 0px 5px;
- border:1px solid #eee;
- margin-top:30px;
- z-index:9999;
- }
- /*-- tumblr controls --*/
- .tmblr-iframe--desktop-logged-in-controls, #tumblr_controls {
- display:none!important;
- }
- /*-- general customisation --*/
- body {
- color:#666; /* text colour */
- background-color:#fafafa; /* background colour */
- font-style:normal;
- font-family:'Open Sans', helvetica, sans-serif;
- font-size:10px;
- 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:#444; /* links colour */
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s
- }
- a:hover {
- color:#bad1e7; /* links hover colour */
- cursor:pointer;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s
- }
- b, strong {
- font-weight:700;
- color:#444;
- }
- i, em { font-style:italic; }
- /*-- header --*/
- #header {
- position:absolute;
- width:350px;
- top:100px;
- padding:15px;
- left:50%;
- transform:translateX(-50%);
- text-align:left;
- }
- .icon {
- position:fixed;
- margin-top:40px;
- height:60px;
- width:60px;
- }
- .icon img {
- height:60px;
- width:60px;
- border-radius:50%;
- }
- .title {
- position:relative;
- margin-left:90px;
- text-transform:uppercase;
- font-size:14px;
- font-weight:700;
- letter-spacing:1px;
- color:#222; /* title colour */
- }
- .desc {
- width:225px;
- max-height:55px;
- margin:15px 90px 15px;
- padding:10px;
- background-color:#fff; /* description background colour */
- border:1px solid #eee;
- overflow-y:scroll!important;
- }
- .links {
- width:250px;
- margin:10px 90px;
- }
- .links a {
- display:inline;
- margin-right:10px;
- letter-spacing:.5px;
- text-transform:uppercase;
- }
- /*-- tags --*/
- .content {
- position:absolute;
- width:801px;
- margin-top:330px;
- left:50%;
- transform:translateX(-50%);
- }
- .tab label {
- width:140px;
- padding:20px;
- padding-right:40px;
- background-color:#fff; /* tab label background colour */
- border-left:1px solid #eee;
- border-bottom:1px solid #eee;
- font-size:11px;
- font-weight:600;
- letter-spacing:0.5px;
- line-height:825%;
- text-align:right;
- text-transform:uppercase;
- display:block;
- cursor:pointer;
- color:#222; /* tab text colour */
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s
- }
- .tab label:first-of-type { border-top:1px solid #eee; }
- .tab label:hover {
- color:#bad1e7; /* links hover colour */
- cursor:pointer;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s
- }
- .tags {
- position:absolute;
- width:535px;
- height:250px;
- /* if you want the height of the tabs to match the height of the main tag body, replace height:300px; with the line below
- height:calc((52px * 5) - 27px);
- change the 5 according to how many tabs you have */
- top:0px;
- margin:0px 201px 150px;
- padding:15px;
- padding-left:50px;
- overflow-y:scroll;
- border:1px solid #eee;
- background-color:#fff; /* tags section background colour */
- }
- .tags a::before {
- content:'>';
- padding-right:7px;
- }
- .tags a {
- width:calc(495px / 1); /* change the 3 to 2 for the tags to be in two columns */
- display:inline-block;
- padding:5px;
- }
- .tags h8 {
- color:#444; /* subtitle colour */
- font-size:10.5px;
- font-weight:600;
- letter-spacing:0.5px;
- text-transform:uppercase;
- display:block;
- margin-top:20px;
- margin-bottom:5px;
- }
- [type=radio]:checked ~ label {
- z-index:2;
- color:#bad1e7; /* text colour of selected tab */
- background-color:#fafafa; /* background colour of selected tab */
- }
- [type=radio]:checked ~ label ~ .tags { z-index:1; }
- .tab [type=radio] { display:none; }
- /*-- credit - DO NOT TOUCH --*/
- .credit a {
- font-size:10px;
- bottom:15px;
- right:20px;
- position:fixed;
- text-transform:uppercase;
- }
- </style>
- </head>
- <body>
- <div id="header">
- <!-- the default is your icon. if you want to change it, remove {PortraitURL-64} and replace it with the image url of the one you want -->
- <div class="icon"><img src="{PortraitURL-64}"/></div>
- <div class="title">navigation</div> <!-- title -->
- <div class="desc"> <!-- you cannot delete or leave this section blank! it will mess up the entire layout. -->
- Tags page. I hope you can find what you are looking for :)
- </div>
- <div class="links">
- <!-- this is where your header links are. feel free to add more. -->
- <a href="/">home</a>
- <a href="/">inbox</a>
- <!-- do not remove this one!!! -->
- <a href="http://alydae.tumblr.com">credit</a>
- </div>
- </div>
- <div class="content">
- <!--
- INSTRUCTIONS ON HOW TO ADD MORE TABS
- 1. copy the template below
- <div class="tab">
- <input type="radio" id="tab-1" name="tab-group-1">
- <label for="tab-1">tab title</label>
- <div class="tags">
- <a href="/tagged/">tag name</a>
- <h8>optional subtitle</h8>
- <a href="/tagged/">tag name</a>
- </div>
- </div>
- 2. once you have done that, you need to change the number after the tab in id="tab-1" and label for="tab-1" - so if you were copying your third tab, it would be id="tab-3" and label for="tab-3".
- DO NOT TOUCH THE name="tab-group-1"
- -->
- <div class="tab">
- <input type="radio" id="tab-1" name="tab-group-1" checked>
- <label for="tab-1">General Tags</label>
- <div class="tags">
- <h8>PAGES</h8>
- <a href="/about">Bio</a>
- <a href="/connections">Connections</a>
- <h8>Tags</h8>
- <a href="/tagged/i can't help it if you look like an angel">i can't help it if you look like an angel <i>(visage, images)</i></a>
- <a href="/tagged/look in the mirror who's inside there">look in the mirror who's inside there <i>(xx images)</i></a>
- <a href="/tagged/took the words right out of my mouth">took the words right out of my mouth <i>(musings)</i></a>
- <a href="/tagged/dancing with your red dress on">dancing with your red dress on <i>(wardrobe, attire)</i></a>
- <a href="/tagged/made of starlight">made of starlight <i>(her aesthetic)</i></a>
- <a href="/tagged/a new soundtrack I could dance to">a new soundtrack I could dance to <i>(music, playlists)</i></a>
- </div>
- </div>
- <div class="tab">
- <input type="radio" id="tab-2" name="tab-group-1">
- <label for="tab-2">Interactions</label>
- <div class="tags">
- <h8>Types</h8>
- <a href="/tagged/talk turns into air">talk turns into air <i>(conversations)</i></a>
- <a href="/tagged/you're dancing with her while i'm staring at my phone">you're dancing with her while i'm staring at my phone <i>(texts + tweets)</i></a>
- <a href="/tagged/ooh snap">ooh snap <i>(snapchats)</i></a>
- </div>
- </div>
- </div>
- <!-- credit - DO NOT TOUCH -->
- <div class="credit">
- <a href="http://alydae.tumblr.com" title="enchantedthemes">A.</a>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement