Tips-n-Tricks
2012
The stony cat
I just saw this super cute Kantoku illustration at yande.re. Too bad it has compression artifacts. Good thing GIMP has filter called selective Gaussian blur which blurred similar color area but not the edges. With the right setting it can even clean print/paper texture from scanned materials. For anime kind images I usually set the max. delta around 15 to 20, and leave the blur radius to 5 pixels. Here’s the comparison.
Here is the result.
More Layout Update
I apologize for the inconvenience to refreshing your browser cache. For I randomly changing the site’s layout. Now I made the whole page a bit smaller, including the fonts. Also fixed mobile view for navigation bar. Which is hacky.
So it appears that this theme support mobile view (duh). That navigation bar above will shrink and turn into drop down menu if browsed from mobile device. And it happened that I broke this feature when I moved the search box to the sidebar.
Here be the aforementioned feature in javascript.
function getNav() {
var mobileNav = $('nav[role=navigation] fieldset[role=search]').after('<fieldset class="mobile-nav"></fieldset>').next().append('<select></select>');
mobileNav.children('select').append('<option value="">Navigate…</option>');
$('ul[role=main-navigation]').addClass('main-navigation');
$('ul.main-navigation a').each(function(link) {
mobileNav.children('select').append('<option value="'+link.href+'">» '+link.text+'</option>');
});
$('ul.subscription a').each(function(link) {
mobileNav.children('select').append('<option value="'+link.href+'">» '+link.text+'</option>');
});
mobileNav.children('select').bind('change', function(event) {
if (event.target.value) { window.location.href = event.target.value; }
});
}