Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Page 01. by CrimsonxThemes
- Luminescence
- /ˌlo͞oməˈnesəns/
- OKAY HOLD UP
- I know this code might look a little intimidating but I've included a h*ck ton of notes to help you along the way if you might need it. I'll also put a little tutorial in this note section on how to use the filters if you're not sure how. If you still need additional help my askbox is almost always open!! Okay ily bye.
- --------------------------------------------------------------------------
- HOW TO USE FILTERS:
- You see this:
- <a href="#" rel="tag" class="filters"><span>Tag</span></a>
- All that matters is the 'rel="tag"' and '<span>Tag</span>'. You change 'rel="tag"' to whatever your little heart pleases, it could be 'rel="one"', 'rel="two"', 'rel="three"', just as a few examples.
- The <span>Tag</span> is going to be the option that is shown to your viewers in the sidebar. Again, change "Tag" to whatever you please.
- Then you see this at the beginning of the box div:
- <div class="box">
- You HAVE to keep 'box' in there, otherwise it won't filter. But then you take whatever you replaced "tag" with in 'rel="tag"' and put it next to 'box'. You can add as many as you'd like.
- So,
- <div class="box one two three">
- paired with
- <a href="#" rel="one" class="filters"><span>One</span></a>
- <a href="#" rel="two" class="filters"><span>Two</span></a>
- <a href="#" rel="three" class="filters"><span>Three</span></a>
- Will filter into the One, Two, and Three filters.
- That's all there is to it!
- --------------------------------------------------------------------------
- And, as always
- Please don't steal this, I actually worked really hard on it
- And theives are ugly butts ^u^
- (●´ω`●)
- -->
- <html>
- <head>
- <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic|Lato:300,300i' rel='stylesheet' type='text/css'>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta name="description" content="" />
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <!--Slick Carousel @kenwheeler (http://kenwheeler.github.io/slick/)-->
- <!--Back to top tutorial @html-tuts-->
- <!--Tooltips tutorial @acuite-->
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <link rel="stylesheet" type="text/css" href="http://static.tumblr.com/4fjyb6u/Vdgo7srut/slick.css"/>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css" rel="stylesheet">
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <style type="text/css">
- /*Tumblr controls*/
- .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
- position:fixed!important;
- opacity:0;
- }
- /*Selection color*/
- ::selection {
- background:transparent!important;
- color:#B7CEEC;/*Change selection Color*/
- }
- ::-moz-selection {
- background:transparent!important;
- color:#B7CEEC;/*Change selection Color*/
- }
- ::-webkit-selection {
- background:transparent!important;
- color:#B7CEEC;/*Change selection Color*/
- }
- /*Scrollbar*/
- ::-webkit-scrollbar-thumb:vertical {
- background-color: #ddd; /*color of scrollbar*/
- }
- ::-webkit-scrollbar {
- height:0;
- width: 1px;
- background-color: transparent!important;
- }
- /*Tooltips tutorial @ acuite*/
- #s-m-t-tooltip{
- border:1px solid #DDD; /*change tooltip border color*/
- background:#FFF; /*change tooltip background color*/
- color:#AAA; /*change tooltip font color*/
- max-width:300px;
- margin:15px;
- padding:0 5px 2px 5px;
- border-radius:1px;
- z-index:999999;
- font-size:9px;
- font-style:italic;
- text-transform:lowercase;
- }
- /*Music Player*/
- .mp {
- position:absolute;
- width:20px;
- height:20px;
- left:0;
- top:0;
- }
- /*Basics*/
- body {
- background-color:#fff; /*change background color*/
- color:#888; /*Change default font color*/
- font-family:open sans;
- font-weight:100;
- font-size:9px;
- }
- a {
- color:#999; /*Change link color*/
- text-decoration:none;
- font-family:karla;
- font-size:9px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- a:hover {
- color:#B7CEEC; /*Change link hover color*/
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- /*Sidebar*/
- #sidebar {
- position:fixed;
- background-color:#fff; /*Change sidebar background color (for best result, keep the same as the background color)*/
- left:100px;
- top:100px;
- width:100px;
- height:auto;
- border-top:1px solid #ddd; /*Change sidebar border color*/
- border-left:1px solid #ddd; /*Change sidebar border color*/
- padding:5px 5px 0 5px;
- }
- /*Sidebar Icon*/
- .image {
- position:absolute;
- left:calc(79px / 2 - 90px);
- top:calc(79px / 2 - 90px);
- }
- .image img {
- width:75px;
- height:75px;
- padding:2px;
- border-radius:50%;
- border:1px solid #ddd; /*Change image border color*/
- background-color:#fff;
- }
- /*Page Title*/
- .title {
- color:#999; /*Change title color*/
- position:absolute;
- background-color:transparent!important;
- top:-17px;
- width:100px;
- margin-left:5px;
- text-align:right;
- font-size:11px;
- height:15px;
- }
- /*Filter Box*/
- .finfo {
- margin-top:0px;
- padding:2px;
- }
- /*Filter Heading*/
- .ftitle {
- border-bottom:1px dotted #ddd; /*Change filter border color*/
- width:100px;
- font-family:Lato;
- text-align:right;
- font-size:12px;
- }
- /*Filters*/
- #filters {
- margin-top:2px;
- height:auto;
- width:100px;
- }
- #filters a {
- color:#999; /*Change filter color*/
- font-family:Lato;
- font-style:italic;
- display:block;
- font-size:10px;
- line-height:15px;
- }
- #filters a:hover{
- color:#B7CEEC; /*Change filter hover color*/
- }
- #filters a::before {
- background-color:#ddd; /*Change filter line color*/
- content:'';
- height:1px;
- width:100px;
- position:absolute;
- margin-top:calc(15px / 2);
- z-index:-1;
- }
- #filters span{
- background-color:#fff; /*Change filter background color (for best result, keep the same as background color)*/
- padding:0 5px 0 5px;
- }
- /*Links*/
- .bar {
- background-color:#fff;/*Change bar background color (for best result, keep the same as background color)*/
- width:500px;
- height:30px;
- position:fixed;
- right:0;
- top:0;
- z-index:999;
- text-align:right;
- padding:5px;
- }
- .home {
- position:absolute;
- opacity:0;
- background-color:transparent!important;
- width:75px;
- height:15px;
- left:35px;
- top:-13px;
- line-height:10px;
- text-align:center;
- }
- .home a {
- font-family:Lato;
- font-size:11px;
- }
- /*Carousel @kenwheeler*/
- .carousel {
- width:100px;
- padding-top:5px;
- }
- .carousel img {
- border:1px solid #ddd; /*Change carousel image border color*/
- width:94px;
- padding:2px;
- height:auto;
- }
- .slick-dots {
- position: absolute;
- bottom: -25px;
- display: block;
- width: 100%;
- padding: 0;
- margin: 0;
- list-style: none;
- text-align: center;
- }
- .slick-dots li {
- position: relative;
- display: inline-block;
- width: 20px;
- height: 20px;
- cursor: pointer;
- }
- .slick-dots li button {
- font-size: 0;
- line-height: 0;
- display: block;
- width: 20px;
- height: 20px;
- padding: 5px;
- cursor: pointer;
- color:transparent;
- border: 0;
- outline: none;
- background: transparent;
- }
- .slick-dots li button:hover, .slick-dots li button:focus {
- outline: none;
- }
- .slick-dots li button:hover:before, .slick-dots li button:focus:before {
- opacity: 1;
- }
- .slick-dots li button:before {
- color: #555; /*Change carousel dot color*/
- font-size: 10px;
- line-height: 10px;
- position: absolute;
- top: 0;
- left: 0;
- width: 20px;
- height: 20px;
- content: '◉';
- text-align: center;
- opacity: .50;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .slick-dots li.slick-active button:before {
- color: #555; /*Change carousel dot color hover*/
- opacity: 1;
- }
- /*Fontawesome Icons*/
- .fa {
- color:#bbb; /*Change Fontawesome Icon color*/
- font-size:13px;
- margin:0 3px 0 3px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .fa:hover {
- color:#B7CEEC; /*Change Fontawesome Icon hover color*/
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- #container {
- border-top:1px dotted #ddd; /*Change container border color*/
- border-bottom:1px dotted #ddd; /*Change container border color*/
- position:absolute;
- width:486px;
- height:486px;
- left:50%;
- margin-left:-243px;
- top:100px;
- float:left;
- overflow:scroll;
- }
- /*Movie/Show/Fic Content Box*/
- .box {
- background-color:#fff; /*Change info box background color*/
- border:1px solid #ddd; /*Change info box border color*/
- width:180px;
- overflow:scroll;
- height:170px;
- float:left;
- padding:0 10px 10px 10px;
- margin:20px;
- border-radius:3px;
- }
- /*Box Picture*/
- .picture {
- float:left;
- padding-top:10px;
- }
- .picture img {
- border:1px solid #ddd; /*Change info box picture border color*/
- background-color:#fff; /*Change info box picture background color (for best results, keep the same as info box background color )*/
- border-radius:4px;
- height:49px;
- width:49px;
- padding:2px;
- }
- /*Box Info*/
- .infobox {
- background-color:#fff; /*Change info box background color*/
- border-bottom:1px dotted #ddd; /*Change info box border color*/
- width:auto;
- margin-top:12px;
- text-align:center;
- padding-bottom:2px;
- }
- .infobox a {
- font-family:Lato;
- }
- .summary {
- padding-top:5px;
- text-align:justify;
- }
- .cred {
- position:fixed;
- bottom:10px;
- right:10px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .cred:hover {
- color:#B7CEEC;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- </style>
- </head>
- <body>
- <!--Change Music delete this section if you don't want music)-->
- <div class="mp">
- <!--Insert music code from flashMP3 here-->
- </div>
- <!---->
- <div class="bar">
- <a href="/" title="Index"><i class="fa fa-home" aria-hidden="true"></i></a>
- <a href="/ask" title="Contact"><i class="fa fa-question" aria-hidden="true"></i></a>
- <a href="/submit" title="Gifts"><i class="fa fa-inbox" aria-hidden="true"></i></a>
- <a href="/archive" title="Past"><i class="fa fa-history" aria-hidden="true"></i></a>
- <!--Extra Link, if you want it
- <a href="/" title="Extra Link"><i class="fa fa-star-o" aria-hidden="true"></i></a>
- -->
- <a href="http://tumblr.com/dashboard?conversation={Name}" title="Instant Message"><i class="fa fa-comments-o" aria-hidden="true"></i></a>
- <a href="http://tumblr.com/follow/{Name}" title="follow me"><i class="fa fa-user-plus" aria-hidden="true"></i></a>
- <a href="http://tumblr.com/" title="Thank for stopping!"><i class="fa fa-refresh" aria-hidden="true"></i></a>
- </div>
- <div id="sidebar">
- <!--Change Sidebar Image-->
- <div class="image">
- <img src="" />
- </div>
- <!---->
- <!--Change Page Title (just erase title if you don't want it)-->
- <div class="title">
- Luminescence
- </div>
- <!---->
- <div class="finfo">
- <div id="filters">
- <div class="ftitle">Refresh</div>
- <a href="#" rel="box" class="filters"><span>Show all</span></a>
- <!--Filter Secion (add as many sections/filters as you please)-->
- <div class="ftitle">Title One</div>
- <a href="#" rel="tag-one" class="filters"><span>Filter One</span></a>
- <a href="#" rel="tag-two" class="filters"><span>Filter Two</span></a>
- <!---->
- <!--Leave these here!--></div></div><!---->
- <!--Carousel Images (if you don't want a carousel, delete from here..)-->
- <div class="ftitle">
- Favorites
- </div>
- <div class="carousel"> <!--Suggested not to go more than 5 pictures)-->
- <img src="" />
- </div>
- <!--(to here)-->
- <!--Leave this here!--></div><!---->
- <!--Container-->
- <div id="container">
- <!--Box (to add another, copy from here...)-->
- <div class="box tag-one tag-two">
- <!--Box Picture (if you don't want this, delete from here..)-->
- <div class="picture">
- <img src="" />
- </div>
- <!--(to here (delete picture) )-->
- <div class="infobox"><a href="">Movie/Show/Fic Name</a></div>
- <div class="infobox">Rating: ✦✧</div>
- <div class="infobox">Summary:</div>
- <div class="summary">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut imperdiet laoreet augue et volutpat. Quisque posuere ex et elit consequat euismod. In facilisis vestibulum scelerisque. Mauris vel justo luctus, aliquet lorem sed, faucibus ipsum. Vivamus.</div>
- </div>
- <!--(to here (copy box) )-->
- <!--Leave this here!--></div><!---->
- <!---->
- <!-----No need to edit anywhere below this line!!!----->
- <div class="cred"><a href="http://crimsonxthemes.tumblr.com" title="Crimson Themes"><i style="font-size:10px" class="fa fa-anchor" aria-hidden="true"></i></a></div>
- <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
- <script src="http://static.tumblr.com/4fjyb6u/DiNo7srsg/slick.min.js"></script>
- <script>
- //slick carousel
- $(document).ready(function(){
- $('.carousel').slick({
- adaptiveHeight: true,
- arrows: false,
- dots: true,
- });
- });
- //filter results
- $(document).ready(function(){
- $(".filters").click(function(e) {
- e.preventDefault();
- $(".box").not("." + $(this).attr("rel")).hide(500);
- $("." + $(this).attr("rel")).show(500);
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment