Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!------------------------------------------------------------------------
- wip page 03
- by @bebewrites
- pls do not remove credit,
- thanks!<3
- ------------------------------------------------------------------------->
- <!DOCTYPE html>
- <head>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-beta1/jquery.js"></script>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
- <!-- title for browser tab -->
- <title>works in progress</title>
- <!-- googe fonts -->
- <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700&display=swap" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Playfair+Display:900,900i&display=swap" rel="stylesheet">
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("a[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:90,
- tip_fade_speed:300,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <style type="text/css">
- /* ---------------------- change colors & font here --------------------- */
- :root {
- --body:#777777; /* text color */
- --link-color:#999999; /* color of links */
- --accent-one:#f4ece2;
- --accent-two:#f3dcd5;
- --bg-color:#fbfbfb; /* background */
- --heading:#555555; /* heading text color */
- --panel-color:#f6f6f6;
- --side-links:#ffffff; /* side nav link color */
- --project-link-hover-text:#ffffff; /* project link text on hover */
- --borders:#eeeeee;
- --shadow:#dddddd; /* container shadow color */
- --body-font:'PT Sans';
- --text-size:12px;
- --text-align:justify; /* or change to LEFT */
- --body-line-height:18px;
- }
- /* ---------------------------------------------------------------------- */
- @-webkit-keyframes fadein {
- 0% {opacity: 0;}
- 100% { opacity: 1; }}
- @-moz-keyframes fadein {
- 0% { opacity: 0; }
- 100% { opacity: 1; }}
- @keyframes fadein {
- 0% { opacity: 0; }
- 100% { opacity: 1; }}
- #s-m-t-tooltip {max-width:300px;margin-top:-30px;margin-left:0px;letter-spacing:0.5px;padding:1px 6px;text-align:center;text-transform:lowercase;color:var(--link-color);background-color:#ffffff;border:1px solid #f4f4f4;z-index:999999;}
- body {
- font-family:var(--body-font);
- font-size:var(--text-size);
- color:var(--body);
- line-height:var(--body-line-height);
- text-align:var(--text-align);
- background-color:var(--bg-color);
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- -webkit-animation: fadein 1.3s;
- -moz-animation:fadein 1.3s;
- animation:fadein 1.3s;
- }
- a {color:var(--link-color);text-decoration:none;-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}
- a:hover {color:var(--accent);-webkit-transition: all 0.3s ease-in-out;-moz-transition: all 0.3s ease-in-out;-o-transition: all 0.3s ease-in-out;-ms-transition: all 0.3s ease-in-out;transition: all 0.3s ease-in-out;}
- #container {
- display:block;
- position:relative;
- margin:100px auto;
- width:450px;
- height:auto;
- border-radius:5px;
- background-color:#fff;
- box-shadow:3px 3px 5px var(--shadow);
- }
- #sidenav {position:absolute;overflow:hidden;left:-30px;z-index:100;}
- #sidenav svg {
- margin-bottom:-2px;
- }
- #sidenav a {
- display:block;
- color:var(--side-links);
- background-color:var(--accent-two);
- padding:4px 8px;
- margin-bottom:5px;
- border-radius:5px 0 0 5px;
- width:14px;
- }
- #sidenav a:hover {color:var(--heading);}
- header {display:block;width:100%;height:auto;background-color:#fff;} #header-img {width:100%;height:200px;background-image: linear-gradient(to right, var(--accent-one) , var(--accent-two) );display: flex;align-items: center;justify-content: center;} #header-img img {width:100%;height:200px;-webkit-filter: grayscale(100%);filter: grayscale(100%);mix-blend-mode:overlay;opacity:1;}
- .page-title {
- position: absolute;
- font-family:'Playfair Display';
- font-weight:900;
- font-size:26px;
- letter-spacing:2px;
- font-style:italic;
- text-shadow: 1px 1px 3px #444;
- color:var(--heading);
- text-align:center;
- }
- section {padding:15px;border-bottom:1px solid #f6f6f6;}
- .accordion {
- background-color: #fff;
- cursor: pointer;
- padding: 15px;
- width: 100%;
- border:0px;
- outline: none;
- font-family:'PT Sans';
- color:var(--heading);
- text-align: left;
- font-size:var(--text-size);
- letter-spacing:0.5px;
- text-transform:uppercase;
- font-weight:700;
- transition: 0.5s;
- }
- .wip-image {display:inline-block;width:30px;height:30px;float:left;margin-right:10px;vertical-align:middle;} .wip-image img {width:30px;height:30px;border-radius:100%;-webkit-filter: saturate(50%);filter: saturate(50%);}
- .info {display:inline-block;height:30px;width:335px;} .info span {font-size:var(--text-size);color:var(--link-color);font-style:italic;text-transform:none;font-weight:400;display:block;}
- .links {display:grid;grid-template-columns:23% 23% 23% 23%;grid-gap:2%;margin:15px 0px;} .links a {display:block;background-color:#fff;padding:2px 5px;text-align:center;} .links a:hover {color:var(--project-link-hover-text);background-color:var(--accent-two);}
- .active, .accordion:hover {background-color: var(--accent-one);}
- .panel {
- padding: 0 15px;
- max-height: 0;
- margin-top:-1px;
- text-transform:none;
- overflow: hidden;
- background-color:var(--panel-color);
- border-bottom:1px solid var(--accent-two);
- transition: 0.3s ease-out;
- }
- .accordion:after {
- content: '\f078';
- font-family:'FontAwesome';
- font-size:9px;
- color: #777;
- float: right;
- line-height:30px;
- margin-left: 5px;
- transition: 0.4s ease-in-out;
- }
- .active:after {transform:rotate(180deg);transition: 0.4s ease-in-out;}
- iframe.tmblr-iframe {display:none;}
- /* don't edit, thanks! <3 */
- .atlas {position:fixed;right:25px;bottom:20px;} .atlas a {color:#bbb;background:transparent;font-family:times new roman;font-size:11px;} .atlas a:hover {color:var(--accent);}
- </style>
- </head>
- <body>
- <!------------------------------------------------------------------------->
- <!-- -->
- <!-- customization starts here -->
- <!-- -->
- <!------------------------------------------------------------------------->
- <div id="container">
- <div id="sidenav" class="sidenav">
- <a href="/" id="one" title="home"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-home"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><polyline points="9 22 9 12 15 12 15 22"></polyline></svg></a>
- <a href="/" id="two" title="contact"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-mail"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg></a>
- <a href="/" id="three" title="history"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-map"><polygon points="1 6 1 22 8 18 16 22 23 18 23 2 16 6 8 2 1 6"></polygon><line x1="8" y1="2" x2="8" y2="18"></line><line x1="16" y1="6" x2="16" y2="22"></line></svg></a>
- <a href="/" id="four" title="dash"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg></a>
- </div>
- <header><!-- header -->
- <!-- header image is 450px by 200px -->
- <div id="header-img">
- <img src="https://live.staticflickr.com/65535/48600849607_07607c4c90_o.jpg"/>
- <!-- header title -->
- <div class="page-title">works in progress</div>
- </div>
- </header><!-- end header -->
- <!-- O N E ---------------------------------------------------------------->
- <section>
- <button class="accordion">
- <!-- wip image -->
- <div class="wip-image">
- <img src="https://live.staticflickr.com/65535/49024509682_6fdcd31b2b_o.jpg"/></div>
- <div class="info">
- <!-- title -->
- title one
- <!-- subtitle -->
- <span>adult fantasy</span>
- </div></button>
- <div class="panel">
- <!-- short synopsis, keep inside <p> </p> tags -->
- <p>lorem ipsum dolor sit amet, consectetur adipiscing elit. integer nec odio. praesent libero. sed cursus ante dapibus diam. sed nisi. nulla quis sem at nibh elementum imperdiet. duis sagittis ipsum. praesent mauris. fusce nec tellus sed augue semper porta. mauris massa.</p>
- <!-- links -->
- <div class="links">
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- </section>
- <!-- T W O ---------------------------------------------------------------->
- <section>
- <button class="accordion">
- <div class="wip-image">
- <img src="https://live.staticflickr.com/65535/49024300336_90906bec9b_o.jpg"/></div>
- <div class="info">
- title two
- <span>ya sci-fi</span>
- </div>
- </button>
- <div class="panel">
- <p>lorem ipsum dolor sit amet, consectetur adipiscing elit. integer nec odio. praesent libero. sed cursus ante dapibus diam. sed nisi. nulla quis sem at nibh elementum imperdiet. duis sagittis ipsum. praesent mauris. fusce nec tellus sed augue semper porta. mauris massa.</p>
- <div class="links">
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- </section>
- <!-- T H R E E ------------------------------------------------------------>
- <section>
- <button class="accordion">
- <div class="wip-image">
- <img src="https://live.staticflickr.com/65535/49023781998_3b6cfbfe25_o.jpg"/></div>
- <div class="info">
- title three
- <span>poetry collection</span>
- </div>
- </button>
- <div class="panel">
- <p>lorem ipsum dolor sit amet, consectetur adipiscing elit. integer nec odio. praesent libero. sed cursus ante dapibus diam. sed nisi. nulla quis sem at nibh elementum imperdiet. duis sagittis ipsum. praesent mauris. fusce nec tellus sed augue semper porta. mauris massa.</p>
- <div class="links">
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- <a href="/">link</a>
- </div>
- </div>
- </section>
- </div><!-- end container - don't edit beyond this point -->
- <!-- pls don't remove, thanks!<3 -->
- <div class="atlas"><a href="https://www.bebewrites.tumblr.com" target="_blank" title="@bebewrites"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg></a></div>
- <script>
- var acc = document.getElementsByClassName("accordion");
- var i;
- for (i = 0; i < acc.length; i++) {
- acc[i].addEventListener("click", function() {
- this.classList.toggle("active");
- var panel = this.nextElementSibling;
- if (panel.style.maxHeight){
- panel.style.maxHeight = null;
- } else {
- panel.style.maxHeight = panel.scrollHeight + "px";
- }
- });
- }
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment