Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC>
- <!-- nuclearthemes on tumblr || thanks for using my code! -->
- <!-- consider supporting me on ko-fi >> https://ko-fi.com/cameroni -->
- <!--
- || CREDITS ||
- • Custom tooltips by Atomiks >> https://atomiks.github.io/tippyjs/
- • Fonts from Google >> https://fonts.google.com/
- • Icons from Font Awesome >> https://fontawesome.com/
- • Placeholders from Unsplash >> https://unsplash.com/
- • Tumblr controls fix by odeysseus >> https://odeysseus.tumblr.com/
- -->
- <html>
- <head>
- <title>{Name} / title</title> <!-- page title -->
- <link rel="shortcut icon" href="{Favicon}">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link href="https://fonts.googleapis.com/css?family=Work+Sans:400,400i,700,700i" rel="stylesheet">
- <script src="https://kit.fontawesome.com/802dca85f3.js" crossorigin="anonymous"></script>
- <style type="text/css">
- * {margin:0; padding:0;}
- /* ----------------------------------------------------------------------- */
- /* --------------------------- tumblr controls --------------------------- */
- .tmblr-iframe {
- filter: invert(100%);
- -o-filter: invert(100%);
- -moz-filter: invert(100%);
- -ms-filter: invert(100%);
- -webkit-filter: invert(100%);
- opacity: 0.2;
- position: fixed;
- right: 5px;
- top: 5px;
- transform: scale(0.7,0.7);
- transform-origin: 100% 0%;
- -ms-transform-origin: 100% 0%;
- -webkit-transform-origin: 100% 0%;
- transition: 0.4s;
- -o-transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -webkit-transition: 0.4s;
- white-space: nowrap;
- }
- .tmblr-iframe:hover {
- opacity: 1;
- }
- /* ----------------------------------------------------------------------- */
- /* --------------------------- custom tooltips --------------------------- */
- .tippy-tooltip.custom-theme {
- background-color: #c2776d;
- border-radius: 0;
- color: #ffffff;
- font-family: inherit;
- font-size: inherit;
- text-align: center;
- }
- /* ----------------------------------------------------------------------- */
- /* -------------------- custom selection & scrollbar --------------------- */
- ::-moz-selection {background: #c2776d; color: #ffffff;}
- ::selection {background: #c2776d; color: #ffffff;}
- ::-webkit-scrollbar-thumb
- {background: #c4a29d; border: 5px solid #ffffff; border-radius: 10px;}
- ::-webkit-scrollbar-track
- {background: #141414; border: 7px solid #ffffff;}
- ::-webkit-scrollbar
- {width: 15px;}
- /* ----------------------------------------------------------------------- */
- /* ----------------------------- page layout ----------------------------- */
- body {
- background: #ffffff; /* background color */
- color: #141414; /* text color */
- font-family: Work Sans; /* font */
- font-size: 15px; /* font size */
- text-align: justify; /* text align */
- }
- #container {
- height: 600px;
- margin: 50px auto;
- max-width: 900px;
- width: 75%;
- }
- /* ----------------------------------------------------------------------- */
- /* ------------------------------- tabs css ------------------------------ */
- #btncontainer { /* container for tab buttons */
- bottom: 100%;
- height: 200px;
- left: 100%;
- position: relative;
- width: 45px;
- }
- #btncontainer button { /* tab buttons */
- background-color: #c4a29d;
- border-radius: 0px 20px 20px 0px;
- border: none;
- cursor: pointer;
- font-family: inherit;
- outline: none;
- margin-bottom: 10px;
- padding: 15px 17px 15px 15px;
- text-align: right;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- width: 45px;
- }
- #btncontainer button:hover { /* tab buttons hover */
- background-color: #c2776d;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- width: 60px;
- }
- #btncontainer button.active { /* active tab button */
- background-color: #c2776d;
- }
- .tabcontent { /* container for tab content */
- background-color: #f2e3e1;
- display: none;
- float: left;
- height: calc(100% - 40px);
- height: -moz-calc(100% - 40px);
- height: -webkit-calc(100% - 40px);
- overflow: auto;
- padding: 20px;
- transition: 1s;
- -moz-transition: 1s;
- -ms-transition: 1s;
- -o-transition: 1s;
- -webkit-transition: 1s;
- width: calc(100% - 440px);
- width: -moz-calc(100% - 440px);
- width: -webkit-calc(100% - 440px);
- -moz-overflow-style: none;
- -ms-overflow-style: none;
- -o-overflow-style: none;
- }
- .tabcontent::-webkit-scrollbar {display: none;}
- /* ----------------------------------------------------------------------- */
- /* -------------------------- character picture -------------------------- */
- #character {float: left; overflow-x: hidden;}
- #character img { /* character image */
- position: relative;
- transition: 1s;
- -moz-transition: 1s;
- -ms-transition: 1s;
- -o-transition: 1s;
- -webkit-transition: 1s;
- width: 400px;
- }
- #links { /* image hover links container */
- height: 600px;
- opacity: 0;
- position: absolute;
- top: 50px;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- width: 400px;
- z-index: 1;
- }
- #links:hover { /* links appear on hover */
- cursor: cell;
- opacity: 1;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- .link { /* individual links */
- background-color: #f2e3e1;
- margin-bottom: 10px;
- padding: 10px;
- text-align: center;
- width: calc(100% - 20px);
- width: -moz-calc(100% - 20px);
- width: -webkit-calc(100% - 20px);
- }
- /* ----------------------------------------------------------------------- */
- /* ---------------------------- tab content ------------------------------ */
- #facts, #skills, #traits, #network { /* top sections */
- background-color: #ffffff;
- height: 160px;
- margin: 20px 0;
- padding: 20px;
- }
- #bio, #sliders, #write { /* bottom sections */
- background-color: #ffffff;
- height: 235px;
- line-height: 20px;
- overflow: auto;
- padding: 20px;
- -moz-overflow-style: none;
- -ms-overflow-style: none;
- -o-overflow-style: none;
- }
- #skills { /* tab 2 | skills section */
- float: left;
- width: calc(60% - 50px);
- width: -moz-calc(60% - 50px);
- width: -webkit-calc(60% - 50px);
- }
- #traits { /* tab 2 | traits section */
- float: left;
- margin-left: 20px;
- width: calc(40% - 50px);
- width: -moz-calc(40% - 50px);
- width: -webkit-calc(40% - 50px);
- }
- #traits i { /* tab 2 | traits icons */
- color: #c4a29d;
- font-size: 1.5em;
- margin-left: 10px;
- }
- #words { /* tab 3 | words section */
- display: flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-box;
- display: -webkit-flex;
- flex-wrap: wrap;
- height: 200px;
- justify-content: space-between;
- margin: 20px 0;
- overflow: auto;
- -moz-overflow-style: none;
- -ms-overflow-style: none;
- -o-overflow-style: none;
- }
- #colors { /* tab 3 | colors section */
- display: flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-box;
- display: -webkit-flex;
- height: 275px;
- }
- #network { /* tab 4 | network section */
- display: flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-box;
- display: -webkit-flex;
- flex-wrap: wrap;
- justify-content: space-between;
- overflow: auto;
- -moz-overflow-style: none;
- -ms-overflow-style: none;
- -o-overflow-style: none;
- }
- .left { /* tab 1 + 2 | left column */
- border-right: 1px solid #c2776d;
- float: left;
- font-weight: bold;
- line-height: 21px;
- margin-right: 10px;
- padding-right: 10px;
- text-transform: uppercase;
- }
- .right { /* tab 1 + 2 | right column */
- float: left;
- line-height: 21px;
- }
- .slider { /* tab 2 | sliders */
- display: flex;
- display: -moz-box;
- display: -ms-flexbox;
- display: -webkit-box;
- display: -webkit-flex;
- justify-content: space-between;
- margin: 0px auto 10px auto;
- width: 100%;
- }
- .box { /* tab 2 | slider bars */
- background-color: #f2e3e1;
- height: 3px;
- margin: 8px;
- overflow: visible;
- width: 200px;
- }
- .box i { /* tab 2 | slider bars icons */
- color: #c2776d;
- margin-top: -6px;
- }
- .word { /* tab 3 | individual words */
- background-color: #c4a29d;
- height: 20px;
- padding: 10px;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- .word:hover { /* tab 3 | words on hover */
- background-color: #c2776d;
- cursor: cell;
- transform: scale(1.25);
- -moz-transform: scale(1.25);
- -ms-transform: scale(1.25);
- -o-transform: scale(1.25);
- -webkit-transform: scale(1.25);
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- /* misc stuff, you don't have to change anything here */
- #bio::-webkit-scrollbar {display: none;}
- #network::-webkit-scrollbar {display: none;}
- #sliders::-webkit-scrollbar {display: none;}
- #words::-webkit-scrollbar {display: none;}
- #write::-webkit-scrollbar {display: none;}
- .colors {width: 100%;}
- .relationships {margin-bottom: 10px; width: 100px;}
- .relationships img {max-width: 100px; width: 100%;}
- .relationships a {border: none;}
- .relationships a:hover {border: none;}
- .slider:last-of-type {margin-bottom: 0px;}
- /* ----------------------------------------------------------------------- */
- /* -------------------------------- text --------------------------------- */
- h1 { /* tab titles */
- font-family: inherit;
- font-size: 2.5em;
- font-weight: normal;
- text-align: right;
- text-transform: uppercase;
- }
- h2 { /* traits titles */
- font-family: inherit;
- font-size: 1.2em;
- font-weight: normal;
- line-height: 50%;
- text-transform: uppercase;
- }
- h3 { /* character names */
- font-family: inherit;
- font-size: 1em;
- margin-top: 12px;
- text-align: center;
- text-transform: uppercase;
- }
- a {
- border-bottom: 3px solid #c4a29d;
- color: #c4a29d; /* link color */
- text-decoration: none;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- a:hover {
- border-bottom: 3px solid #c2776d;
- color: #c2776d; /* link hover color */
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- /* ----------------------------------------------------------------------- */
- /* ----------------------------- responsive ------------------------------ */
- @media only screen and (max-width: 1100px){
- #links {display: none;}
- #character img {
- margin-left: -400px;
- transition: 1s;
- -moz-transition: 1s;
- -ms-transition: 1s;
- -o-transition: 1s;
- -webkit-transition: 1s;
- }
- .tabcontent {
- transition: 1s;
- -moz-transition: 1s;
- -ms-transition: 1s;
- -o-transition: 1s;
- -webkit-transition: 1s;
- width: calc(100% - 40px);
- width: -moz-calc(100% - 40px);
- width: -webkit-calc(100% - 40px);
- }
- }
- @media only screen and (max-width: 550px){
- h1 {font-size: 1.5em;}
- #bio, #write {height: 250px;}
- #colors {height: 290px;}
- #network {justify-content: center;}
- .box {width: 150px;}
- #skills, #traits {
- float: none;
- width: calc(100% - 40px);
- width: -moz-calc(100% - 40px);
- width: -webkit-calc(100% - 40px);
- margin-left: 0;
- }
- }
- /* ----------------------------------------------------------------------- */
- /* ------------------------------- credits ------------------------------- */
- #credit {
- background-color: #ffffff;
- border: none;
- color: #c4a29d;
- bottom: 0;
- font-size: 20px;
- font-style: italic;
- margin: 10px;
- padding: 10px 0px;
- position: fixed;
- right: 0;
- text-align: center;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- width: 40px;
- }
- #credit:hover {
- background-color: #c4a29d;
- color: #ffffff;
- transition: 0.4s;
- -moz-transition: 0.4s;
- -ms-transition: 0.4s;
- -o-transition: 0.4s;
- -webkit-transition: 0.4s;
- }
- /* ----------------------------------------------------------------------- */
- </style>
- </head>
- <body>
- <!--------------------------- START MAIN CONTENT---------------------------->
- <div id="container">
- <!-- side image -->
- <div id="character">
- <!-- character image | 400 x 600 -->
- <img src="https://i.imgur.com/2bGEfln.jpg">
- <!-- hover links -->
- <div id="links">
- <a href="/">
- <div class="link">
- link 1
- </div>
- </a>
- <a href="/">
- <div class="link">
- link 2
- </div>
- </a>
- <a href="/">
- <div class="link">
- link 3
- </div>
- </a>
- </div>
- </div>
- <!-- tab 1 -->
- <div id="Tab 1" class="tabcontent">
- <!-- character name -->
- <h1>character name.</h1>
- <!-- facts section -->
- <div id="facts">
- <!-- left column -->
- <div class="left">
- name
- <br>
- nickname
- <br>
- age
- <br>
- gender
- <br>
- pronouns
- <br>
- sexuality
- <br>
- alignment
- <br>
- zodiac
- </div>
- <!-- right column -->
- <div class="right">
- name
- <br>
- nickname
- <br>
- age
- <br>
- gender
- <br>
- pronouns
- <br>
- sexuality
- <br>
- alignment
- <br>
- zodiac
- </div>
- </div>
- <!-- bio section -->
- <div id="bio">
- Write a character bio here. You can use <b>bold text</b>, <i>italic text</i>, and you can even put <a href="">links</a> here if you'd like. The box has automatic overflow, so you don't have to worry about writing too much!
- <br><br>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In ante metus dictum at tempor commodo ullamcorper a lacus. Nulla posuere sollicitudin aliquam ultrices sagittis orci a.
- <br><br>
- Egestas congue quisque egestas diam in arcu cursus euismod quis. Scelerisque viverra mauris in aliquam sem. Tellus molestie nunc non blandit massa enim nec. Velit laoreet id donec ultrices tincidunt arcu. Elit pellentesque habitant morbi tristique senectus et netus et malesuada. Quisque egestas diam in arcu cursus. Varius duis at consectetur lorem donec massa. Mollis nunc sed id semper risus in hendrerit.
- <br><br>
- Nibh tortor id aliquet lectus proin. Ac turpis egestas sed tempus urna et. Egestas congue quisque egestas diam in arcu cursus euismod. Dis parturient montes nascetur ridiculus mus. Enim eu turpis egestas pretium. Nulla aliquet enim tortor at. Odio ut enim blandit volutpat maecenas volutpat. Facilisi morbi tempus iaculis urna id. Pretium lectus quam id leo in vitae turpis massa sed.
- </div>
- </div>
- <!-- tab 2 -->
- <div id="Tab 2" class="tabcontent">
- <!-- tab title -->
- <h1>statistics.</h1>
- <!-- skills section -->
- <div id="skills">
- <!-- left column -->
- <div class="left">
- skill 1
- <br>
- skill 2
- <br>
- skill 3
- <br>
- skill 4
- <br>
- skill 5
- <br>
- skill 6
- <br>
- skill 7
- <br>
- skill 8
- </div>
- <!-- right column -->
- <div class="right">
- <!-- stat 1 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 2 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 3 -->
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 4 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 5 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 6 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <br>
- <!-- stat 7 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <i class="far fa-heart"></i>
- <br>
- <!-- stat 8 -->
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="fas fa-heart"></i>
- <i class="far fa-heart"></i>
- </div>
- </div>
- <!-- traits section -->
- <div id="traits">
- <!-- qualities -->
- <h2>qualities</h2>
- <br>
- <i class="fas fa-plus"></i> positive
- <br>
- <i class="fas fa-plus"></i> positive
- <br><br>
- <!-- flaws -->
- <h2>flaws</h2>
- <br>
- <i class="fas fa-minus"></i> negative
- <br>
- <i class="fas fa-minus"></i> negative
- </div>
- <!-- sliders section -->
- <div id="sliders">
- <!-- slider 1 -->
- <div class="slider">
- option 1
- <!-- change the percentage to something between -5 and 95 -->
- <div class="box">
- <i style="margin-left:50%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 2 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:-5%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 3 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:95%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 4 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:35%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 5 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:90%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 6 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:5%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 7 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:70%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- <!-- slider 8 -->
- <div class="slider">
- option 1
- <div class="box">
- <i style="margin-left:45%;" class="fas fa-star"></i>
- </div>
- option 2
- </div>
- </div>
- </div>
- <!-- tab 3 -->
- <div id="Tab 3" class="tabcontent">
- <!-- tab title -->
- <h1>aesthetic.</h1>
- <!-- words section -->
- <div id="words">
- <div class="word">leather jackets</div>
- <div class="word">cigarette smoke</div>
- <div class="word">cheap cologne</div>
- <div class="word">neon lights</div>
- <div class="word">late night shopping trips</div>
- <div class="word">black coffee</div>
- <div class="word">bruised knuckles</div>
- <div class="word">bottles of whiskey</div>
- <div class="word">hazy eyes</div>
- <div class="word">large hoodies</div>
- <div class="word">midnight drives</div>
- <div class="word">dark colors</div>
- <div class="word">snow</div>
- </div>
- <!-- colors section -->
- <!-- change colors in style="background: [...]" -->
- <div id="colors">
- <div style="background: #e9cfcc;" class="colors"></div>
- <div style="background: #e3c1bd;" class="colors"></div>
- <div style="background: #deb6b1;" class="colors"></div>
- <div style="background: #d7a8a1;" class="colors"></div>
- <div style="background: #d19a92;" class="colors"></div>
- <div style="background: #cb8b82;" class="colors"></div>
- </div>
- </div>
- <!-- tab 4 -->
- <div id="Tab 4" class="tabcontent">
- <!-- tab title -->
- <h1>notes.</h1>
- <!-- network section -->
- <div id="network">
- <!-- character 1 -->
- <div class="relationships">
- <a href="/" title="friends">
- <img src="https://i.imgur.com/wt2oZOX.png">
- <h3>character <br> name</h3>
- </a>
- </div>
- <!-- character 2 -->
- <div class="relationships">
- <a href="/" title="lovers">
- <img src="https://i.imgur.com/LSgIA2k.png">
- <h3>character <br> name</h3>
- </a>
- </div>
- <!-- character 3 -->
- <div class="relationships">
- <a href="/" title="enemies">
- <img src="https://i.imgur.com/xFb2Rkz.png">
- <h3>character <br> name</h3>
- </a>
- </div>
- <!-- character 4 -->
- <div class="relationships">
- <a href="/" title="friends">
- <img src="https://i.imgur.com/qtwyQXF.png">
- <h3>character <br> name</h3>
- </a>
- </div>
- </div>
- <!-- write anything section -->
- <div id="write">
- Write anything you want here. You can use <b>bold text</b>, <i>italic text</i>, and you can even put <a href="">links</a> here if you'd like. The box has automatic overflow, so you don't have to worry about writing too much!
- <br><br>
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. In ante metus dictum at tempor commodo ullamcorper a lacus. Nulla posuere sollicitudin aliquam ultrices sagittis orci a.
- <br><br>
- Egestas congue quisque egestas diam in arcu cursus euismod quis. Scelerisque viverra mauris in aliquam sem. Tellus molestie nunc non blandit massa enim nec. Velit laoreet id donec ultrices tincidunt arcu. Elit pellentesque habitant morbi tristique senectus et netus et malesuada. Quisque egestas diam in arcu cursus. Varius duis at consectetur lorem donec massa. Mollis nunc sed id semper risus in hendrerit.
- <br><br>
- Nibh tortor id aliquet lectus proin. Ac turpis egestas sed tempus urna et. Egestas congue quisque egestas diam in arcu cursus euismod. Dis parturient montes nascetur ridiculus mus. Enim eu turpis egestas pretium. Nulla aliquet enim tortor at. Odio ut enim blandit volutpat maecenas volutpat. Facilisi morbi tempus iaculis urna id. Pretium lectus quam id leo in vitae turpis massa sed.
- </div>
- </div>
- <!-- tab buttons -->
- <!-- hover text is <button title="[...]">, icon is <i class="[...]"> -->
- <div id="btncontainer">
- <button class="tablinks" onclick="openTab(event, 'Tab 1')"
- id="defaultOpen" title="general">
- <i class="far fa-user"></i>
- </button>
- <button class="tablinks" onclick="openTab(event, 'Tab 2')"
- title="stats">
- <i class="far fa-chart-bar"></i>
- </button>
- <button class="tablinks" onclick="openTab(event, 'Tab 3')"
- title="aesthetic">
- <i class="fas fa-palette"></i>
- </button>
- <button class="tablinks" onclick="openTab(event, 'Tab 4')"
- title="notes">
- <i class="far fa-bookmark"></i>
- </button>
- </div>
- </div>
- <!---------------------------- END MAIN CONTENT----------------------------->
- <!-- don't edit beyond this point please! colors can be modified in <style> -->
- <a id="credit" target="blank" title="by bones" href="https://nuclearthemes.tumblr.com/"><i class="fas fa-skull"></i></a>
- <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" />
- <script>
- function openTab(evt, tabName) {
- 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(tabName).style.display = "block";
- evt.currentTarget.className += " active";
- }
- document.getElementById("defaultOpen").click();
- tippy('[title]', {
- theme: 'custom',
- arrow: false,
- delay: [200, 0],
- zIndex: 9999999999,
- maxWidth: 300,
- content(reference) {
- const title = reference.getAttribute('title');
- reference.removeAttribute('title');
- return title;
- },
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment