Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>navigation</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!--google fonts-->
- <link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/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>
- <style type="text/css">
- :root{
- --text:#444;
- --background:#fbfbfb;
- --accent:#eee;
- --accent-two:#fff;
- }
- #s-m-t-tooltip{
- max-width:300px;
- margin:15px;
- padding:2px 8px;
- border:1px solid #000;
- background:rgba(255,255,255,.3);
- color:#000;
- z-index:999999;
- font-size:10px;
- font-style:italic;
- text-transform:lowercase;
- box-shadow:1px 1px 3px rgba(204, 221, 221, 0.3);
- }
- ::selection{
- color:#334455;
- background:rgba(255,255,255,.3);
- }
- ::-webkit-scrollbar{
- background:none;
- width:4px;
- }
- ::-webkit-scrollbar-thumb{
- background:var(--accent);
- border:1px solid #333;
- }
- a{
- color:#333;
- text-decoration:underline;
- }
- a:hover{
- cursor:help;
- }
- body{
- font-family:poppins;
- font-size:14px;
- cursor:crosshair;
- margin:0px;
- color:var(--text);
- background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAIUlEQVQoU2O8c+3DfwYiACNIoYqWACMhtaMK8YYQ0cEDAD+RJ6zYB9QqAAAAAElFTkSuQmCC) repeat;
- }
- #container{
- align-self:center;
- }
- h1,h2,h3,h4,h5,h6{
- text-align:center;
- border-bottom:1px solid var(--text);
- margin-bottom:0px;
- }
- .box{
- width:calc(100% / 4);
- margin:50px;
- display:inline-block;
- background:rgba( 255, 255, 255, 0.3);
- box-shadow:0 8px 32px 0 rgba( 31, 38, 135, 0.35);
- backdrop-filter:blur( 2px );
- -webkit-backdrop-filter:blur(1px);
- border-radius:10px;
- border:1px solid rgba( 0, 0, 0, 0.5);
- }
- .box a{
- text-align:center;
- display:block;
- text-decoration:none;
- padding:10px;
- border-radius:10px;
- }
- .box a:hover{
- background: var(--accent-two);
- }
- .box img{
- width:30px;
- height:30px;
- border-radius:100%;
- vertical-align:middle;
- }
- /* Style the tab */
- .tab {
- overflow: hidden;
- border: 1px solid var(--text);
- background-color: rgba( 255, 255, 255, 0.7);
- }
- /* Style the buttons inside the tab */
- .tab button {
- font-weight:bold;
- background-color: rgba( 255, 255, 255, 0);
- float: left;
- border: none;
- outline: none;
- cursor: pointer;
- padding: 14px 16px;
- transition: 0.3s;
- }
- /* Change background color of buttons on hover */
- .tab button:hover {
- background-color:rgba( 255, 255, 255, 0.8);
- }
- /* Create an active/current tablink class */
- .tab button.active {
- background-color:var(--accent);
- }
- /* Style the tab content */
- .tabcontent {
- display: none;
- padding: 6px 12px;
- -webkit-animation: fadeEffect 1s;
- animation: fadeEffect 1s;
- }
- /*credit*/
- .credit{
- position:fixed;
- bottom:15px;
- right:15px;
- -moz-transition:.8s ease;
- -webkit-transition:.8s ease;
- -o-transition:.8s ease;
- }
- .credit img{
- width:30px;
- height:auto;
- }
- .credit:hover{
- -moz-transform:rotate(360deg);
- -webkit-transform:rotate(360deg);
- -o-transform:rotate(360deg);
- -moz-transition:.8s ease;
- -webkit-transition:.8s ease;
- -o-transition:.8s ease;
- }
- </style>
- </head>
- <body>
- <!--boxes for links-->
- <div id="container">
- <div class="tab">
- <button id="defaultOpen" class="tablinks" onclick="openTab(event, 'Group-1')">category 1</button>
- <button class="tablinks" onclick="openTab(event, 'Group-2')">category 2</button>
- <button class="tablinks" onclick="openTab(event, 'Group-3')">category 3</button>
- </div>
- <div id="Group-1" class="tabcontent">
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- <div id="Group-2" class="tabcontent">
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- <div id="Group-3" class="tabcontent">
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- <div class="box">
- <h3>title</h3>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- </div>
- <!--credit-->
- <div class="credit">
- <a title="theme by capecoding" href="https://capecoding.tumblr.com"><img src="https://static.tumblr.com/r44duse/taiqn636j/hjj_copy.png"></a>
- </div>
- <script>
- // Get the element with id="defaultOpen" and click on it
- document.getElementById("defaultOpen").click();
- function openTab(evt, cityName) {
- var i, tabcontent, tablinks;
- tabcontent = document.getElementsByClassName("tabcontent");
- for (i = 0; i < tabcontent.length; i++) {
- tabcontent[i].style.display = "none";
- }
- tablinks = document.getElementsByClassName("tablinks");
- for (i = 0; i < tablinks.length; i++) {
- tablinks[i].className = tablinks[i].className.replace(" active", "");
- }
- document.getElementById(cityName).style.display = "block";
- evt.currentTarget.className += " active";
- }
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment