Dive Into Legibility
25 April, 2006Remove Mark Pilgrim‘s sidebars and make the content full-width. Not perfect, but it works:
#container {
width: 90% !important;
padding: 0 !important;
padding-right: 10% !important;
}
I use the Stylish Firefox extension for maintaining site-specific CSS.
Comments
jrhyley
25 April, 2006 at 20:32
Pip
25 April, 2006 at 21:32
jrhyley
25 April, 2006 at 21:58
Pip
25 April, 2006 at 22:09
Pip
25 April, 2006 at 22:28
jrhyley
26 April, 2006 at 00:50
Mark
02 May, 2006 at 14:37
Pip
02 May, 2006 at 15:32
It’d be funnier if you made it a greasemonkey script.
Good point, I hadn’t thought of that 🙂
Here you go:
// ==UserScript==
// @name Dive Into Legibility
// @namespace http://philwilson.org/
// @description Dive Into Legibility
// @include http://diveintomark.org/*
// ==/UserScript==
(function() {
var style = document.createElement(‘style’);
style.setAttribute(‘id’, ‘gmrc’);
document.getElementsByTagName(‘head’)[0].appendChild(style);
document.getElementById(‘gmrc’).sheet.insertRule(‘#container {width: 90% !important; padding: 0px !important; padding-right: 10% !important;}’, 0););
})();
ha! I hadn’t thought you’d actually do it!
> .sheet.insertRule
ooh, I’ve not seen that before, how very exciting! It’s not often someone shows me something new 🙂
although in fact, isn’t there a GM_addStyle() ? Along with the !important declarations, that should also work. Something like:
// ==UserScript==
// @name Dive Into Legibility
// @namespace http://philwilson.org/
// @description Dive Into Legibility
// @include http://diveintomark.org/*
// ==/UserScript==
GM_addStyle(“#container { width: 90% !important; padding: 0 !important; padding-right: 10% !important; }”);
> isn’t there a GM_addStyle()
There’s a who what now? Now you’ve shown me something new. I really must fix my mail server and start reading the list again. And more carefully.
I redesigned over the weekend. Better now?
Much, thanks.