Blog Redesign

I spent the best part of last night and today changing the design of my blog.  As I’ve said before, I’m really not a CSS kind of guy, and what I thought would be an hour or so worth of work turned into a whole day’s effort.  It’s safe to say I’ve just about had my fill of CSS for the year.

I’m pretty happy with the results – I especially like the way the code snippets are displayed.

static void Main(string[] args)
{
    var index = 0;
    foreach (var result in Hello())
    {
        Console.WriteLine(result);
        index++;

        if (index >= 10)
        {
            break;
        }
    }

    Console.ReadLine();
}

private static IEnumerable<string> Hello()
{
    while (true)
    {
        yield return "Hello World";
    }
}

There are still a few annoying issues, such as the title of the post being grey and not white when viewed from the default URL (not as an individual post), but I think it’s good enough for now.

If you’re wondering about the background – that is actually a picture of the Copernicus Crater on the moon as viewed from the Hubble Telescope.  I’m a big fan of Space – I’ve got a wall mural of the Carina Nebula at home, so I thought it would be a nice touch.  I had to modify the picture slightly to make the text more readable, but I think the overall effect is quite nice.

I made a few modifications to the overall layout – you’ll notice that most of the widgets have been removed.  Most of them I didn’t think was adding any value (for example, if you want to see my latest tweets just follow me on twitter).  The 2 widgets which I think actually added value were the labels and archive ones – I’m planning on duplicating these on separate pages and then simply linking to those pages.

If you pick up any issues please let me know.

Hopefully this will inspire me to be more diligent with my blogging.  Happy coding.