Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--- RETRO // a muse page by @ouiseauchanteurs (@amcrvincit).
- edit / customize it to your heart's content!
- DO NOT remove the credit or claim as your own.
- if you need help, run into a bug, etc. shoot me an ask ♥
- COLOURS USED (to change them, just ctrl+f two times to find/replace them with your new colour of choice):
- BLUE: #95ccca (filter button bg, sidebar top bg, muse nav bg, scrollbar, bold).
- PINK: #eeb2ae (filter title, muse name bg, italic, link, underline, page title, filter button hover bg, muse nav hover bg).
- OFFWHITE: #faf9f9 (body bg, muse name).
- WHITE: #fff (muse container bg, sidebar bg, muse desc text, muse nav link, sidebar nav link bg).
- WINE: #6a3331 (text shadow). --->
- <!DOCTYPE html>
- <html>
- <head>
- <title>PAGE TITLE</title> <!--- Change the title of your page here --->
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!--- Font Scripts --->
- <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Oleo+Script" rel="stylesheet">
- <!--- Linear Icons Scripts. Find more to change them @ https://linearicons.com/free --->
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <!--- Filter Script. By @hendrixrph. Find the tutorial here: http://hendrixrph.tumblr.com/post/131707989334/under-the-cut-is-a-tutorial-on-how-to-create-a --->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
- <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() {
- // init Isotope
- var $grid = $('.musecon').isotope({
- itemSelector: '.muse'
- });
- // 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;
- }</script>
- <style>
- /* TOOLTIPS */
- .tooltip{
- display:inline;
- position:absolute;
- }
- #s-m-t-tooltip {
- max-width:100px;
- background-color:#fff;
- border:1px solid #cacaca;
- margin:15px 10px 10px 10px;
- font-size:9px;
- text-transform:uppercase;
- font-family: 'Open Sans', sans-serif;
- text-align:center;
- padding:4px;
- }
- /* SCROLLBAR */
- ::-webkit-scrollbar {
- width:7px;
- background-color:#fff;
- }
- ::-webkit-scrollbar-track{
- background-color:#fff;
- }
- ::-webkit-scrollbar-thumb{
- border:3px solid #fff;
- border-top:4px solid #fff;
- background-color:#95ccca;
- }
- /* GENERAL STYLING */
- a {
- color:#eeb2ae;
- text-transform:uppercase;
- text-decoration:underline;
- font-weight:bold;
- letter-spacing:1px;
- }
- b, strong {
- font-weight:bold;
- color:#95ccca;
- font-family: 'Open Sans', sans-serif;
- font-weight:bold;
- }
- u, i, em {
- color:#eeb2ae;
- }
- h1 {
- font-size:8px;
- text-transform:uppercase;
- text-align:left;
- font-family: 'Open Sans', sans-serif;
- letter-spacing:3px;
- font-weight:bold;
- margin-bottom:15px;
- }
- h2 {
- font-family: 'Oleo Script', cursive;
- text-align:right;
- color:#fff;
- font-size:15px;
- }
- h3 {
- font-family: 'Oleo Script', cursive;
- text-align:center;
- color:#eeb2ae;
- text-shadow: 1px 1px #6a3331;
- font-size:20px;
- font-weight:200;
- }
- /* MAIN AREAS */
- body {
- background-color:#faf9f9;
- font-family: 'Open Sans', sans-serif;
- font-size:10.5px;
- color:#373334;
- line-height:1.5;
- letter-spacing:.5px;
- }
- #ptitle {
- width:160px;
- height:35px;
- font-family: 'Oleo Script', cursive;
- text-align:right;
- color:#eeb2ae;
- font-size:30px;
- font-weight:bold;
- position:fixed;
- margin: auto;
- left:840px;
- top:-595px;
- bottom:0px;
- right:0px;
- z-index:1000;
- text-shadow: 1px 1px #6a3331;
- }
- #main {
- position:fixed;
- margin: auto;
- left:0px;
- top:0px;
- bottom:0px;
- right:0px;
- width:1012px;
- height:550px;
- position:fixed;
- overflow-y:scroll;
- overflow-x:hidden;
- background-color:#fff;
- border:1px solid #ddd;
- }
- .musecon {
- padding:25px;
- width:750px;
- margin-left:265px;
- position:absolute;
- }
- /* SIDEBAR + FILTERS */
- #sidebar {
- position:fixed;
- width:230px;
- height:540px;
- background:#95ccca;
- border-right:1px dashed #e0dcdc;
- overflow-y:hidden;
- }
- .filters {
- padding:14px;
- margin-top:60px;
- height:460px;
- overflow-y:scroll;
- background-color:#fff;
- }
- .button-group {
- float:center;
- margin-left:4px;
- z-index:999;
- }
- .button {
- border:none;
- padding:5px;
- margin:4px;
- background-color:#95ccca;
- font-family: 'Open Sans', sans-serif;
- font-weight:bold;
- width:85px;
- font-size:9px;
- letter-spacing:1px;
- text-transform:uppercase;
- color:#fff;
- display:inline-block;
- border:1px dashed #a49c9c;
- }
- .button:hover {
- background-color:#eeb2ae;
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- .button:focus {
- outline:0;
- background-color:#eeb2ae;
- }
- #sicon {
- width:80px;
- height:80px;
- float:left;
- position:fixed;
- margin: auto;
- left:-1020px;
- top:-500px;
- bottom:0px;
- right:0px;
- z-index:1000;
- }
- #sicon img {
- width:80px;
- height:80px;
- border-radius:100px;
- border:4px solid #fff;
- }
- #snav {
- width:185px;
- height:40px;
- text-align:center;
- word-spacing:8px;
- float:left;
- position:relative;
- left:45px;
- top:0px;
- z-index:1001;
- }
- #snav a {
- color:#95ccca;
- font-size:12px;
- font-weight:bold;
- background-color:#fff;
- padding:6px;
- text-decoration:none;
- border-radius:30px;
- }
- #snav a:hover {
- background-color:#000;
- color:#fff;
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- /* MUSE CELLS */
- .muse {
- background-color:#fff;
- width:180px;
- height:118px;
- padding:14px;
- margin-right:30px;
- margin-bottom:35px;
- float:left;
- border:1px dashed #cacaca;
- }
- #micon img {
- width:60px;
- height:60px;
- float:left;
- border-radius:70px;
- margin-top:-20px;
- margin-left:-30px;
- border:4px solid #fff;
- }
- #name {
- margin-top:-10px;
- width:180px;
- height:30px;
- background-color:#eeb2ae;
- border-radius:10px;
- }
- #name h2 {
- font-family: 'Oleo Script', cursive;
- text-align:right;
- color:#faf9f9;
- font-size:16px;
- letter-spacing:-.5px;
- font-weight:500;
- padding-top:8px;
- margin-right:8px;
- text-shadow: 1px 1px #6a3331;
- }
- #desc {
- width:165px;
- height:50px;
- padding:8px;
- margin-top:6px;
- font-family: 'Open Sans', sans-serif;
- font-size:9px;
- text-align:center;
- color:#fff;
- background-color:#000;
- }
- #mnav {
- margin-top:20px;
- margin-right:-8px;
- text-align:right;
- word-spacing:2px;
- position:relative;
- }
- #mnav a {
- color:#fff;
- font-size:9px;
- font-weight:bold;
- text-align:center;
- background-color:#95ccca;
- padding:6px;
- text-decoration:none;
- border:1px solid #ddd;
- border-radius:15px;
- }
- #mnav a:hover {
- background-color:#eeb2ae;
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- /* CREDIT — DO NOT TOUCH! */
- #credit {
- bottom:10px;
- right:10px;
- border:1px solid #dddbdb;
- font-size:10px;
- font-family: 'Open Sans', sans-serif;
- position:fixed;
- border-radius:100px;
- }
- #credit a {
- color:#fff;
- padding:4px;
- text-decoration:none;
- background-color:#95ccca;
- border-radius:100px;
- transition-duration:1s;
- -moz-transition-duration:1s;
- -webkit-transition-duration:1s;
- -o-transition-duration:1s;
- }
- #credit a:hover {
- color:#fff;
- text-decoration:none;
- background-color:#eeb2ae;
- }
- </style>
- </head>
- <body>
- <div id="main">
- <div id="sicon"><img src="{Favicon}"></div> <!--- This is the sidebar icon. It automatically inputs your tumblr icon, but you can insert a link to a different icon instead! -->
- <div id="ptitle">Page Title.</div>
- <div id="sidebar">
- <div id="snav" style="padding-top:20px;">
- <!--- Edit your sidebar links here. The link to change the icons is at the top of the code. --->
- <a href="/" title="back to blog"><span class="lnr lnr-undo"></span></a>
- <a href="/ask" title="message"><span class="lnr lnr-bubble"></span></a>
- <a href="/" title="extra"><span class="lnr lnr-list"></span></a> <a href="/" title="extra"><span class="lnr lnr-star"></span></a>
- </div>
- <div class="filters">
- <!--- Add your filters here! To add a new section, copy/paste:
- <div class="button-group" data-filter-group="Group"><h3>Group</h3>
- <button class="button is-checked" data-filter="">all</button>
- <button class="button" data-filter=".#">FILTER NAMEr</button>
- <button class="button" data-filter=".#">FILTER NAME</button>
- <button class="button" data-filter=".#">FILTER NAME</button>
- or copy/paste:
- <button class="button" data-filter=".#">FILTER NAME</button>
- before the </div> to add a new line.
- TO EDIT: Replace every instance of .# with a tag for your filters. I keep them simple, with a .pr for primary, .cn for canon, etc, but you can make it .primary, .canon, or whatever so long as you keep it one word. Make sure to leave the dot!
- Replace the following FILTER NAME with the name of your filter. This is what will show on the button. A finished example might look like this:
- <div class="button-group" data-filter-group="status"><h3>Status</h3>
- <button class="button is-checked" data-filter="">all</button>
- <button class="button" data-filter=".pr">primary</button>
- <button class="button" data-filter=".sc">secondary</button>
- <button class="button" data-filter=".ts">testing</button></div> --->
- <div class="button-group" data-filter-group="Group"><h3>Group</h3>
- <button class="button is-checked" data-filter="">all</button>
- <button class="button" data-filter=".#">filter</button>
- <button class="button" data-filter=".#">filter</button>
- <button class="button" data-filter=".#">filter</button></div>
- </div>
- </div>
- <div class="musecon">
- <!--- This is where you'll add your muses! To add a new muse, copy/paste everything from MUSE START to MUSE END.
- ADDING FILTERS: <div class="muse ## ##"> is where you'll put your filter tags. Replace the #s with whatever short tag you used, BUT LEAVE 'MUSE' THERE. EX: <div class="muse pr">
- MUSE ICON SIZE: 60x60. Your image will resize if it's not exact, but if it isn't, I do recommend using an image that's bigger and also square for best results!
- The rest should be pretty self explanatory. For the navigation, put your links wherever it says /URL HERE and input the title where it says LINK TITLE. --->
- <!--- MUSE START --->
- <div class="muse pr ##"><!--- Filters Here! --->
- <div id="name"> <h2>Character Name.</h2> </div>
- <!--- Description Here! I recommend keeping it 2-3 lines, because it doesn't scroll and it will mess with the icon. --->
- <div id="desc">from <b><u>SERIES NAME</u></b>. portrayed by <b>face claim</b>. shipping: <u>open</u>. status: <b>primary</b>. + <a href="/">READ MORE</a> </div>
- <div id="micon"><img src="IMAGE URL"></div> <!--- Muse Icon Here! --->
- <div id="mnav"> <!--- Muse Nav Here! --->
- <a href="/URL HERE" title="LINK TITLE ONE"><span class="lnr lnr-user"></span></a>
- <a href="/URL HERE" title="LINK TITLE TWO"><span class="lnr lnr-book"></span></a>
- <a href="/URL HERE" title="LINK TITLE THREE"><span class="lnr lnr-heart"></span></a> <a href="/URL HERE" title="LINK TITLE FOUR"><span class="lnr lnr-camera"></span></a> <a href="/URL HERE" title="LINK TITLE FIVE"><span class="lnr lnr-diamond"></span></a>
- </div>
- </div>
- <!--- MUSE END --->
- </div>
- </div>
- <!--- CREDIT — DO NOT TOUCH! --->
- <div id="credit"><a href="http://ouiseauchanteurs.tumblr.com" title="ouiseauchanteurs"><span class="lnr lnr-heart"></span></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement