Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!-----------------------------------------------------------------------
- * BLOGROLL #04 by saaraa @ cyantists.tumblr.com
- - terms of use: http://cyantists.tumblr.com/terms
- - I am no longer offering support for this theme
- - enjoy!
- ------------------------------------------------------------------------>
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>blogroll</title>
- <link rel="shortcut icon" href="{Favicon}">
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
- <script src="http://static.tumblr.com/ycrkdqn/ZFIn8dcjx/isotope.pkgd.min.js"></script>
- <script src="http://static.tumblr.com/ycrkdqn/epEn8dclr/isotope-docs.js"></script>
- <script type="text/javascript">
- $( function() {
- // init Isotope
- var $container = $('.blogroll').isotope({
- // main isotope options
- itemSelector: '.blog',
- transitionDuration: '0.8s',
- getSortData: {
- name: '.name',
- title: '.title'}
- });
- // bind sort button click
- $('#order').on( 'click', 'button', function() {
- var sortValue = $(this).attr('data-sort-value');
- $container.isotope({
- sortBy: sortValue
- });
- });
- // 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');
- });
- });
- // store filter for each group
- var filters = {};
- $('#filter').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 = '';
- for ( var prop in filters ) {
- filterValue += filters[ prop ];
- }
- // set filter for Isotope
- $container.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');
- });
- });
- });
- </script>
- <link href='http://static.tumblr.com/w3dcevg/M39nljecd/sosa.css' rel='stylesheet' type='text/css'>
- <style style="text/css">
- /*** accent colour ***/
- a:hover, .button:hover, span:hover, .button:active, .links a:hover,
- .button.is-checked {color:#ff92c3;}
- ::-webkit-scrollbar-thumb:vertical {width:3px; background:#ff92c3;}
- /* background */
- body {background:#f5f5f5;}
- /* links, buttons and blog titles font */
- body, .links a, .button, .title {color:#b6b6b6;}
- /* page title and blog names font */
- a {color:#969696;}
- /** topbar and blogs background */
- ::-webkit-scrollbar, .credit a, .top, .button, span,
- .blog {background:#fff;}
- body {margin:0px; font:8px calibri; text-transform:uppercase;
- letter-spacing:1px;}
- a {text-decoration:none;}
- ::-webkit-scrollbar {width:3px;}
- ::-webkit-scrollbar-thumb:vertical {width:3px;}
- .container {position:absolute; top:0; right:0; bottom:0; left:0; margin:auto;
- width:825px; height:515px;}
- .top {padding:20px; padding-left:105px; width:700px; margin-bottom:4px;}
- #order, #filter {display:inline-block;}
- .links {width:200px; margin-top:-17px; margin-left:490px; text-align:right;
- padding-bottom:5px;}
- .button, span {display:inline-block; border:none; text-align:center;
- padding:8px 0px 7px 0px; margin-left:10px; font:8px calibri;
- cursor:default; text-transform:uppercase; letter-spacing:1px;}
- .button {cursor:pointer;}
- span {margin-left:25px; margin-right:-5px;}
- span.t {font:italic 18px georgia, Trebuchet MS; margin-left:-80px;
- text-transform:none; letter-spacing:0px; position:absolute; padding:0px;}
- .links a {margin-left:10px;}
- .button:active, .button.is-checked {outline:0;}
- .blogroll {width:825px; position:relative; max-height:446px; overflow-y:scroll;}
- .blogroll:after {content:''; display:block; clear:both;}
- .blog {width:250px; height:26px; margin-right:4px; margin-bottom:4px;
- float:left; padding:10px;}
- .blog a {width:250px; display:block;}
- .blog a img {border-radius:50%; position:absolute; margin-top:0px;}
- .name {margin-left:32px; font:italic 12px georgia, Trebuchet MS;
- text-transform:none; letter-spacing:0px; margin-top:1px}
- .title {padding:0px 0px 2px 0px; margin-left:32px;}
- span, span:hover, a, a:hover, .button, .button:hover, .button:active,
- .button.is-checked {transition:all 0.4s ease-in-out;
- -webkit-transition:all 0.4s ease-in-out; -o-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out; -mt-transition:all 0.4s ease-in-out;}
- /** PLEASE DO NOT ALTER OR REMOVE **/
- .credit {position:fixed; bottom:8px; right:8px; z-index:9999;}
- .credit a {padding:2px 4px 3px 4px;
- font-weight:bold; width:7px; overflow:hidden; display:block;}
- .credit a:hover {width:69px;}
- /** THANK YOU **/
- </style>
- <script>
- $(document).ready(function(){
- $('.url').addClass('fave');
- //copy and paste the line above to add more favourites
- //make sure to change the word url to a username
- });
- </script>
- </head><body>
- <div class="container">
- <div class="top">
- <span class="t">following</span>
- <!--- if you don't want to filter favourites, delete from here --->
- <div id="filter" class="button-group"> 
- <button class="button is-checked" data-filter="*">show all</button>
- <button class="button" data-filter=".fave">favourites</button>
- </div>
- <!--- to here --->
- <!--- if you don't want to be able to sort, delete from here --->
- <div id="order" class="button-group">
- <span><i>order by:</i></span>
- <button class="button is-checked" data-sort-value="">last updated</button>
- <button class="button" data-sort-value="name">name / url</button>
- <button class="button" data-sort-value="title">blog title</button>
- </div>
- <!--- to here --->
- <div class="links">
- <a href="/">home</a>
- <a href="/ask">ask</a>
- <a href="/">link</a>
- </div>
- </div>
- {block:Following}
- <div class="blogroll">
- {block:Followed}<div class="blog {FollowedName}">
- <a href="{FollowedURL}" target="_blank">
- <div class="info">
- <img src="{FollowedPortraitURL-24}" />
- <div class="name">{FollowedName}</div>
- <div class="title">{FollowedTitle}</div>
- </div>
- </a>
- </div>{/block:Followed}
- </div>
- {/block:Following}
- </div>
- <!--- PLEASE DO NOT ALTER OR REMOVE --->
- <div class="credit"><a href="http://cyantists.tumblr.com">c. cyantists</a></div>
- <!--- THANK YOU --->
- </body></html><!--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement