Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - wip page 'prehistoric' 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 https://fontawesome.com/icons
- - popups by http://jsfiddle.net/WGPhG/1123/
- - isotope filters by https://isotope.metafizzy.co/
- - TO CUSTOMIZE FILTERS PLEASE SEE THIS TUTORIAL, SCROLL DOWN TO "FILTER BY MULTIPLE CRITERIA": https://hendrixrph-blog.tumblr.com/post/131707989334/under-the-cut-is-a-tutorial-on-how-to-create-a
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{title}</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width">
- <link rel="shortcut icon" href="{favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <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=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap" rel="stylesheet">
- <!-- normalize css -->
- <link rel="stylesheet" type="text/css" href="https://necolas.github.io/normalize.css/8.0.1/normalize.css">
- <style>
- :root {
- --background:#fafafa;
- --sidebar-background:#ffffff;
- --boxes-background: #ffffff;
- --popup-background: #ffffff;
- --text: #333333;
- --links: #8cbdce;
- --links-hover: #0000ff;
- --borders: #eeeeee;
- }
- .tmblr-iframe {margin:.7rem;opacity:.6;-ms-transform: scale(0.85); /* IE 9 */-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;height:0;}
- ::-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+ */
- background:#fafafa;
- border:1px solid var(--borders);
- padding:1rem;
- }
- body, figure{margin:0;padding:0}
- html{font: 14px 'Open Sans', 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;}
- blockquote blockquote {border-left:1px solid var(--borders);padding:.1rem 0 .1rem .7rem;}
- img {max-width:100%;height: auto;display: block;margin: 0}
- hr {border:0;border-top:1px solid var(--borders);margin:1rem 0;}
- video { max-width:100%;}
- /* containers */
- main {
- background-color: var(--background);
- width: 100%;
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- }
- /* header */
- .header-image {
- width:6rem;
- height:6rem;
- border-radius: 100%;
- object-fit: cover;
- text-align: right;
- display: block;
- float:right;
- }
- figure.header-image {
- padding:.7rem;
- border:1px solid var(--borders)
- }
- #page-title {
- font:600 1.3rem 'Montserrat', sans-serif;
- margin:2rem 0;
- letter-spacing: .06rem;
- }
- #page-title a{
- color:var(--text);
- }
- #description {
- font-size: .85rem;
- letter-spacing: .04rem;
- line-height: 160%;
- }
- /* nav */
- #navigation {
- margin:2rem 0;
- font-family: 'Montserrat', sans-serif;
- }
- #navigation ul,#navigation li {list-style-type:none;margin:0;padding:0;}
- #navigation li {
- margin:1rem 0;
- font-size: .9rem;
- }
- #sidebar-divider {
- border:0;
- border-top: 1px solid var(--borders);
- width:80%;
- margin:2rem auto
- }
- /* filters */
- #filters-sidebar {
- width: 20rem;
- text-align: right;
- padding:3rem;
- box-sizing: border-box;
- height: 100vh;
- border-right: 1px solid var(--borders);
- position: sticky;top:0;bottom:0;left:0;
- overflow: auto;
- background-color: var(--sidebar-background);
- }
- #filters-sidebar button {
- background-color: transparent;
- border:0;
- padding: 0;
- margin:1rem 0;
- text-align: right;
- display: block;
- width: 100%;
- cursor: pointer;
- transition-duration: .2s;
- font-size: .9rem;
- font-family: 'Montserrat', sans-serif;
- font-weight: 600!important;
- outline: 0;
- color:var(--links)
- }
- .filters .filter-title{
- font:700 1rem 'Montserrat', sans-serif!important;
- text-transform: uppercase;
- margin:2rem 0;
- letter-spacing: .03rem;
- }
- .filters .filter-title:after{
- content:' O';
- color:var(--links)
- }
- #filter-sidebar button:focus {
- outline: 0;
- }
- .is-checked span{
- color: var(--text)!important;
- box-shadow:inset 0 -5px var(--links)!important;
- padding:0 4px;
- transition-duration: .2s!important;
- }
- .button-group {
- margin-bottom:3rem
- }
- /* wips wrapper */
- #header-wips-wrapper {
- width:calc(100% - 20rem);
- margin:auto;
- }
- #wips-wrapper {
- width:100%;
- margin-top: 8rem;
- }
- /* wip boxes */
- .wip-box {
- width: 50%;
- margin:0 auto 10rem;
- box-sizing: border-box;
- }
- .wip-box-inside {
- cursor: pointer;
- max-width:22rem;
- margin:auto;
- box-sizing: border-box;
- background-color: var(--boxes-background);
- border-radius: 10px;
- }
- figure.wip-box-image {
- width: 100%;
- height: 10rem;
- position: relative;
- border-radius: 10px;
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- img.wip-box-image {
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 10px;
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- .wip-title {
- background-color: rgba(255, 255, 255,.5);
- width: 100%;
- margin:0;
- position: absolute;
- padding:1rem;
- box-sizing: border-box;
- text-align: center;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-size: 1.4rem;
- overflow: auto;
- max-height: 10rem;
- line-height:165%;
- }
- .summary {
- font-size: .9rem;
- letter-spacing: .03rem;
- line-height: 160%;
- }
- .summary,.view-more {
- padding:1.5rem;
- background-color: var(--boxes-background);
- border: 1px solid var(--borders);
- }
- .view-more {
- border-top: 0;
- border-radius: 10px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- color:var(--links)
- }
- .view-more,.wip-title {
- font-family: 'Montserrat', sans-serif;
- font-weight: 600;
- text-transform: uppercase;
- text-align: center;
- }
- /* pop ups */
- .popup {
- position:fixed;
- top:0;
- left:0;
- bottom:0;
- right:0;
- width:100%;
- height:100%;
- background-color:rgba(255, 255, 255,.5);
- z-index:1000000000000000;
- display: none;
- }
- .close-popup {
- position:fixed;top:3rem;right:3rem;
- cursor:pointer;
- font-size:2rem;
- z-index:100000000000000000;
- color:var(--links)
- }
- .popup-flex {
- width:100vw;
- height:100vh;
- overflow: auto;
- display:flex;
- flex-flow: row wrap;
- justify-content: center;
- align-items: center;
- }
- .popup-inside {
- width:90vw;
- max-width: 60rem;
- background-color: var(--popup-background);
- border:1px solid var(--borders);
- margin:5rem auto;
- }
- /* popup image */
- .popup-wip-image {
- width: 100%;
- height: 20rem;
- object-fit: cover;
- }
- /* popup title */
- .wip-popup-title {
- margin: 3rem 1rem 4rem 3rem ;
- font:600 1.5rem 'Montserrat', sans-serif;
- }
- /* summary and details section */
- #summary-and-details {
- display: flex;
- list-style: none;
- position: relative;
- font-size: .9rem;
- margin:6rem 0;
- }
- #summary-and-details ul{
- list-style: none;
- padding: 0;margin:0
- }
- #summary-details-divider {
- position: absolute;
- height:70%;top:15%;bottom:0rem;left:50%;
- width:1px;
- padding:2rem 0;
- margin:0 ;
- box-sizing: border-box;
- background-color: var(--borders);
- z-index: 0;
- }
- .popup-details,.popup-summary {
- max-height: 20rem;
- overflow: scroll;
- margin: 0;
- padding:0rem 1rem;
- width:50%;
- z-index: 9;
- flex-grow: 1;
- background-color: var(--popup-background);
- margin:0rem 1.5rem
- }
- /* summary */
- .popup-summary {
- line-height: 160%;
- letter-spacing: .03rem;
- }
- /* details */
- .popup-details {
- line-height: 160%;
- }
- .popup-details ul{
- list-style: none;
- }
- .popup-details ul li {
- margin:1rem 0
- }
- .popup-details ul li span{
- position: relative;
- padding-left: 1rem;
- }
- .popup-details ul li span:before{
- position: absolute;left:0;
- color:var(--links);
- content: '•';
- }
- /* popup characters */
- #popup-characters {
- display:flex;
- flex-flow: row wrap;
- justify-content: space-around;
- margin:4rem 0 4rem;
- }
- .character {
- width:8rem;
- margin:1rem 2rem;
- }
- .character-image {
- width:8rem;
- height:8rem;
- object-fit: cover;
- box-sizing: border-box;
- padding:.7rem;
- border:1px solid var(--borders)
- }
- .character-name {
- font-family: 'Montserrat', sans-serif;
- text-transform: uppercase;
- font-size: .9rem;
- text-align: center;
- width:100%;
- margin:2rem 0 0;padding:0
- }
- /* wip chapters */
- #popup-wip-chapters-wrapper{
- margin: 5rem auto ;
- padding-top: 0;
- border-top: 1px solid var(--borders);
- border-bottom: 1px solid var(--borders);
- }
- .wip-chapter {
- width:90%;
- max-width: 45rem;
- margin:6rem auto ;
- padding:0 0 6rem;
- line-height: 155%;
- border-bottom: 1px solid var(--borders);
- }
- .wip-chapter:last-of-type {
- margin-bottom:0;
- border:0;
- }
- .wip-chapter-title {
- margin-bottom:4rem;
- text-align: center;
- font-weight: 600;
- font-family: 'Montserrat', sans-serif;
- }
- /* faq */
- #popup-faq {
- padding:0 ;
- width:90%;
- margin: 6rem auto ;
- line-height: 170%;
- letter-spacing: .03rem;
- }
- #popup-faq .faq-question{
- font-size: 1.2rem;
- }
- #popup-faq .faq-ask {
- list-style: none;
- margin: 4rem 0;
- line-height: 160%;
- }
- #popup-faq .fa {
- color: var(--links);
- font-size: 1.8rem;
- margin-right: 1rem;
- }
- /* progress bars */
- #progress-bars-wrapper {
- display: flex;
- flex-flow: row wrap;
- justify-content: space-between;
- max-width: 45rem;
- width:90%;
- margin:10rem auto ;
- }
- .bars-wrapper {
- width: 45%;
- margin: 0;
- box-sizing: border-box;
- }
- .progress-title {
- font:600 1rem 'Montserrat', sans-serif;
- margin-bottom: 1rem;
- text-transform: uppercase;
- }
- .progress-bar-container {
- width:100%;
- height:5px;
- background-color: var(--borders);
- position: relative;
- border-radius: 5px;
- }
- .progress-bar-fill {
- position: absolute;left:0;top:0;bottom:0;
- background-color: var(--links);
- }
- /* pop up links */
- #popup-links {
- display: flex;
- flex-flow: row wrap;
- margin:6rem 0;
- justify-content: space-around;
- }
- #popup-links li{
- list-style: none;
- font-family: 'Montserrat', sans-serif;
- font-weight: 600;
- text-transform: uppercase;
- font-size: 1.1rem;
- }
- #popup-links li a{
- color:var(--text);
- box-shadow: inset 0 -7px var(--links);
- padding:0 .5rem
- }
- /* MEDIA */
- @media only screen and (min-width:1440px) and (max-width:9999999px) {
- #header-wips-wrapper{
- width:calc(100vw - 20rem);
- max-width: 100%;
- margin:auto;
- }
- .wip-box-inside {
- cursor: pointer;
- max-width:100%;
- width: 100%;
- }
- #header-wips-wrapper {
- width:calc(100% - 20rem);
- margin:auto;
- }
- .wip-box {
- width: calc(100% / 3);
- }
- }
- @media only screen and (min-width:0px) and (max-width:730px) {
- #navigation {
- text-align: center;
- }
- #navigation li {
- position: relative;
- display: inline-block;
- margin-right:1.5rem;
- padding-right:1.5rem;
- }
- #navigation li:before {
- content:'•';
- position: absolute;right:0;
- }
- #navigation li:last-of-type{
- margin-right:0;
- padding-right:0;
- }
- #navigation li:last-of-type:before{
- content:''
- }
- .header-image {
- display: block;
- float:none;
- margin:auto
- }
- #filters-sidebar {
- width:100%;
- text-align: center;
- box-sizing: border-box;
- height: 100%;
- border-right: 1px solid var(--borders);
- position: static;top:0;bottom:0;
- overflow: auto;
- }
- #filters-sidebar button {
- border-bottom: 1px solid var(--borders);
- margin:1rem;
- display: inline-block;
- width: auto;
- }
- main {
- width: 100%;
- display: block;
- }
- #summary-and-details {
- display:block
- }
- #summary-details-divider {
- display: none;
- }
- .popup-details,.popup-summary {
- width: 100%;
- box-sizing: border-box;
- max-height: 100%;
- padding: 0 2rem;
- }
- .popup-summary{
- border-bottom: 1px solid var(--borders);
- padding: 0 2rem 5rem;
- margin: 0 0 4rem;
- }
- .popup-details {
- padding: 0 2rem;
- margin: 4rem 0 0;
- }
- .popup-details ul{
- padding:0
- }
- #header-wips-wrapper{
- width:90vw;
- max-width: 30rem;
- margin:auto;
- }
- .wip-box-inside {
- cursor: pointer;
- max-width:100%;
- }
- .wip-box {
- width: 100%;
- }
- }
- @media only screen and (min-width:731px) and (max-width:960px) {
- .wip-box {
- width: 100%;
- }
- }
- </style>
- </head>
- <body>
- <main>
- <!-- sidebar start -->
- <section id="filters-sidebar">
- <!-- sidebar image -->
- <a href="/"><figure class="header-image"><img src="https://images.unsplash.com/photo-1528459458967-d78e2fd34a9e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8MTB8fGxpZ2h0JTIwYmx1ZXxlbnwwfHwwfHw%3D&auto=format&fit=crop&w=500&q=60" alt="" class="header-image"></figure></a>
- <div style="clear: both;"></div>
- <h1 id="page-title"><a href="/">
- <!-- title -->
- prehistoric
- </a></h1>
- <article id="description">
- <!-- description -->
- page description
- </article>
- <nav id="navigation"><ul>
- <!-- links -->
- <li><a href="link url">link 1</a></li>
- <li><a href="link url">link 2</a></li>
- <li><a href="link url">link 3</a></li>
- </ul></nav>
- <hr id="sidebar-divider">
- <!-- filters start -->
- <div class="filters">
- <!-- - TO CUSTOMIZE FILTERS PLEASE SEE THIS TUTORIAL, SCROLL DOWN TO "FILTER BY MULTIPLE CRITERIA": https://hendrixrph-blog.tumblr.com/post/131707989334/under-the-cut-is-a-tutorial-on-how-to-create-a -->
- <h3 class="filter-title">filter title</h3>
- <div class="button-group" data-filter-group="one">
- <button class="button is-checked" data-filter=""><span>all</span></button>
- <button class="button" data-filter=".one"><span>one</span></button>
- <button class="button" data-filter=".two"><span>two</span></button>
- </div>
- <h3 class="filter-title">filter title 2</h3>
- <div class="button-group" data-filter-group="two">
- <button class="button is-checked" data-filter=""><span>all</span></button>
- <button class="button" data-filter=".blue"><span>blue</span></button>
- <button class="button" data-filter=".yellow"><span>yellow</span></button>
- </div>
- </div>
- <!--filters end-->
- </section>
- <!-- sidebar end -->
- <!-- wrappers -->
- <section id="header-wips-wrapper">
- <section id="wips-wrapper">
- <!-- to create more wips you have to copy paste from WIP # START to WIP # END -->
- <!-- WIP # START -->
- <div class="wip-box one blue">
- <!-- BOX # START -->
- <div class="wip-box-inside" onClick="openPopup(this);">
- <figure class="wip-box-image">
- <!-- wip image -->
- <img src="WIP IMAGE" alt="" class="wip-box-image">
- <h2 class="wip-title">
- <!-- wip title -->
- wip title
- </h2>
- </figure>
- <article class="summary">
- <!-- wip summary -->
- <p>wip summary</p>
- </article>
- <div class="view-more">view more</div>
- </div>
- <!-- BOX # END -->
- <!-- WIP POPUP # START -->
- <div class="popup">
- <!-- close button -->
- <div title="close" class="close-popup" onclick="closePopup();"><i class="fa fa-xmark"></i></div>
- <!-- wrappers -->
- <div class="popup-flex"><div class="popup-inside">
- <figure class="popup-wip-image">
- <!-- popup image -->
- <img class="popup-wip-image" src="POPUP WIP IMAGE" alt="">
- </figure>
- <h1 class="wip-popup-title">
- <!-- popup title -->
- popup wip title
- </h1>
- <!-- summary and details -->
- <section id="summary-and-details">
- <!-- summary -->
- <article class="popup-summary">
- <!-- summary -->
- <p>pop wip summary</p>
- </article>
- <!-- summary end -->
- <div id="summary-details-divider"></div>
- <!-- details -->
- <article class="popup-details"><ul>
- <!-- detail template
- <li><span><b>title:</b> value</span></li>
- -->
- <li><span><b>title:</b> value</span></li>
- <li><span><b>title:</b> value</span></li>
- </ul></article>
- <!-- details end -->
- </section>
- <!-- summary-and-details -->
- <!-- characters start -->
- <section id="popup-characters">
- <!-- character 1 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 1 end -->
- <!-- character 2 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 2 end -->
- </section> <!-- pop up characters end -->
- <!-- pop up chapters start -->
- <section id="popup-wip-chapters-wrapper">
- <!-- chapter template
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">title</h2>
- <p>content</p>
- </article>
- -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- </section>
- <!-- pop up chapters end -->
- <!-- pop up faq start -->
- <section id="popup-faq">
- <!-- faq template
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- question?
- </b>
- <p>answer</p>
- </li>
- -->
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- </section>
- <!-- pop up faq end -->
- <!-- progress bars start -->
- <section id="progress-bars-wrapper">
- <!-- template. change the % number below 'progress-bar-container' to fill the bar
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- -->
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 50%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 50%;"></div>
- </div>
- </div>
- </section>
- <!-- progress bars end -->
- <!-- popup links start -->
- <section id="popup-links">
- <li><a href="">link 1</a></li>
- <li><a href="">link 2</a></li>
- <li><a href="">link 3</a></li>
- </section>
- <!-- popup links end -->
- </div></div></div>
- <!-- WIP POPUP # END -->
- </div>
- <!-- WIP # END -->
- <!-- WIP # START -->
- <div class="wip-box two yellow">
- <!-- BOX # START -->
- <div class="wip-box-inside" onClick="openPopup(this);">
- <figure class="wip-box-image">
- <!-- wip image -->
- <img src="WIP IMAGE" alt="" class="wip-box-image">
- <h2 class="wip-title">
- <!-- wip title -->
- wip title
- </h2>
- </figure>
- <article class="summary">
- <!-- wip summary -->
- <p>wip summary</p>
- </article>
- <div class="view-more">view more</div>
- </div>
- <!-- BOX # END -->
- <!-- WIP POPUP # START -->
- <div class="popup">
- <!-- close button -->
- <div title="close" class="close-popup" onclick="closePopup();"><i class="fa fa-xmark"></i></div>
- <!-- wrappers -->
- <div class="popup-flex"><div class="popup-inside">
- <figure class="popup-wip-image">
- <!-- popup image -->
- <img class="popup-wip-image" src="POPUP WIP IMAGE" alt="">
- </figure>
- <h1 class="wip-popup-title">
- <!-- popup title -->
- popup wip title
- </h1>
- <!-- summary and details -->
- <section id="summary-and-details">
- <!-- summary -->
- <article class="popup-summary">
- <!-- summary -->
- <p>pop wip summary</p>
- </article>
- <!-- summary end -->
- <div id="summary-details-divider"></div>
- <!-- details -->
- <article class="popup-details"><ul>
- <!-- detail template
- <li><span><b>title:</b> value</span></li>
- -->
- <li><span><b>title:</b> value</span></li>
- <li><span><b>title:</b> value</span></li>
- </ul></article>
- <!-- details end -->
- </section>
- <!-- summary-and-details -->
- <!-- characters start -->
- <section id="popup-characters">
- <!-- character 1 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 1 end -->
- <!-- character 2 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 2 end -->
- </section> <!-- pop up characters end -->
- <!-- pop up chapters start -->
- <section id="popup-wip-chapters-wrapper">
- <!-- chapter template
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">title</h2>
- <p>content</p>
- </article>
- -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- </section>
- <!-- pop up chapters end -->
- <!-- pop up faq start -->
- <section id="popup-faq">
- <!-- faq template
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- question?
- </b>
- <p>answer</p>
- </li>
- -->
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- </section>
- <!-- pop up faq end -->
- <!-- progress bars start -->
- <section id="progress-bars-wrapper">
- <!-- template. change the % number below 'progress-bar-container' to fill the bar
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- -->
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 50%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 50%;"></div>
- </div>
- </div>
- </section>
- <!-- progress bars end -->
- <!-- popup links start -->
- <section id="popup-links">
- <li><a href="">link 1</a></li>
- <li><a href="">link 2</a></li>
- <li><a href="">link 3</a></li>
- </section>
- <!-- popup links end -->
- </div></div></div>
- <!-- WIP POPUP # END -->
- </div>
- <!-- WIP # END -->
- <!-- WIP # START -->
- <div class="wip-box two yellow">
- <!-- BOX # START -->
- <div class="wip-box-inside" onClick="openPopup(this);">
- <figure class="wip-box-image">
- <!-- wip image -->
- <img src="WIP IMAGE" alt="" class="wip-box-image">
- <h2 class="wip-title">
- <!-- wip title -->
- wip title
- </h2>
- </figure>
- <article class="summary">
- <!-- wip summary -->
- <p>wip summary</p>
- </article>
- <div class="view-more">view more</div>
- </div>
- <!-- BOX # END -->
- <!-- WIP POPUP # START -->
- <div class="popup">
- <!-- close button -->
- <div title="close" class="close-popup" onclick="closePopup();"><i class="fa fa-xmark"></i></div>
- <!-- wrappers -->
- <div class="popup-flex"><div class="popup-inside">
- <figure class="popup-wip-image">
- <!-- popup image -->
- <img class="popup-wip-image" src="POPUP WIP IMAGE" alt="">
- </figure>
- <h1 class="wip-popup-title">
- <!-- popup title -->
- popup wip title
- </h1>
- <!-- summary and details -->
- <section id="summary-and-details">
- <!-- summary -->
- <article class="popup-summary">
- <!-- summary -->
- <p>pop wip summary</p>
- </article>
- <!-- summary end -->
- <div id="summary-details-divider"></div>
- <!-- details -->
- <article class="popup-details"><ul>
- <!-- detail template
- <li><span><b>title:</b> value</span></li>
- -->
- <li><span><b>title:</b> value</span></li>
- <li><span><b>title:</b> value</span></li>
- </ul></article>
- <!-- details end -->
- </section>
- <!-- summary-and-details -->
- <!-- characters start -->
- <section id="popup-characters">
- <!-- character 1 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 1 end -->
- <!-- character 2 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 2 end -->
- </section> <!-- pop up characters end -->
- <!-- pop up chapters start -->
- <section id="popup-wip-chapters-wrapper">
- <!-- chapter template
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">title</h2>
- <p>content</p>
- </article>
- -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- </section>
- <!-- pop up chapters end -->
- <!-- pop up faq start -->
- <section id="popup-faq">
- <!-- faq template
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- question?
- </b>
- <p>answer</p>
- </li>
- -->
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- </section>
- <!-- pop up faq end -->
- <!-- progress bars start -->
- <section id="progress-bars-wrapper">
- <!-- template. change the % number below 'progress-bar-container' to fill the bar
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- -->
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 50%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 50%;"></div>
- </div>
- </div>
- </section>
- <!-- progress bars end -->
- <!-- popup links start -->
- <section id="popup-links">
- <li><a href="">link 1</a></li>
- <li><a href="">link 2</a></li>
- <li><a href="">link 3</a></li>
- </section>
- <!-- popup links end -->
- </div></div></div>
- <!-- WIP POPUP # END -->
- </div>
- <!-- WIP # END -->
- <!-- WIP # START -->
- <div class="wip-box two yellow">
- <!-- BOX # START -->
- <div class="wip-box-inside" onClick="openPopup(this);">
- <figure class="wip-box-image">
- <!-- wip image -->
- <img src="WIP IMAGE" alt="" class="wip-box-image">
- <h2 class="wip-title">
- <!-- wip title -->
- wip title
- </h2>
- </figure>
- <article class="summary">
- <!-- wip summary -->
- <p>wip summary</p>
- </article>
- <div class="view-more">view more</div>
- </div>
- <!-- BOX # END -->
- <!-- WIP POPUP # START -->
- <div class="popup">
- <!-- close button -->
- <div title="close" class="close-popup" onclick="closePopup();"><i class="fa fa-xmark"></i></div>
- <!-- wrappers -->
- <div class="popup-flex"><div class="popup-inside">
- <figure class="popup-wip-image">
- <!-- popup image -->
- <img class="popup-wip-image" src="POPUP WIP IMAGE" alt="">
- </figure>
- <h1 class="wip-popup-title">
- <!-- popup title -->
- popup wip title
- </h1>
- <!-- summary and details -->
- <section id="summary-and-details">
- <!-- summary -->
- <article class="popup-summary">
- <!-- summary -->
- <p>pop wip summary</p>
- </article>
- <!-- summary end -->
- <div id="summary-details-divider"></div>
- <!-- details -->
- <article class="popup-details"><ul>
- <!-- detail template
- <li><span><b>title:</b> value</span></li>
- -->
- <li><span><b>title:</b> value</span></li>
- <li><span><b>title:</b> value</span></li>
- </ul></article>
- <!-- details end -->
- </section>
- <!-- summary-and-details -->
- <!-- characters start -->
- <section id="popup-characters">
- <!-- character 1 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 1 end -->
- <!-- character 2 start -->
- <article class="character">
- <!-- character image -->
- <img src="CHARACTER IMAGE" alt="" class="character-image">
- <h2 class="character-name">
- <!-- character name -->
- character name
- </h2>
- </article>
- <!-- character 2 end -->
- </section> <!-- pop up characters end -->
- <!-- pop up chapters start -->
- <section id="popup-wip-chapters-wrapper">
- <!-- chapter template
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">title</h2>
- <p>content</p>
- </article>
- -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- <!-- chapter start -->
- <article class="wip-chapter">
- <h2 class="wip-chapter-title">
- <!-- chapter name -->
- chapter 1
- </h2>
- <!-- chapter text -->
- <p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quam accusantium doloremque repellendus laboriosam magni, error totam nihil ea, dignissimos illum dicta tempora quae consequuntur suscipit eveniet sed laudantium. Dolorem, consectetur.</p>
- </article>
- <!-- chapter end -->
- </section>
- <!-- pop up chapters end -->
- <!-- pop up faq start -->
- <section id="popup-faq">
- <!-- faq template
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- question?
- </b>
- <p>answer</p>
- </li>
- -->
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- <li class="faq-ask"><i class="fa fa-question"></i><b class="faq-question">
- Lorem ipsum dolor sit amet, consectetur adipisicing elit?
- </b>
- <p>A facere ad autem dolorum similique minima inventore, quaerat, vero itaque labore ullam iusto eligendi dolorem. Accusantium, culpa. Magni iure obcaecati ad</p>
- </li>
- </section>
- <!-- pop up faq end -->
- <!-- progress bars start -->
- <section id="progress-bars-wrapper">
- <!-- template. change the % number below 'progress-bar-container' to fill the bar
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- -->
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 25%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 25%;"></div>
- </div>
- </div>
- <div class="bars-wrapper">
- <div class="progress-title">
- progress bar title 50%
- </div>
- <div class="progress-bar-container">
- <div class="progress-bar-fill" style="width: 50%;"></div>
- </div>
- </div>
- </section>
- <!-- progress bars end -->
- <!-- popup links start -->
- <section id="popup-links">
- <li><a href="">link 1</a></li>
- <li><a href="">link 2</a></li>
- <li><a href="">link 3</a></li>
- </section>
- <!-- popup links end -->
- </div></div></div>
- <!-- WIP POPUP # END -->
- </div>
- <!-- WIP # END -->
- </section> <!-- wips wrapper -->
- </section> <!-- header-wips-wrapper -->
- <!-- dont touch -->
- <div style="position: fixed;bottom: 2rem;right: 2rem;background:white;border-radius:5px;width:25px;height:25px;text-align: center;line-height: 25px;z-index:9999999999999!important"><a target="_blank" style="color:#333" href="https://southcodes.tumblr.com/">sc</a></div>
- <!-- icons font -->
- <script src="https://kit.fontawesome.com/0993e30c04.js" crossorigin="anonymous"></script>
- <!-- jquery -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <!-- isotope -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>
- <script type="text/javascript">
- $(document).ready( function() {
- $('.wip-box-inside').click(function(){
- $('body').css('overflow','hidden');
- return false;
- });
- $('.close-popup').click(function(){
- $('body').css('overflow','auto');
- return false;
- });
- // init Isotope
- var $grid = $('#wips-wrapper').isotope({
- itemSelector: '.wip-box'
- });
- // store filter for each group
- var filters = {};
- $('.filters').on( 'click', '.button', function() {
- var $this = $(this);
- // get group key
- var $buttonGroup = $this.parents('.button-group');
- var filterGroup = $buttonGroup.attr('data-filter-group');
- // set filter for group
- filters[ filterGroup ] = $this.attr('data-filter');
- // combine filters
- var filterValue = concatValues( filters );
- // set filter for Isotope
- $grid.isotope({ filter: filterValue });
- });
- // change is-checked class on buttons
- $('.button-group').each( function( i, buttonGroup ) {
- var $buttonGroup = $( buttonGroup );
- $buttonGroup.on( 'click', 'button', function() {
- $buttonGroup.find('.is-checked').removeClass('is-checked');
- $( this ).addClass('is-checked');
- });
- });
- });
- // flatten object by concatting values
- function concatValues( obj ) {
- var value = '';
- for ( var prop in obj ) {
- value += obj[ prop ];
- }
- return value;
- }
- // POP UPS
- function openPopup(elem) {
- $(elem).next().fadeIn(200);
- $(elem).next().siblings(".popup").hide();
- }
- function closePopup() {
- $('.popup').fadeOut(300);
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement