Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <head>
- <!----
- network: amsterdam
- @loranhale
- ----->
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href='https://fonts.googleapis.com/css?family=Lora:400,400italic,600,600italic|Nunito+Sans:400,400italic,600,600italic|Open+Sans:400,400italic,600,600italic' rel='stylesheet' type='text/css'>
- <style type="text/css">
- /* scrollbar */
- ::-webkit-scrollbar {
- height:5px;
- width:1px;
- background:#fafafa;
- }
- ::-webkit-scrollbar-thumb { background:#dcecf5; }
- /* controls */
- .iframe-controls--desktop { display:none!important; }
- /* tooltips */
- #s-m-t-tooltip {
- max-width:300px;
- margin:15px;
- padding:5px 6px;
- z-index:99999999;
- color:#000;
- text-transform:lowercase;
- border:1px solid #dcecf5;
- background:#fff;
- }
- /* body */
- body {
- background:#fafafa;
- color:#555;
- font-family:'nunito sans', arial, sans-serif;
- font-size:10.5px;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- }
- a {
- color:#8892e0; /* links colour */
- text-decoration:none;
- transition-duration: 0.6s;
- -moz-transition-duration: 0.6s;
- -webkit-transition-duration: 0.6s;
- -o-transition-duration: 0.6s;
- }
- a:hover { color:#000; }
- h1 {
- font-size:13px;
- color:#444;
- font-weight:600;
- text-transform:uppercase;
- letter-spacing:1px;
- }
- b { font-style:bold; color:#222; }
- i { font-style:italic; }
- section {
- width:calc(220px * 3);
- /* change 3 to 4 or however many columns you want */
- box-sizing:border-box;
- margin:100px auto;
- transform:translate(0px,0px);
- }
- /* general */
- nav, .grid .item {
- border:1px solid #dcecf5;
- background:#fff;
- }
- /* header */
- nav {
- margin:0 10px;
- padding:10px 20px;
- margin-bottom:40px;
- }
- .t {
- font-size:18px;
- display:inline;
- font-weight:600;
- letter-spacing:.5px;
- text-transform:lowercase;
- color:#222;
- margin-right:10px;
- }
- .icon { display:inline; float:right; padding-top:5px; }
- .icon img {
- width:55px;
- height:auto;
- border-radius:3px;
- }
- .links { vertical-align:1px; display:inline;}
- .links a { margin-right:5px; font-size:11.5px;}
- .d {margin-bottom:10px;}
- /* filters */
- nav ul { margin-left:-40px; }
- nav ul li {
- list-style-type:none;
- display:inline-block;
- }
- nav ul li a {
- font-weight:600;
- margin-right:8px;
- padding:1px 5px;
- border-radius:3px;
- color:#8892e0; /* filters colour */
- border:1px solid #e1e4ff;
- background:#eff1ff;
- }
- nav ul li a:hover {
- color:#000;
- background:#fafafa;
- border:1px solid #8892e0;
- }
- /* selected filter */
- nav ul li a.selected {
- color:#222;
- background:#fafafa;
- border:1px solid #8892e0;
- }
- nav ul b { margin-right:8px; }
- /* boxes */
- .grid .item {
- display: block;
- width:200px;
- float: left;
- margin: 10px;
- box-sizing: border-box;
- padding:15px;
- text-align:center;
- }
- .desc h1 { margin-bottom:5px; }
- .desc h1 a {
- text-transform:lowercase;
- font-size:15px;
- color:#222;
- box-shadow: 0 -5px #e1e4ff inset; /* colour of border under names */
- }
- .desc h1 a:hover {
- color:#8892e0; /* colour of name on hover */
- box-shadow: 0 -15px #eff1ff inset; /* colour of background on hover */
- }
- .desc b {
- font-size:11.5px;
- margin-right:8px;
- font-style:italic;
- font-family:'lora',sans-serif;
- }
- .img {text-align:center;}
- .img img {
- width:150px;
- height:auto;
- border-radius:3px;
- }
- .group {
- background:#eff1ff;
- padding:1px 6px;
- border:1px solid #cdd1f0;
- position:absolute;
- font-weight:600;
- color:#000;
- margin-top:5px;
- border-radius:2px;
- }
- /* do not disturb */
- .lo { bottom:20px; right:20px; position:fixed; }
- .lo a { text-transform:uppercase; padding:5px; font-size:12px; }
- </style>
- <body>
- <section>
- <nav>
- <div class="icon"><img src="{PortraitURL-128}" /></div>
- <div class="t">network</div>
- <div class="links">
- <a href="/">home</a>
- <a href="/">mail</a>
- <a href="/">link</a>
- </div>
- <!-- optional description -->
- <div class="d">this is a description </div>
- <!-- filters
- below is a template for a new filter
- do NOT remove the dot "." before FILTER.
- <li><a href="#" data-filter-value=".FILTER">FILTER NAME</a></li>
- below is a template for a whole set of filters that you can add
- REMEMBER to change group1 to group2 if it's a different set of filters
- <ul class="filter option-set exclusive" data-filter-group="group1">
- <b>OPTIONAL CATEGORY NAME. you can remove this</b>
- <li><a href="#" data-filter-value="" class="selected">FILTER NAME</a></li>
- <li><a href="#" data-filter-value=".FILTER">FILTER NAME</a></li>
- <li><a href="#" data-filter-value=".FILTER">FILTER NAME</a></li>
- <li><a href="#" data-filter-value=".FILTER">FILTER NAME</a></li>
- </ul>
- -->
- <ul class="filter option-set exclusive" data-filter-group="group1">
- <!-- add <b>sort</b> if you want a category name -->
- <li><a href="#" data-filter-value="" class="selected">all</a></li>
- <li><a href="#" data-filter-value=".boys">boys</a></li>
- <li><a href="#" data-filter-value=".girls">girls</a></li>
- <li><a href="#" data-filter-value=".kpop">kpop</a></li>
- </ul>
- </nav>
- <div class="peeps">
- <!-- BOX TEMPLATE
- <div class="grid">
- <div class="item FILTER FILTER">
- <div class="img">
- <img src="IMAGE URL" />
- </div>
- <div class="desc">
- <h1><a href="/tagged/TAG">TAG NAME</a></h1>
- add a description here
- <div class="group">this is optional. you can remove this</div>
- </div>
- </div>
- </div>
- -->
- <div class="grid">
- <div class="item FILTER">
- <div class="img">
- <img src="IMAGE URL" />
- </div>
- <div class="desc">
- <h1><a href="/tagged/TAG">TAG NAME</a></h1>
- add a description here
- <div class="group">this is optional. you can remove this</div>
- </div>
- </div>
- </div>
- <div class="grid">
- <div class="item FILTER">
- <div class="img">
- <img src="IMAGE URL" />
- </div>
- <div class="desc">
- <h1><a href="/tagged/TAG">TAG NAME</a></h1>
- add a description here
- <div class="group">this is optional. you can remove this</div>
- </div>
- </div>
- </div>
- </div>
- </section>
- <!-- do not disturb -->
- <div class="lo">
- <a href="http://loranhale.tumblr.com" title="theme">j</a>
- </div>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <script>
- jQuery.noConflict();
- (function($){
- $(document).ready(function(){
- $("a[title],img[title],[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
- <script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
- <script src="https://static.tumblr.com/p0knose/FpAp5c11c/magnusthemes.combofilters.js"></script>
- <script>
- $(document).ready(function() {
- var $container = $(".peeps"); // the container with all the elements to filter inside
- var filters = {}; //should be outside the scope of the filtering function
- /* --- read the documentation on isotope.metafizzy.co for more options --- */
- var $grid = $container.isotope({
- itemSelector: ".item", // the elements to filter
- percentPosition: false // put true if you use percentage widths, otherwise put false
- });
- $(".option-set a").click(function(e) {
- var $this = $(this); // cache the clicked link
- var filterAttr = "data-filter-value";
- var filterValue = $this.attr(filterAttr); // cache the filter
- var $optionSet = $this.parents(".option-set"); // cache the parent element
- var group = $optionSet.attr("data-filter-group"); // cache the parent filter group
- var filterGroup = filters[group];
- if (!filterGroup) {
- filterGroup = filters[group] = [];
- }
- var $selectAll = $optionSet.find('a['+filterAttr+'=""]'); // the 'select all' button in the current group
- var activeClass = "selected", // the class for active links
- exclClass = "exclusive"; // the class for exclusive groups
- comboFiltering($this,filters,filterAttr,filterValue,$optionSet,group,$selectAll,activeClass,exclClass);
- var comboFilter = getComboFilter(filters);
- $grid.isotope({
- filter: comboFilter
- });
- $this.toggleClass(activeClass);
- e.preventDefault();
- });
- });
- </script>
- </head>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement