Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - page 'aelita' by skye southcodes.tumblr.com
- - modify as you please but please do not touch the credit
- - any errors? need help? have questions? let me know!
- southcodes.tumblr.com/inbox
- - normalize css by https://github.com/necolas
- - fonts by google
- - icon font by http://fontawesome.io/icons/
- - tabs by https://www.w3schools.com/howto/howto_js_tabs.asp
- TO CUSTOMIZE THE CHARACTER TABS PLEASE SEE:
- https://www.w3schools.com/howto/howto_js_tabs.asp
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{title}</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="shortcut icon" href="{favicon}">
- <meta name="description" content="{MetaDescription}"/>
- <!-- 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:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Raleway:ital,wght@0,500;0,600;0,700;1,500;1,600;1,700&display=swap" rel="stylesheet">
- <!-- normalize css -->
- <link href="https://necolas.github.io/normalize.css/7.0.0/normalize.css" rel="stylesheet">
- <style>
- :root {
- --background:#ffffff;
- --text:#333;
- --secondary-text: #aaa;
- --links: #8cb3db;
- --links-hover: #36608c;
- --borders:#eee;
- --icons: #77a0cc;
- --accents: pink
- }
- .tmblr-iframe {margin:.7rem;opacity:.6;-ms-transform: scale(0.85);-webkit-transform: scale(0.85); /* Safari */transform: scale(0.85);}
- .tmblr-iframe:hover {opacity:.8;}
- ::-webkit-scrollbar-thumb:vertical {border-left:2px solid var(--borders);}
- ::-webkit-scrollbar {width:6px}
- ::-webkit-scrollbar-track-piece{margin:5px 0;}
- pre {font-family:consolas;
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4- */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word;} /* Internet Explorer 5.5+ */
- body, figure{margin:0;padding:0}
- html{font: 14px 'Karla', sans-serif;}
- body {font-size:14px;color:var(--text);background:var(--background);}
- a {text-decoration: none;color:var(--links);word-break:break-word;}
- a:hover {color:var(--links-hover);}
- blockquote {margin:0;padding:0;}
- img {max-width:100%;height: auto;display: block;margin:0}
- hr {border:0;border-top:1px solid var(--borders);margin:1rem 0;}
- * {
- box-sizing: border-box;
- }
- /* container */
- #container {
- display: flex;
- width: 95vw;
- }
- /* character navigation */
- #character-navigation {
- width: 25rem;
- height: 100vh;
- overflow: auto;
- text-align: center;
- padding:1rem;
- border-right: 1px solid var(--borders);
- background:var(--background);
- z-index: 9;
- }
- #character-navigation button.active {
- background-color: var(--accents);
- }
- .introduction-link {padding:2rem 1rem;}
- .introduction-link img{
- width: 6.5rem;
- height: 6.5rem;
- border-radius: 100%;
- object-fit: cover;
- margin:auto;
- border:.7rem solid var(--background);
- outline:1px solid var(--borders);
- }
- .introduction-link #navigation-title {
- text-transform: uppercase;
- font-weight: 600;
- margin: 2rem 0 0;
- font-size: 1.1rem;
- }
- #character-navigation .character-link{
- transition: 0.3s;
- border:0;
- display: block;
- width: 100%;
- text-align: center;
- cursor: pointer;
- background-color: transparent;
- border-radius: 4px;
- font-family: 'Montserrat', sans-serif;
- }
- #character-navigation .character-link:focus{outline: 0;}
- #character-navigation .character-link:not(.introduction-link) {
- padding:2rem 1rem;
- display: flex;
- align-items: center;
- justify-content: space-between;
- text-align: left;
- }
- .character-link-image {
- width: 4rem;
- height: 4rem;
- border-radius: 100%;
- object-fit: cover;
- }
- #character-navigation .character-link-name {width:calc(100% - 6rem);}
- #character-navigation .character-link-name h2{
- text-transform: uppercase;
- font: 500 1rem 'Montserrat', sans-serif;
- margin:0 0 1rem;
- letter-spacing: .03rem;
- }
- #character-navigation .character-link-name h3{
- margin: 1rem 0 0;
- font: 400 .9rem 'Montserrat', sans-serif;
- color: var(--secondary-text);
- font-style: italic;
- }
- /* main content */
- main {width: 100%;}
- .character-tab {animation: fadeEffect 1s;}
- @keyframes fadeEffect { from {opacity: 0;} to {opacity: 1;}}
- /* main icon navigation */
- #main-navigation {
- list-style:none;
- display: flex;
- flex-wrap: wrap;
- margin-bottom: 4rem;
- align-items: center;
- }
- #main-navigation li{
- margin-right: 2.5rem;
- margin-bottom: 1rem;
- vertical-align: middle;
- }
- #main-navigation .fa-solid {font-size: 1.3rem;}
- .main-navigation-link {
- padding:.4rem .6rem;
- border:1px solid var(--borders);
- border-radius: 3px;
- }
- /* introduction tab */
- #introduction {
- overflow: auto;
- height: 100vh;
- padding: 4rem;
- }
- /* title */
- #page-title {font: 600 2rem 'Raleway', sans-serif}
- #page-title::before {
- content: '\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- color: var(--icons);
- margin-right: 1.5rem;
- border: 4px solid var(--background);
- outline: 1px solid var(--borders);
- border-radius: 100%;
- font-size: .8rem;
- vertical-align: middle;
- }
- /* subtitle */
- #page-subtitle {
- color: var(--secondary-text);
- font-style: italic;
- font-size: 1rem;
- letter-spacing: .03rem;
- }
- /* introduction image */
- #introduction-image {
- width: 15rem;
- height: 15rem;
- border:.7rem solid var(--background);
- outline:1px solid var(--borders);
- margin: 3rem 2rem 1rem 0;
- object-fit: cover;
- float:left
- }
- /* introduction text */
- #introduction-text {
- margin-top: 4rem;
- line-height: 150%;
- }
- /* introduction details */
- #introduction-details li{
- display: inline-block;
- list-style: none;
- margin:2rem 0
- }
- #introduction-details li:after{
- content: '\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- color: var(--icons);
- margin:0 1rem;
- border: 2px solid var(--background);
- outline: 1px solid var(--borders);
- border-radius: 100%;
- font-size: .5rem;
- vertical-align: middle;
- }
- #introduction-details li:last-of-type:after{display: none;}
- /* introduction triggers */
- #introduction-triggers {margin-top: 2rem;}
- #introduction-triggers span {
- border-left: 5px solid var(--accents);
- padding: .3rem 0 .3rem .5rem;
- text-transform: uppercase;
- font-weight: 600;
- }
- #introduction-triggers li {
- display: inline-block;
- list-style: none;
- margin:0 1rem;
- font-style: italic;
- color: var(--secondary-text);
- letter-spacing: .05rem;
- }
- /* about the author section */
- /* about the author divider */
- #about-divider {
- width: 80%;
- text-align: center;
- color: var(--icons);
- margin:5.5rem auto;
- position: relative;
- }
- #about-divider .fa-solid{
- padding:4px;
- background-color: white;
- border: 1px solid #eee;
- border-radius: 100%;
- }
- #about-divider:after {
- content: '';
- position: absolute;right:0;top:10px;
- width:40%;
- height: 1px;
- background-color: var(--borders);
- }
- #about-divider:before {
- content: '';
- position: absolute;left:0;top:10px;
- width:40%;
- height: 1px;
- background-color: var(--borders);
- }
- /* about the author title */
- #about-the-author-title span{
- box-shadow: inset 0 -7px var(--accents);
- padding:0 .3rem
- }
- /* about the author image */
- #author-image {
- width: 80%;
- aspect-ratio: 1 / 1;
- max-width: 13rem;
- margin: 0 0 1rem 1rem;
- border-radius: 100%;
- object-fit: cover;
- float:right
- }
- /* about the author text */
- #about-the-author {line-height: 150%;}
- /* about the author details */
- #about-the-author-details {margin-top: 3rem;}
- #about-the-author-details li{
- display: inline-block;
- list-style: none;
- }
- #about-the-author-details li:after{
- content: '\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- color: var(--icons);
- margin:0 1rem;
- border: 2px solid var(--background);
- outline: 1px solid var(--borders);
- border-radius: 100%;
- font-size: .5rem;
- vertical-align: middle;
- }
- #about-the-author-details li:last-of-type:after{display: none;}
- /* character tabs */
- .character-tab:not(#introduction) {
- display: flex;
- height: 100vh;
- overflow: auto;
- }
- .inner-tab-wrapper {display: flex;}
- /* character info */
- .character-tab-inside {
- width: calc(100% - 12rem);
- height: 100vh;
- overflow: auto;
- height: 100vh;
- padding: 4rem;
- }
- /* character name */
- .character-name {
- font-size: 2.3rem;
- font-family: 'Raleway', sans-serif;
- font-weight: 600;
- }
- .character-name:before {
- content: '\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- color: var(--icons);
- margin-right: 1.5rem;
- border: 4px solid var(--background);
- outline: 1px solid var(--borders);
- border-radius: 100%;
- font-size: .8rem;
- vertical-align: middle;
- }
- .character-subtitle {
- position: relative;
- padding-left: 2.5rem;
- font:400 1rem 'Karla', sans-serif;
- font-style: italic;
- color: var(--secondary-text);
- letter-spacing: .03rem;
- z-index: 0 ;
- }
- .character-subtitle:before {
- background-color: var(--secondary-text);
- content: '';
- width:1.5rem;
- height: 1px;
- position: absolute;
- left:0; top:50%
- }
- /* character details */
- .character-details {
- list-style: none;
- margin-top: 3rem;
- line-height: 180%;
- }
- .character-details li {margin:1.5rem 0}
- .character-details li span{
- padding: .4rem .6rem;
- border-bottom: 1px solid var(--borders);
- }
- .character-details li:before{
- content: '\f111';
- font-family: 'Font Awesome 5 Free';
- font-weight: 900;
- color: var(--icons);
- margin-right: 1.5rem;
- border: 2px solid var(--background);
- outline: 1px solid var(--borders);
- border-radius: 100%;
- font-size: .4rem;
- vertical-align: middle;
- }
- /* character about */
- .character-about {
- margin-top: 3rem;
- line-height: 160%;
- }
- /* character likes/dislikes */
- .likes-dislikes-wrapper {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- text-align: left;
- margin-top: 2rem;
- }
- .likes-dislikes-wrapper ul,.likes-dislikes-wrapper li {
- margin:0;
- list-style: none;
- }
- .likes-dislikes-wrapper li {margin:1rem 0 1.5rem}
- .character-dislikes {
- width: 50%;
- padding:1rem
- }
- .character-dislikes li:before{
- content: '\f7a9';
- font-family: 'Font Awesome 5 Free';
- color:grey;
- font-weight: 900;
- margin-right: .5rem;
- }
- .character-likes {
- width: 50%;
- padding:1rem
- }
- .character-likes li:before{
- content: '\f004';
- font-family: 'Font Awesome 5 Free';
- color:var(--icons);
- font-weight: 900;
- margin-right: .5rem;
- }
- /* progress bars */
- .progress-bars-wrapper {
- list-style: none;
- display: flex;
- justify-content: space-between;
- flex-flow: row wrap;
- margin:2rem 1rem 0;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- text-align: left;
- }
- .stat-container {
- margin:1rem 0;
- width: 50%;
- }
- .stats-name {margin-bottom: .8rem;}
- .stat-square {
- border-radius: 100%;
- width:1.1rem;
- max-width: 10%;
- background-color: #eee;
- aspect-ratio: 1 / 1;
- border:2px solid var(--background);
- display: inline-block;}
- .stat-fill-1 .stat-square:nth-of-type(1),
- .stat-fill-2 .stat-square:nth-of-type(-n+2),
- .stat-fill-3 .stat-square:nth-of-type(-n+3),
- .stat-fill-4 .stat-square:nth-of-type(-n+4),
- .stat-fill-5 .stat-square:nth-of-type(-n+5),
- .stat-fill-6 .stat-square:nth-of-type(-n+6),
- .stat-fill-7 .stat-square:nth-of-type(-n+7),
- .stat-fill-8 .stat-square:nth-of-type(-n+8),
- .stat-fill-9 .stat-square:nth-of-type(-n+9),
- .stat-fill-10 .stat-square:nth-of-type(-n+10)
- {background:var(--icons);}
- /* character links */
- .character-link {margin-top:3rem;}
- .character-link nav ul {
- list-style: none;
- margin: 0;padding: 0;
- }
- .character-link nav ul li{
- list-style: none;
- display: inline-block;
- margin:0 2rem 1rem 0;
- padding:.5rem .6rem;
- border: 1px solid var(--borders);
- border-radius: 3px;
- }
- /* character image and palette */
- .character-image-palette {
- height: 90vh;
- overflow: hidden;
- margin-top: 5vh;
- }
- /* character image */
- .character-image {
- width: 20rem;
- object-fit: cover;
- height:calc(100% - 4rem);
- margin-right: 2rem;
- }
- /* character palette */
- .character-palette {
- display: flex;
- justify-content: space-between;
- width:100%;
- }
- .palette-color {
- width:3rem;
- height: 3rem;
- margin:1rem 0 0
- }
- /* responsive slide in navigation */
- #hamburger-checkbox {display: none;}
- #hamburger {display: none;}
- /* MEDIA */
- @media only screen and (min-width:0) and (max-width:650px) {
- /* character image */
- .character-image {
- width: 20rem;
- object-fit: cover;
- height:calc(100% - 4rem);
- margin-right: 2rem;
- }
- /* character palette */
- .character-palette {
- display: flex;
- justify-content: space-between;
- width:100%;
- }
- }
- @media only screen and (min-width:0) and (max-width:1100px) {
- .stat-container {
- margin:1rem 0;
- width: 90%;
- }
- .character-dislikes {
- width: 90%;
- padding:1rem
- }
- }
- @media only screen and (min-width:0) and (max-width:800px) {
- /* slide in */
- #hamburger {
- cursor: pointer;
- z-index: 99999999!important;
- position: fixed;
- left:2rem;top:2rem;
- padding:.5rem;
- font-size: 1.5rem;
- border: 1px solid var(--borders);
- border-radius: 3px;
- color:var(--icons);
- background-color: var(--background);
- display: block;
- }
- #hamburger-checkbox:checked~#character-navigation {
- transition: 2s ease;
- transform: translateX(0px);
- }
- #character-navigation {
- transform: translateX(-25rem);
- transition: 2s ease;
- width: 25rem!important;
- }
- /* content */
- #container {
- display: block;
- width: 95%;
- }
- #character-navigation {position: absolute ;}
- #main-navigation {margin-top: 4rem;}
- }
- </style>
- </head>
- <body>
- <section id="container">
- <input type="checkbox" id="hamburger-checkbox"><label id="hamburger" for="hamburger-checkbox"><i class="fa-solid fa-bars"></i></label>
- <!-- characters navigation -->
- <nav id="character-navigation" class="nav">
- <button id="defaultOpen" class="introduction-link character-link" onclick="openCharacter(event, 'introduction')">
- <img src="INTRODUCTION LINK IMAGE URL" alt="">
- <h3 id="navigation-title">introduction</h3>
- </button>
- <hr>
- <button class="character-link" onclick="openCharacter(event, 'character-one')">
- <img class="character-link-image" src="CHARACTER NAVIGATION IMAGE" alt="">
- <div class="character-link-name">
- <h2>name</h2>
- <h3>subtitle</h3>
- </div>
- </button>
- <hr>
- <button class="character-link" onclick="openCharacter(event, 'character-two')">
- <img class="character-link-image" src="CHARACTER NAVIGATION IMAGE" alt="">
- <div class="character-link-name">
- <h2>name</h2>
- <h3>subtitle</h3>
- </div>
- </button>
- <hr>
- <button class="character-link" onclick="openCharacter(event, 'character-two')">
- <img class="character-link-image" src="CHARACTER NAVIGATION IMAGE" alt="">
- <div class="character-link-name">
- <h2>name</h2>
- <h3>subtitle</h3>
- </div>
- </button>
- </nav>
- <main>
- <!-- character tabs -->
- <section id="introduction" class="character-tab">
- <nav id="main-navigation">
- <a href="/"><li><i class="fa-solid fa-home"></i></li></a>
- <a href="/ask"><li><i class="fa-solid fa-envelope"></i></li></a>
- <a href="https://www.tumblr.com/follow/{user}"><li><i class="fa-solid fa-plus"></i></li></a>
- <li class="main-navigation-link"><a href="">link 1</a></li>
- <li class="main-navigation-link"><a href="">link 1</a></li>
- <li class="main-navigation-link"><a href="">link 1</a></li>
- </nav>
- <h1 id="page-title">Title</h1>
- <h2 id="page-subtitle">page subtitle</h2>
- <img src="INTRODUCTION TAB IMAGE" alt="" id="introduction-image">
- <article id="introduction-text">
- <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Nobis non voluptatum minus voluptatibus vel hic id earum quasi ipsa tempora! Fugit velit harum quo pariatur, quasi officia deleniti veniam nesciunt.</p>
- </article>
- <div style="clear: both;"></div>
- <article id="introduction-details">
- <li>genre</li>
- <li>word count</li>
- <li>starting date</li>
- </article>
- <article id="introduction-triggers">
- <span>triggers:</span>
- <li>trigger 1,</li>
- <li>trigger 2,</li>
- <li>trigger 3</li>
- </article>
- <div id="about-divider"><i class="fa-solid fa-circle"></i></div>
- <!-- about the author section -->
- <img id="author-image" src="AUTHOR IMAGE URL" alt="">
- <h2 id="about-the-author-title"><span>About the author</span></h2>
- <article id="about-the-author">
- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quaerat hic quis tempore corrupti architecto est in, commodi cumque repellendus sint tenetur consequatur? Veritatis neque numquam tenetur illum, minima laboriosam.</p>
- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quaerat hic quis tempore corrupti architecto est in, commodi cumque repellendus sint tenetur consequatur? Veritatis neque numquam tenetur illum, minima laboriosam.</p>
- </article>
- <article id="about-the-author-details">
- <li>thing</li>
- <li>thing</li>
- <li>thing</li>
- </article>
- <div style="clear:both"></div>
- </section>
- <!-- character start -->
- <section id="character-one" class="character-tab"><div class="inner-tab-wrapper">
- <!-- character information start -->
- <section class="character-tab-inside">
- <!-- character name -->
- <h2 class="character-name">name</h2>
- <!-- character subtitle -->
- <h3 class="character-subtitle">subtitle</h3>
- <!-- character details -->
- <article class="character-details">
- <li><span>thing</span></li>
- <li><span>thing lorem</span></li>
- <li><span>thing</span></li>
- </article>
- <!-- character about -->
- <article class="character-about">
- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quaerat hic quis tempore corrupti architecto est in, commodi cumque repellendus sint tenetur consequatur? Veritatis neque numquam tenetur illum, minima laboriosam.</p>
- </article>
- <!-- likes and dislikes start -->
- <article class="likes-dislikes-wrapper">
- <ul class="character-likes">
- <li>thing </li>
- <li>thing </li>
- </ul>
- <ul class="character-dislikes">
- <li>thing </li>
- <li>thing </li>
- </ul>
- </article>
- <!-- likes and dislikes start -->
- <!-- progress bars start -->
- <article class="progress-bars-wrapper">
- <li class="stat-container">
- <!-- stat name -->
- <div class="stats-name">stat</div>
- <!-- change number below to fill the squares -->
- <div class="stats-value stat-fill-2"><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div></div>
- </li>
- <li class="stat-container">
- <!-- stat name -->
- <div class="stats-name">stat</div>
- <!-- change number below to fill the squares -->
- <div class="stats-value stat-fill-2"><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div></div>
- </li>
- </article>
- <!-- progress bars end -->
- <!-- character links -->
- <article class="character-link">
- <nav><ul>
- <li><a href="">link</a></li>
- <li><a href="">link</a></li>
- </ul></nav>
- </article>
- </section>
- <!-- character information end -->
- <!-- character image and palette start -->
- <section class="character-image-palette">
- <img class="character-image" src="CHARACTER IMAGE URL" alt="">
- <!-- palette -->
- <article class="character-palette">
- <figure class="palette-color" style="background-color: green;"></figure>
- <figure class="palette-color" style="background-color: red;"></figure>
- <figure class="palette-color" style="background-color: yellow;"></figure>
- <figure class="palette-color" style="background-color: blue;"></figure>
- </article>
- </section>
- <!-- character image and palette end -->
- </div><!-- inner wrapper end --></section>
- <!-- character end -->
- <!-- character start -->
- <section id="character-two" class="character-tab"><div class="inner-tab-wrapper">
- <!-- character information start -->
- <section class="character-tab-inside">
- <!-- character name -->
- <h2 class="character-name">name1</h2>
- <!-- character subtitle -->
- <h3 class="character-subtitle">subtitle</h3>
- <!-- character details -->
- <article class="character-details">
- <li><span>thing</span></li>
- <li><span>thing lorem</span></li>
- <li><span>thing</span></li>
- </article>
- <!-- character about -->
- <article class="character-about">
- <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus quaerat hic quis tempore corrupti architecto est in, commodi cumque repellendus sint tenetur consequatur? Veritatis neque numquam tenetur illum, minima laboriosam.</p>
- </article>
- <!-- likes and dislikes start -->
- <article class="likes-dislikes-wrapper">
- <ul class="character-likes">
- <li>thing </li>
- <li>thing </li>
- </ul>
- <ul class="character-dislikes">
- <li>thing </li>
- <li>thing </li>
- </ul>
- </article>
- <!-- likes and dislikes start -->
- <!-- progress bars start -->
- <article class="progress-bars-wrapper">
- <li class="stat-container">
- <!-- stat name -->
- <div class="stats-name">stat</div>
- <!-- change number below to fill the squares -->
- <div class="stats-value stat-fill-2"><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div></div>
- </li>
- <li class="stat-container">
- <!-- stat name -->
- <div class="stats-name">stat</div>
- <!-- change number below to fill the squares -->
- <div class="stats-value stat-fill-2"><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div><div class="stat-square"></div></div>
- </li>
- </article>
- <!-- progress bars end -->
- <!-- character links -->
- <article class="character-link">
- <nav><ul>
- <li><a href="">link</a></li>
- <li><a href="">link</a></li>
- </ul></nav>
- </article>
- </section>
- <!-- character information end -->
- <!-- character image and palette start -->
- <section class="character-image-palette">
- <img class="character-image" src="CHARACTER IMAGE URL" alt="">
- <!-- palette -->
- <article class="character-palette">
- <figure class="palette-color" style="background-color: green;"></figure>
- <figure class="palette-color" style="background-color: red;"></figure>
- <figure class="palette-color" style="background-color: yellow;"></figure>
- <figure class="palette-color" style="background-color: blue;"></figure>
- </article>
- </section>
- <!-- character image and palette end -->
- </div><!-- inner wrapper end --></section>
- <!-- character end -->
- </main>
- </section> <!-- container end -->
- <!-- do not touch -->
- <div style="position:fixed;bottom:2rem;right:2rem;z-index:999999999999999999999!important;font-size:.7rem;letter-spacing:.03rem;"><a href="https://southcodes.tumblr.com" title="coded by southcodes" target="_blank">SC</a></div>
- <script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script>
- <!-- icons font -->
- <script src="https://kit.fontawesome.com/0993e30c04.js" crossorigin="anonymous"></script>
- <script>
- document.getElementById("defaultOpen").click();
- function openCharacter(evt, cityName) {
- var i, tabcontent, tablinks;
- tabcontent = document.getElementsByClassName("character-tab");
- for (i = 0; i < tabcontent.length; i++) {
- tabcontent[i].style.display = "none";
- }
- tablinks = document.getElementsByClassName("character-link");
- 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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement