Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <title>Diana: Character Page</title>
- <!--
- >> ETHEREAL THEMES // DIANA - CHARACTER PAGE
- Designed by etherealthemes
- etherealthemes.tumblr.com
- ⓒ 2016 - 2020
- Header Image ⓒ Olena Shmahalo via uunsplash @theoperatingsystem
- >> TERMS OF USE
- Do NOT remove the credit
- Do NOT claim as your own
- *You can move the credit, but leave it visible
- *Edit as much as you'd like
- *Feel free to ask about basic customization
- *Page suggestions always welcomed
- >> PAGE HELP
- TO ADD CHARACTERS:
- To add characters, search:
- CHARACTER START
- and copy the block from CHARACTER START to CHARACTER END
- then paste after the last character block
- Each character from START to END has one image, search:
- CHARACTER PORTRAIT
- to change the character image
- MISC:
- To change the header image, search
- CHANGE HEADER HERE
- and add your image url ***1500X1000px recommended
- All info in scroll box to keep page tidy.
- Page auto-centers
- Auto-fills all page sizes ; drag your window size to preview
- TO DISABLE HEADER AUTO PAGE FILL SEARCH:
- Auto Fill
- and delete from AUTO FILL START to AUTO FILL END
- TO ADD A CONTAINER BACKGROUND SEARCH
- .container
- And replace TRANSPARENT with a hex color code
- COLORS:
- To edit colors, search for the section you're looking for. I name all my sections after what they are ie "Navigation", "Characters". An easier cheat sheet to search for specific colors below:
- -Dark Green #2f4729 (scrollbar track, mouse selection, hover character name)
- -Pale Green #686b5f (navigation hover borders, hover character links)
- -Character Borders search: border:15px solid white
- -Hover Character Info search: .character_info
- > make sure to also match the CHARACTER CONTAINER SCROLLBAR border colors
- -Hover Character Name search: .character_info h1
- -Hover Character Links Background search: .character_links a
- -->
- <!-- SCRIPTS-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700|Karla:400,400i,700,700i&display=swap" rel="stylesheet">
- <!-- STYLESHEET-->
- <style type="text/css">
- /* --- SCROLLBAR --- */
- ::-webkit-scrollbar-thumb {background:#2f4729;border:4px solid #ffffff;}
- ::-webkit-scrollbar {width:11px;border:5px solid #ffffff;border-right:5px solid #ffffff;background:#ffffff;}
- /* --- CHARACTER CONTAINER SCROLLBAR --- */
- .character_bio::-webkit-scrollbar-thumb {background:#2f4729;border:2px solid #ffffff;border-left:5px solid #ffffff;}
- .character_bio::-webkit-scrollbar {width:10px;border:2px solid #ffffff;background:#ffffff;}
- /* --- SELECTION ---*/
- ::-moz-selection {color:#ffffff;background:#2f4729;opacity:1;}
- ::selection {color:#ffffff;background:#2f4729;opacity:1;}
- /* --- TUMBLR TOOLS --- */
- iframe.tmblr-iframe {
- position:fixed;
- z-index:10!important;
- top:3px!important;
- right:0px!important;
- opacity:0;
- padding-right:60px;
- transform:scale(0.5);
- transform-origin:100% 0;
- -webkit-transform:scale(0.5);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.5);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.5);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.5);
- -ms-transform-origin:100% 0;
- transition:.2s ease-in-out;
- -webkit-transition:.2s ease-in-out;
- -moz-transition:.2s ease-in-out;
- /* ---------- CHANGE TO 0 FOR WHITE TOOLS -- */
- filter:invert(1);
- -webkit-filter:invert(1);
- -o-filter:invert(1);
- -moz-filter:invert(1);
- -ms-filter:invert(1);
- }
- iframe.tmblr-iframe:hover {opacity:0.5!important;}
- .tcontrols {
- position:fixed;
- top:10px;
- right:15px;
- z-index:9;
- transition:.2s ease-in-out;
- -webkit-transition:.2s ease-in-out;
- -moz-transition:.2s ease-in-out;
- }
- .tcontrols {color:#000000;font-size:14px;}
- /* --- BODY --- */
- body {
- margin: 0px;
- padding: 0px;
- font-family: 'Karla', sans-serif;
- color:#000000;
- font-size:10px;
- line-height:155%;
- font-weight:normal;
- word-wrap:normal;
- text-align:left;
- background-color:#ffffff;
- }
- a {
- color:#000000;
- text-decoration:none;
- border:0;
- opacity:0.6;
- transition:0.2s ease-in-out;
- -webkit-transition:0.2s ease-in-out;
- -moz-transition:0.2s ease-in-out;
- }
- a:hover {opacity:1.0;}
- b,strong {font-weight:700;}
- .et {position:fixed;color:#000000;right:8px;bottom:8px;opacity:0.6;text-transform:uppercase;font-size:calc(10px - 0.5px);z-index:10;}
- /* --- HEADER --- */
- #header {
- position:fixed;
- top:0;
- left:0;
- margin-top:35px;
- width:100%;
- height:450px;
- background-image:url('https://static.tumblr.com/zvesamf/Liqqaq1us/header.jpg');/* --- CHANGE HEADER HERE--- */
- background-position:top center;
- background-repeat:no-repeat;
- z-index:-2;
- }
- #header, .header-scroll {transition:.5s ease-in-out;-webkit-transition:.5s ease-in-out;-moz-transition:.5s ease-in-out;}
- .header-scroll {width:100%!important;height:100%!important;}
- .headertitle {
- position:fixed;
- top:230px;
- margin:0 auto;
- width:100%;
- text-align:center;
- z-index:-1;
- }
- .title {
- display:inline-block;
- text-align:center;
- padding:20px 40px;
- color:#ffffff;
- font-family: 'Playfair Display', serif;
- font-size:20pt;
- font-weight:700;
- font-style:normal;/* --- or add italic for slanted text --- */
- text-transform:lowercase;
- outline:1px solid rgba(255,255,255,0.4);
- outline-offset:10px;
- background:rgba(255,255,255,0.4);
- }
- /* --- CONTAINER --- */
- .container {
- margin:0 auto;
- width:calc(100% - 100px);
- min-width:740px;
- padding:20px;
- margin-top:440px;
- background:transparent;/* --- Add hex code for colored container --- */
- }
- .block_top, .block_bottom {position:fixed;background:#ffffff;height:35px;width:100%;z-index:8;}
- .block_top {top:0px;left:0px;}
- .block_bottom {bottom:0px;left:0px;}
- /* --- SIDEBAR --- */
- .sidebar {
- margin:0 auto;
- padding:30px 20px 20px 20px;
- width:700px;
- font-size:9.5pt;
- text-align:center;
- background:#ffffff;
- }
- .navigation {text-align:center;margin:25px 0px 15px 0px;}
- .navigation a {
- display:inline-block;
- color:#000000;
- margin:0px 18px;
- text-decoration:none;
- border-bottom:5px solid #ffffff;/* --- Match to sidebar background --- */
- padding:0px 5px ;
- font-size:9.5pt;
- text-transform:lowercase;
- line-height:5pt;
- opacity:1;
- }
- .navigation a:hover {border-bottom:5px solid #686b5f;}
- /* --- CHARACTERS --- */
- .character_cont {margin:0 auto;min-width:700px;padding:50px 0px;text-align:center;}
- .character {display:inline-block;width:350px;height:300px;margin:15px 11px;border:15px solid #ffffff;}
- .character img {width:350px;height:300px;}
- .character_info {
- position:absolute;
- margin-top:-285px;
- margin-left:15px;
- width:280px;
- height:230px;
- padding:20px;
- font-size:9pt;
- background:#ffffff;
- opacity:0;
- transition:0.2s ease-in-out;
- -webkit-transition:0.2s ease-in-out;
- -moz-transition:0.2s ease-in-out;
- }
- .character:hover .character_info {opacity:1;}
- .character_info h1 {
- margin:0px 0px 15px 0px;
- font-family: 'Playfair Display', serif;
- font-size:16pt;
- color:#2f4729;
- font-weight:700;
- font-style:normal;/* --- or add italic for slanted text --- */
- text-transform:lowercase;
- }
- .character_bio {
- width:260px;
- height:140px;
- padding:0px 10px;
- margin:14px 0px 0px 0px;
- overflow-x:hidden;
- overflow-y:scroll;
- }
- .character_links {margin:0 auto;text-align:center;margin:10px 0px 0px 0px;padding:7px 0px 10px 0px;}
- .character_links a {
- display:inline-block;
- color:#ffffff;
- margin:0px 8px;
- text-decoration:none;
- text-transform:lowercase;
- padding:1px 6px 0px 6px;
- font-size:9pt;
- background:#686b5f;
- opacity:1;
- }
- </style>
- <body>
- <!-- DO NOT EDIT -->
- <div class="tcontrols">+</div><div class="block_top"></div><div class="block_bottom"></div><div class="et"><a href="https://ethereal-themes.tumblr.com">ethereal</a></div>
- <!-- START HEADER AND HEADER TITLE -->
- <div id="header">
- <!-- TO EDIT HEADER IMAGE: 1. Search for .header in the css above and replace the URL with your desired image ----->
- </div>
- <div class="headertitle">
- <div class="title">
- Blog Title
- </div>
- </div>
- <!-- END HEADER AND HEADER TITLE -->
- <!-- START CONTAINER -->
- <div class="container">
- <!-- START SIDEBAR -->
- <div class="sidebar">
- <!-- TO EDIT SIDEBAR -->
- <!---
- 1. Change the default text to your information
- 2. To change the links, replace the "#" with your URL and the "Link" to the related link title
- ----->
- <!--------------- START SIDEBAR BELOW --------------->
- Lorem <a href="">ipsum</a> dolor sit <em>amet</em>, consectetur adipiscing elit. <b>Aliquam</b> pretium magna et <em>velit</em> dignissim, a placerat nisi rutrum. <i>Vestibulum</i> odio ipsum, rutrum a ex ac, fringilla fermentum ante. <b>Donec</b> nec elit <i>molestie</i> massa finibus <em>pulvinar</em> non nec lacus. <a href="">Nullam</a> ipsum nulla, sodales non ornare et, <b>accumsan</b> a sem. Donec tempus leo non <em>laoreet</em> viverra. Vestibulum ac nunc sem. <b>Aenean</b> vitae <i>convallis</i> velit, non molestie augue.
- <div class="navigation">
- <a href="/">home</a>
- <a href="/ask">contact</a>
- <a href="#">link</a>
- <a href="#">link</a>
- <a href="#">link</a>
- <a href="#">link</a>
- </div>
- </div>
- <!-- END SIDEBAR -->
- <!-- START CHARACTERS -->
- <div class="character_cont">
- <!-----------------------------
- CHARACTER START: COPY THIS SECTION TO ADD A NEW CHARACTER BLOCK
- ------------------------------>
- <div class="character">
- <!-- Character Portrait --><img src="https://static.tumblr.com/zvesamf/eRuqaq5r4/character_1.jpg" />
- <div class="character_info">
- <!-- Character Name ----><h1>Paul</h1>
- <!-- Personality ------->personality type ; age ; gender
- <div class="character_bio">
- <!-- Character Bio ----->Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pretium magna et velit dignissim, a placerat nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, fringilla fermentum ante. Donec nec elit molestie massa finibus pulvinar non nec lacus. Nullam ipsum nulla, sodales non ornare et, accumsan a sem. Donec tempus leo non laoreet viverra. Vestibulum ac nunc sem. Aenean vitae convallis velit, non molestie augue. Curabitur tristique eleifend mi, malesuada fringilla erat tristique imperdiet.
- <p>
- Vestibulum vitae nibh ac risus consectetur tristique. Aliquam non rutrum eros, vitae aliquet nisi. Curabitur eu tellus consequat, pulvinar justo vel, mollis quam. Nam id nisl vel enim efficitur egestas quis in metus. Donec cursus nibh in ultricies finibus. Ut et mi enim. Nullam fermentum bibendum justo, eu ultricies enim scelerisque porta. Nulla vitae nibh dignissim, tempus nisl nec, finibus diam. Mauris et luctus nisi, imperdiet consectetur enim. Suspendisse rutrum malesuada orci.
- </div>
- <!-- Character Links Start -->
- <div class="character_links">
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- </div>
- <!-- Character Links End -->
- </div>
- </div>
- <!-----------------------------
- CHARACTER END
- ------------------------------>
- <!-----------------------------
- CHARACTER START: COPY THIS SECTION TO ADD A NEW CHARACTER BLOCK
- ------------------------------>
- <div class="character">
- <!-- Character Portrait --><img src="https://placehold.it/350X300" />
- <div class="character_info">
- <!-- Character Name ----><h1>Character Name</h1>
- <!-- Personality ------->personality type ; age ; gender
- <div class="character_bio">
- <!-- Character Bio ----->Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam pretium magna et velit dignissim, a placerat nisi rutrum. Vestibulum odio ipsum, rutrum a ex ac, fringilla fermentum ante. Donec nec elit molestie massa finibus pulvinar non nec lacus. Nullam ipsum nulla, sodales non ornare et, accumsan a sem. Donec tempus leo non laoreet viverra. Vestibulum ac nunc sem. Aenean vitae convallis velit, non molestie augue. Curabitur tristique eleifend mi, malesuada fringilla erat tristique imperdiet.
- <p>
- Vestibulum vitae nibh ac risus consectetur tristique. Aliquam non rutrum eros, vitae aliquet nisi. Curabitur eu tellus consequat, pulvinar justo vel, mollis quam. Nam id nisl vel enim efficitur egestas quis in metus. Donec cursus nibh in ultricies finibus. Ut et mi enim. Nullam fermentum bibendum justo, eu ultricies enim scelerisque porta. Nulla vitae nibh dignissim, tempus nisl nec, finibus diam. Mauris et luctus nisi, imperdiet consectetur enim. Suspendisse rutrum malesuada orci.
- </div>
- <!-- Character Links Start -->
- <div class="character_links">
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- <a href="#">Link</a>
- </div>
- <!-- Character Links End -->
- </div>
- </div>
- <!-----------------------------
- CHARACTER END
- ------------------------------>
- </div>
- <!-- END CHARACTERS -->
- </div>
- <!-- END CONTAINER -->
- <!-- ADDITIONAL SCRIPTS -->
- <!-- Auto Fill Start -->
- <script>
- $(document).ready(function(){
- var scrollTop = 0;
- $(window).scroll(function(){
- scrollTop = $(window).scrollTop();
- $('.counter').html(scrollTop);
- if (scrollTop >= 5) {
- $('#header').addClass('header-scroll');
- } else if (scrollTop < 5) {
- $('#header').removeClass('header-scroll');
- }
- });
- });
- </script>
- <!-- Auto Fill End -->
- <script>
- $(window).scroll(function(){
- $(".headertitle").css("opacity", 1 - $(window).scrollTop() / 300);
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement